# ceph conf file! # use semi-colon to put a comment! [global] auth supported = cephx #auth supported = none keyring = /etc/ceph/keyring.admin #keyring = /etc/glance/rbd.keyring keyring = /etc/ceph/keyring.glance debug ms = 1 [mds] keyring = /etc/ceph/keyring.$name debug mon = 20 debug paxos = 20 debug auth = 20 #[mds.0] #host = shzcnnode1 [mds.1] host = cephnode1 [osd] osd data = /var/lib/ceph/osd/$cluster-$id osd journal = /var/lib/ceph/osd/$cluster-$id/journal osd journal size = 512 osd class dir = /usr/lib/rados-classes #osd class dir = $(libdir)/rados-classes keyring = /etc/ceph/keyring.$name debug osd = 20 debug filestore = 20 debug journal = 20 debug monc = 20 # working with ext4 filestore xattr use omap = true # solve rbd data corruption filestore fiemap = true #[osd.0] #host = shzcnnode1 #[osd.1] # host = shzcnnode1 [osd.2] host = cephnode1 [osd.3] host = cephnode1 [mon] mon data = /var/lib/ceph/mon/$cluster-$id debug mds = 20 debug mds balancer = 20 debug mds log = 20 debug mds migrator = 20 #[mon.a] # host = shzcnnode1 # mon addr = 10.239.80.227:6789 [mon.b] host = cephnode1 mon addr = 10.239.80.150:6789