Book Image

CentOS High Availability

Book Image

CentOS High Availability

Overview of this book

Table of Contents (21 chapters)
CentOS High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and configuring CMAN


You're almost there! Continue by installing the CMAN software on your cluster nodes. In the following screenshot, you can see the command used to install the CMAN software on the node-1 cluster node:

You must install the CMAN software on all cluster nodes. Once you've installed CMAN, create a new file, /etc/cluster/cluster.conf, with your favorite text editor. In the next screenshot, you can see the lines you must insert into this file. You can also download the file from cman-conf-1.txt.

Note

The config_version parameter is the version of the CMAN configuration file, and the name parameter is your preferred cluster name.

The debug parameter is set to off and should be turned on for debugging purposes.

The clusternodes section is where the cluster nodes are configured. The clusternode parameter is defined by a name parameter, which is the FQDN or short node name, and the nodeid parameter, which is the ID of the cluster node.

Distribute the /etc/cluster/cluster.conf...