Comment 10 for bug 1384341

Revision history for this message
James Page (james-page) wrote :

I think the best approach to changing the IP's of the monitors in a cluster is to cycle the units - this would (theoretically) be done by creating three new units in LXD containers in the ceph-mon application, and then for the three original units, perform the operation on the running cluster to remove them from the monmap:

  sudo ceph mon rm <id> (where ID is generally the hostname of the server)

as each mon is removed from the monmap, the associated unit should then also be destroyed.

This is similar in approach to the migration from ceph -> ceph-mon documented here:

  https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/app-ceph-migration.html

albeit the removal of the original monitor units is not automated.