Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Bundled Agents Reference Guide   

Proxy Agent

Mirrors the state of another resource on a local or remote system. Provides a means to specify and modify one resource and have it reflected by its proxies.

Entry Point

Monitor---Determines status based on the target resource status.

Type Definition


type Proxy (
        static str ArgList[] = { TargetResName, TargetSysName,
        "TargetResName:Probed", "TargetResName:State" }

        static int OfflineMonitorInterval = 60
        static str Operations = None
        str TargetResName
        str TargetSysName
)

Required Attribute

Required Attribute Description, Type and Dimension, Default, and Example

TargetResName

Name of the target resource whose status is mirrored by Proxy resource.

The target resource must be in a different resource group than the Proxy resource.

  • Type and dimension: string-scalar
  • Example: "tmp_VRTSvcs_file1"

Optional Attribute

Optional Attribute Description, Type and Dimension, Default, and Example

TargetSysName

Mirror the status of the TargetResName on system specified by the TargetSysName variable. If this attribute is not specified, the Proxy resource assumes the system is local.

Sample Configurations

Sample 1


 // Proxy resource to mirror the state of the resource
 // tmp_VRTSvcs_file1 on the local system.

 Proxy proxy1 (
   TargetResName = "tmp_VRTSvcs_file1"
   )

Sample 2


 // Proxy resource to mirror the state of the resource
 // tmp_VRTSvcs_file1 on sysa.

 Proxy proxy1(
   TargetResName = "tmp_VRTSvcs_file1"
   TargetSysName = "sysa"
   )

Sample 3


 // Proxy agent to mirror the state of the resource mnic on 
// the local system; note that target resource is in grp1, 
// proxy 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
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Bundled Agents Reference Guide  
VERITAS Software Corporation
www.veritas.com