Académique Documents
Professionnel Documents
Culture Documents
==========================================
cd /dump
rhel-server-7.5-x86_64-dvd.iso
mkdir /repo
[repo-ha]
gpgcheck=0
enabled=1
baseurl=file:///repo/addons/HighAvailability
name=repo-ha
[repo-storage]
gpgcheck=0
enabled=1
baseurl=file:///repo/addons/ResilientStorage
name=repo-storage
===================================================================
1) Disable Firewall
2) Disable Selinux
vi /etc/selinux/config.
Set the line SELINUX=enforcing to SELINUX=disabled.
4)Login to any of the cluster node and authenticate �hacluster� user, using
following command.
pcs status
Note: You can also use the �crm_mon -1� command to check the status of service
running on Cluster.
8)
pcs property show stonith-enabled
pcs property set stonith-enabled=false
ote: If your cluster nodes are the Virtual machines and hosted on VMware then you
can use �fence_vmware_soap� fencing agent. To configure �fence_vmware_soap� as
fencing agent, refer the below logical steps:
1) Verify whether your cluster nodes can reach to VMware hypervisor or Vcenter
or
Where;
pcs status
In the back-end , �pcs cluster start� command will trigger the following command on
each cluster node.
systemctl start corosync.service
systemctl start pacemaker.service
corosync-cfgtool -s
5) TO DESTROY CLUSTER
pcs config
To move
pcs resource move <resource>
to move back
pcs resource clear <resource>
8) When the cluster starts, it automatically records the number and details of the
nodes in the cluster, as well as which stack is being used and the version of
Pacemaker being used. To view the cluster configuration (Cluster Information Base �
CIB) in XML format, use the following command.
To Check STONITH
pcs property show stonith-enabled