クラスターのステータスの確認 - Amazon DocumentDB

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

クラスターのステータスの確認

クラスターのステータスは、 AWS Management Console または を使用して判断できます AWS CLI。

Using the AWS Management Console

を使用して Amazon DocumentDB クラスターのステータスを確認するには、次の手順を使用します。 AWS Management Console

  1. にサインインし AWS Management Console、https://console.aws.amazon.com/docdb で Amazon DocumentDB コンソールを開きます。

  2. ナビゲーションペインで [Clusters] (クラスター) を選択します。

  3. [クラスター ID] 列で、関心があるクラスターの名前を探します。次に、クラスターのステータスを確認するには、次に示すように行全体を参照して [ステータス] 列を見つけます。

    アクティブなステータスを示しているサンプルクラスターのクラスターページのスクリーンショット。
Using the AWS CLI

describe-db-clusters オペレーション を使用して、 AWS CLIを使用した Amazon DocumentDB クラスターのステータスを確認します。

次のコードでは、クラスター sample-cluster のステータスを確認します。

Linux、macOS、Unix の場合:

aws docdb describe-db-clusters \ --db-cluster-identifier sample-cluster \ --query 'DBClusters[*].[DBClusterIdentifier,Status]'

Windows の場合:

aws docdb describe-db-clusters ^ --db-cluster-identifier sample-cluster ^ --query 'DBClusters[*].[DBClusterIdentifier,Status]'

このオペレーションからの出力は次のようになります (JSON 形式)。

[ [ "sample-cluster", "available" ] ]