Cluster Server 7.4.2 Bundled Agents Reference Guide - Windows

Last Published:
Product(s): InfoScale & Storage Foundation (7.4.2)
Platform: Windows
  1. Introducing VCS bundled agents
    1.  
      About VCS bundled agents
    2.  
      Resources and their attributes
    3.  
      Modifying agents and their resources
    4. Attributes
      1.  
        Attribute data types
      2.  
        Attribute dimensions
    5. Categories of bundled agents
      1.  
        Storage agents
      2.  
        Network agents
      3.  
        FileShare agents
      4.  
        Services and applications agents
      5.  
        VCS infrastructure and support agents
    6.  
      Which agents should I use?
  2. Storage agents
    1.  
      About Storage agents for VCS
    2. DiskReservation (DiskRes) agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    3. Mount agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5.  
        Attribute definitions
      6.  
        Sample configurations
    4. Volume Manager Diskgroup (VMDg) agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    5. MountV agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5.  
        Attribute definitions
      6.  
        Sample configuration
    6. VVRSnap agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    7. VMwareDisks agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attributes
      5.  
        Sample configuration
    8. VMNSDg agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    9. NativeDisks agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    10.  
      AWS EBSVol agent
    11.  
      AzureDisk agent
    12.  
      GoogleDisk agent
  3. Network agents
    1.  
      About network agents
    2. NIC agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    3. IP agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definitions
      5.  
        Attribute definitions
      6.  
        Sample configuration
    4. IPv6 agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5.  
        Attribute definitions
      6.  
        Sample configuration
    5. Lanman agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5. Attribute definitions
        1.  
          Updating manual DNS entries
        2.  
          Updating DNS servers
      6.  
        Sample configurations
    6.  
      AWSIP agent
    7.  
      AzureIP agent
    8. AzureDNSZone agent
      1.  
        Prerequisites
      2.  
        Dependencies
      3.  
        Agent functions
      4.  
        State definitions
      5.  
        Attributes
      6.  
        Resource type definition
      7.  
        Samples configurations
      8.  
        Delegating a domain to Azure DNS
    9.  
      GoogleIP agent
  4. FileShare agents
    1.  
      About FileShare agents
    2. FileShare agent
      1.  
        Dependencies
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        About ForceControl function
      5.  
        Resource type definition
      6.  
        Attribute definitions
      7.  
        Sample configuration
    3. CompositeFileShare agent
      1.  
        Dependencies
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        About ForceControl function
      5.  
        Resource type definition
      6.  
        Attribute definitions
      7.  
        Sample configuration
  5. Services and applications agents
    1.  
      About services and application agents
    2. Internet Information Services agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5. Sample configurations
        1.  
          Sample configuration I
        2.  
          Sample configuration II
    3. GenericService agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    4. ServiceMonitor agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configurations
    5. Process agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    6. MSMQ agent
      1.  
        Dependencies
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5.  
        Attribute definitions
      6.  
        Sample configuration
    7.  
      AzureAuth agent
  6. VCS infrastructure and support agents
    1.  
      About VCS infrastructure and support agents
    2. NotifierMngr agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    3. Registry Replication (RegRep) agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5. Attribute definitions
        1.  
          Excluding keys
        2.  
          Configuring registry keys
        3.  
          Ignoring subkeys
      6.  
        Sample configuration
    4. Proxy agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configurations
    5. Phantom agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Attribute definitions
      4.  
        Sample configuration
    6. FileNone agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    7. ElifNone agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    8. FileOnOff agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    9. FileOnOnly agent
      1.  
        Agent functions
      2.  
        State definitions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    10. RemoteGroup agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5. Attribute definitions
        1.  
          About the ControlMode attribute
      6. Sample scenario
        1.  
          Service group behavior
  7. VCS hardware replication agent for NetApp
    1.  
      About hardware replication agents for NetApp
    2. NetApp Filer agent
      1.  
        Agent function
      2.  
        Resource type definition
      3.  
        Attribute definitions
      4.  
        Sample configuration
    3. NetApp SnapDrive agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        Resource type definition
      4.  
        Attribute definitions
      5.  
        Sample configuration
    4. NetApp SnapMirror agent
      1.  
        Dependency
      2.  
        Agent functions
      3.  
        Action function
      4.  
        Resource type definition
      5.  
        Attribute definitions
      6.  
        Sample configuration
  8. Troubleshooting bundled agents
    1.  
      About troubleshooting bundled agents
    2.  
      VCS logging
    3. Troubleshooting storage agents
      1.  
        Disk Reservation agent error messages
      2.  
        Mount agent error messages
      3.  
        Volume Manager (VMDg) agent error messages
      4.  
        MountV agent error messages
    4. Troubleshooting network agents
      1.  
        NIC agent error messages
      2.  
        IP agent error messages
      3.  
        Lanman agent error messages
    5. Troubleshooting FileShare agents
      1.  
        FileShare agent error messages
      2.  
        CompositeFileShare agent error messages
    6. Troubleshooting services and application agents
      1.  
        IIS agent error messages
      2.  
        GenericService agent error messages
      3.  
        ServiceMonitor agent error messages
      4.  
        Process agent error messages
      5.  
        MSMQ agent error messages
    7. Troubleshooting infrastructure and support agents
      1.  
        Notifier Manager agent error messages
      2.  
        Registry Replication agent error messages
      3.  
        Proxy agent error messages
      4.  
        Phantom agent error message
      5.  
        FileNone agent error message
      6.  
        ElifNone agent error message
      7.  
        FileOnOff agent error messages
      8.  
        FileOnOnly agent error messages
    8.  
      Troubleshooting NetApp agents

