Pacemaker command line interface and GUI
Python JavaScript Ruby HTML Roff CSS Other

PCS - Pacemaker/Corosync configuration system

Quick Start

  • PCS Installation from Source

    Run the following in terminal:

    # tar -xzvf pcs-0.9.143.tar.gz
    # cd pcs-0.9.143
    # make install

    This will install pcs into /usr/sbin/pcs.

- **Create and Start a Basic Cluster**

To create a cluster run the following commands on all nodes (replacing node1, node2, node3 with a list of nodes in the cluster).

# pcs cluster setup --local --name cluster_name node1 node2 node3

Then run the following command on all nodes:

# pcs cluster start

- **Check the Cluster Status**

After a few moments the cluster should startup and you can get the status of the cluster

# pcs status

- **Add Cluster Resources**

After this you can add resources and stonith agents:

# pcs resource help


# pcs stonith help

- **PCSD Installation from Source**

You can also install pcsd which operates as a GUI and remote server for pcs. pcsd may also be necessary in order to follow the guides on the website.

To install pcsd run the following commands from the root of your pcs directory. (You must have the ruby bundler gem installed, rubygem-bundler in Fedora, and development packages installed)

# cd pcsd ; make get_gems ; cd ..
# make install_pcsd

If you are using GNU/Linux its now time to:

# systemctl daemon-reload

### Packages ***

Currently this is built into Fedora (other distributions to follow). You can see the current Fedora .spec in the fedora package git repositories here:

Current Fedora 23 .spec:

### Inquiries ***

If you have any questions or concerns please feel free to email or open a github issue on the pcs project.