Setting Up Network Multipathing

Before setting up network multipathing, refer to the Administering Network
Multipathing section in the IP Network Multipathing Administration Guide on docs.sun.com.

To Configure HADB Host Machines that Already Use IP
Multipathing

Set network interface failure detection time.

For
HADB to properly support multipathing failover, the network interface failure
detection time must not exceed one second (1000 milliseconds), as specified
by the FAILURE_DETECTION_TIME parameter in /etc/default/mpathd. Edit the file and change the value of this parameter to 1000 if
the original value is higher:

FAILURE_DETECTION_TIME=1000

To put the change into effect, use this command:

pkill -HUP in.mpathd

Set up IP addresses to use with HADB.

As described
in the IP Network Multipathing Administration Guide,
multipathing involves grouping physical network interfaces into multipath
interface groups. Each physical interface in such a group has two IP addresses
associated with it:

a physical interface address used for transmitting data.

a test address for Solaris internal use only.

Specify only one physical interface address from the multipath group
when you use hadbm create --hosts.

Example 2–1 Setting up Multipathing

Suppose there are two host machines named host1 and host2. If they each
have two physical network interfaces, then set up the two interfaces as a
multipath group. Run ifconfig -a on each host.

In this example, the physical network interfaces on both hosts are listed
after bge0 and bge1. Those listed after bge0:1 and bge1:1 are multipath test interfaces
(marked DEPRECATED in the ifconfig output), as described
in the IP Network Multipathing Administration Guide.

To set up HADB in this environment, select one physical interface address
from each host. In this example, HADB uses IP address 129.159.115.10 from
host1 and 129.159.115.20 from host2. To create a database with one database
node per host, use the command hadbm create --hosts. For
example

hadbm create --hosts 129.159.115.10,129.159.115.20

To create a database with two database nodes on each host, use the command: