중복 전원 공급 장치에 대한 펜싱을 구성할 때, 클러스터는 호스트를 재부팅할 때 전원 공급 장치 중 하나가 켜지기 전에 두 전원 공급 장치가 모두 꺼져 있는지 확인해야 합니다.
노드에서 전원이 완전히 손실되지 않으면 노드에서 리소스를 해제하지 못할 수 있습니다. 이로 인해 노드가 이러한 리소스에 동시에 액세스하고 손상될 가능성이 열립니다.
pcs stonith create apc1 fence_apc_snmp ipaddr=apc1.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1;node2.example.com:2"
pcs stonith create apc2 fence_apc_snmp ipaddr=apc2.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1;node2.example.com:2"
pcs stonith level add 1 node1.example.com apc1,apc2
pcs stonith level add 1 node2.example.com apc1,apc2
# pcs stonith create apc1 fence_apc_snmp ipaddr=apc1.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1;node2.example.com:2"
# pcs stonith create apc2 fence_apc_snmp ipaddr=apc2.example.com login=user passwd='7a4D#1j!pz864' pcmk_host_map="node1.example.com:1;node2.example.com:2"
# pcs stonith level add 1 node1.example.com apc1,apc2
# pcs stonith level add 1 node2.example.com apc1,apc2
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow