Adding a storage cluster peer

Learn to add a storage cluster peer by using the command-line.

Before you begin

Before you begin, make sure that you have the following prerequisites in place:
  • A running IBM Storage Ceph cluster.
  • Root-level access to the node.

About this task

Add a storage cluster peer to enable the rbd-mirror daemon to discover the remote cluster.

For example, to add the site-a storage cluster as a peer to site-b, perform the following steps from a client node in the site-b cluster.

Procedure

Register the peer to the pool.
Syntax,
rbd --cluster CLUSTER_NAME mirror pool peer add POOL_NAME PEER_CLIENT_NAME@PEER_CLUSTER_NAME -n CLIENT_NAME
[root@rbd-client ~]# rbd --cluster site-b mirror pool peer add data client.site-a@site-a -n client.site-b