What is the method to stop both nodes in a 2-node cluster configuration without performing LIF pre-migration and takeover
Applies to
ONTAP 9
Answer
To stop both nodes in a 2-node cluster configuration without performing LIF pre-migration and takeover, please follow the ONTAP Shutdown Process below:
- Log in to cluster via SSH. Otherwise, log in from any node in the cluster using a local console cable.
- Generate a case suppression AutoSupport message for the expected duration of the shutdown event along with any descriptive text:
cluster1::> system node autosupport invoke -node * -type all -message "MAINT=8h Power Maintenance"
- Identify the SP/BMC IP address of all nodes:
cluster1::> system service-processor show -node * -fields address
node address
-------------- ------------
cluster1-01 10.10.10.10
cluster1-02 10.10.10.20
- Exit clustershell:
cluster1::> exit
- Connect to SP/BMC over SSH using the IP address of any node from Step 3. Otherwise, connect a local console cable to the node. Log in using the same cluster administrator credentials.
If accessing via the SP/BMC prompt, switch to system console and supply the cluster administrator credentials:
Note: Open an SSH session window to every SP/BMC for monitoring as described in this step.
login as: admin
admin@10.10.10.10's password: <password>
SP cluster1-01> system console
Type Ctrl-D to exit.
SP-login: admin
Password: <password>
cluster1::>
Note: Open an SSH session window to every SP/BMC for monitoring as described in this step.
- Halt all nodes in the cluster:
- For most cluster configurations:
cluster1::> system node halt -node * -skip-lif-migration-before-shutdown true -ignore-quorum-warnings true -inhibit-takeover true
- For clusters with SnapMirror Synchronous operating in StrictSync mode:
cluster1::> system node halt -node * -skip-lif-migration-before-shutdown true -ignore-quorum-warnings true -inhibit-takeover true -ignore-strict-sync-warnings true
- Respond to the prompt for each node:
Warning: Are you sure you want to halt node "cluster1-01"?
{y|n}: y
Warning: Are you sure you want to halt node "cluster1-02"?
{y|n}: y
2 entries were acted on.
LOADER-A>
- Connect to each node in the cluster via SP/BMC (if not already connected) or using a local console cable and confirm each node is at the
LOADER
prompt (as in Step 8).
Additional Information
additionalInformation_text