GoogleIP agent

The GoogleIP agent manages the following networking resources in a Google Cloud Platform (GCP) environment:

  • Private IP - A private IP is a private numerical address that networked devices use to communicate with one another. It is used for communication between a GCP virtual private cloud (VPC) network and an on-premises network. A private IP is also referred to as Alias IP in GCP. To extend an on-premises network to a GCP VPC network, you use a VPN gateway.

  • Overlay IP - An overlay IP provides IP failover functionality for the InfoScale cluster nodes that are spread across subnets. It lets you redirect IP address traffic to another cluster node belonging to different subnet within the same VPC. An overlay IP must be defined outside the VPC Classless Inter-Domain Routing (CIDR) block.

The GoogleIP agent performs the following activities:

  • Fetches the NIC details, associates the private IP with the NIC, and disassociates the private IP from the NIC

  • Manages the route table entries of the overlay IP for failover across subnets

The GoogleIP agent uses GCP Python APIs to associate IP resources with a GCP VM instance.

Note:

An InfoScale deployment in GCP does not support IPv6 because VPC networks in GCP do not support IPv6 traffic within the network. For details, refer to the GCP documentation on VPC networks.

Prerequisites
  • The Google service account associated with the VM instance have the following roles assigned, at a minimum:

    • compute.globalOperations.get

    • compute.instances.get

    • compute.instances.updateNetworkInterface

    • compute.networks.updatePolicy

    • compute.projects.get

    • compute.routes.create

    • compute.routes.delete

    • compute.routes.get

    • compute.routes.list

    • compute.zoneOperations.get

  • To access Google APIs, the following Python modules must be present on the InfoScale cluster nodes:

    • oauth2client

    • google-api-python-client

Install Python SDK for GCP on each of the cluster nodes by running the following commands at the location C:\Program Files\Veritas\VRTSPython, or the location where the VRTSPython folder is installed on the node:

  • python -m pip install --upgrade pip

  • python -m pip install --upgrade google-api-python-client

  • python -m pip install --upgrade oauth2client

Dependencies

A GoogleIP resource depends on the IP and the NIC resources.

Figure: Sample service group dependency

Sample service group dependency
Agent functions

Online

  • Private IP: Associates the private IP with the network interface.

  • Overlay IP: Creates a route in route table with the required base IP. Sets the overlay IP as the destination and the private IP as the next hop of the primary NIC.

Offline

and

Clean

  • Private IP: Disassociates the private IP from the network interface.

  • Overlay IP: Deletes the route from the route table.

Monitor

  • Private IP: Monitors the association between the private IP and the network interface.

  • Overlay IP: Monitors the routing information and checks whether the route table entry exists for the overlay IP.

State definitions

ONLINE

  • Private IP: Indicates that the private IP is assigned to the NIC.

  • Overlay IP: Indicates that route table entry exists for the overlay IP.

OFFLINE

  • Private IP: Indicates that the private IP is not assigned to the NIC.

  • Overlay IP: Indicates that route table entry does not exist for the overlay IP.

UNKNOWN

This state indicates that one of the following situations may have occurred:

  • The required GCP Python SDKs are not installed.

  • The privileges that are needed to perform operations on the NIC and the VM instance are not provided.

  • The private IP or the overlay IP is specified in an incorrect format.

  • MACAddress attribute value is invalid.

  • The route that is associated with the overlay IP in the route table is missing.

  • Either overlay IP and private IP are both set, or none of them are set - only one of them should be set at a time.

