Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Execute the following commands on acd-store1:

Info

Note: On older pcs versions, 'node' will have to be replaced with 'cluster' in the following commands.


Code Block
# Set acd-store1 to standby
pcs clusternode standby acd-store1
# Check if acd-store2 was switched to primary
pcs status
# Set acd-store1 back to unstandby
pcs clusternode unstandby acd-store1
# Check if acd-store2 is primary, and acd-store1 is secondary
pcs status

...

Code Block
# Set acd-lb1 to standby
pcs clusternode standby acd-lb1
# Check if acd-lb2 was switched to primary
pcs status
# Set acd-lb1 back to unstandby
pcs clusternode unstandby acd-lb1
# Check if acd-lb2 is primary, and acd-lb2 is secondary
pcs status

...

Execute the following commands on acd-store2:

Info

Note: On older pcs versions, 'node' will have to be replaced with 'cluster' in the following commands.

Example:

pcs cluster standby acd-store2 


Code Block
# Set acd-store2 to standby
pcs clusternode standby acd-store2
# Check if acd-store1 was switched to primary
pcs status
# Set acd-store2 back to unstandby
pcs clusternode unstandby acd-store2
# Check if acd-store1 is primary, and acd-store2 is secondary
pcs status

...

Code Block
# Set acd-lb2 to standby
pcs clusternode standby acd-lb2
# Check if acd-lb1 was switched to primary
pcs status
# Set acd-lb2 back to unstandby
pcs clusternode unstandby acd-lb2
# Check if acd-lb1 is primary, and acd-lb2 is secondary
pcs status

...