Melihat detail klaster - Amazon ElastiCache (Redis) OSS

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Melihat detail klaster

Anda dapat melihat informasi detail tentang satu atau beberapa cluster menggunakan ElastiCache konsol, AWS CLI, atau ElastiCache API.

Anda dapat melihat detail cluster Redis OSS (mode cluster dinonaktifkan) menggunakan ElastiCache konsol, AWS CLI for ElastiCache, atau API. ElastiCache

Prosedur berikut merinci cara melihat detail cluster Redis OSS (mode cluster dinonaktifkan) menggunakan konsol. ElastiCache

Untuk melihat detail kluster Redis OSS (mode cluster dinonaktifkan)
  1. Masuk ke AWS Management Console dan buka ElastiCache konsol Amazon di https://console.aws.amazon.com/elasticache/.

  2. Di dasbor ElastiCache konsol, pilih Redis OSS untuk menampilkan daftar semua cluster Anda yang menjalankan versi Redis OSS apa pun.

  3. Untuk melihat detail klaster, pilih kotak centang di sebelah kiri nama klaster. Pastikan Anda memilih cluster yang menjalankan mesin Redis OSS, bukan Clustered Redis OSS. Tindakan ini akan menampilkan detail tentang klaster, termasuk titik akhir primer dari klaster.

  4. Untuk melihat informasi simpul:

    1. Pilih nama klaster.

    2. Pilih tab Serpihan dan Simpul. Tindakan ini akan menampilkan detail tentang setiap simpul, termasuk titik akhir simpul yang perlu digunakan untuk membaca dari klaster.

  5. Untuk melihat metrik, pilih tab Metrik, yang menampilkan metrik yang relevan untuk semua simpul di klaster. Untuk informasi selengkapnya, lihat Memantau penggunaan dengan Metrik CloudWatch

  6. Untuk melihat log, pilih tab Log, yang menunjukkan apakah klaster menggunakan log Lambat atau log Mesin dan memberikan detail yang relevan. Untuk informasi selengkapnya, lihat Pengiriman log.

  7. Pilih tab Jaringan dan keamanan untuk melihat detail tentang konektivitas jaringan klaster dan konfigurasi grup subnet. Untuk informasi selengkapnya, lihat Subnet dan grup subnet.

  8. Pilih tab Pemeliharaan untuk melihat detail di pengaturan pemeliharaan klaster. Untuk informasi selengkapnya, lihat Mengelola pemeliharaan.

  9. Pilih tab Pembaruan layanan untuk melihat detail tentang pembaruan layanan yang tersedia beserta tanggal penerapan yang direkomendasikan. Untuk informasi selengkapnya, lihat Pembaruan layanan di ElastiCache.

  10. Pilih tab Tag untuk melihat detail pada tag apa pun yang diterapkan ke sumber daya klaster. Untuk informasi selengkapnya, lihat Menandai sumber daya ElastiCache Anda.

Anda dapat melihat detail cluster Redis OSS (mode cluster enabled) menggunakan ElastiCache konsol, AWS CLI for ElastiCache, atau API. ElastiCache

Prosedur berikut merinci cara melihat detail cluster Redis OSS (mode cluster enabled) menggunakan konsol. ElastiCache

Untuk melihat detail kluster Redis OSS (mode cluster enabled)
  1. Masuk ke AWS Management Console dan buka ElastiCache konsol Amazon di https://console.aws.amazon.com/elasticache/.

  2. Dari daftar di pojok kanan atas, pilih AWS Wilayah yang Anda minati.

  3. Di dasbor ElastiCache konsol, pilih Redis OSS untuk menampilkan daftar semua cluster Anda yang menjalankan versi Redis OSS apa pun.

  4. Untuk melihat detail cluster Redis OSS (mode cluster enabled), pilih kotak di sebelah kiri nama cluster. Pastikan Anda memilih cluster yang menjalankan mesin Clustered Redis OSS, bukan hanya Redis OSS.

    Layar akan diperluas di bawah klaster dan menampilkan detail tentang klaster, termasuk titik akhir konfigurasi klaster.

  5. Untuk melihat daftar serpihan klaster dan jumlah simpul di setiap serpihan, pilih tab Serpihan dan simpul.

  6. Untuk melihat informasi spesifik tentang sebuah simpul:

    1. Pilih ID serpihan.

      Tindakan ini akan menampilkan informasi tentang setiap simpul, termasuk titik akhir simpul yang perlu digunakan untuk membaca dari klaster.

  7. Untuk melihat metrik, pilih tab Metrik, yang menampilkan metrik yang relevan untuk semua simpul di klaster. Untuk informasi selengkapnya, lihat Memantau penggunaan dengan Metrik CloudWatch

  8. Untuk melihat log, pilih tab Log, yang menunjukkan apakah klaster menggunakan log Lambat atau log Mesin dan memberikan detail yang relevan. Untuk informasi selengkapnya, lihat Pengiriman log.

  9. Pilih tab Jaringan dan keamanan untuk melihat detail tentang konektivitas jaringan klaster dan konfigurasi grup subnet, grup keamanan VPC dan metode enkripsi hal yang diaktifkan di klaster, jika ada. Untuk informasi selengkapnya, lihat Subnet dan grup subnet dan Keamanan data di Amazon ElastiCache.

  10. Pilih tab Pemeliharaan untuk melihat detail di pengaturan pemeliharaan klaster. Untuk informasi selengkapnya, lihat Mengelola pemeliharaan.

  11. Pilih tab Pembaruan layanan untuk melihat detail tentang pembaruan layanan yang tersedia beserta tanggal penerapan yang direkomendasikan. Untuk informasi selengkapnya, lihat Pembaruan layanan di ElastiCache.

  12. Pilih tab Tag untuk melihat detail pada tag apa pun yang diterapkan ke sumber daya klaster. Untuk informasi selengkapnya, lihat Menandai sumber daya ElastiCache Anda.

