CEPH Nautilus mon_host in [global] vs mon_host in [client]

Mihai

Renowned Member
Dec 22, 2015
104
8
83
39
At this time, here is the way monitors are registered in ceph.conf (an excerpt only):

Code:
[client]
[mon.VMHost4]
         host = VMHost4
         mon addr = 10.10.1.14:6789

[mon.VMHost3]
         host = VMHost3
         mon addr = 10.10.1.13:6789

[mon.VMHost2]
         host = VMHost2
         mon addr = 10.10.1.16:6789

If I understand correctly, the new method in Nautilus is to use:

Code:
[global]
mon_host = 10.10.1.13 10.10.1.14 10.10.1.16

What is the proper way to edit the ceph.conf

Can I just edit the mon_addr = and remove the port number? Should I remove the monitors from the [client] section altogether? Should I leave both in there?