The pdstop command terminates a HiRDB system, unit, or server.
HiRDB administrator
pdstop [-d] |
pdstop [{-x host-name|-u unit-identifier|-s server-name |
pdstop -P[-d] |
pdstop -f[{-d|-q}] |
pdstop {-f [{-x host-name|-u unit-identifier|-s server-name |
pdstop -l [-d] |
Specifies that the termination is to be by planned termination.
Difference between planned termination and normal termination is as follows:
Connected to HiRDB | Transaction | Normal termination | Planned termination |
---|---|---|---|
No | No | Y | Y |
Yes | N | N | |
Yes | No | N | Y |
Yes | N | N |
Specifies that the termination is to be by forced termination. The target will terminate normally when this option is specified together with the -s option and the specified server name is not for a back-end server on a unit that is using the standby-less system switchover (effects distributed) facility.
Specifies the unit or server that is to be terminated. When this option is omitted, the HiRDB system is terminated.
Specifies that a unit other than the system manager is to be directly logged into and terminated forcibly; this option is specified when the system manager in a HiRDB parallel server configuration terminates abnormally and cannot be restarted.
If the pdstop command with the -z option specified is executed by mistake during HiRDB system startup or normal termination, the unit may terminate abnormally or the command may not be executed.
Specifies that a dump of shared memory is to be output at the time of termination. If the -s option is specified, this option is ignored. The shared memory dump is output to $PDDIR/spool/pdshmdump/shmdump.
If the system switchover facility is used, this option specifies that the specified system is to be terminated forcibly. You can specify this option if use is specified in the pd_ha operand, and the pd_ha_unit operand is also specified in the system definitions.
When the standby-less system switchover (1:1) facility is being used, specifies that the alternate system is to be terminated forcibly. Specify this option in the following cases:
To execute the pdstop -q -c command, directly log onto the host of the alternate system that is to be terminated forcibly (host specified in -x of the pdunit operand in the system definition).
When Real Time SAN Replication based on the log-only synchronous method is used, specifies that HiRDB is to be terminated at the log application site.