FAULTED

Indicates that the IP resources cannot be brought online or were abruptly stopped outside of VCS control.

Limitation

When an IP address that is associated with an OverlayIP resource is already online elsewhere in the VPC network, the GoogleIP service group with that OverlayIP resource should not come online. However, the service group does come online, and then the IP resource faults in both the clusters.

Workaround: Do not configure the IP address that is associated with the OverlayIP resource for any other device within the same VPC network.

Attributes

Table: Required attributes

Attribute

Description

PrivateIP

Secondary private IP address, also known as Alias IP, of the Google VM.

You must specify a value for this attribute if no value is specified for OverlayIP.

Type and dimension: string-scalar

MACAddress

The physical address of the network interface to which the virtual IP address to be monitored is assigned. Note that this attribute is always local, that is, it is different for each system.

Use the ipconfig -all command to retrieve the physical address of a NIC.

Example: 00-60-08-08-BA-C4

Type and Dimension: string-scalar

OverlayIP

Overlay IP provides IP failover functionality for the InfoScale cluster nodes that are spread across subnets.

Overlay IP must be outside of the VPC CIDR block in which the nodes are present.

You must specify a value for this attribute if no value is specified for PrivateIP.

Type and dimension: string-scalar

Table: Optional attributes

Attribute

Description

ProjectID

The customized name that you choose when you create a GCP project, or when you activate an API that requires you to create a project ID.

Type and dimension: string-scalar

VMName

Name of the GCP VM instance on which the agent is running.

Type and dimension: string-scalar

Zone

The GCP zone to which the VM instance belongs.

Type and dimension: string-scalar

Resource type definition
type GoogleIP (
    static keylist RegList = { MACAddress }
    static i18nstr ArgList[] = { PrivateIP, MACAddress, OverlayIP, 
      ProjectID, Zone, VMName, tempProjectName, tempVMName, 
      tempZoneName, tempRouteName, tempDeviceName }
    temp str tempProjectName
    temp str tempRouteName
    temp str tempZoneName
    temp str tempVMName
    temp str tempDeviceName
    str PrivateIP
    str MACAddress
    str OverlayIP
    str ProjectID
    str Zone
    str VMName
)
Sample configurations

Sample configuration with Private IP:

GoogleIP csg_GoogleIP (
   	PrivateIP = "10.208.8.21"
   	MACAddress @cloudvm1 = "42:01:0A:D0:08:06"
   	MACAddress @cloudvm2 = "42:01:0A:D0:08:05"
)

IP csg_ip (
   	Address = "10.208.8.21"
   	SubNetMask = "255.255.252.0"
   	MACAddress @cloudvm1 = "42:01:0A:D0:08:06"
   	MACAddress @cloudvm2 = "42:01:0A:D0:08:05"
)

NIC csg_nic (
   	MACAddress @cloudvm1 = "42:01:0A:D0:08:06"
   	MACAddress @cloudvm2 = "42:01:0A:D0:08:05"
)

csgip requires csgnic
csg_GoogleIP requires csgip

Sample configuration with Overlay IP:

GoogleIP csg_GoogleIP (
   	OverlayIP = "192.168.9.3"
   	MACAddress @cloudvm1 = "42:01:0A:D0:08:06"
   	MACAddress @cloudvm2 = "42:01:0A:D0:08:05"
)

IP csg_ip (
   	Address = "192.168.9.3"
   	SubNetMask = "255.255.252.0"
   	MACAddress @cloudvm1 = "42:01:0A:D0:08:06"
   	MACAddress @cloudvm2 = "42:01:0A:D0:08:05"
)

NIC csg_nic (
   	MACAddress @cloudvm1 = "42:01:0A:D0:08:06"
   	MACAddress @cloudvm2 = "42:01:0A:D0:08:05"
)

csgip requires csgnic
csg_GoogleIP requires csgip
Debug log levels

The GoogleIP agent uses the DBG_1 debug log level.

Modules tested

Veritas has tested and approved the GoogleIP agent with the following modules:

GCP Python module

Version

cachetools

2.1.0

google-api-python-client

1.7.4

google-auth

1.6.1

google-auth-httplib2

0.0.3

httplib2

0.11.3

oauth2client

4.1.3

pyasn1

0.4.4

pyasn1-modules

0.2.2

rsa

4.0

six

1.11.0

uritemplate

3.0.0