10.10. 修改和删除隔离设备
使用以下命令修改或添加当前配置的隔离设备。
pcs stonith update stonith_id [stonith_device_options]
使用 pcs stonith update
命令更新 SCSI 隔离设备会导致在隔离资源运行的同一节点上运行的所有资源重启。您可以使用以下命令的任一版本来更新 SCSI 设备,而不会重启其他集群资源。从 RHEL 9.1 开始,SCSI 隔离设备可配置为多路径设备。
pcs stonith update-scsi-devices stonith_id set device-path1 device-path2 pcs stonith update-scsi-devices stonith_id add device-path1 remove device-path2
使用以下命令从当前的配置中删除隔离设备。
pcs stonith delete stonith_id