Installing and Accessing the Cockpit HA Cluster Management Add-on

Install Cockpit, and the Cockpit HA Cluster Management add-on that implements the web UI application for managing clusters.

What do you need?

The prerequisites for installing and using the HA Cluster Management application on a server include the following:

  • The Cockpit web console must be installed and enabled.

  • You must have administrative access to the Cockpit web console.

  • The pcsd service must be installed and have access to the nodes you're planning to manage.

Steps

To install and access the Cockpit HA Cluster Management add-on, complete the following steps:

  1. Install and enable Cockpit on one of the nodes to be included in a cluster, and verify you have administrative access to the Cockpit web console.

    Upon completion of a standard install and setup, the URL of the Cockpit web console is in the following format:

    https://clusternode.example.com:9090

    Where clusternode.example.com is the FQDN hostname or IP address of the node on which Cockpit has been installed.

    For more information on installing Cockpit , and signing in to the Cockpit web console with administrative access, see Oracle Linux: Using the Cockpit Web Console .

  2. In the Cockpit web console, select the Terminal link in the navigation panel to display the Terminal shell page.
  3. Run the following command in the Terminal shell to install the Cockpit HA Cluster Management add-on application:
    sudo dnf install -y cockpit-ha-cluster
  4. Verify the pcsd.service is running and enabled by running the following command:
    sudo systemctl status pcsd.service

    If it's not running and enabled then run the following command:

    sudo systemctl enable --now pcsd.service
  5. In the Cockpit web console, select the HA Cluster Management link in the navigation panel to start the application. The Clusters page appears.

    Note:

    You might need to refresh the browser page before you can see the HA Cluster Management link.