Show Table of Contents
A.2. Cluster Creation with Pacemaker in Red Hat Enterprise Linux Release 6.5 and Red Hat Enterprise Linux Release 6.6 (and later)
To create a Pacemaker cluster in Red Hat Enterprise Linux 6.5, you must create the cluster and start the cluster services on each node in the cluster. For example, to create a cluster named
my_cluster that consists of nodes z1-rhel65.example.com and z2-rhel65.example.com and start cluster services on those nodes, run the following commands from both z1-rhel65.example.com and z2-rhel65.example.com.
[root@z1-rhel65]#pcs cluster setup --name my_cluster\z1-rhel65.example.com z2-rhel65.example.com[root@z1-rhel65]#pcs cluster start
[root@z2-rhel65]#pcs cluster setup --name my_cluster\z1-rhel65.example.com z2-rhel65.example.com[root@z2-rhel65]#pcs cluster start
In Red Hat Enterprise Linux 6.6 and later, you run the cluster creation command from one node of the cluster. The following command, run from one node only, creates the cluster named
my_cluster that consists of nodes z1-rhel66.example.com and z2-rhel66.example.com and starts cluster services on those nodes.
[root@z1-rhel66]#pcs cluster setup --start --name my_cluster\z1-rhel66.example.com z2-rhel66.example.com

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.