The Question is:
I have a two node cluster. Is there a procedure that can be execute to
shutdown one node with the option remove_node like @sys$system:shutdown no
no ...etc.. remove_node ?
The Answer is :
You can easily define a DCL symbol to execute the SYS$SYSTEM:SHUTDOWN.COM
procedure with the appropriate options. For example:
$ remove = "@sys$system:shutdown 0 shutdown yes no later no remove_node"
Then, when you want to shut the system down, simply type "remove" from the
account in which you have set up the DCL symbol.
Alternatively, you can create a simple batch job that issues this command,
and submit it to a batch queue on the target system (to run under a
suitably privileged username, of course), or you can use SYSMAN and set
the environment to the target node, and issue the command.
The default LOGIN.COM procedure in the system manager's account equates
two DCL symbols -- "shutdown" and "reboot" -- that will be of interest.