Sample configuration for a proxy mirroring state on local system. Where SG1 is the service group where the resource mp_vcsone_file1 belongs.
<resource name="proxyres" type="Proxy">
<attribute name="TargetResName"><scalar>"SG1.mp_vcsone_file1" </scalar></attribute>
The proxy resource mirrors the state of the resource tmp_VRTSvcs_file1 on the local system.
TargetResName = "tmp_VRTSvcs_file1"
Sample configuration for proxy mirroring state on sysa. Where SG2 is the service group to which resource tmp_vcsone_file1 belongs.
<resource name="proxyres" type="Proxy">
<attribute name="TargetResName">"SG2.tmp_vcsone_file1" <scalar></scalar></attribute>
<attribute name="TargetSysName"><scalar>"sysa" </scalar></attribute>
The proxy resource mirrors the state of the resource tmp_VRTSvcs_file1 on sysa.
TargetResName = "tmp_VRTSvcs_file1"
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.
Device@sysa = { lan0 = "192.98.16.103",lan3 = "192.98.16.103" }
Device@sysb = { lan0 = "192.98.16.104",lan3 = "192.98.16.104" }
Options = "broadcast 192.203.15.255"
RouteOptions@sysa = "default 192.98.16.103 0"
RouteOptions@sysb = "default 192.98.16.104 0"
Options = "broadcast 192.203.15.255"
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.
<val key="vcsonelinux1">0</val>
<val key="vcsonelinux2">1</val>
<resource name="mnic" type="MultiNICA">
<attribute name="Device" context = "vcsonelinux1">
<val key="eth4">"10.212.89.51"</val>
<val key="eth3">"10.212.89.51"</val>
<attribute name="Device" context = "vcsonelinux2">
<val key="eth2">"10.212.89.99"</val>
<val key="eth3">"10.212.89.99"</val>
<attribute name="NetMask"><scalar>"255.255.254.0" </scalar></attribute>
<attribute name="NetworkHosts">
<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>
<link parent="ip1" child="mnic"/>
<val key="vcsonelinux1">0</val>
<val key="vcsonelinux2">1</val>
<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 name="proxy" type="Proxy">
<attribute name="TargetResName"><scalar>"grp1.mnic" </scalar></attribute>
<link parent="ip2" child="proxy"/>
Device @vcslx3 = { eth0 = "192.123.8.42", eth3 = "192.123.8.42" }
Device @vcslx4 = { eth0 = "192.123.8.43", eth3 = "192.123.8.43" }
NetworkHosts = { "192.123.10.129", "192.123.10.130" }
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.
Device@sysa = { le0 = "166.98.16.103",qfe3 = "166.98.16.103" }
Device@sysb = { le0 = "166.98.16.104",qfe3 = "166.98.16.104" }
RouteOptions@sysa = "default 166.98.16.103 0"