要完成此过程,请用节点共享的设备 ID (device ID, DID) 来标识磁盘驱动器。使用 scdidadm 命令可以查看 DID 名称的列表。有关附加信息,请参阅 scdidadm(1M) 手册页。
成为群集中任一个节点的超级用户。
启动 scsetup 实用程序。
# scsetup |
将显示 scsetup 主菜单。
键入法定选项的相应编号。
这时将显示“Quorum”菜单。
当 scsetup 实用程序提示您确认是否要添加法定设备时,键入添加法定设备选项的相应编号,然后键入 yes。
scsetup 实用程序将询问您要添加哪种类型的法定设备。
键入 SCSI 法定设备选项的相应编号。
scsetup 实用程序将询问您要使用哪种全局设备。
键入您正在使用的全局设备。
scsetup 实用程序将提示您确认是否要将新的法定设备添加到指定的全局设备。
键入 yes 继续执行添加新法定设备的操作。
如果新法定设备已成功添加,scsetup 实用程序将显示一条相应的消息。
检验是否已添加法定设备。
# scstat -q |
以下示例显示了 scsetup 添加 SCSI 法定设备时所生成的 scconf 命令和检验步骤。
Become superuser on any cluster node. [执行 scsetup 实用程序:] # scsetup Select Quorum>Add a quorum device. Select SCSI device. Type the global device your are using. d20 Type yes to continue adding the new quorum device. yes [检验 scconf 命令是否成功完成:] scconf -a -q globaldev=d20 Command completed successfully. Quit the scsetup Quorum Menu and Main Menu. [检验法定设备是否已添加: ] # scstat -q -- Quorum Summary -- Quorum votes possible: 4 Quorum votes needed: 3 Quorum votes present: 4 -- Quorum Votes by Node -- Node Name Present Possible Status --------- ------- -------- ------ Node votes: phys-schost-1 1 1 Online Node votes: phys-schost-2 1 1 Online -- Quorum Votes by Device -- Device Name Present Possible Status ----------- ------- -------- ------ Device votes: /dev/did/rdsk/d20s1 1 1 Online Device votes: /dev/did/rdsk/d20s2 1 1 Online |