InfoScale™ 9.0 Cluster Server Bundled Agents Reference Guide - Windows

Last Published:
Product(s): InfoScale & Storage Foundation (9.0)
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
    10.  
      OCIIP 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.  
      AppMonHB agent
    7. MSMQ agent
      1.  
        Dependencies
      2.  
        Agent functions
      3.  
        State definitions
      4.  
        Resource type definition
      5.  
        Attribute definitions
      6.  
        Sample configuration
    8. AzureAuth agent
      1.  
        Using Azure managed identity
  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

AzureDisk agent

Virtual machines in Azure use data disks to store the applications data. The AzureDisk agent supports managed and unmanaged data disks and provides high availability of these disks during a failover of an application.

The AzureDisk agent brings online, takes offline, and monitors the managed and unmanaged Azure data disks. The agent attaches the managed and unmanaged data disks to a virtual machine of the same resource group or a different resource group. The AzureDisk agent uses Azure Python SDK to determine whether or not the Azure data disks are attached to the Azure virtual machines.

Prerequisites

Configure the AzureAuth agent.

See AzureAuth agent.

Configure an authentication method for authenticating Azure subscription:

  • To use the AzureAuth agent for a service principal-based authentication, configure the AzureAuth agent.

    See AzureAuth agent.

  • To use an Azure managed identity-based authentication, configure a user-assigned managed identity in the cluster.

    See Using Azure managed identity.

Dependencies

The AzureDisk resources depend on the AzureAuth resource.

  • If an Azure managed identity is configured for authenticating Azure subscription, the AzureDisk resources do not depend on the AzureAuth resource.

  • If the AzureAuth agent is configured for a service principal-based authentication, the AzureDisk resources depend on the AzureAuth resources.

Figure: Sample service group dependency (if using AzureAuth agent)

os_winSample service group dependency (if using AzureAuth agent)
Agent functions

Open

Fetches the name of the Azure VM.

Online

Attaches the Azure data disk to the Azure VM.

Offline

Detaches the Azure data disk from the Azure VM.

Monitor

Determines if the Azure data disk is attached to the current Azure VM or not.

Clean

Terminates all ongoing resource actions and detaches the Azure data disk from the Azure VM.

State definitions

ONLINE

Indicates that the Azure data disk is attached to the Azure VM.

OFFLINE

Indicates that the Azure data disk is detached from the Azure VM.

FAULTED

Indicates that the Azure data disk was unexpectedly detached from the Azure VM outside of VCS control.

UNKNOWN

Indicates that a problem exists because of one of the following reasons:

  • Azure Python SDK is not installed.

  • Azure VM is not found in the specified Resource Group.

  • Azure data disk is not configured correctly or has invalid ID.

  • Roles are not configured correctly or attached to the instance.

  • The disks are attached to Azure VM of another cluster.

  • DiskIds has a combination of managed and unmanaged disks.

  • Configured unmanaged disks belong to different storage accounts.

Attributes

Table: Required attributes

Attribute

Description

DiskIds

In case of managed disks, resource ID of the disk.

In case of unmanaged disks, VHDUri of the disk.

You can add one or more disk Ids. Use a space as a separator for multiple entries.

Type and dimension: string-vector

VMResourceGroup

Azure resource group where the Azure VM resides.

Type and dimension: string-scalar

AzureAuthResName

Name of the authentication agent resource that handles Azure related authentication.

This attribute is required only if the AzureAuth agent is configured for using a service principal-based authentication for Azure subscription. This attribute is not required if using managed identities for Azure authentication.

Note:

If both AzureAuth agent and user-assigned managed identity are configured in the cluster, the AzureAuth agent configuration takes precedence. The cluster defaults to using the AzureAuth service principal-based Azure authentication.

Type and dimension: string-scalar

ManagedIdentityClientID

ID of the user-assigned managed identity that is obtained from the Azure portal.

