25.5.5 Specification examples of host names in HiRDB system definitions and client environment definitions

Examples of specifying host names when using the standby system switchover facility are explained below.

Organization of this subsection
(1) When inheriting IP addresses
(2) When not inheriting IP addresses

(1) When inheriting IP addresses

Examples of specifying the HiRDB system definition and client environment definition (host names) are shown below.

[Figure]System common definition

pdunit -x pkghost -u UNT1 -d /hirdb_x             1

[Figure]Unit control information definition

set pd_hostname = mainhost                        2

[Figure]Client environment definition

export PDHOST = pkghost                           3

Explanation
  1. Specify the host name* of a re-allocatable IP address in the -x option of the pdunit operand.
  2. Specify the host name of the primary system in the pd_hostname operand.
  3. Specify the host name* of a re-allocatable IP address (the host name of the system manager for a HiRDB/Parallel Server) in the PDHOST operand of the client environment definition.
    In the case of multiple front-end servers, specify the host names* of re-allocatable IP addresses (host names of front-end servers) in the PDFESHOST operand.
* In the case of VERITAS Cluster Server or ClusterPerfect, the host name of a logical IP address (the host name of the IP address set in the IP type resource) is specified. In the case of SunCluster, the logical host name registered in SunCluster is specified.

(2) When not inheriting IP addresses

Examples of specifying the HiRDB system definition and client environment definition (host names) are shown below.

System common definition

pdunit -x mainhost -u UNT1 -d /hirdb/pddir_s -c reservedhost      1

Unit control information definition

set pd_hostname = mainhost                                        2

Client environment definition

export PDHOST = mainhost,reservedhost                             3

Explanation
  1. Specify the host name of the primary system in the -x option of the pdunit operand. Specify the host name of the secondary system in the -c option.
  2. Specify the host name of the primary system in the pd_hostname operand.
  3. Specify the host name of the primary system and the secondary system (host name of the system manager for a HiRDB/Parallel Server) in the PDHOST operand of the client environment definition.
    In the case of multiple front-end servers, specify the host names of the primary system and secondary system (host names of front-end servers) in the PDFESHOST operand.