檢視 ElastiCache 節點狀態 - Amazon ElastiCache

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

檢視 ElastiCache 節點狀態

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

下表列出 ElastiCache 節點的可能狀態值。表中也會顯示您是否需支付 ElastiCache 節點的費用。

類型 計費 Description

available

計費

ElastiCache 節點運作正常且可使用。

creating

不計費

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

deleting

不計費

正在刪除 ElastiCache 節點。

modifying

計費

客戶請求修改 ElastiCache 節點,因此正在修改該節點。

updating

計費

更新狀態表示 Amazon ElastiCache 節點符合下列一或多個條件:

rebooting cache cluster nodes

計費

由於客戶提出請求或 Amazon ElastiCache 程序要求重新啟動節點,因此正在重新啟動 ElastiCache 節點。

incompatible_parameters

不計費

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

incompatible_network

不計費

不相容的網路狀態表示 Amazon ElastiCache 節點符合下列其中一或多種狀況:

  • ElastiCache 節點啟動後進入的子網路中沒有可用的 IP 地址。

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

restore_failed

不計費

還原失敗狀態表示 Amazon Elasticache 節點符合下列其中一種狀況:

  • 由於重複發生執行個體容量不足的情況,因此更換節點失敗。這種情況通常在執行生命週期結束的上一代節點時發生。不過,當 AWS 沒有足夠的隨需容量來滿足您在指定可用區域中的請求時,替換目前世代節點也可能發生這種情況。如需修正或移除這些節點的詳細資訊,請參閱遷移上一代節點

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

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

  • 節點失敗,無法復原。

snapshotting

計費

ElastiCache 正在建立 Valkey 或 Redis OSS 節點的快照。

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

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

  1. 登入 AWS Management Console ,並在 https://console.aws.amazon.com/elasticache/:// 開啟 Amazon ElastiCache 主控台。

  2. 在導覽窗格中,選擇 Redis OSS 叢集Memcached 叢集快取頁面會顯示 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 以擷取個別快取節點的相關資訊。