Skip to content

Commit

Permalink
Add command to exit standby mode after reboot (#407)
Browse files Browse the repository at this point in the history
bsc#1228983
jsc#DOCTEAM-1534
  • Loading branch information
tahliar committed Aug 13, 2024
1 parent 54e1a6c commit 1030d5b
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions xml/ha_maintenance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,10 @@
<sect1 xml:id="sec-ha-maint-shutdown-node">
<title>Stopping the cluster services on a node</title>
<para>
To move the services off the node in an orderly fashion
before shutting down or rebooting the node, proceed as follows:
You can move the services off the node in an orderly fashion
before shutting down or rebooting the node.
This allows services to migrate off the node without being limited by the
shutdown timeout of the cluster services.
</para>
<procedure xml:id="pro-ha-maint-shutdown-node">
<title>Manually rebooting a cluster node</title>
Expand All @@ -428,10 +430,11 @@
<para>
Put the node into <literal>standby</literal> mode:
</para>
<screen>&prompt.root;<command>crm -w node standby</command></screen>
<screen>&prompt.root;<command>crm node standby</command></screen>
<para>
That way, services can migrate off the node without being limited by the
shutdown timeout of the cluster services.
By default, the node will remain in <literal>standby</literal> mode
after rebooting. Alternatively, you can set the node to come back online
automatically with <command>crm node standby reboot</command>.
</para>
</step>
<step>
Expand Down Expand Up @@ -466,7 +469,7 @@ Node <replaceable>&node2;</replaceable>: standby
<procedure>
<step>
<para>
Log in to the node as &rootuser; or equivalent.
After the node reboots, log in to it again.
</para>
</step>
<step>
Expand All @@ -475,7 +478,8 @@ Node <replaceable>&node2;</replaceable>: standby
</para>
<screen>&prompt.root;<command>crm cluster status</command></screen>
<para>
If not, start them:
This might take some time. If the cluster services do not start again on their own,
start them manually:
</para>
<screen>&prompt.root;<command>crm cluster start</command></screen>
</step>
Expand All @@ -484,9 +488,12 @@ Node <replaceable>&node2;</replaceable>: standby
Check the cluster status:
</para>
<screen>&prompt.root;<command>crm status</command></screen>
<para>
It should show the node coming online again.
</para>
</step>
<step>
<para>
If the node is still in <literal>standby</literal> mode, bring it back online:
</para>
<screen>&prompt.root;<command>crm node online</command></screen>
</step>
</procedure>
</sect1>
Expand Down

0 comments on commit 1030d5b

Please sign in to comment.