Nonstop Database, HiRDB Version 9 System Operation Guide
HiRDB cannot terminate if there is a UAP or utility that has not terminated (that is, if a user is still connected). If an attempt is made to terminate HiRDB while a user is still connected, HiRDB outputs the KFPS05120-W message, together with the connected user data file and connected user details file. In this case, the HiRDB administrator must follow the procedure described below to disconnect the user and terminate HiRDB.
pdls -d prc HOSTNAME : k95x620(173420) STATUS PID UID GID SVID TIME PROGRAM C-PID C-GRP L 22118 334 300 fes1 173330 uap00 22205 PC |
For details about the output contents of the connected user data file, see 20.13.2 Connected user data file and connected user details file.
UNIT ID : UNT1(173420) UID PID GID SVID TIME PROGRAM C-GRP C-PID C-IP 334 22118 300 fes1 173330 uap00 PC 22205 172.17.32.37 |
Either execute the pdls -d trn command or use the results in the connected user details file of executing the pdls -d trn command to check for transactions that are still executing.
For details about the output contents of the connected user details file, see 20.13.2 Connected user data file and connected user details file.
Based on the execution results of the pdls -d trn command or the information in the connected user details file, determine whether there are any transactions in READY(p,?) or FORGETTING(?,w) status.
Complete the uncompleted transactions; for details, see 20.14 Actions when there is an undetermined transaction.
Based on the execution results of the pdls -d trn command or the information in the connected user details file, determine whether there are any transactions in READY(p,?) or FORGETTING(?,w) status.
If there are transactions in READY(p,?) or FORGETTING(?,w) status, decide whether to terminate them forcibly or to wait for them to complete their processing. If the processing time of a transaction that is executing is short, wait for it to terminate; if the processing time is long, terminate it forcibly.
Use the pdcancel command to terminate the transaction forcibly.
HiRDB single server configuration
pdcancel -u UAP00 -i 22118 |
HiRDB parallel server configuration (execution example 1)
pdcancel -x k95x620 -u UAP00 -i 22118 |
HiRDB parallel server configuration (execution example 2)
pdcancel -X UNT1 -u UAP00 -i 22118 |
After executing the pdcancel command, wait for the transaction to be completed by itself.
If you do not terminate the transaction forcibly, wait for it to terminate.
If there is no transaction for a user who is still connected, use the pdcancel command to disconnect the user.
HiRDB single server configuration
pdcancel -i 22118 -d |
HiRDB parallel server configuration (execution example 1)
pdcancel -x k95x620 -i 22118 -d |
HiRDB parallel server configuration (execution example 2)
pdcancel -X UNT1 -i 22118 -d |
After executing the pdcancel command, wait for the user to be disconnected and HiRDB termination processing to be resumed.
If the KFPS05047-E message is output, the pdstop command has timed out.
If the pdstop command has timed out, execute it again.
If the KFPS01840-I message is output, HiRDB termination processing has started.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.