檢視 ElastiCache 節點狀態 - Amazon ElastiCache

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

檢視 ElastiCache 節點狀態

使用ElastiCache 控制台,您可以快速訪問 ElastiCache 節點的狀態。節點的狀態表示 ElastiCache 節點的健全狀況。您可以使用下列程序在 Amazon ElastiCache 主控台、 AWS CLI 命令或 API 操作中檢視 ElastiCache 節點狀態。

ElastiCache 節點的可能狀態值如下表所示。此表格也會顯示 ElastiCache 節點是否要向您收取費用。

類型 計費 Description

available

計費

ElastiCache 節點狀態良好且可用。

creating

不計費

正在建立 ElastiCache 節點。節點正在建立時無法進行存取。

deleting

不計費

正在刪除 ElastiCache 節點。

modifying

計費

由於客戶要求修改 ElastiCache 節點,因此正在修改節點。

updating

計費

更新」狀態表示 Amazon ElastiCache 節點成立以下一或多項條件:

rebooting cache cluster nodes

計費

由於客戶請求或需要重新啟動 ElastiCache 節點的 Amazon ElastiCache 程序,節點正在重新啟動。

incompatible_parameters

不計費

Amazon ElastiCache 無法啟動節點,因為節點參數群組中指定的參數與節點不相容。請回復參數變更,或讓參數與節點相容,以恢復節點的存取。如需有關不相容參數的詳細資訊,請檢查 ElastiCache 節點的「事件」清單。

incompatible_network

不計費

不相容的網路狀態表示 Amazon 節點成立以下一或多項情況: ElastiCache

  • ElastiCache 節點啟動到的子網路中沒有可用的 IP 位址。

  • 子網路群組中提到的 ElastiCache 子網路不再存在於 Amazon Virtual Private Cloud (Amazon VPC) 中。

restore_failed

不計費

恢復失敗狀態表示 Amazon 節點成立以下情況之一: ElastiCache

  • 由於重複發生執行個體容量不足的情況,因此更換節點失敗。這通常會在執行上一代節點時發生 end-of-life。但是, AWS 如果沒有足夠的隨需容量在指定的可用區域中滿足您的請求,則更換最新一代節點也可能發生這種情況。如需修正或移除這些節點的詳細資訊,請參閱遷移上一代節點

  • 指定的 RDB 快照還原失敗。

  • ElastiCache 叢集的 AWS 帳戶已暫停。

  • 節點發生故障,無法復原。

snapshotting

計費

ElastiCache 正在建立 ElastiCache (Redis OSS) 節點的快照集。

使用主控台檢視 ElastiCache 節點狀態

要使用控制台查看 ElastiCache 節點的狀態:

  1. 登錄到 AWS Management Console 並打開 Amazon ElastiCache 控制台 https://console.aws.amazon.com/elasticache/.

  2. 在瀏覽窗格中,選擇 Redis 的 OSS 叢集或記憶體快取叢集。便會顯示「快取記憶體」頁面,內含 ElastiCache 節點清單。每個節點的狀態值都會顯示。

  3. 然後,您可以瀏覽至快取的 [服務更新] 索引標籤,以顯示適用於快取的服務更新清單。

檢視 ElastiCache 節點狀態 AWS CLI

若要使用檢視 ElastiCache 節點及其狀態資訊 AWS CLI,請使用describe-cache-cluster指令。例如,下列 AWS CLI 指令會顯示每個 ElastiCache 節點。

aws elasticache describe-cache-clusters

透過 API 檢視 ElastiCache 節點狀態

若要使用 Amazon ElastiCache API 檢視 ElastiCache 節點的狀態,請使用ShowCacheNodeInfo旗標呼叫以擷取DescribeCacheClusteroperation有關個別快取節點的資訊。