clsetup(1CL) ユーティリティーを使用すると、既存の定足数デバイスのノードリストにノードを追加したり、ノードリストからノードを削除できます。定足数デバイスのノードリストを変更するには、定足数デバイスを削除し、削除した定足数デバイスへのノードの物理的な接続を変更して、定足数デバイスをクラスタ構成に追加し直す必要があります。定足数デバイスを追加すると、clquorum(1CL) は自動的に、ディスクが接続されているすべてのノードについて、ノードからディスクへのパスを構成します。
この手順では、長形式の Sun Cluster コマンドを使用して説明します。多くのコマンドには短縮形もあります。コマンド名の形式の長短を除き、コマンドは同一です。コマンドのリストとその短形式については、付録 A 「Sun Cluster オブジェクト指向コマンド」を参照してください。
クラスタの任意のノードで、スーパーユーザーになるか、RBAC の承認 solaris.cluster.modify を提供する役割になります。
変更したい定足数デバイスの名前を判別します。
# clquorum list -v |
clsetup ユーティリティーを起動します。
# clsetup |
メインメニューが表示されます。
定足数オプションに対応する番号を入力します。
「定足数メニュー」が表示されます。
定足数デバイスを削除するオプションに対応する番号を入力します。
画面の指示に従います。削除するディスクの名前を問い合わせられます。
定足数デバイスへのノードの物理的な接続を追加または削除します。
定足数デバイスを追加するオプションに対応する番号を入力します。
画面の指示に従います。定足数デバイスとして使用するディスクの名前を問い合わせられます。
定足数デバイスが追加されていることを確認します。
# clquorum list -v |
次の例に、clsetup ユーティリティーを使用して、定足数デバイスのノードリストにノードを追加したり、ノードリストからノードを削除する方法を示します。この例では、定足数デバイスの名前は d2 であり、この手順の最終目的は別のノードを定足数デバイスのノードリストに追加することです。
[Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node in the cluster.] [Determine the quorum device name:] # clquorum list -v Quorums Type ------- ----- d2 scsi sc-phys-schost-1 node sc-phys-schost-2 node sc-phys-schost-3 node [Start the clsetup utility:] # clsetup [Type the number that corresponds with the quorum option.] . [Type the number that corresponds with the option to remove a quorum device.] . [Answer the questions when prompted.] [You will need the following information:] Information: Example: Quorum Device Name: d2 [Verify that the clquorum command completed successfully:] clquorum remove d2 Command completed successfully. [Type the number that corresponds with the Quorum option.] . [Type the number that corresponds with the option to add a quorum device.] . [Answer the questions when prompted.] [You will need the following information:] Information Example: quorum device name d2 [Verify that the clquorum command was completed successfully:] clquorum add d2 Command completed successfully. Quit the clsetup utility. [Verify that the correct nodes have paths to the quorum device. In this example, note that phys-schost-3 has been added to the enabled hosts list.] # clquorum show d2 | grep Hosts === Quorum Devices === Quorum Device Name: d2 Hosts (enabled): phys-schost-1, phys-schost-2, phys-schost-3 [Verify that the modified quorum device is online.] # clquorum status d2 === Cluster Quorum === --- Quorum Votes by Device --- Device Name Present Possible Status ----------- ------- -------- ------ d2 1 1 Online[Verify the quorum device is removed:] # clquorum list -v Quorums Type ------- ----- sc-phys-schost-1 node sc-phys-schost-2 node sc-phys-schost-3 node |