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
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. This agent supports volumes configured on NVMe devices.
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.
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": "*" } ]
The EBS volume resource does not depend on any other resources.
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. |
ONLINE | Indicates one of the following:
|
OFFLINE | Indicates one of the following states:
|
FAULTED | Indicates that the EBS volume has unexpectedly got detached from an EC2 instance. |
UNKNOWN | Indicates one of the following conditions:
|
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 |
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 )
EBSVol res ( VolumeId = vol-061516adc454d7e05 AWSBinDir = "C:\Program Files\Amazon\AWSCLI" )
The EBSVol agent uses the DBG_1 debug log level.