クラスターのステータスを確認する - 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. ナビゲーションペインで [クラスター] を選択します。

  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" ] ]