Find a Secondary Node
Simplyblock, in high availability mode, creates two connection per logical volume: a primary and a secondary connection.
The secondary connection, will be used in case of issues or failures of the primary storage node which owns the logical volume.
For debugging purpose, sometimes it is useful to find out which host is used as the secondary for a specific primary
storage node. This can be achieved using the command line tool sbcli
by asking for the details of the primary storage
node and grepping for the secondary id.
Find secondary for a primary
sbcli storage-node get <NODE_ID> | grep secondary_node_id