404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.16.139.76: ~ $
**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
        }
    }

Filemanager

Name Type Size Permission Actions
add-tags-to-resource.rst File 813 B 0755
authorize-cache-security-group-ingress.rst File 628 B 0755
batch-apply-update-action.rst File 796 B 0644
batch-stop-update-action.rst File 783 B 0644
copy-snapshot.rst File 1.59 KB 0755
create-cache-cluster.rst File 1.51 KB 0644
create-cache-parameter-group.rst File 748 B 0755
create-cache-subnet-group.rst File 993 B 0755
create-global-replication-group.rst File 1.6 KB 0644
create-replication-group.rst File 1.24 KB 0755
create-snapshot.rst File 1.51 KB 0644
create-user-group.rst File 746 B 0644
create-user.rst File 1.02 KB 0644
decrease-node-groups-in-global-replication-group.rst File 2.4 KB 0644
decrease-replica-count.rst File 4.04 KB 0755
delete-cache-cluster.rst File 2.64 KB 0755
delete-cache-parameter-group.rst File 554 B 0755
delete-cache-subnet-group.rst File 523 B 0755
delete-global-replication-group.rst File 1.35 KB 0644
delete-replication-group.rst File 1.15 KB 0755
delete-snapshot.rst File 2.84 KB 0644
delete-user-group.rst File 684 B 0644
delete-user.rst File 780 B 0644
describe-cache-clusters.rst File 2.75 KB 0755
describe-cache-engine-versions.rst File 4.61 KB 0755
describe-cache-parameter-groups.rst File 719 B 0755
describe-cache-parameters.rst File 29.44 KB 0755
describe-cache-subnet-groups.rst File 2.67 KB 0644
describe-engine-default-parameters.rst File 31.89 KB 0755
describe-events.rst File 1.02 KB 0644
describe-global-replication-groups.rst File 1.03 KB 0644
describe-replication-groups.rst File 4.7 KB 0755
describe-reserved-cache-nodes-offerings.rst File 1.92 KB 0644
describe-reserved-cache-nodes.rst File 1.38 KB 0755
describe-service-updates.rst File 1.93 KB 0755
describe-snapshots.rst File 4.4 KB 0755
describe-update-actions.rst File 3.43 KB 0755
describe-user-groups.rst File 790 B 0644
describe-users.rst File 1.96 KB 0644
disassociate-global-replication-group.rst File 1.74 KB 0644
increase-node-groups-in-global-replication-group.rst File 2.52 KB 0644
increase-replica-count.rst File 3.11 KB 0755
list-allowed-node-type-modifications.rst File 1.42 KB 0755
list-tags-for-resource.rst File 705 B 0644
modify-cache-cluster.rst File 1.58 KB 0755
modify-cache-parameter-group.rst File 610 B 0755
modify-cache-subnet-group.rst File 928 B 0755
modify-global-replication-group.rst File 1.12 KB 0644
modify-replication-group-shard-configuration.rst File 6.17 KB 0644
modify-replication-group.rst File 3.58 KB 0644
modify-user-group.rst File 842 B 0644
modify-user.rst File 808 B 0644
purchase-reserved-cache-nodes-offering.rst File 1.48 KB 0644
reboot-cache-cluster.rst File 2.4 KB 0755
reset-cache-parameter-group.rst File 603 B 0755
start-migration.rst File 3.41 KB 0644
test-failover.rst File 4.33 KB 0755