You are on page 1of 1

yum install pcs fence-agents-all

firewall-cmd --permanent --add-service=high-availability


firewall-cmd --reload
systemctl enable --now pcsd
passwd hacluster

yum install pcs fence-agents-all


firewall-cmd --permanent --add-service=high-availability
systemctl enable --now pcsd
passwd hacluster

yum install pcs fence-agents-all


firewall-cmd --permanent --add-service=high-availability
firewall-cmd --reload
systemctl enable --now pcsd
passwd hacluster

pcs cluster auth node1 node2 node3


pcs cluster setup --start --enable --name=mycluster node1 node2 node3
pcs status
pcs cluster enable --all

pcs stonith describe fence_xvm


pcs stonith create fence_nodea fence_xvm key_file="/etc/cluster/fence_xvm.key"
port="node1" pcm_host_list="node1.dominio"
pcs stonith create fence_nodeb fence_xvm key_file="/etc" port="node1"
pcmk_host_list="node1.domain"
pcs stonith create fence_nodec fence_xvm key_file="/Etc" port="node3"
pcmk_host_list="node3.domain"
pcs stontih show
pcs stonith fence node1

pcs cluster stop --all


vim /etc/corosync/corosync.conf

logging...
to_file: yes

You might also like