The pdstsinit command creates a physical file that is to comprise a status file (logical file) in the HiRDB file system and initializes it so that it can be used during HiRDB operation. This command cannot initialize the current or a spare status file being used in the active HiRDB.
HiRDB administrator
pdstsinit [{-x host-name|-u unit-identifier}] |
pdstsinit -s server-name |
pdstsinit {-x host-name|-u unit-identifier} |
pdstsinit -s server-name [{-x host-name|-u unit-identifier}] |
When a unit status file is to be initialized, specifies the identifier of the unit or the name of the host corresponding to the unit status file. For a HiRDB single server configuration, this option can be omitted because the host and unit are fixed.
When a server status file is to be initialized, specifies the name of the server corresponding to the server status file.
Specifies the absolute path name of the physical file to be initialized. A physical file name must be specified in the format HiRDB-file-system-area-name/HiRDB-file-name. A name beginning with pl cannot be specified as a HiRDB file name. If the specified physical file has already been initialized, it will be reinitialized.
Specifies in bytes the record length for the status file. If the records are short, the number of I/O operations on the status file increases, but the utilization efficiency becomes high. On the other hand, if the records are long, the number of I/O operations decreases, but the utilization efficiency becomes low. This must be taken into account when the record length is specified.
Specifies the number of records in the status file.
For details about how to estimate the number of records, see the HiRDB Version 9 Installation and Design Guide. The standard value is the estimated number of records 1.2.
Specifies that a unit or server is to be added by the pdchgconf command.
The command initializes the status files that are required to add a unit or server. When this option is specified, the command does not check the unit identifier or server name.
When you specify this option, make sure that the pdchgconf command is executed on the unit that contains the status file that is to be created.
Initialization target | Unit or server status | Host containing the disk where the file was created | Specification of -u and -s options |
---|---|---|---|
Unit status file | Active | Host where the unit is located | Specify one of them |
Inactive | |||
Server status file | Active | Host containing the running back-end server | Optional |
Inactive | Host containing the primary back-end server | ||
Other host | Specify one of them |
Create a unit status file and a server status file.
pdstsinit -f /svr01/systs01a .....1 |
pdstsinit -x host1 .....1 |