Product SiteDocumentation Site

5.3.5. Start Pacemaker on Cluster Nodes

Start the cluster stack on both cluster nodes using the following command.
# pcs cluster start
Verify corosync membership
# pcs status corosync
Membership information
----------------------
    Nodeid      Votes Name
         1          1 node1 (local)
Verify Pacemaker status. At first, the pcs cluster status output will look like this.
# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: NONE
Last updated: Fri Jan 12 16:14:05 2018
Last change: Fri Jan 12 14:02:14 2018

1 node configured
0 resources configured
After about a minute, you should see your two cluster nodes come online.
# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: node1 (version 1.1.16-12.el7_4.5-94ff4df) - partition with quorum
Last updated: Fri Jan 12 16:16:32 2018
Last change: Fri Jan 12 14:02:14 2018

2 nodes configured
0 resources configured

Online: [ node1 node2 ]
For the sake of this tutorial, we are going to disable stonith to avoid having to cover fencing device configuration.
# pcs property set stonith-enabled=false