Nonstop Database, HiRDB Version 9 System Operation Guide
(1) When HiRDB can be terminated normally
- Procedure
- Use the pdfstatfs command to check for free space in the HiRDB file system area in which status files are to be created.
pdfstatfs /sysfile01
If there is no free space, create a new HiRDB file system area. For details, see 10.2 Creating (initializing) a HiRDB file system area.
- Use the pdstop command to terminate HiRDB normally.
- Add the applicable operand listed below to the HiRDB system definition. Specify in this operand the status files to be created in step 4.
pd_syssts_file_name operand (for unit status files)
pd_sts_file_name operand (for server status files)
- Use the pdstsinit command to add (initialize) the status files.
pdstsinit -s b001 -f /sysfile01/ssts1a -l 4096 -c 1000
pdstsinit -s b001 -f /sysfile01/ssts1b -l 4096 -c 1000
- Use the pdconfchk command to check the HiRDB system configuration. If errors are detected, correct the HiRDB system definition and re-execute the pdconfchk command.
- Use the pdstart command to start HiRDB normally.
- We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.
(2) When HiRDB cannot be terminated normally
Use the pdchgconf system reconfiguration command to change the HiRDB system definition. Note that HiRDB Advanced High Availability must have been installed in order to use this command.
- Procedure
- Use the pdfstatfs command to check for free space in the HiRDB file system area in which status files are to be created.
pdfstatfs /sysfile01
If there is no free space, create a new HiRDB file system area. For details, see 10.2 Creating (initializing) a HiRDB file system area.
- Create the $PDDIR/conf/chgconf directory.
- Copy the HiRDB system definition files currently being used to the directory created in step 2.
- Add the applicable operand listed below to the HiRDB system definition in the $PDDIR/conf/chgconf directory. Specify in this operand the status files to be added in step 5.
pd_syssts_file_name operand (for unit status files)
pd_sts_file_name operand (for server status files)
- Use the pdstsinit command to add (initialize) the status files.
pdstsinit -s b001 -f /sysfile01/ssts1a -l 4096 -c 1000
pdstsinit -s b001 -f /sysfile01/ssts1b -l 4096 -c 1000
- Use the pdconfchk command to check the HiRDB system definition in the $PDDIR/conf/chgconf directory. If an error is detected, correct the HiRDB system definition and re-execute the pdconfchk command.
- Use the pdchgconf command to replace the existing HiRDB system definition with the modified system definition.
- We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.