General RHEL installation information and procedures are located in the product documentation:
-
Follow the CIMC processes on the bare metal server as identified in Figure 1.
-
Select the option to install Red Hat Enterprise Linux to begin the installation.
-
Configure the settings identified in Table 1.
-
Begin the installation and configure the User Setting identified in Table 1.
-
Click Reboot once the installation is complete.
-
Log in to RedHat as the nfvi user.
-
Set password-less sudo access for nfvi.
echo "nfvi ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/nfvi
chmod 0440 /etc/sudoers.d/nfvi
-
Configure the network interfaces and network bridges.
-
Configure the eno2 interface by appending the following parameters to the /etc/sysconfig/network-scripts/ifcfg-eno2 file.
<--SNIP-->
DEVICE=eno2
ONBOOT=yes
BRIDGE=br-ex
NM_CONTROLLED=no
NETMASK=<netmask>
GATEWAY=<gateway_address>
-
Configure the eno1 interface by appending the following parameters to the /etc/sysconfig/network-scripts/ifcfg-eno1 file.
<--SNIP-->
DEVICE=eno1
ONBOOT=yes
BRIDGE=br-ctlplane
NM_CONTROLLED=no
-
Configure the br-ex network bridge by adding the following parameters to the /etc/sysconfig/network-scripts/ifcfg-br-ex file.
<--SNIP-->
DEVICE=br-ex
DEFROUTE=yes
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=static
NM_CONTROLLED=no
DELAY=0
IPADDR=<external_ip_address>
NETMASK=<netmask>
GATEWAY=<gateway_address>
PREFIX="24"
DNS1="<DNS_server_address>"
DOMAIN="<domain_name>"
IPV4_FAILURE_FATAL="yes"
-
Configure the br-ctlplane bridge by adding the following parameters to the /etc/sysconfig/network-scripts/ifcfg-br-ctlplane file.
<--SNIP-->
DEFROUTE=yes
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=static
NM_CONTROLLED=no
DELAY=0
DEVICE=br-ctlplane
 Caution |
Once configured, it is recommended that you do not make any changes to the network interface or bridge configuration. Doing so will require that you redeploy
AutoIT and AutoDeploy.
|
-
Create and prepare the directories required for installing the UAS components.
sudo mkdir -p /var/cisco/isos
sudo mkdir -p /var/cisco/disks
sudo chmod 777 -R /var/cisco
-
Reboot the bare metal server.
-
Login as a root user upon reboot.
Important:
If the server is not accessible via the configured IP address, login into the server’s KVM console and troubleshoot the configuration.
-
Validate the network configuration.
Example output:
br-ctlplane: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::22c:c8ff:fed9:f176 prefixlen 64 scopeid 0x20<link>
ether 00:2c:c8:d9:f1:76 txqueuelen 1000 (Ethernet)
RX packets 52 bytes 7044 (6.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 648 (648.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-ex: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.25.22.59 netmask 255.255.255.0 broadcast 172.25.22.255
inet6 fe80::22c:c8ff:fed9:f177 prefixlen 64 scopeid 0x20<link>
ether 00:2c:c8:d9:f1:77 txqueuelen 1000 (Ethernet)
RX packets 1394 bytes 122906 (120.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 717 bytes 71762 (70.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::22c:c8ff:fed9:f176 prefixlen 64 scopeid 0x20<link>
ether 00:2c:c8:d9:f1:76 txqueuelen 1000 (Ethernet)
RX packets 57 bytes 8072 (7.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1296 (1.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc7000000-c70fffff
eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::22c:c8ff:fed9:f177 prefixlen 64 scopeid 0x20<link>
ether 00:2c:c8:d9:f1:77 txqueuelen 1000 (Ethernet)
RX packets 1497 bytes 148860 (145.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 726 bytes 72476 (70.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc6f00000-c6ffffff
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:2c:c8:68:3b:ec txqueuelen 1000 (Ethernet)
RX packets 1 bytes 68 (68.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:2c:c8:68:3b:ed txqueuelen 1000 (Ethernet)
RX packets 1 bytes 68 (68.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 84 bytes 6946 (6.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 84 bytes 6946 (6.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
[root@rhel-baremetal nfvi]# brctl show
bridge name bridge id STP enabled interfaces
br-ctlplane 8000.002cc8d9f176 no eno1
br-ex 8000.002cc8d9f177 no eno2
virbr0 8000.5254003d7549 yes virbr0-nic
-
Perform the RHEL subscription-manager registration.
From Content Delivery Network (CDN) servers:
sudo subscription-manager config --server.proxy_hostname=<proxy_url> --server.proxy_port=80
subscription-manager register --username <username> --password <password>
subscription-manager attach -auto
sudo subscription-manager status
From Satellite Servers:
rpm -Uvh http://<satellite_server_domain>/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org="<organization>" --activationkey="<activation_key>"
Example output:
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Current
-
Install the virtualization packages.
yum install virt-install -y
Example output:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms | 3.5 kB 00:00:00
(1/3): rhel-7-server-rpms/7Server/x86_64/group | 709 kB 00:00:01
(2/3): rhel-7-server-rpms/7Server/x86_64/updateinfo | 2.3 MB 00:00:02
(3/3): rhel-7-server-rpms/7Server/x86_64/primary_db | 42 MB 00:00:16
Resolving Dependencies
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
rhel-7-server-rpms | 3.5 kB 00:00:00
(1/3): rhel-7-server-rpms/7Server/x86_64/group | 709 kB 00:00:01
(2/3): rhel-7-server-rpms/7Server/x86_64/updateinfo | 2.3 MB 00:00:02
(3/3): rhel-7-server-rpms/7Server/x86_64/primary_db | 42 MB 00:00:16
Resolving Dependencies
yum install virt-viewer -y
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package virt-viewer.x86_64 0:5.0-7.el7 will be installed
-
Install the Python bindings to the OpenStack Compute API.
yum install python-novaclient -y
-
Install the OpenStack networking API client.
yum install python-neutronclient -y
-
Proceed to Onboard the USP ISO.