Cluster Server 8.0 Bundled Agents Reference Guide - Windows
- Introducing VCS bundled agents
- Storage agents
- Network agents
- FileShare agents
- Services and applications agents
- VCS infrastructure and support agents
- VCS hardware replication agent for NetApp
- Troubleshooting bundled 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 fail-over of an application.
The AzureDisk agent brings online, takes offline, and monitors the managed and unmanaged Azure data disks. It attaches the managed and unmanaged data disks to a virtual machine of the same or different resource group. The AzureDisk agent uses Azure Python SDK to determine whether the Azure data disks are attached to the Azure virtual machines or not.
Configure the AzureAuth agent.
See AzureAuth agent.
The Azure disk resources depend on the AzureAuth resource.
Open | Fetches the name of the Azure VM. |
Online | Attaches Azure data disk to the Azure VM. |
Offline | Detaches 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. |
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:
|
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 separated by a space. 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. 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 |
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 )
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 )
The AzureDisk agent uses the DBG_1 debug log level.