Product SiteDocumentation Site

6. Attach and Populate ISO Domain

You have defined your first storage domain to store virtual guest data, now it is time to configure your second storage domain, which will be used to store installation images for creating virtual machines. You have already created an ISO domain during the installation of the Red Hat Enterprise Virtualization Manager. To use this ISO domain, attach it to the same data center which contains the local storage domain.
To attach the ISO domain
  1. Navigate to the Tree pane and click the Expand All button. Click the Atlantic-Local data center. On the results list, the Atlantic-Local data center displays.
  2. On the details pane, select the Storage tab and click the Attach ISO button.
  3. The Attach ISO Library dialog appears with the available ISO domain. Select the local-iso-share domain and click OK.
    Attach ISO Library
    Figure 90. Attach ISO Library

  4. The ISO domain appears in the results list of the Storage tab. It displays with the Locked status as the domain is being validated, then transits to Inactive.
  5. Select the ISO domain and click the Activate button. The status changes to Locked and then to Active.
Media images (CD-ROM or DVD-ROM in the form of ISO images) must be available in the ISO repository for the virtual machines to use. To do so, Red Hat Enterprise Virtualization provides a utility that copies the images and sets the appropriate permissions on the file. For this lab, both the file provided to the utility and the ISO share have to be accessible from the Red Hat Enterprise Virtualization Manager.
Log in to the Red Hat Enterprise Virtualization Manager server console to upload images to the ISO domain.
To upload ISO images
  1. Create or acquire the appropriate ISO images from boot media. Ensure the path to these images is accessible from the Red Hat Enterprise Virtualization Manager server.
  2. The next step is to upload these files. First, determine the available ISO domains by running:
    # rhevm-iso-uploader list
    You will be prompted to provide the admin user password which you are using to connect to the administration portal. The tool lists the name of the ISO domain that you have already attached in the previous lab:
    ISO Storage Domain List:
    local-iso-share
    Now you have all the information required to upload the required files. To copy your installation images to the ISO domain, run:
    # rhevm-iso-uploader upload -i local-iso-share [file1] [file2] .... [fileN]
  3. After the images have been loaded, check that they are available for use in the Manager administration portal.
    1. Navigate to the Tree and click the Expand All button.
    2. Under Storage, click on the name of the ISO domain. It displays in the results list. Click on it to display its details pane.
    3. On the details pane, select the Images tab. The list of available images should be populated with the files which you have uploaded. In addition, the RHEV-toolsSetup.iso and virtio-win.vfd images should have been automatically uploaded during installation.
      Uploaded ISO images
      Figure 91. Uploaded ISO images

Now that you have successfully prepared the ISO domain for use, you have completed this lab and are ready to start creating virtual machines.