Chapter 6. Setting up the Cockpit UI


If you are configuring Red Hat Hyperconverged Infrastructure for Virtualization from a Red Hat Enterprise Linux base, follow this section to obtain and configure the Cockpit UI. Cockpit is a web application that simplifies and automates some parts of the installation and configuration process.

6.1. Installing the Cockpit UI

Run the following commands on each physical machine to register your physical machines to Red Hat Network and install the required packages.

Important

Ensure that you have your Red Hat Network username and password before beginning this process.

  1. Register your machine to Red Hat Network.

    # subscription-manager register --username=<username> --password=<password>
  2. Enable the channels required for the Cockpit UI.

    # subscription-manager repos --enable=rhel-7-server-rpms  --enable=rh-gluster-3-for-rhel-7-server-rpms  --enable=rhel-7-server-rhv-4-mgmt-agent-rpms --enable=rhel-7-server-ansible-2-rpms
  3. Install the packages required for the Cockpit UI.

    # yum install glusterfs-server vdsm-gluster ovirt-hosted-engine-setup gdeploy cockpit-ovirt-dashboard

6.2. Starting the Cockpit UI

Run the following command to start the cockpit service.

# systemctl start cockpit

6.3. Configuring the firewall for Cockpit traffic

  1. Open ports for the cockpit service.

    # firewall-cmd --add-service=cockpit
    # firewall-cmd --add-service=cockpit --permanent
  2. Verify that the cockpit service is allowed by the firewall.

    Ensure that cockpit appears in the output of the following command.

    # firewall-cmd --list-services | grep cockpit
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top