Performance Checklist
In this lab, you will create additional logical networks for a new cluster, and configure hosts in the cluster to use the new networks.
Outcomes
You should be able to create additional logical networks and associate those networks with appropriate hosts and clusters.
Log in to workstation as student, using student as the password.
On workstation, run the lab networks-review start command.
This command runs a start script that determines if the Red Hat Virtualization environment is configured and working.
[student@workstation ~]$lab networks-review start
You have a working production data center, which has a cluster named clustertwo.
That cluster consists of the host hostc.lab.example.com.
In the production data center, create a new logical network called prod-vm-net on VLAN 20 as a VM Network to separate virtual machine traffic from RHV management traffic.
Assign this logical network to clustertwo.
Log in to workstation as student user, using student as password.
Open Firefox and log in to the Administration Portal, using the https://rhvm.lab.example.com URL.
Use the admin user with the internal profile, and redhat as the password.
In the Administration Portal dashboard, click , and then click to access the network configuration for the data centers.
Click the button to create a new network.
In the New Logical Network window, complete in the fields using the following information:
Table 6.3.
| Field | Value |
|---|---|
| Data Center | production |
| Name | prod-vm-net |
| Description | VM LAB network |
| Comment | Network for VM LAB traffic |
| Enable VLAN Tagging | Enabled
|
| In the text field next to Enable VLAN tagging, specify the VLAN number: | 20 |
| VM Network | Enabled |
Leave the other options with their default values and click the button to create the network.
Notice that the new network displays on the list of available networks. This confirms the creation of the new logical network.
In the same data center, create another logical network called prod-storage.
This network should not be VLAN tagged.
The new logical network will be used to separate storage traffic from other traffic.
Assign the logical network to clustertwo.
Click the button to create the new logical network.
In the New Logical Network window, fill in the fields using the following information:
Table 6.4.
| Field | Value |
|---|---|
| Data Center | production |
| Name | prod-storage |
| Description | Storage Network LAB |
| Comment | Network for LAB storage traffic |
| Enable VLAN Tagging | Disabled
|
| VM network | Disabled |
Leave the other options with their default values and click the button to create the network.
Notice that the new network appeared on the list of available networks. This confirms the creation of the new logical network.
Attach the logical networks to network interfaces on hostc.
Attach the prod-vm-net logical network to the eth0 network interface.
The network configuration comes from the Dynamic Host Configuration Protocol (DHCP) server.
Attach the prod-storage logical network to the eth1 network interface.
Set the IPv4 address to 172.24.0.12, with the 255.255.255.0 netmask.
Do not set a gateway for this logical network.
Click the Compute then Hosts menu.
From the list of available hosts, choose hostc.lab.example.com by clicking on it.
Click on the Network Interfaces tab.
Click the button to change that host network configuration.
In the Setup Host hostc.lab.example.com Networks window, click and drag the prod-storage box from the right side to the left side of the window.
Drop this box onto the no network assigned field, next to the eth1 network interface.
Click and drag the prod-vm-net (VLAN 20) box from the right side to the left side of the window.
Drop this box onto the eth0 interface field.
After dropping, you should see two logical networks assigned to eth0 interface.
Click the icon inside the prod-storage box.
In the Edit Network prod-storage dialog window, under Boot Protocol, select Static as the Boot Protocol.
In the IP field, type in 172.24.0.12 as the IP address of hostc in that network.
In the Netmask/Routing Prefix field, type 255.255.255.0 as the netmask.
Click the button to save the settings.
Ensure that the check boxes for the Verify connectivity between Host and Engine and Save network configuration options are selected.
Click the button to confirm and save the new network configuration for that host.
Both new logical networks in the clustertwo cluster are now accessible by the hostc host.