Performance Checklist
In this lab, you will create a new virtual machine in your Red Hat Virtualization environment using a qcow2 image.
Outcomes
You should be able to:
Upload a qcow2 image to an existing data storage domain.
Create a new virtual machine using an unattached disk in the data storage domain.
Verify that your virtual machine starts correctly.
Log in to workstation as student using student as the password.
On workstation, run the lab install-review start command.
This command runs a start script that determines if the Red Hat Virtualization environment is configured and working.
[student@workstation ~]$lab install-review start
On workstation, download the qcow2 image located at http://materials.example.com/rhel-8.0-lab.qcow2 to the /home/student/Downloads/ directory.
Use the wget command to download the qcow2 file:
[student@workstation ~]$wget -P ~/Downloads/ \http://materials.example.com/rhel-8.0-lab.qcow2...output omitted... HTTP request sent, awaiting response... 200 OK Length: 1864302592 (1.15G) Saving to: ‘/home/student/Downloads/rhel-8.0-lab.qcow2’ ...output omitted...
Use Firefox to access the RHV-M Administration Portal located at https://rhvm.lab.example.com/ovirt-engine/webadmin/.
Log in as user admin with a password of redhat.
The profile should be set to internal.
Upload the qcow2 file to the hosted_storage data storage domain as rhel8-lab.
In the menu bar, click and then select .
In the upper-right corner, click and then select .
Use the button to select the previously downloaded qcow2 file.
In the File Upload window, click Downloads in the left navigation and then double-click the rhel-8.0-lab.qcow2 file to select it.
If you downloaded rhel-8.0-lab.qcow2 to a different location, you will need to find it.
In the Upload Image window, use rhel8-lab in both the Alias and Description fields.
Verify that Data Center is set to Default and that Disk Profile is set to hosted_storage.
Accept the default settings for everything else.
In a previous guided exercise, you should have downloaded the ovirt-engine certificate.
Click the button to verify this.
If clicking the button returns a green success box, then you are ready to upload.
If clicking the button returns an orange warning box, click the ovirt-engine certificate link within the warning box.
Check the box next to Trust this CA to identify websites and then click the button.
After you have done this, click the button again.
It should return a green success box.
If you accidentally forget to check the box next to Trust this CA to identify websites, the following procedure will allow you to bring up that window again:
Open Preferences for Firefox and then select in the left navigation.
Scroll down to the Security section (at the bottom) and click the button.
In the Certificate Manager window, scroll down to lab.example.com, click rhvm.lab.example.com.34088 so that it is highlighted, and then click the button.
Back on the Preferences tab for Privacy & Security, scroll up to the Cookies and Site Data section and then click the button.
Accept the default selections and click the button. Confirm your choice by clicking the button in the new window that appears.
Click the button to start the upload process.
Create a new virtual machine according to the following requirements:
Cluster: Default
Template: Blank | (0)
Operating System: Red Hat Enterprise Linux 8.x x64
Instance Type: Custom
Optimized for: Server
Name: rhel-lab-test
Instance Images: Attach the rhel8-lab disk (ensure that the check box under the OS column is checked)
nic1: ovirtmgmt/ovirtmgmt
Within the RHV-M Administration Portal, click in the menu bar and then select .
Click the button.
Ensure Cluster is set to Default.
Ensure Template is set to Blank | (0).
Ensure Operating System is set to Red Hat Enterprise Linux 8.x x86.
Leave Instance Type set as Custom.
Ensure Optimized for is set to Server.
Use rhel-lab-test as the name of the virtual machine.
For Instance Images, click the button.
In the Attach Virtual Disks window, click the radio button for rhel8-lab and ensure the check box in the OS column is checked.
Click the button to attach the disk.
For nic1, ensure ovirtmgmt/ovirtmgmt is selected.
Click the button to create the virtual machine.
Verify that the rhel-lab-test virtual machine starts correctly.
Within the RHV-M Administration Portal, click in the menu bar and then select .
Click the blank Comment column for the row containing the rhel-lab-test virtual machine.
The entire row should now be highlighted in blue.
Click the button to start the rhel-lab-test virtual machine.
Once it becomes accessible, click the button. If prompted, open the virtual machine using Remote Viewer.
Verify that you can log in as user root with a password of redhat.
Shut down the virtual machine using the systemctl poweroff command.