rmnode

The rmnode command deletes a node (or spare node) from the clustered system. You can enter this command anytime after a clustered system is created. This command makes the node a candidate that is ready to be added back into this clustered system or another system.

Syntax

Read syntax diagramSkip visual syntax diagram rmnode -forceobject_idobject_name

Parameters

-force
(Optional) Overrides the checks that this command runs. The parameter overrides the following two checks:
  • If the command results in volumes going offline, the command fails unless the -force parameter is used.
  • If the command results in a loss of data because there is unwritten data in the write cache that is contained only within the node to be removed, the command fails unless the -force parameter is used.
If you use the -force parameter as a result of an error about volumes going offline, you force the node removal and run the risk of losing data from the write cache. The -force parameter should always be used with caution.
object_id | object_name
(Required) Specifies the object name or ID that you want to modify. The variable that follows the parameter is either:
  • The object name that you assigned when you added the node to the clustered system
  • The object ID that is assigned to the node (not the worldwide node name)

Note: Only a user with the Security Administrator or superuser role is permitted to use -force parameter to delete a node from the clustered system when there are Safeguarded snapshots or Safeguarded backups.

Description

This command deletes a node from the clustered system. This makes the node a candidate to be added back into this clustered system or into another system. After the node is deleted, the other node in the I/O group enters write-through mode until another node is added back into the I/O group.

Attention: When you run the rmnode command to remove the configured hardware for a node:
  • Small Computer System Interface-3 (SCSI-3) reservations and registrations (through that node) are removed.

By default, the rmnode command flushes the cache on the specified node before the node is deleted from the cluster. In some circumstances, such as when the system is already degraded (for example, when both node canisters in the I/O group are online and the virtual disks within the I/O group are degraded), the system ensures that data loss does not occur as a result of deleting the only node with the cache data.

The cache is flushed before the node is deleted to prevent data loss if a failure occurs on the other node in the I/O group.

To take the specified node offline immediately without flushing the cache or ensuring data loss does not occur, run the rmnode command with the -force parameter.

Prerequisites:

Before you issue the rmnode command, remember the following points:

Removing the last node
  • Removing the last node in the cluster destroys the clustered system. Before you delete the last node in the clustered system, ensure that you want to destroy the clustered system.
  • If you are removing a single node and the remaining node in the I/O group is online, the data can be exposed to a single point of failure if the remaining node fails.
  • This command might take some time to complete since the cache in the I/O group for that node is flushed before the node is removed. If the -force parameter is used, the cache is not flushed and the command completes more quickly. However, if the deleted node is the last node in the I/O group, by using the -force option results in the write cache for that node being discarded rather than flushed, and data loss can occur. The -force option should be used with caution.
  • If both nodes in the I/O group are online and the volumes are already degraded before deleting the node, redundancy to the volumes is already degraded and loss of access to data and loss of data might occur if the -force option is used.
Removing the configuration node
  • If you are removing the configuration node, the rmnode command causes the configuration node to move to a different node within the clustered system. This process can take a short time, typically less than a minute. The clustered system IP address remains unchanged, but any SSH client that is attached to the configuration node might need to reestablish a connection. The management GUI reattaches to the new configuration node transparently.
  • If this is the last node in the clustered system or if it is currently assigned as the configuration node, all connections to the system are lost. The user interface and any open CLI sessions are lost if the last node in the clustered system is deleted. A time-out might occur if a command cannot be completed before the node is deleted.
  • When rmnode command is used to remove a node, it can no longer use the system password so it uses the default password instead.
Removing the spare node
When the rmnode command is used against a spare node, the output is determined by the state of that spare node.
  • If the rmnode command is called against an inactive spare, then the spare is deactivated and deleted from the clustered system. The node is transitioned to a "candidate" state and the -force parameter is not required.
  • If the rmnode command is called against an active spare, then the spare is deactivated and deleted from the clustered system. But the -force parameter is required if checks indicate that a volume is offline or can be corrupted if this action takes place. The node is transitioned to a "candidate" state and is no longer a spare node.
Note: This command is available during the upgrade process.

An invocation example

rmnode 1

The resulting output:

No feedback