You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Installing a new ceph monitor

To install a new ceph monitor. Execute the following steps:

  1. Install the role role::ceph::mon on the new ceph-mon.
  2. Add the new ceph-mon to the profile::ceph::monitors in hiera

Removing a ceph monitor

  1. Remove the node from profile::ceph::monitors in hiera
  2. Stop puppet on the node you want to remove
  3. Stop ceph-mon and ceph-mgr
  4. On another ceph-mon, run ceph mon remove <mon-name>

Reinstalling a storage node

If a storage-node is reinstalled, either because it needs a newer OS or because the node moves from old to new infrastructure, there is no need to start with its OSD fresh. The OSD's can be reinstalled into the cluster if they have not been reformatted with the following steps:

  1. Run "ceph-disk list" to see which disks are recognized by ceph
  2. "chown" all the ceph disk's to be owned by the "ceph" user and the "ceph" group
  3. Restart all the osd by running "ceph-disk activate <path-to-disk>" for each disk that "ceph-disk" lists as an "ceph data" disk.
  • No labels