root@lap:~# pcs cluster setup –local –name cluster1 –force
Shutting down pacemaker/corosync services…
Killing any remaining services…
Removing all cluster configuration files…

root@lap:~# systemctl start corosync.service
root@lap:~# systemctl start pacemaker.service

root@lap:~# pcs cluster auth -u hacluster –force
Password: Authorized Authorized

root@lap:~# pcs cluster setup –force –name cluster1
Destroying cluster on nodes:,… Stopping Cluster (pacemaker)… Stopping Cluster (pacemaker)… Successfully destroyed cluster Successfully destroyed cluster

Sending cluster config files to the nodes… Succeeded Succeeded

Synchronizing pcsd certificates on nodes,… Success Success

Restarting pcsd on the nodes in order to reload the certificates… Success Success


root@lap:~# pcs cluster start –all Starting Cluster… Starting Cluster…



root@lap:~# pcs status
Cluster name: cluster1
WARNING: no stonith devices and stonith-enabled is not false
Last updated: Wed Nov 22 17:18:24 2017 Last change: Wed Nov 22 17:16:33 2017 by hacluster via crmd on
Stack: corosync
Current DC: (version 1.1.14-70404b0) – partition with quorum
2 nodes and 0 resources configured

Online: [ ]

Full list of resources:


PCSD Status: Online Online

Daemon Status:
corosync: active/disabled
pacemaker: active/disabled
pcsd: active/enabled


pcs resource create cluster1_IP ocf:heartbeat:IPaddr2 ip= cidr_netmask=32 op monitor interval=30s

root@lap:~# crm_verify -LV
error: unpack_resources: Resource start-up disabled since no STONITH resources have been defined
error: unpack_resources: Either configure some or disable STONITH with the stonith-enabled option
error: unpack_resources: NOTE: Clusters with shared data need STONITH to ensure data integrity
Errors found during check: config not valid


root@lap:~# pcs property set stonith-enabled=false


root@lap:~# crm_verify -LV


root@lap:~# crm_resource –resource cluster11_IP –move –node
root@lap:~# crm_resource –resource cluster11_IP –move –node