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 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 a subject
identifier must have at least r and w rights to shut
down 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.
SEE ALSO
More information is available. Type
help spm For details about the server process manager