The Chef recipes support the ceph daemons, but not things that live
inside ceph. You can't manage pools or users (yet). Github has a few
open tickets for managing things that live inside Ceph.
You'll want to browse through the open pull requests. There are a bunch
of minor fixes waiting to be merged. I've merged several of them into
my repo, since merges into master don't seem to be happening.
The ceph::conf recipe will set a cluster addr and public addr, if you
tell it it.
I have a Federated RadosGW setup, and I disabled CephX. (I need to
revisit that decision).
Here's the config for my environment:
<snip>
"ceph": {
"radosgw-agent": {
"config":
"/etc/ceph/radosgw.replicate.us-west-1-to-us-central-1.conf"
},
"monitor-secret": "*****",
"version": "emperor",
"config": {
"fsid": "*****",
"rgw": {
"admin socket": "/var/run/ceph/radosgw.asok",
"rgw region": "us",
"rgw zone": "us-east-1",
"rgw dns name": "us-east-1.ceph.cdlocal",
"rgw zone root pool": ".us-east-1.rgw.root",
"rgw region root pool": ".us.rgw.root"
},
"mon_initial_members": "ceph0",
"osd": {
"osd journal size": 6144,
"osd mount options xfs":
"rw,noatime,nodiratime,nosuid,noexec,inode64",
"osd mkfs type": "xfs",
"osd mkfs options xfs": "-l size=1024m -n size=64k -i
size=2048 -s size=4096"
},
"global": {
"osd pool default size": 2,
"osd pool default min size": 1,
"cluster network": "192.168.0.0/24",
"auth cluster required": "none",
"auth service required": "none",
"public network": "192.168.1.0/24",
"auth client required": "none",
"osd pool default flag hashpspool": "true"
}
},
"radosgw": {
"rgw_addr": "*:80",
"webserver_companion": "apache2",
"api_fqdn": "us-east-1.ceph.cdlocal",
"admin_email": "*****",
"api_aliases": [
"*.us-east-1.ceph.cdlocal"
]
},
"config-sections": {
"client.radosgw": {
"rgw print continue": "false"
}
}
},
<snip>
And the node config for ceph0:
<snip>
"ceph": {
"config-sections": {
},
"osd_devices": [
{
"device": "/dev/sdc",
"encrypted": true,
"dmcrypt": true,
"status": "deployed",
"journal": "JOURNAL"
},
...
}
<snip>
*Craig Lewis*
Senior Systems Engineer
Office +1.714.602.1309
Email [email protected] <mailto:[email protected]>
*Central Desktop. Work together in ways you never thought possible.*
Connect with us Website <http://www.centraldesktop.com/> | Twitter
<http://www.twitter.com/centraldesktop> | Facebook
<http://www.facebook.com/CentralDesktop> | LinkedIn
<http://www.linkedin.com/groups?gid=147417> | Blog
<http://cdblog.centraldesktop.com/>
On 1/29/14 01:19 , Gandalf Corvotempesta wrote:
I'm looking at this:
https://github.com/ceph/ceph-cookbooks
seems to support the whole ceph stack (rgw, mons, osd, msd)
Here:
http://wiki.ceph.com/Guides/General_Guides/Deploying_Ceph_with_Chef#Configure_your_Ceph_Environment
I can see that I need to configure the environment as for example and
I can see a "cluster network" setting.
But the OSD recipe doesn't set any "cluster addr" or "network addr",
is that good?
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com