9.5;shutspm, revision 9.5, 87/29/08
SHUTSPM -- Shut down SPM on a node.
usage: shutspm
FORMAT
SHUTSPM
When the SPM runs in place of the DM, it waits on the eventcount file
`NODE_DATA/SPMSHUT_EC. SHUTSPM advances this eventcount, causing the SPM to
perform an orderly shutdown of the node.
To shut down the SPM with SHUTSPM, create a remote process (via the CRP
command) on the target node and type 'SHUTSPM'.
Normally, only system administrators may shut down the SPM using this command.
This is because SPM creates the `NODE_DATA/SPMSHUT_EC file with the following
ACL (provided the default file ACL for `NODE_DATA gives all rights to
%.%.%.%):
Subject ID Access Rights
%.sys_admin.% pgndwrx
%.%.%.% ---d-r-
This ACL limits SHUTSPM shutdown to accounts with the 'sys_admin' project
name, but permits any account to delete the SPMSHUT_EC file whenever SPM is
not using it. If, however, the default file ACL for `NODE_DATA has been
changed, SPM creates the eventcount file using that default ACL. Note that an
SID must have at least 'r' and 'w' rights to shutdown SPM.
If the SPMSHUT_EC file already exists when SPM starts up, SPM does not change
its ACL.
To prevent SPM from responding to the SHUTSPM command, add the following line
to the `NODE_DATA/STARTUP.SPM file:
NO_SHUTSPM
EXAMPLES
$ crp -on 1fb -login sys_admin Create remote process on server node 1fb
and log in with the system administrator
account.
$ shutspm Shut down the SPM on server node 1fb.
RELATED TOPICS
More information is available. Type:
- HELP SPM
for details about the Server Process Manager.