Cluster Server 7.4.1 Bundled Agents Reference Guide - Linux
- Introducing Bundled agents
- Storage agents
- DiskGroup agent
- DiskGroupSnap agent
- Notes for DiskGroupSnap agent
- Sample configurations for DiskGroupSnap agent
- Volume agent
- VolumeSet agent
- Sample configurations for VolumeSet agent
- LVMLogicalVolume agent
- LVMVolumeGroup agent
- Sample configurations for LVMVolumeGroup agent
- Mount agent
- Sample configurations for Mount agent
- VMwareDisks agent
- SFCache agent
- Network agents
- About the network agents
- IP agent
- NIC agent
- Notes for the NIC agent
- Sample configurations for NIC agent
- IPMultiNIC agent
- MultiNICA agent
- IP Conservation Mode (ICM) for MultiNICA agent
- Performance Mode (PM) for MultiNICA agent
- Sample configurations for MultiNICA agent
- DNS agent
- Agent notes for DNS agent
- About using the VCS DNS agent on UNIX with a secure Windows DNS server
- Sample configurations for DNS agent
- AWSIP agent
- AWSRoute53 agent
- AzureDNSZone agent
- File share agents
- NFS agent
- NFSRestart agent
- Share agent
- About the Samba agents
- SambaServer agent
- SambaShare agent
- NetBios agent
- Service and application agents
- Apache HTTP server agent
- Application agent
- Notes for Application agent
- Sample configurations for Application agent
- CoordPoint agent
- KVMGuest agent
- Notes for KVMGuest agent
- Sample configurations for KVMGuest environment
- Sample configurations for RHEV environment
- Process agent
- Usage notes for Process agent
- Sample configurations for Process agent
- ProcessOnOnly agent
- Infrastructure and support agents
- Testing agents
- Replication agents
- RVG agent
- RVGPrimary agent
- RVGSnapshot
- RVGShared agent
- RVGLogowner agent
- RVGSharedPri agent
- VFRJob agent
- Dependencies for VFRJob agent
- Notes for the VFRJob agent
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 str 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 ( DiskID = "/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.