Adding and removing hosts
Add and remove hosts in your storage cluster by using the ceph_orch_host module in your Ansible playbook.
Before you begin
- A running IBM Storage Ceph cluster.
- Register the nodes to the CDN and attach subscriptions.
- Ansible user with sudo and passwordless SSH access to all nodes in the storage cluster.
- Installation of the
cephadm-ansiblepackage on the Ansible administration node. - New hosts have the storage cluster’s public SSH key.
For more information about copying the storage cluster's public SSH keys to new hosts, see Adding hosts.
Adding hosts
Add new hosts to the storage cluster.
Procedure
What to do next
For example,
TASK [print current hosts] ******************************************************************************************************
Friday 24 April 2026 14:52:40 -0400 (0:00:03.365) 0:02:31.702 ***********
ok: [host01] =>
msg: |-
HOST ADDR LABELS STATUS
host01 10.10.128.68 _admin mon mgr
host02 10.10.128.69 mon mgr
host03 10.10.128.70 mon mgr
host04 10.10.128.71 osd
host05 10.10.128.72 osd
host06 10.10.128.73 osd
Removing hosts
Remove hosts from the cluster.
Procedure
What to do next
For example,
TASK [print current hosts] ******************************************************************************************************
Friday 24 April 2026 14:52:40 -0400 (0:00:03.365) 0:02:31.702 ***********
ok: [host01] =>
msg: |-
HOST ADDR LABELS STATUS
host01 10.10.128.68 _admin mon mgr
host02 10.10.128.69 mon mgr
host03 10.10.128.70 mon mgr
host04 10.10.128.71 osd
host05 10.10.128.72 osd
host06 10.10.128.73 osd