Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The corrosion cluster command

Inspect and manage cluster membership (SWIM / Foca) for the local Corrosion agent.

Subcommands

corrosion cluster rejoin

Forces the node to leave and rejoin the gossip cluster with a **new identity (renewed Foca identity).

corrosion cluster rejoin

corrosion cluster members

Output current members (id, state, and rtt information).

corrosion cluster members

corrosion cluster membership-states

Output SWIM cluster membership states

corrosion cluster membership-states

corrosion cluster set-id <CLUSTER_ID>

Sets a new cluster_id for this node, it command will persist the new cluster_id in the database (__corro_state table with key cluster_id). Remember, corrosion would reject any changes from a node with a different cluster-id.

corrosion cluster set-id 42