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

AWS EBSVol agent

A dedicated agent is required to provide high availability of the Amazon EBS volumes across nodes in an InfoScale cluster within the same availability zone. The EBSVol agent provides high availability of the EBS volumes during the failover of an application.

The EBSVol agent attaches EBS volumes to Amazon EC2 instances, monitors the volumes, and detaches them from the instances. It uses AWS CLI commands to determine the state of the EBS volumes.

Note:

The EBS volumes should not be configured in a parallel service group.

Prerequisites
  • Install the AWS CLI package.

    For details, refer to the InfoScale Solutions in Cloud Environments document.

  • Create an IAM role with the requisite permissions, and attach the roles to the EC2 instances that form the cluster nodes.

    On the AWS Management Console, navigate to IAM > Create Policy > Role, and create the role.

    The following is a sample of the policy (.json) file:

    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Action": [
                     "ec2:DescribeVolumes",
                     "ec2:AttachVolume",
                     "ec2:DetachVolume"
                ],
                "Effect": "Allow",
                "Resource": "*"
            }
        ]
Dependencies

The EBS volume resource does not depend on any other resources.

Figure: Sample service group with an EBS volume resource

Sample service group with an EBS volume resource
Agent functions

Online

Attaches the EBS volume to an EC2 instance using the attach-volume command.

Offline

Detaches the EBS volume from the EC2 instance using the detach-volume command.

Monitor

Determines if the EBS volume is attached to the EC2 instance or not using the describe-volume command.

Clean

Adds the following warning in the agent log if the EBS volume is busy or cannot be detached.

Administrative intervention required.

Administrator should take corrective actions to detach the EBS volume.

State definitions

ONLINE

Indicates one of the following:

  • The volume is attached to an EC2 instance or is in the Busy state on the same instance.

  • The attach operation is in progress and the volume gets successfully attached to the instance within the duration that is specified in the MONITOR_TIMEOUT attribute.

OFFLINE

Indicates one of the following states:

  • The detach operation is in progress and the volume gets successfully detached from the EC2 instance within the duration that is specified in the MONITOR_TIMEOUT attribute.

  • The volume is not attached to any instance.

  • The volume is attached to a different instance

  • The volume is in the Busy state on another instance.

FAULTED

Indicates that the EBS volume has unexpectedly got detached from an EC2 instance.

UNKNOWN

Indicates one of the following conditions:

  • AWS CLI is not installed.

  • The AWSBinDir attribute is not configured correctly.

    For example, if AWS CLI is installed at C:\Program Files\Amazon\AWSCLI, the AWSBinDir attribute should be set to the same value.

  • The required roles are not configured or are not attached to the instance correctly.

  • The ID that is specified in the VolumeID attribute is invalid.

  • The volume that is specified using the VolumeID attribute belongs to a different zone.

  • An attach operation is in progress, and the volume is not successfully attached to the instance within the duration that is specified in the MONITOR_TIMEOUT attribute.

  • A detach operation is in progress, and the volume is not successfully detached from the instance within the duration that is specified in the MONITOR_TIMEOUT attribute.

  • The EC2 instance metadata is not accessible, for example, via the following command:

    curl "http://169.254.169.254/latest/meta-data/"

Attributes

Table: Required attribute

Attribute

Description

VolumeId

The ID of the EBS volume. The volume and the EC2 instance must be within the same availability zone.

Type and dimension: string-scalar

Table: Optional attribute

Attribute

Description

AWSBinDir

Location of the AWS EC2 commands and binaries.

Type and dimension: string-scalar

Table: Internal attributes

Attribute

Description

Device

Name of the device to make the device visible to the instance.

For example, xvdf through xvdp.

This attribute is reserved for internal use only.

NumThreads

The number of threads that are used within the agent process for managing resources. This number does not include the number of threads that are used for other internal purposes.

Setting the NumThreads attribute to a higher value may decrease the time required to go online or the time required to monitor a large number of EBS volume resources.

Type and dimension: static integer-scalar

Default: 1

Resource type definition
type EBSVol (
   	static int FaultOnMonitorTimeouts = 0
   	static int NumThreads = 1
   	static i18nstr ArgList[] = { VolumeId, AWSBinDir, AWSDevice }
   	static boolean AEPTimeout = 1
   	str VolumeId
   	str AWSBinDir
   	temp str AWSDevice
)
Sample configuration
EBSVol res (
    VolumeId = vol-061516adc454d7e05
    AWSBinDir = "C:\Program Files\Amazon\AWSCLI"
)
Debug log levels

The EBSVol agent uses the DBG_1 debug log level.