24.6 Operations in the event of an error

The operating procedures in the event of an error are explained in this section.

Organization of this section
(1) In the event of a HiRDB error
(2) In the event of a Directory Server error

(1) In the event of a HiRDB error

Even if a HiRDB error occurs, it will not affect the Directory Server. Resolve the HiRDB error.

(2) In the event of a Directory Server error

If a Directory Server error occurs, the Directory Server will no longer perform user authentication and users will not be able to connect to HiRDB. For details about resolving errors, see Sun Java System Directory Server.

(a) Running HiRDB alone until the error is recovered

The procedure for running only HiRDB until an error in Directory Server is recovered is explained below.

Procedure
To run HiRDB alone:
  1. Use pdstop command to terminate HiRDB normally.*
  2. Delete pd_directory_server operand.
  3. Use pdstart command to start HiRDB normally.
  4. Use GRANT statement to grant CONNECT privilege to users who will be accessing HiRDB. Specify in the GRANT statement user IDs and passwords registered in Directory Server.
  5. If table access privileges were granted to a role, use the GRANT statement to grant access privileges to the users belonging to that role.
* The system reconfiguration command (pcdhgconf command) makes it possible to modify the HiRDB system definition while HiRDB is operating. In such a case, it is not necessary to terminate HiRDB. Note that HiRDB Advanced High Availability must be installed in order to use this command. For details about modifying HiRDB system definitions while HiRDB is operating, see 9.2 Modifying HiRDB system definitions while HiRDB is running (system reconfiguration command).
(b) Resuming operation using the Directory Server linkage facility

Explained below is the procedure for resuming operation of the Directory Server linkage facility after recovering from a Directory Server error explained above in (a).

Procedure
To resume operations:
  1. Use pdstop command to terminate HiRDB normally.*
  2. Specify the pd_directory_server operand.
  3. Use pdstart command to start HiRDB normally.
  4. Use REVOKE statement to revoke CONNECT privileges and access privileges granted in procedure (a).
* The system reconfiguration command (pcdhgconf command) makes it possible to modify the HiRDB system definition while HiRDB is operating. In such a case, it is not necessary to terminate HiRDB. Note that HiRDB Advanced High Availability must be installed in order to use this command. For details about modifying HiRDB system definitions while HiRDB is operating, see 9.2 Modifying HiRDB system definitions while HiRDB is running (system reconfiguration command).