Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dear Now I configure the Fencing (STONITH)
- I use SCSI Share disk
- [node1 node2 ]# yum install fence-agents-all -y
- Configure fence device. It's OK to set on a node.
- The example "/dev/sdd" below is just the device of shared storage.
- [node1/2] cat /proc/partitions
- [node1/2] ll /dev/disk/by-id | grep sdd
- Now we need create cluster Resource for fencing...
- pcs stonith create scsi-shooter fence_scsi devices=/dev/disk/by-id/wwn-0x6001405189b893893594dffb3a2cb3e9 meta provides=unfencing
- pcs property set no-quorum-policy=freeze (It means we dont use quoram policy here)
- pcs stonith show scsi-shooter
- Dear Dont think i do anything by Pause.. :)
- I was go my washroom
- The fencing will update upter some time may be max 1 min- 2 min...see now
- See the error gone :) nodes , resourse , fence everything is ok now
- So its done now!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement