Skip to content

Commit

Permalink
Update maintenance command (#396)
Browse files Browse the repository at this point in the history
jsc#DOCTEAM-1477
  • Loading branch information
tahliar committed Jul 4, 2024
1 parent dea1797 commit de95bbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions xml/ha_drbd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
<step>
<para>If the cluster is already using DRBD, put your cluster
in maintenance mode: </para>
<screen>&prompt.root;<command>crm</command> configure property maintenance-mode=true</screen>
<para> If you skip this step when your cluster uses already
DRBD, a syntax error in the live configuration will lead
<screen>&prompt.root;<command>crm maintenance on</command></screen>
<para> If you skip this step when your cluster already uses
DRBD, a syntax error in the live configuration leads
to a service shutdown. </para>
<para>As an alternative, you can also use
<command>drbdadm</command>
Expand Down Expand Up @@ -254,7 +254,7 @@ NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
<para>
Reset the cluster's maintenance mode flag:
</para>
<screen>&prompt.root;<command>crm</command> configure property maintenance-mode=false</screen>
<screen>&prompt.root;<command>crm maintenance off</command></screen>
</step>
</procedure>

Expand Down
4 changes: 2 additions & 2 deletions xml/ha_maintenance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@
<para>
To put the cluster into maintenance mode on the &crmshell;, use the following command:
</para>
<screen>&prompt.root;<command>crm configure property maintenance-mode=true</command></screen>
<screen>&prompt.root;<command>crm maintenance on</command></screen>
<para>
To put the cluster back to normal mode after your maintenance work is done, use
the following command:
</para>
<screen>&prompt.root;<command>crm configure property maintenance-mode=false</command></screen>
<screen>&prompt.root;<command>crm maintenance off</command></screen>

<procedure xml:id="pro-ha-maint-mode-cluster-hawk2">
<title>Putting the Cluster into Maintenance Mode with &hawk2;</title>
Expand Down

0 comments on commit de95bbb

Please sign in to comment.