Sample configurations

Interface configuration

Set the EPROM variable to assign unique MAC addresses to all ethernet interfaces on the host:

# eeprom local-mac-address?=true

Reboot the system after setting the eprom variable to complete the address setup. The base IP addresses must be configured on the interfaces before the MultiNICB agent controls the interfaces. This can be completed at system start up using /etc/hostname.XXX initialization files as in the examples below.

Setting up test and administrative IP addresses

These examples demonstrate setting up test and administrative IP addresses for your clustered systems. You do not need to perform the following steps for the floating IP addresses, as the agent takes care of this automatically.

In the file /etc/hostname.qfe0, add the following two lines:

north-qfe0 netmask + broadcast + deprecated -failover up \

addif north netmask + broadcast + up

Where north-qfe0 is the test IP address that the agent uses to determine the state of the qfe0 network card.

In the file /etc/hostname.qfe4, add the following line:

north-qfe4 netmask + broadcast + deprecated -failover up

Where north-qfe4 is the test IP address that the agent uses to determine the state of the qfe4 network card.

In the above example, north-qfe0 and north-qfe4 are host names that correspond to test IP addresses. north is the host name that corresponds to the administrative IP address.

MultiNICB and IPMultiNICB for AIX

The following code is an example VCS configuration.

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICB MNICB_grp1 (

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

Device@sysb = { en0 = "10.128.8.44", en1 = "10.128.8.45" }

NetworkHosts = "10.128.8.10 10.128.8.45"

LinkTestRatio = 1

)

IPMultiNICB ip1 (

Address = "10.128.10.14"

Netmask = "255.255.255.0"

MultiNICBResName = MNICB_grp1

)

ip1 requires MNICB_grp1

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNICB ip2 (

Address = "10.128.10.15"

Netmask = "255.255.255.0"

MultiNICBResName = MNICB_grp1

)

Proxy MNICB_proxy (

TargetResName = MNICB_grp1

)

ip2 requires MNICB_proxy

IPMultiNICB and MultiNICB configuration for Solaris

The following code is an example VCS configuration.

[Placeholder]

cluster clus_north (

UserNames = { admin = "cDRpdxPmHpzS." }

Administrators = { admin }

CounterInterval = 5

)

system north (

)

system south (

)

group g11 (

SystemList = { north = 0, south = 1 }

AutoStartList = { north, south }

)

IPMultiNICB g11_i1 (

BaseResName = gnic_n

Address = "192.1.0.201"

NetMask = "255.255.0.0"

DeviceChoice = "1"

)

Proxy g11_p1 (

TargetResName = gnic_n

)

g11_i1 requires g11_p1

// A parallel group for the MultiNICB resource

group gnic (

SystemList = { north = 0, south = 1 }

AutoStartList = { north, south }

Parallel = 1

)

MultiNICB gnic_n (

Device @north = { qfe0, qfe4 }

Device @south = { qfe0, qfe4 }

NetworkHosts = { "192.1.0.1" }

)

Phantom gnic_p (

)