此内容没有您所选择的语言版本。
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.
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>
# subscription-manager register --username=<username> --password=<password>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# 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
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install the packages required for the Cockpit UI.
yum install glusterfs-server vdsm-gluster ovirt-hosted-engine-setup gdeploy cockpit-ovirt-dashboard
# yum install glusterfs-server vdsm-gluster ovirt-hosted-engine-setup gdeploy cockpit-ovirt-dashboard
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
6.2. Starting the Cockpit UI 复制链接链接已复制到粘贴板!
Run the following command to start the cockpit
service.
systemctl start cockpit
# systemctl start cockpit
6.3. Configuring the firewall for Cockpit traffic 复制链接链接已复制到粘贴板!
Open ports for the
cockpit
service.firewall-cmd --add-service=cockpit firewall-cmd --add-service=cockpit --permanent
# firewall-cmd --add-service=cockpit # firewall-cmd --add-service=cockpit --permanent
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# firewall-cmd --list-services | grep cockpit
Copy to Clipboard Copied! Toggle word wrap Toggle overflow