10.0;shutspm, revision 1.0, 88/01/21
shutspm -- Shut down the server process manager on a node
usage: shutspm
DESCRIPTION
When the server process manager (SPM) runs in place of init, it waits on
the eventcount file nodedata/spmshutec. 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 nodedata/spmshutec file with
the following ACL (provided the default file ACL for nodedata 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 spmshutec file whenever SPM is not using
it. If, however, the default file ACL for nodedata
has been changed, SPM creates the eventcount file
using that default ACL. Note that a subject
identifier must have at least r and w rights to shut
down SPM.
If the spmshutec 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 nodedata/startup.spm file:
noshutspm
EXAMPLES
$ crp -on 1fb -login sysadmin
Create remote process on server node 1fb and log in with the system
administrator account.
$ shutspm
Shut down the SPM on server node 1fb.
SEE ALSO
More information is available. Type
help spm For details about the server process manager