

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

# SageMaker HyperPod クラスターの詳細を取得する
<a name="sagemaker-hyperpod-eks-operate-cli-command-cluster-details"></a>

 AWS CLIを使用して SageMaker HyperPod クラスターの詳細を取得する方法を説明します。

## クラスターを記述する
<a name="sagemaker-hyperpod-eks-operate-cli-command-describe-cluster"></a>

[describe-cluster](https://docs.aws.amazon.com/cli/latest/reference/sagemaker/describe-cluster.html) を実行して、クラスターのステータスを確認します。クラスターの名前または ARN を指定できます。

```
aws sagemaker describe-cluster --cluster-name {{your-hyperpod-cluster}}
```

クラスターのステータスが **InService** になったら、次のステップに進みます。この API を使用すると、他の HyperPod API オペレーションの実行から失敗メッセージを取得することもできます。

## クラスターノードの詳細を一覧表示する
<a name="sagemaker-hyperpod-eks-operate-cli-command-list-cluster-nodes"></a>

[list-cluster-nodes](https://docs.aws.amazon.com/cli/latest/reference/sagemaker/list-cluster-nodes.html) を実行して、クラスターノードのキー情報を確認します。

```
aws sagemaker list-cluster-nodes --cluster-name {{your-hyperpod-cluster}}
```

これによりレスポンスが返されます。ログ記録 (`aws ssm` を使用) するには、`InstanceId` を使用する必要があります。

## クラスターノードの詳細を記述する
<a name="sagemaker-hyperpod-eks-operate-cli-command-describe-cluster-node"></a>

[describe-cluster-node](https://docs.aws.amazon.com/cli/latest/reference/sagemaker/describe-cluster-node.html) を実行して、クラスターノードの詳細を取得します。list-cluster-nodes 出力からクラスターノード ID を取得できます。クラスターの名前または ARN を指定できます。

```
aws sagemaker describe-cluster-node \
    --cluster-name {{your-hyperpod-cluster}} \
    --node-id {{i-111222333444555aa}}
```

## クラスターを一覧表示する
<a name="sagemaker-hyperpod-eks-operate-cli-command-list-clusters"></a>

[list-clusters](https://docs.aws.amazon.com/cli/latest/reference/sagemaker/list-clusters.html) を実行して、アカウント内のすべてのクラスターを一覧表示します。

```
aws sagemaker list-clusters
```

クラスターのリストをフィルタリングするためのフラグを追加することもできます。このコマンドが低レベルで実行される方法とフィルタリング用の追加のフラグの詳細については、[ListClusters](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListClusters.html) API リファレンスを参照してください。