Sample configurations

Configuration 1 for AIX, Linux, and Solaris

Sample configuration for a proxy mirroring state on local system. Where SG1 is the service group to which the resource mp_VRTSvcs_file1 belongs.

<resource name="proxyres" type="Proxy">

<attribute name="TargetResName"><scalar>"SG1.mp_VRTSvcs_file1" </scalar></attribute>

</resource>

Configuration 1 for AIX, HP-UX, Linux, and Solaris

The proxy resource mirrors the state of the resource mp_VRTSvcs_file1 on the local system.

Proxy proxy1 (

TargetResName = "tmp_VRTSvcs_file1"

)

Configuration 2 for AIX, Linux, and Solaris

Sample configuration for proxy mirroring state on sysa. Where SG2 is the service group to which resource tmp_VRTSvcs_file1 belongs.

<resource name="proxyres" type="Proxy">

<attribute name="TargetResName">"SG2.tmp_VRTSvcs_file1" <scalar></scalar></attribute>

<attribute name="TargetSysName"><scalar>"sysa" </scalar></attribute>

</resource>

Configuration 2 for AIX, HP-UX, Linux, and Solaris

The proxy resource mirrors the state of the resource tmp_VRTSvcs_file1 on sysa.

Proxy proxy1(

TargetResName = "tmp_VRTSvcs_file1"

TargetSysName = "sysa"

)

Configuration for AIX

The proxy resource mirrors the state of the resource mnic on the local system; note that target resource is in grp1, and the proxy is in grp2; a target resource and its proxy cannot be in the same group.

[Placeholder]

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"

NameServerAddr = "10.130.8.1"

Gateway = "10.128.1.1"

Domain = "veritas.com"

BroadcastAddr = "10.128.25.255"

Options = "mtu m"

)

IPMultiNIC ip1 (

Address = "166.98.14.78"

NetMask = "255.255.255.0"

MultiNICAResName = mnic

Options = "mtu m"

)

ip1 requires mnic

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNIC ip2 (

Address = "166.98.14.79"

NetMask = "255.255.255.0"

MultiNICAResName = mnic

Options = "mtu m"

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy

Configuration for HP-UX

The proxy resource mirrors the state of the resource mnic on the local system; note that target resource is in grp1, and the proxy is in grp2; a target resource and its proxy cannot be in the same group.

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICA mnic (

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

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

NetMask = "255.255.255.0"

ArpDelay = 5

Options = "broadcast 192.203.15.255"

RouteOptions@sysa = "default 192.98.16.103 0"

RouteOptions@sysb = "default 192.98.16.104 0"

)

IPMultiNIC ip1 (

Address = "192.98.14.78"

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.98.14.79"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "mtu m"

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy

Configuration for Linux

The proxy resource mirrors the state of the resource mnic on the local system; note that target resource is in grp1, and the proxy is in grp2; a target resource and its proxy cannot be in the same group.

<group name="grp1">

<attributes>

<attribute name="SystemList">

<val key="ngclinux1">0</val>

<val key="ngclinux2">1</val>

</attribute>

</attributes>

<resources>

<resource name="mnic" type="MultiNICA">

<attribute name="Device" context = "ngclinux1">

<val key="eth4">"10.212.89.51"</val>

<val key="eth3">"10.212.89.51"</val>

</attribute>

<attribute name="Device" context = "ngclinux2">

<val key="eth2">"10.212.89.99"</val>

<val key="eth3">"10.212.89.99"</val>

</attribute>

<attribute name="NetMask"><scalar>"255.255.254.0" </scalar></attribute>

<attribute name="NetworkHosts">

<val>"10.212.108.10"</val>

</attribute>

</resource>

<resource name="ip1" type="IPMultiNIC">

<attribute name="Address"><scalar>"10.212.89.148" </scalar></attribute>

<attribute name="MultiNICAResName"><scalar>"grp1.mnic" </scalar></attribute>

<attribute name="NetMask"><scalar>"255.255.254.0" </scalar></attribute>

</resource>

<link parent="ip1" child="mnic"/>

</resources>

</group>

<group name="grp2">

<attributes>

<attribute name="SystemList">

<val key="ngclinux1">0</val>

<val key="ngclinux2">1</val>

</attribute>

</attributes>

<resources>

<resource name="ip2" type="IPMultiNIC">

<attribute name="Address"><scalar>"10.212.89.52" </scalar></attribute>

<attribute name="MultiNICAResName"><scalar>"grp1.mnic" </scalar></attribute>

<attribute name="NetMask"><scalar>"255.255.254.0" </scalar></attribute>

</resource>

<resource name="proxy" type="Proxy">

<attribute name="TargetResName"><scalar>"grp1.mnic" </scalar></attribute>

</resource>

<link parent="ip2" child="proxy"/>

</resources>

</group>

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICA mnic (

Device @vcslx3 = { eth0 = "192.123.8.42", eth3 = "192.123.8.42" }

Device @vcslx4 = { eth0 = "192.123.8.43", eth3 (= "192.123.8.43" }

NetMask = "255.255.248.0"

NetworkHosts = { "192.123.10.129", "192.123.10.130" }

)

IPMultiNIC ip1 (

Address = "192.123.10.177"

MultiNICAResName = mnic

NetMask = "255.255.248.0"

)

ip1 requires mnic

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNIC ip2 (

Address = "192.123.10.178"

NetMask = "255.255.255.0"

MultiNICAResName = mnic

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy

Configuration 3 for Solaris

The proxy resource mirrors the state of the resource mnic on the local system; note that target resource is in grp1, and the proxy in grp2; a target resource and its proxy cannot be in the same group.

[Placeholder]

group grp1 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

MultiNICA mnic (

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

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

NetMask = "255.255.255.0"

ArpDelay = 5

Options = "trailers"

RouteOptions@sysa = "default 166.98.16.103 0"

RouteOptions@sysb = "default 166.98.16.104 0"

)

IPMultiNIC ip1 (

Address = "166.98.14.78"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "trailers"

)

ip1 requires mnic

group grp2 (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

IPMultiNIC ip2 (

Address = "166.98.14.79"

NetMask = "255.255.255.0"

MultiNICResName = mnic

Options = "mtu m"

)

Proxy proxy (

TargetResName = mnic

)

ip2 requires proxy