This parameter specifies a list of target host:port pairs that represent HADR standby databases. You must set the hadr_target_list parameter to enable multiple standby databases or to set up HADR in a DB2® pureScale® environment.
The host:port pairs that you specify for the hadr_target_list configuration parameter for a primary determine which hosts act as standbys for that primary. The host:port pairs in the target list of a standby identify the standby hosts to be used if this standby takes over as the new HADR primary database.
As with the hadr_remote_host and hadr_local_host database configuration parameters, you can specify a host for the hadr_target_list configuration parameter with either a host name or an IP address. A host name can contain alphanumeric characters, dashes, and underscores only. As with the hadr_remote_svc and hadr_local_svc configuration parameters, you can specify a port for the hadr_target_list configuration parameter with either a port number or a service name. A service name can consist of any characters. A host name is mapped to an IP address, and a service name is mapped to a port number. The values that you specify for the hadr_target_list configuration parameter can be a combination of host names, host IP addresses, service names, and port values.
host1:port1|host2:port2|host3:port3
[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:4000
{host1:1000|host2:1000|host3:1000}
In
the target list for a standby cluster, only a subset of the cluster's
members are required. In an extreme case, only one member's address
is listed. However, this is not a best practice because it creates
a single point of failure. If the listed member is offline, the cluster
cannot be reached. For a small cluster (such as one with four members),
it is recommended that you list all members. For large clusters, list
the members that are most likely to be online. It is strongly recommended
that you list the preferred replay member. The first database in the target list of an HADR database is designated as theprincipal HADR standby database, and any other entries are called auxiliary HADR standby databases. You can configure the primary-principal standby HADR pair to use any synchronization mode supported in the DB2 environment (in a DB2 pureScale environment, only ASYNC and SUPERASYNC modes are supported) by using the hadr_syncmode configuration parameter on the primary. The synchronization mode of the auxiliary standby targets is always SUPERASYNC. When you start HADR on the primary, the values for the hadr_remote_host and hadr_remote_svc configuration parameters are automatically set to those of the principal standby unless you set the DB2_HADR_NO_IP_CHECK registry variable to ON.