In our previous Pacemaker Linux cluster setup, we have gone through CLI mode of configuration. However, let’s see how to add those Pacemaker clusters from a graphical mode. Let’s see how to use the Pacemaker Web UI.

The Web Interface has a lot of limitation while comparing to CLI. We have listed few of available options.

  • Creating a new cluster
  • Add existing cluster
  • Deleting the cluster
  • Creating fencing device
  • Creating resources
  • Assigning permission on cluster
  • Configuring Access control list

If you have not yet started with setting up a cluster from CLI have a look into below URL.

Install and configure High Availability Linux Cluster with Pacemaker on CentOS 7.6

In case, already done with CLI continue reading.

Accessing the Pacemaker Web UI (GUI)

By default use the hostname or IP with the port number to access the cluster GUI.

https://192.168.107.200:2224/login

Navigate to the Pacemaker Web UI.

Adding cluster from Pacemaker Web UI
Adding cluster from GUI

While setting up we used the Username “hacluster” and Password: “clusterpassword123“, use the credentials to access the GUI.

Add the Cluster from GUI

Once login from the GUI we will get the options to add the existing cluster are creating a new cluster. Click on “Add Existing” to add our already created cluster.

Add Pacemaker cluster with Hostname/IP and Port
Add Cluster with Hostname/IP and Port
  1. Click “Add Existing” to add the existing cluster created from CLI.
  2. Use the IP address of the server.
  3. 2224 used by PCSD for GUI and port to port communication.
  4. Click to add the existing cluster in GUI.

Creating a Pacemaker Linux cluster from GUI is similar by clicking on “Create New“.

Authenticate using cluster user

Authenticate with Cluster Password
Authenticate with Cluster Password

Listing the added Cluster

Once we click on “Authenticate” the cluster will be added in GUI. By clicking on the cluster name from left side pane we will get more information about it in the right-hand side pane.

We have created a basic cluster, in upcoming guides let see how to create a resource, fencing, etc. Refer the below figure for more options.

List the added cluster
List the added cluster

The status of the nodes in the cluster looks online. The quorum for those two nodes is in place.

  1. Name of the cluster, click on it for information.
  2. The number of nodes in the cluster.
  3. Numbers of resources configured, we have not yet configured one.
  4. Status of configured fencing.
  5. Configured resource/Fencing devices.
  6. Click to logout the session.

Get to know each Node

By clicking on the NODES tab from the top menu will list all the available nodes in the current cluster. We can manage the services and check the status of uptime and cluster services.

Pacemaker node options from GUI
Pacemaker node options from GUI

Click on “NODES” from the top menu to explore the available options for each node.

  1. List of available nodes in the cluster.
  2. Pacemaker & Corosync service status for the node.
  3. Service Management option available for the node.
  4. Uptime of the node since started.
  5. Cluster Daemons status.

Removing a Cluster

In case, if you need to remove a cluster from the GUI. Check the cluster we required to remove and click on remove from the top. By following confirm the cluster name and click on Remove Cluster(s) to remove.

To remove a cluster from GUI
To remove a cluster from GUI
  1. Select the cluster needs to remove.
  2. Click “Remove”.
  3. The cluster you have decided to remove.
  4. Click to remove the Cluster.

Navigate to know more

Go through the TABS to explore the available options.

Pacemaker Web UI and Permission on Cluster
Permission on Cluster

Will cover these in upcoming topics.

Just an overview

All the above steps are shown in gif format.

That’s it, we have successfully added the existing cluster in GUI.

Conclusion:

We have seen how to add a cluster from GUI, the steps only shown how to add an existing cluster created from CLI. Will cover up how to create a new cluster from the graphical mode.

LEAVE A REPLY

Please enter your comment!
Please enter your name here