Nonstop Database, HiRDB Version 9 Command Reference
The pdstsrm command deletes a physical file comprising a status file in the HiRDB file system. This command cannot delete the current or a spare physical file being used during HiRDB operation. This command is used to delete a physical file that has been placed in shutdown status due to an error.
HiRDB administrator
pdstsrm [{-x host-name|-u unit-identifier}] -f physical-file-name |
pdstsrm -s server-name -f physical-file-name |
pdstsrm {-x host-name|-u unit-identifier} -f physical-file-name [-D] |
pdstsrm -s server-name [{-x host-name|-u unit-identifier}] -f physical-file-name [-D] |
When a unit status file is to be deleted, 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 deleted, specifies the name of the server corresponding to the server status file.
Specifies the absolute pathname of the physical file to be deleted. A physical filename must be specified in the format HiRDB-file-system-area-name/HiRDB-file-name.
If you are using Real Time SAN Replication based on the log-only synchronous method, you can specify either of the status files (the status file for transaction processing or the status file for log application processing). The volume containing the status file must be write-enabled.
Specifies that a unit or server is to be deleted by the pdchgconf command.
To delete a unit or server, the command deletes the unit's or server's status files. 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 pdstsrm command is executed on the unit that contains the status files that are to be deleted.
Initialization target | Unit or server status | Host containing the file storage disk | 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 |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.