The pdloginit command creates a log physical file in the HiRDB file system area and initializes it so that it can be used by the active HiRDB.
HiRDB administrator
pdloginit {-d sys [-s server-name] |
pdloginit {-d sys -s server-name[-u unit-identifier] |
Specifies the type of log file to be initialized:
Specifies the name of the server corresponding to the file group.
Specifies the absolute pathname of the physical file to be initialized. The physical file name must be specified in the format HiRDB-file-system-area-name/HiRDB-file-name. A HiRDB file name cannot be duplicated in the HiRDB file system area. If the specified HiRDB file has already been initialized, the command results in an error. A name beginning with pl cannot be specified as a HiRDB file name.
Specifies the number of records in the HiRDB file to be initialized.
For the purposes of this section, a record is an area with the following size in the HiRDB file system:
Specify the record length for the HiRDB file to be initialized as a system log file. Normally, you do not need to specify this option.
Specify this option only when you want to create a system log file before you modify the system definition.
When the standby-less system switchover (effects distributed) facility is used, specifies the unit identifier of the host that contains the disk on which the file is to be created.
When the applicable server is running, the -u option is ignored, if specified.
Specifying the -u option results in an error if any of the following is true:
The following table describes whether or not the -u option is required:
Server status | Host containing the disk where file is created | Specification of -u option |
---|---|---|
Active | Host containing the running back-end server | Optional |
Inactive | Host containing the primary back-end server | |
Other host | Mandatory |
Specifies that a unit or server is to be added by the pdchgconf command.
This option initializes the system log file or synchronization point dump file that is needed in order to add a unit or server. When this option is specified, the command will not check the server name.
If you execute the pdloginit command with this option specified, make sure that the command is executed at the unit where the system log file or synchronization point dump file is to be created.
pdloginit -d sys 1 |
pdloginit -d sys 1 |
pdloginit -d spd 1 |
pdloginit -d spd 1 |