This attribute is required only if using managed identity-based authentication for Azure subscription. This attribute is not required if the AzureAuth agent is configured for using a service principal for Azure authentication.

Note:

If both AzureAuth agent and user-assigned managed identity are configured in the cluster, the AzureAuth agent configuration takes precedence. The cluster defaults to using the AzureAuth service principal-based Azure authentication.

Type and dimension: string-scalar

StorageAccountKey

Access key of the storage account.

You must encrypt this key by using the vcsencrypt utility. For details, see the Cluster Server Administrator's Guide.

This attribute is required only if unmanaged disks are configured.

Type and dimension: string-scalar

Table: Optional attribute

Attribute

Description

AzureVMName

Name of the VM in Azure on which agent is running.

Type and dimension: string-scalar

Resource type definition
type AzureDisk (
    static int MonitorTimeout = 120
    static i18nstr ArgList[] = { StorageAccountKey, tempVMName, 
      DiskIds, VMResourceGroup, AzureVMName, 
      "AzureAuthResName:SubscriptionId","AzureAuthResName:ClientId", 
						"AzureAuthResName:SecretKey", "AzureAuthResName:TenantId" }
    str DiskIds[]
    str VMResourceGroup
    str AzureVMName
    str AzureAuthResName
    temp str tempVMName
    str StorageAccountKey
)
type AzureDisk (
    static int FaultOnMonitorTimeouts = 0
    static int MonitorTimeout = 120
    static i18nstr ArgList[] = { StorageAccountKey, tempVMName, DiskIds, 
   	VMResourceGroup, AzureVMName, "AzureAuthResName:SubscriptionId",  
   	"AzureAuthResName:ClientId", "AzureAuthResName:SecretKey", 
   	"AzureAuthResName:TenantId", tempSubscriptionId,   
   	ManagedIdentityClientID }
    str DiskIds[]
    str VMResourceGroup
    str AzureVMName
    str AzureAuthResName
    temp str tempVMName
    str StorageAccountKey
    str ManagedIdentityClientID
    temp str tempSubscriptionId
    )
Sample configuration
Sample configuration using AzureAuth agent

Sample configuration with managed disks:

AzureDisk azure-res-disk (
    DiskIds = { "/subscriptions/6940a326-fgh6-40dd-b616-c1e9bbdf1d63/
    resourceGroups/azureRG/providers/Microsoft.Compute/disks/
    AzureManagedDisk" }
    VMResourceGroup = "azureVMRG"
    AzureAuthResName = "azure-auth-res"
    )

Sample configuration with unmanaged disks:

AzureDisk azure-res-disk (
    DiskIds = { "https://azureunstorageaccount2.blob.core.windows.net/
    vhds/unmanageddisk.vhd" }
    VMResourceGroup = "azureVMRG"
    AzureAuthResName = "azure-auth-res"
    storageAccountKey = fpjNjrNrgRupNnnLhlKHnlRjpKLitIpjTgnTpfNglSls
    )
Sample configuration using a managed identity

Sample configuration with managed disks:

AzureDisk azure-res-disk (
    DiskIds = { "/subscriptions/6940a326-fgh6-40dd-b616-c1e9bbdf1d63
    /resourceGroups/azureRG/providers/Microsoft.Compute/disks/
    AzureManagedDisk" }
    VMResourceGroup = "azureVMRG"
    ManagedIdentityClientID = 1da89bd2-9735-4266-b920-27c23b98f022
    )

Sample configuration with unmanaged disks:

AzureDisk azure-res-disk (
    DiskIds = {"https://azureunstorageaccount2.blob.core.windows.net
    /vhds/unmanageddisk.vhd" }
    VMResourceGroup = "azureVMRG" 
    ManagedIdentityClientID = 1da89bd2-9735-4266-b920-27c23b98f022
    storageAccountKey = fpjNjrNrgRupNnnLhlKHnlRjpKLitIpjTgnTpfNglSls
    )
Debug log levels

The AzureDisk agent uses the DBG_1 debug log level.