Sun Cluster のシステム管理 (Solaris OS 版)

Procedureデバイスグループ構成の一覧を表示する

構成の一覧を表示するために、スーパーユーザーになる必要はありません。ただし、solaris.cluster.read の権限は必要です。

phys-schost# プロンプトは、グローバルクラスタのプロンプトを表します。この手順は、グローバルクラスタ上で実行します。

この手順では、長形式の Sun Cluster コマンドを使用して説明します。多くのコマンドには短縮形もあります。コマンド名の形式の長短を除き、コマンドは同一です。コマンドのリストとその短縮形については、付録 B Sun Cluster オブジェクト指向コマンドを参照してください。

  1. 次に示されている方法のどれかを選択してください。

    Sun Cluster Manager GUI

    詳細については、Sun Cluster Manager のオンラインヘルプを参照してください。

    cldevicegroup show

    cldevicegroup show を使用して、クラスタ内のすべてのデバイスグループの構成を一覧表示します。

    cldevicegroup show devicegroup

    cldevicegroup show devicegroup を使用して、1 つのデバイスグループの構成を一覧表示します。

    cldevicegroup status devicegroup

    cldevicegroup status devicegroup を使用して、1 つのデバイスグループのステータスを判別します。

    cldevicegroup status +

    cldevicegroup status + を使用して、クラスタ内のすべてのデバイスグループのステータスを判別します。

    詳細情報を表示するには、上記のコマンドと -v オプションを使用します。


例 5–35 すべてのデバイスグループのステータスの一覧表示


# cldevicegroup status +

=== Cluster Device Groups ===

--- Device Group Status ---

Device Group Name    Primary         Secondary        Status
-----------------    -------         ---------        ------
dg-schost-1          phys-schost-2   phys-schost-1    Online
dg-schost-2          phys-schost-1   --               Offline
dg-schost-3          phys-schost-3   phy-shost-2      Online


例 5–36 特定のデバイスグループの構成の一覧表示


# cldevicegroup show dg-schost-1

=== Device Groups ===                          

Device Group Name:                              dg-schost-1
  Type:                                           SVM
  failback:                                       yes
  Node List:                                      phys-schost-2, phys-schost-3
  preferenced:                                    yes
  numsecondaries:                                 1
  diskset names:                                   dg-schost-1