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 Copy linkLink copied to clipboard!
Run the following commands on each physical machine to register your physical machines to Red Hat Network and install the required packages.
Ensure that you have your Red Hat Network username and password before beginning this process.
Register your machine to Red Hat Network.
# subscription-manager register --username=<username> --password=<password>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-rpmsInstall 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 Copy linkLink copied to clipboard!
Run the following command to start the cockpit service.
# systemctl start cockpit
6.3. Configuring the firewall for Cockpit traffic Copy linkLink copied to clipboard!
Open ports for the
cockpitservice.# firewall-cmd --add-service=cockpit # firewall-cmd --add-service=cockpit --permanentVerify that the
cockpitservice is allowed by the firewall.Ensure that
cockpitappears in the output of the following command.# firewall-cmd --list-services | grep cockpit