Kode berikut menampilkan daftar detail untuk my-cluster:

aws elasticache describe-cache-clusters --cache-cluster-id my-cluster

Ganti my-cluster dengan nama klaster Anda dalam kasus saat klaster dibuat dengan 1 simpul cache dan 0 serpihan menggunakan perintah create-cache-cluster.

{ "CacheClusters": [ { "CacheClusterStatus": "available", "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "Engine": "redis", "PreferredMaintenanceWindow": "wed:12:00-wed:13:00", "CacheSubnetGroupName": "default", "SnapshotWindow": "08:30-09:30", "TransitEncryptionEnabled": false, "AtRestEncryptionEnabled": false, "CacheClusterId": "my-cluster1", "CacheClusterCreateTime": "2018-02-26T21:06:43.420Z", "PreferredAvailabilityZone": "us-west-2c", "AuthTokenEnabled": false, "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2" }, "SnapshotRetentionLimit": 0, "AutoMinorVersionUpgrade": true, "EngineVersion": "3.2.10", "CacheSecurityGroups": [], "NumCacheNodes": 1 }
{ "CacheClusters": [ { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": false, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:13:24.250Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": false, "PreferredAvailabilityZone": "us-west-2a", "TransitEncryptionEnabled": false, "ReplicationGroupId": "my-cluster2", "Engine": "redis", "PreferredMaintenanceWindow": "sun:08:30-sun:09:30", "CacheClusterId": "my-cluster2-001", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": false, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:13:24.250Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": false, "PreferredAvailabilityZone": "us-west-2b", "TransitEncryptionEnabled": false, "ReplicationGroupId": "my-cluster2", "Engine": "redis", "PreferredMaintenanceWindow": "sun:08:30-sun:09:30", "CacheClusterId": "my-cluster2-002", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": false, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:13:24.250Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": false, "PreferredAvailabilityZone": "us-west-2c", "TransitEncryptionEnabled": false, "ReplicationGroupId": "my-cluster2", "Engine": "redis", "PreferredMaintenanceWindow": "sun:08:30-sun:09:30", "CacheClusterId": "my-cluster2-003", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2" }, "SnapshotRetentionLimit": 0, "EngineVersion": "3.2.10", "CacheSecurityGroups": [], "NumCacheNodes": 1 }
{ "CacheClusters": [ { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2a", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0001-001", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2b", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0001-002", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "3.2.6", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2c", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0001-003", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2b", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0002-001", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2c", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0002-002", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis3.2.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "3.2.6", "CacheSecurityGroups": [], "NumCacheNodes": 1 }, { "SecurityGroups": [ { "Status": "active", "SecurityGroupId": "sg-dbe93fa2" } ], "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", "AuthTokenEnabled": true, "CacheSubnetGroupName": "default", "SnapshotWindow": "12:30-13:30", "AutoMinorVersionUpgrade": true, "CacheClusterCreateTime": "2018-02-26T21:17:01.439Z", "CacheClusterStatus": "available", "AtRestEncryptionEnabled": true, "PreferredAvailabilityZone": "us-west-2a", "TransitEncryptionEnabled": true, "ReplicationGroupId": "my-cluster3", "Engine": "redis", "PreferredMaintenanceWindow": "thu:11:00-thu:12:00", "CacheClusterId": "my-cluster3-0002-003", "PendingModifiedValues": {}, "CacheNodeType": "cache.r4.large", "DataTiering": "disabled", "CacheParameterGroup": { "CacheNodeIdsToReboot": [], "ParameterApplyStatus": "in-sync", "CacheParameterGroupName": "default.redis6.x.cluster.on" }, "SnapshotRetentionLimit": 0, "EngineVersion": "6.0", "CacheSecurityGroups": [], "NumCacheNodes": 1 } ] }

Dalam kasus di mana cluster dibuat menggunakan AWS Management Console (node cluster diaktifkan atau dinonaktifkan dengan 1 atau lebih pecahan), gunakan perintah berikut untuk menjelaskan detail cluster (ganti my-cluster dengan nama grup replikasi (nama cluster Anda):

aws elasticache describe-replication-groups --replication-group-id my-cluster

Untuk informasi selengkapnya, lihat ElastiCache topik AWS CLI untuk describe-cache-clusters.

Anda dapat melihat detail untuk klaster menggunakan DescribeCacheClusters tindakan ElastiCache API. Jika parameter CacheClusterId disertakan, detail untuk klaster yang ditentukan akan ditampilkan. Jika parameter CacheClusterId dihilangkan, detail untuk maksimal MaxRecords klaster (default-nya 100) akan ditampilkan. Nilai untuk MaxRecords tidak boleh kurang dari 20 atau lebih dari 100.

Kode berikut menampilkan daftar detail untuk my-cluster.

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheClusters &CacheClusterId=my-cluster &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

Kode berikut menampilkan daftar detail untuk maksimal 25 klaster.

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheClusters &MaxRecords=25 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

Untuk informasi selengkapnya, lihat topik referensi ElastiCache API DescribeCacheClusters.