Sample configurations

MultiNICA and IPMultiNIC for AIX

In the following example, two systems, sysa and sysb, each have a pair of network interfaces, en0 and en1. The two interfaces, en0 and en1, have the same base, or physical, IP address. However, the addresses on different hosts can differ. Note the lines beginning Device@sysa and Device@sysb; the use of different physical addresses shows how to localize an attribute for a particular host.

The MultiNICA resource fails over only the physical IP address to the backup NIC in the event of a failure. The logical IP addresses are configured by the IPMultiNIC agent. The resources ip1 and ip2, shown in the following example, have the Address attribute which contains the logical IP address. In the event of a NIC failure on sysa, the physical IP address and the two logical IP addresses fails over from en0 to en1.

However, if both the NICs on sysa are disconnected, the MultiNICA and IPMultiNIC resources work in tandem to fault the group on sysa. The entire group now fails over to sysb.

If you have more than one group using the MultiNICA resource, the second group can use a Proxy resource to point to the MultiNICA resource in the first group. This prevents redundant monitoring of the NICs on the same system. The IPMultiNIC resource is always made dependent on the MultiNICA resource. See IPMultiNIC agent.

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICA mnic (

Device@sysa = { en0 = "10.128.8.42", en1 = "10.128.8.42" }

Device@sysb = { en0 = "10.128.8.43", en1 = "10.128.8.43" }

NetMask = "255.255.255.0"

Gateway = "10.128.1.1"

BroadcastAddr = "10.128.25.255"

Options = "mtu m"

)

IPMultiNIC ip1 (

Address = "10.128.10.14"

NetMask = "255.255.255.0"

MultiNICAResName = mnic

Options = "mtu m"

)

ip1 requires mnic

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNIC ip2 (

Address = "10.128.9.4"

NetMask = "255.255.255.0"

MultiNICAResName = mnic

Options = "mtu m"

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy

MultiNICA and IPMultiNIC for HP-UX

In the following example, two systems, sysa and sysb, each have a pair of network interfaces, lan0 and lan3. The two interfaces, lan0 and lan3, have the same base, or physical, IP address. However, the addresses on different hosts can differ. Note the lines beginning Device@sysa and Device@sysb; the use of different physical addresses shows how to localize an attribute for a particular host.

The MultiNICA resource fails over only the physical IP address to the backup NIC during a failure. The logical IP addresses are configured by the IPMultiNIC agent. The resources ip1 and ip2, shown in the following example, have the Address attribute which contains the logical IP address. If a NIC fails on sysa, the physical IP address and the two logical IP addresses fails over from lan0 to lan3. If lan3 fails, the address fails back to lan0 if lan0 is reconnected.

However, if both the NICs on sysa are disconnected, the MultiNICA and IPMultiNIC resources work in tandem to fault the group on sysa. The entire group now fails over to sysb.

If you have more than one group using the MultiNICA resource, the second group can use a Proxy resource to point to the MultiNICA resource in the first group. This prevents redundant monitoring of the NICs on the same system. The IPMultiNIC resource is always made dependent on the MultiNICA resource. See IPMultiNIC agent.

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICA mnic (

Device@sysa = { lan0 = "192.205.8.42", lan3 = "192.205.8.42" }

Device@sysb = { lan0 = "192.205.8.43", lan3 = "192.205.8.43" }

NetMask = "255.255.255.0"

ArpDelay = 5

Options = "broadcast 192.203.15.255"

)

IPMultiNIC ip1 (

Address = "192.205.10.14"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "broadcast 192.203.15.255"

)

ip1 requires mnic

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNIC ip2 (

Address = "192.205.9.4"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "broadcast 192.203.15.255"

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy

MultiNICA and IPMultiNIC for Solaris

In the following example, two nodes, sysa and sysb, each have a pair of network interfaces, le0 and qfe3. The two interfaces, le0 and qfe3, have the same base, or physical, IP address. However, the addresses on different hosts can differ. Note the lines beginning Device@sysa and Device@sysb; the use of different physical addresses shows how to localize an attribute for a particular host.

The MultiNICA resource fails over only the physical IP address to the backup NIC during a failure. The logical IP addresses are configured by the IPMultiNIC agent. The resources ip1 and ip2, shown in the following example, have the Address attribute that contains the logical IP address. If a NIC fails on sysa, the physical IP address and the two logical IP addresses fails over from le0 to qfe3. If qfe3 fails, the address fails back to le0 if le0 is reconnected.

However, if both the NICs on sysa are disconnected, the MultiNICA and IPMultiNIC resources work in tandem to fault the group on sysa. The entire group now fails over to sysb.

If you have more than one group using the MultiNICA resource, the second group can use a Proxy resource to point to the MultiNICA resource in the first group. This prevents redundant monitoring of the NICs on the same system. The IPMultiNIC resource is always made dependent on the MultiNICA resource. See IPMultiNIC agent.

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICA mnic (

Device@sysa = { le0 = "10.128.8.42", qfe3 = "10.128.8.42" }

Device@sysb = { le0 = "10.128.8.43", qfe3 = "10.128.8.43" }

NetMask = "255.255.255.0"

ArpDelay = 5

Options = "trailers"

)

IPMultiNIC ip1 (

Address = "10.128.10.14"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "trailers"

)

ip1 requires mnic

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNIC ip2 (

Address = "10.128.9.4"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "trailers"

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy