SHUTSPM(1M) SysV SHUTSPM(1M)
NAME
shutspm - shut down SPM on a node
SYNOPSIS
shutspm
DESCRIPTION
When the server process manager (SPM) runs in control of a node, 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.% prwx-
%.%.% -rw--
This ACL limits shutspm shutdown to accounts with the sys_admin group
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. (You'll be prompted for a password.)
$ shutspm
Shut down the SPM on server node 1fb.
SEE ALSO
spm