Product SiteDocumentation Site

5.3.4. Configure Corosync on Cluster Nodes

Corosync handles Pacemaker’s cluster membership and messaging. The corosync config file is located in /etc/corosync/corosync.conf. That config file must be initialized with information about the two cluster nodes before pacemaker can start.
To initialize the corosync config file, execute the following pcs command on both nodes, filling in the information in <> with your nodes' information.
# pcs cluster setup --force --local --name mycluster <node1 ip or hostname> <node2 ip or hostname>