system node run
-
PDF of this doc site

Collection of separate PDF docs
Creating your file...
Run interactive or non-interactive commands in the nodeshell
Availability: This command is available to cluster administrators at the admin privilege level.
Description
Use the system node run
command to run certain commands from the nodeshell CLI on a specific node in the cluster. You can run a single nodeshell command from the clustershell that returns immediately, or you can start an interactive nodeshell session from which you can run multiple nodeshell commands.
Nodeshell commands are useful for root volume management and system troubleshooting. Commands that are available through the nodeshell are scoped to a single node in the cluster. That is, they affect only the node specified by the value of the -node
parameter and do not operate on other nodes in the cluster. To see a list of available nodeshell commands, type '?' at the interactive nodeshell prompt. For more information on the meanings and usage of the available commands, use the man
command in the nodeshell.
Only one interactive nodeshell session at a time can be run on a single node. Up to 24 concurrent, non-interactive sessions can be run at a time on a node.
When running the nodeshell interactively, exit the nodeshell and return to the clustershell by using the exit
command. If the nodeshell does not respond to commands, terminate the nodeshell process and return to the clustershell by pressing Ctrl-D.
The system node run
command is not available from the GUI interface.
|
An alternate way to invoke the system node run command is by typing the run as a single word.
|
Parameters
-node {<nodename>|local}
- Node-
Use this parameter to specify the name of the node on which you want to run the nodeshell command. If you specify only this parameter, the command starts an interactive nodeshell session that lasts indefinitely. You can exit the nodeshell to the clustershell by pressing Ctrl-D or by typing the
exit
command. - {
[-command <text>,…]
- Command to Run -
This optionally specifies the name of a single nodeshell command to run on the specified node. To see a list of available nodeshell commands, type '?' at an interactive nodeshell prompt.
- |
[-reset <true>]
- Reset Existing Connection } -
If this parameter is specified with the
true
value, it terminates any existing interactive nodeshell session on the specified node. The default value isfalse
.