%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
**To test failover of a node group**
The following ``test-failover`` example tests automatic failover on the specified node group (called a shard in the console) in a replication group (called a cluster in the console). ::
aws elasticache test-failover /
--replication-group-id "mycluster" /
--node-group-id "0001"
Output::
{
"ReplicationGroup": {
"ReplicationGroupId": "mycluster",
"Description": "My Cluster",
"Status": "available",
"PendingModifiedValues": {},
"MemberClusters": [
"mycluster-0001-001",
"mycluster-0001-002",
"mycluster-0001-003",
"mycluster-0002-001",
"mycluster-0002-002",
"mycluster-0002-003",
"mycluster-0003-001",
"mycluster-0003-002",
"mycluster-0003-003"
],
"NodeGroups": [
{
"NodeGroupId": "0001",
"Status": "available",
"Slots": "0-5461",
"NodeGroupMembers": [
{
"CacheClusterId": "mycluster-0001-001",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2b"
},
{
"CacheClusterId": "mycluster-0001-002",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2a"
},
{
"CacheClusterId": "mycluster-0001-003",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2c"
}
]
},
{
"NodeGroupId": "0002",
"Status": "available",
"Slots": "5462-10922",
"NodeGroupMembers": [
{
"CacheClusterId": "mycluster-0002-001",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2a"
},
{
"CacheClusterId": "mycluster-0002-002",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2b"
},
{
"CacheClusterId": "mycluster-0002-003",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2c"
}
]
},
{
"NodeGroupId": "0003",
"Status": "available",
"Slots": "10923-16383",
"NodeGroupMembers": [
{
"CacheClusterId": "mycluster-0003-001",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2c"
},
{
"CacheClusterId": "mycluster-0003-002",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2b"
},
{
"CacheClusterId": "mycluster-0003-003",
"CacheNodeId": "0001",
"PreferredAvailabilityZone": "us-west-2a"
}
]
}
],
"AutomaticFailover": "enabled",
"ConfigurationEndpoint": {
"Address": "mycluster.xxxxih.clustercfg.usw2.cache.amazonaws.com",
"Port": 6379
},
"SnapshotRetentionLimit": 1,
"SnapshotWindow": "13:00-14:00",
"ClusterEnabled": true,
"CacheNodeType": "cache.r5.large",
"TransitEncryptionEnabled": false,
"AtRestEncryptionEnabled": false
}
}