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
AWSIP agent
The AWSIP agent manages the networking resources in an Amazon Web Services (AWS) cloud environment. The following are the networking resources:
Private IP - Private IP is a private numerical address that networked devices use to communicate with one another.
Elastic IP - An Elastic IP address is a static IPv4 public address designed for dynamic cloud computing. An Elastic IP address is associated with your AWS account.
Overlay IP - AWS allows you to redirect IP address traffic to an Elastic Compute Cloud (EC2) instance in a Virtual Private Network (VPC) no matter which subnet or availability zone (AZ) it is in. Overlay IP provides IP failover functionality for nodes spread across subnets or availability zones. Overlay IP must be outside of the VPC Classless Inter-Domain Routing (CIDR) block.
The agent uses AWS CLIs to associate IP resources in an AWS cloud environment. The agent does the following:
Assigns and unassigns private IP address
Associates and disassociates Elastic IP address and assigns/unassigns private IP
Manages route table entries of overlay IP for failing over across subnets
Install the AWS CLI package.
Go to EC2 instance > Networking > Change Source/Dest. Check and disable Change Source/Dest. Check for overlay IP.
Create an IAM role with requisite permissions and attach the roles to the EC2 cluster instances.
Go 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:AssignPrivateIpAddresses", "ec2:DescribeAddresses", "ec2:DisassociateAddress", "ec2:AssociateAddress", "ec2:UnassignPrivateIpAddresses", "ec2:AssignPrivateIpAddresses", "ec2:AssignIpv6Addresses", "ec2:UnassignIpv6Addresses", "ec2:DescribeInstances", "ec2:DescribeNetworkInterfaces", "ec2:DescribeRouteTables", "ec2:CreateRoute", "ec2:DeleteRoute", "ec2:ReplaceRoute" ], "Effect": "Allow", "Resource": "*" } ] }
Ensure that all outgoing traffic goes through network address translation (NAT) gateways. The agent uses AWS CLIs and requires access to the Amazon EC2 API endpoints.
Ensure that the subnets in which the EC2 exists are associated with the route table.
AWSIP resources depend on IP resources.
Online |
|
Offline |
|
Monitor |
|
Clean |
|
ONLINE |
|
OFFLINE |
|
UNKNOWN | If private IP, elastic IP, or overlay IP is in UNKNOWN state, one of the following could be true:
|
FAULTED | Indicates that the IP resources could not be brought online or abruptly stopped outside of VCS control. |
type AWSIP ( static i18nstr ArgList[] = { PrivateIP, OverlayIP, ElasticIP, Device, RouteTableIds, AWSBinDir } str PrivateIP str OverlayIP str ElasticIP str Device keylist RouteTableIds str AWSBinDir )
Table: Required attributes
Attribute | Description |
---|---|
PrivateIP | Secondary private IP address of the EC2 instance. Type and dimension: string-scalar |
OverlayIP | Overlay IP provides IP failover functionality for nodes spread across subnets or availability zones. Overlay IP must be outside of the VPC CIDR block in which the nodes are present. Type and dimension: string-scalar |
Table: Optional attributes
Attribute | Description |
---|---|
ElasticIP | An Elastic IP address is a static IPv4 address designed for dynamic cloud computing. An Elastic IP address is associated with your AWS account. You can map the Elastic IP address to a secondary private IP address. Note: IPv6 addresses are not supported with this attribute. Type and dimension: string-scalar |
Device | The physical address of the interface or the interface name of the NIC to which the virtual IP address to be monitored is assigned. Note that this attribute is always local, that is, it is different for each system. If you change the interface name, you must update the attribute value to specify the new name. When you edit the MACAddress attribute of the IP or the NIC agent to specify the interface name, you must specify the name of only one interface. For more details on modifying the default value of the attribute, refer to the Cluster Server Administrator's Guide. Note: Use the ipconfig -all command to retrieve the physical address of a NIC. Type and Dimension: string-scalar |
RouteTableIds | Describes all the route tables. It can be one or more route table IDs. Type and dimension: string-list |
AWSBinDir | Location of AWS EC2 commands and binaries. Type and dimension: string-scalar |
AWSIP privateip ( PrivateIP = "10.239.3.97" Device@WIN-38PNEVJSR2K = "12-7F-CE-5B-E2-6E" Device@WIN-75PQEVSRV2K = "13-7F-CE-6B-E2-6E" )
AWSIP elasticip ( PrivateIP = "10.239.3.95" ElasticIP = "34.193.196.156" Device @WIN-38PNEVJSR2K = "12-7F-CE-5B-E2-6E" Device @WIN-42PNEVXYR5K = "18-6F-BE-9B-E2-6E" )
AWSIP overlayip ( OverlayIP = "172.16.8.55/32" Device @WIN-38PNEVJSR2K = "12-7F-CE-5B-E2-6E" Device @WIN-45ABCVJSR2K = "14-7E-DE-6B-E2-8E" RouteTableIds = { rtb-c5272ca3, rtb-fb97ac9d } )
AWSIP privateip ( PrivateIP = "2600:1f18:63c7:3819:1ce4:8b87:4499:712" Device @WIN-38PNEVJSR2K = "12-7F-CE-5B-E2-6E" Device @WIN-45ABCVJSR2K = "14-7E-DE-6B-E2-8E" )
AWSIP overlayip ( OverlayIP = "2001:db8:0:1::/128" Device @WIN-38PNEVJSR2K = "12-7F-CE-5B-E2-6E" Device @WIN-45ABCVJSR2K = "14-7E-DE-6B-E2-8E" )