...
To install a new ceph monitor. Execute the following steps. The order is important:
- Install the role
role
Add the new ceph-monitor server to the hiera keyprofile::ceph::monitors
Run puppet on all existing ceph-monitors and ensure thatmon
on the new ceph-mon is listed in both mon_initial_members and inmon_host
in /etc/ceph/ceph.conf - Add the If, and only if, ALL the existing ceph-monitors have discovered, and configured the new ceph-mon - install roleto the
profile::ceph::mon
on the new ceph-mon.monitors
in hiera
Removing a ceph monitor
- Remove the node from
profile::ceph::monitors
in hiera - Stop puppet on the node you want to remove
- Stop ceph-mon and ceph-mgr
- On another ceph-mon, run
ceph mon remove <mon-name>
Remove the node fromprofile::ceph::monitors
in hiera
Reinstalling a storage node
...