From eef8b5da2b590d7594ec19b7d5b9ee844dfc7974 Mon Sep 17 00:00:00 2001 From: Tahlia Richardson <3069029+tahliar@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:04:26 +1000 Subject: [PATCH] Add procedure for corosync stage of crm cluster init --- xml/ha_config_cli.xml | 81 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/xml/ha_config_cli.xml b/xml/ha_config_cli.xml index f396b815..966c5484 100644 --- a/xml/ha_config_cli.xml +++ b/xml/ha_config_cli.xml @@ -954,6 +954,87 @@ Membership information For more details, see . + + + You can use the crm cluster init + script to change the &corosync; communication channels (or rings). For example, you might need + to switch from using two &corosync; rings to using a single ring with network device bonding, + or vice versa. + + + Changing &corosync; communication channels with &crmsh; + + + Stop the cluster services on all nodes: + +&prompt.root;crm cluster stop --all + + + + On the first node, change &corosync;'s ring configuration with one of the + following commands: + + + + + To configure one ring, run the script's stage + with no additional parameters: + +&prompt.root;crm cluster init corosync + + Enter y to overwrite /etc/corosync/authkey + and /etc/corosync/corosync.conf, then accept the proposed + network address or enter a different one. + + + + + To configure two rings, specify two network addresses by using the + option --interface (or -i) twice: + +&prompt.root;crm cluster init corosync -i eth0 -i eth1 + + Press Enter or enter y to accept all of the prompts. + + + + + + + On only the first node, start the cluster services: + +&prompt.root;crm cluster start + + + + On each of the other cluster nodes, rejoin the cluster to update the + &corosync; configuration: + + + + + For one ring, run the following command: + +&prompt.root;crm cluster join -c NODE1 + + Accept the proposed network address. + + + + + For two rings, specify the same network interfaces you used for the first node: + +&prompt.root;crm cluster join -c NODE1 -i eth0 -i eth1 + + Accept the proposed network addresses. + + + + + This updates the &corosync; configuration and starts the cluster services on the node. + + +