sys_power_lost.sh
Parameters
Parameter |
Description |
Value |
---|---|---|
-h | Show help information. | - |
-a | Powers off all nodes in the cluster. If the current node is not in the cluster, this node will not be powered off. | - |
-n bitmap | Powers off all the nodes in a specified bit map. The nodes must be currently online. | The value ranges from 0 to 65,535. You can enter the value as an octal, decimal, or hexadecimal number. |
Usage Guidelines
This is an environment recovery command and is used in scenarios where data needs to be saved and the storage system will be restarted. This command will power off specified nodes. After the specified nodes are powered off, if the remaining nodes cannot work properly, the remaining nodes will be powered off.
Example
-
Power off all nodes in the cluster.
Storage: minisystem> sys_power_lost.sh -a Please confirm to power lost all the nodes in cluster. [y/n]y admin:/diagnose>sys powerlost -a Start power lost all nodes in cluster. admin:/diagnose>exit Storage: minisystem>
-
Power off all the nodes in a specified bit map.
Storage: minisystem> sys_power_lost.sh -n 0x2 Please confirm to power lost all the nodes in the bitmap(0x2). [y/n]y admin:/diagnose>sys powerlost -n 0x2 Start power lost nodes(bitmap 0x2). admin:/diagnose>exit Storage: minisystem>