Bookmark this page

Guided Exercise: Viewing a Red Hat Virtualization Host

In this exercise, you will explore a prebuilt Red Hat Virtualization Host and its environment.

Outcomes

You should be able to:

  • Familiarize yourself with a Red Hat Virtualization Host's web console and locate the various tools that manage the host.

Log in to workstation as student using student as the password.

On workstation, run the lab installation-install-rhvh start command. This command runs a start script that determines if the Red Hat Virtualization environment is configured and working.

[student@workstation ~]$ lab installation-install-rhvh start
  1. Use your web browser to access https://hosta.lab.example.com:9090.

    Log in with username root with the password redhat.

    1. Open Firefox and go to the https://hosta.lab.example.com:9090 URL. If necessary, add a security exception to permit Firefox to use the self-signed SSL certificate and bypass the Your connection is not secure warning by clicking the Advanced button and then Add Exception button. In the pop up window click Confirm Security Exception. The page will reload.

    2. Log in with username root with the password redhat.

      Click Log In.

  2. Click hosta.lab.example.com -> System on the menu to access the system's statistics.

    This page shows basic operating system statistics, such as current load, disk usage, disk I/O, and network traffic.

  3. Click on Logs on the menu to access the system's logs.

    This page shows the systemd system logs. You can choose the date to access the logs from as well as the severity of the log entries.

    1. Click the Severity drop-down menu, and choose Everything.

    2. Review the log entries for a chosen day. Click a day to view. A log entry detail page displays additional event information.

  4. Click Storage on the menu to view local storage and logging. You can add additional NFS mount points.

    In the upper right corner of the page, you can add RAID Devices, Volume Groups, VDO Devices, and iSCSI Targets as required.

  5. On the menu, choose Networking.

    This page shows detailed information for the current network configuration.

    1. There are two NICs, one for management traffic and one for storage traffic.

    2. Click the Firewall link.

    3. Under Allowed Services, choose Add Services to view the available services.

    4. Click on Cancel.

  6. Click on Services on the menu to view the enabled, disabled and static services within RHV-H.

  7. Check to see if each host has forward and reverse DNS name resolution. Open a shell window, click on Terminal on the menu. Use the dig command to locate the DNS server and view the existing forward and reverse host entries. Repeat for all four hosts.

    1. Use dig to perform a forward DNS query for hosta.

      [root@hosta ~]# dig hosta.lab.example.com
      ...output omitted...
      ANSWER SECTION:
      hosta.lab.example.com.	3600	IN	A	172.25.250.10
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    2. Use dig to perform a reverse DNS query using the hosta IP address.

      [root@hosta ~]# dig -x 172.25.250.10
      ...output omitted...
      ANSWER SECTION:
      10.250.25.172.in-addr.arpa. 3600 IN	PTR	hosta.lab.example.com.
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    3. Use dig to perform a forward DNS query for hostb.

      [root@hosta ~]# dig hostb.lab.example.com
      ...output omitted...
      ANSWER SECTION:
      hostb.lab.example.com.		3600	IN	A	172.25.250.11
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    4. Use dig to perform a reverse DNS query using the hostb.lab.example.com IP address.

      [root@hosta ~]# dig -x 172.25.250.11
       ...output omitted...
      ANSWER SECTION:
      11.250.25.172.in-addr.arpa. 3600 IN	PTR	hostb.lab.example.com.
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    5. Use dig to perform a forward DNS query for hostc.lab.example.com.

      [root@hosta ~]# dig hostc.lab.example.com
      ...output omitted...
      ANSWER SECTION:
      hostc.lab.example.com.		3600	IN	A	172.25.250.12
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    6. Use dig to perform a reverse DNS query using the hostc.lab.example.com IP address.

      [root@hosta ~]# dig -x 172.25.250.12
      ...output omitted...
      ANSWER SECTION:
      12.250.25.172.in-addr.arpa. 3600 IN	PTR	hostc.lab.example.com.
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    7. Use dig to perform a forward DNS query for hostd.lab.example.com.

      [root@hosta ~]# dig hostd.lab.example.com
      ...output omitted...
      ANSWER SECTION:
      hostd.lab.example.com.  3600    IN      A       172.25.250.13
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56
    8. Use dig to perform a reverse DNS query using the hostd.lab.example.com IP address.

      [root@hosta ~]# dig -x 172.25.250.13
      ...output omitted...
      ANSWER SECTION:
      10.250.25.172.in-addr.arpa. 3600 IN     PTR     hostd.lab.example.com.
      
      Query time: 0 msec
      SERVER: 172.25.250.254#53(172.25.250.254)
      WHEN: Mon Jul 08 00:53:42 CDT 2019
      MSG SIZE  rcvd: 56

Finish

On workstation, run the lab installation-install-rhvh finish script to complete this exercise.

[student@workstation ~]$ lab installation-install-rhvh finish

This concludes the guided exercise.

Revision: rh318-4.3-c05018e