Bookmark this page

Guided Exercise: Creating and Managing Clusters

In this exercise, you will create a new cluster in an existing data center in your Red Hat Virtualization environment.

Outcomes

You should be able to create a new cluster.

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

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

[student@workstation ~]$ lab datacenters-createcluster 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. In the menu, click Administration, and then click on Configure.

    • 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-clusterone in the name field.

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

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

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

    Click the Close button to close out the Configure window.

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

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

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

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

    • Choose development in the Data Center drop down menu.

    • Enter clusterone 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 check box 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-clusterone value in the MAC Address Pool dropdown.

    Click the OK button to create the clusterone cluster.

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

  8. From the Clusters page under Compute, verify that the clusterone cluster appears in the list of available clusters.

Finish

On workstation, run the lab datacenters-createcluster finish script to complete this exercise.

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

This concludes the guided exercise.

Revision: rh318-4.3-c05018e