Bookmark this page

Lab: Creating and Managing Data Centers and Clusters

Performance Checklist

In this lab, you will create an additional data center and a new cluster in your Red Hat Virtualization environment.

Outcomes

You should be able to:

  • Create a new data center.

  • Create a new cluster.

Log in to the workstation VM as the student user, with student as the password.

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

[student@workstation ~]$ lab datacenters-review start
  1. On workstation, open the Firefox web browser. Log in to the Red Hat Virtualization Manager Administration Portal using the https://rhvm.lab.example.com URL. The username is admin and the password is redhat.

  2. Create a new data center named production using the default values.

    1. In the menu, click Data Centers in the Compute section.

    2. Click the New button on the Data Centers tab.

    3. In the New Data Center window, enter production in the Name field. Keep the default values for the other fields. Click the OK button to create the data center.

    4. A pop-up window titled Data Center - Guide Me opens. Click the Configure Later button to create the empty data center.

  3. Create a pool of MAC addresses named mac-pool-clustertwo with 56:6f:07:a7:14:01 through 56:6f:07:a7:14:0a as the MAC address range.

    Create a new cluster named clustertwo in the production data center. Use ovirtmgmt as the management network, use an appropriate CPU Type that could support hosta, the Linux Bridge switch type, ensure that the cluster can run virtual machines, and use mac-pool-clustertwo for the MAC addresses pool. Do not add any hosts to the cluster yet.

    1. In the menu, click Administration, and then click on Configure.

      Create a pool of MAC addresses with mac-pool-clustertwo as the name and 56:6f:07:a7:14:01 through 56:6f:07:a7:14:0a as the MAC address range.

      • In the Configure window, select MAC Address Pools from the left menu list.

      • Click the Add button to bring up the New MAC Address Pool window.

      • Enter mac-pool-clustertwo in the name field.

      • In the MAC Address Ranges fields add 56:6f:07:a7:14:01 in the From field.

      • Add 56:6f:07:a7:14:0a to the To field.

      Click the OK button to close the New MAC Address Pool window.

    2. In the menu, click Compute, and then click on Hosts. In the Hosts tab select hosta.lab.example.com on the host list.

    3. In the Hardware section of the General tab, determine the value for the CPU Type field. In this classroom, the same CPU type is used by hostb, hostc, and hostd.

    4. In the menu, click Compute, then click on Clusters. At the top right hand side of the window, find and click the New button.

    5. In the New Cluster window, make sure the General section is being displayed, and enter the following configuration settings:

      • Select production in the Data Center menu.

      • Enter clustertwo in the Name field.

      • Select ovirtmgmt in the Management Network menu.

      • Select x86_64 in the CPU Architecture menu.

      • Select the CPU type for your hardware in the CPU Type menu.

      • Select 4.3 in the Compatibility Version menu.

      • Select Linux Bridge in the Switch Type menu.

      • Check the Enable Virt Service checkbox to allow hosts in this cluster to run virtual machines.

      • Keep the default values for the other fields.

      • Click the MAC Address Pool tab, then change Default value to mac-pool-clustertwo value in the MAC Address Pool dropdown.

      Click OK to create the clustertwo cluster.

    6. Click Configure Later in the pop-up window titled Cluster - Guide Me.

  4. Verify that the clustertwo cluster exists and belongs to the production data center.

    1. While still being in the Clusters page under Compute, verify that the clustertwo cluster appears in the list of available clusters.

    2. You should see production as the data center for clustertwo in the Data Center column of the same page. The fact that production appears in the Data Center column for clustertwo confirms that the production data center exists.

Evaluation

On the workstation VM, run the lab datacenters-review grade command to confirm that you have completed this exercise successfully.

[student@workstation ~]$ lab datacenters-review grade

Finish

On the workstation VM, run the lab datacenters-review finish command to complete this exercise.

[student@workstation ~]$ lab datacenters-review finish

This concludes the lab.

Revision: rh318-4.3-c05018e