Sample configurations

for AIX<resources>

<resource name="nic_res1" type="NIC">

<attribute name="Device"><scalar>en5</scalar></attribute>

</resource>

</resources>

for AIX<resources>

<resource name="nic_res1" type="NIC">

<attribute name="Device"><scalar>en5</scalar></attribute>

<attribute name="NetworkHosts"><val>10.10.10.11</val>

<val>10.10.10.12</val>

</attribute>

</resource>

</resources>

Configuration with network hosts for HPUX

<resource name="nic" type="NIC">

<attribute name="Device"><scalar>"lan0"</scalar></attribute>

<attribute name="NetworkHosts">

<val>"1.1.1.4"</val>

</attribute>

</resource>

Configuration without network hosts (using broadcast ping mechanism) for HPUX

<resource name="nic" type="NIC">

<attribute name="Device"><scalar>"lan0"</scalar></attribute>

<attribute name="PingOptimize"><scalar>0</scalar></attribute>

</resource>

Network Hosts

NIC groupx_lan0 (

Device = lan0

NetworkHosts = { "166.93.2.1", "166.99.1.2" }

)

Configuration for using Mii for Linux

If the NIC does not respond to Mii, the agent uses network statistics to monitor the device.

<resources>

<resource name="nic_res1" type="NIC">

<attribute name="Device"><scalar>eth0</scalar></attribute>

<attribute name="Mii"><scalar>1</scalar></attribute>

</resource>

</resources>

NIC groupx_eth0 (

Device = eth0

Mii = 1

PingOptimize = 1

)

Configuration for using network hosts for Linux

<resources>

<resource name="nic_res1" type="NIC">

<attribute name="Device"><scalar>eth0</scalar></attribute>

<attribute name="NetworkHosts"><val>10.10.10.11</val>

<val>10.10.10.12</val>

</attribute>

</resource>

</resources>

NIC groupx_eth0 (

Device = eth0

NetworkHosts = { "166.93.2.1", "166.99.1.2" }

)

Configuration without network hosts (using default ping mechanism) for Solaris

<resources>

<resource name="nic_res1" type="NIC">

<attribute name="Device"><scalar>bge0</scalar></attribute>

</resource>

</resources>

NIC groupx_le0 (

Device = le0

PingOptimize = 1

)

Configuration with network hosts for Solaris

<resources>

<resource name="nic_res1" type="NIC">

<attribute name="Device"><scalar>bge0</scalar></attribute>

<attribute name="NetworkHosts"><val>10.10.10.11</val>

<val>10.10.10.12</val>

</attribute>

</resource>

</resources>

NIC groupx_le0 (

Device = le0

NetworkHosts = { "166.93.2.1", "166.99.1.2" }

)

IPMultiNICB and MultiNICB configuration

The following code is an example VCS configuration.

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 (

)