Search

5.9. Migrating the ISO Domain from 3.6

download PDF

Migrate the ISO domain from 3.6 to the current version of Red Hat Virtualization, using the iso_domain.tar.gz backup file that you created during the upgrade from 3.6 to 4.0.

Important

The new directory for the ISO domain must not be on the Manager machine.

Note

The ISO domain is deprecated in Red Hat Virtualization 4.2, and will be removed in a future version. Red Hat recommends uploading ISO images to a data storage domain. See Uploading Images to a Data Storage Domain in the Administration Guide.

  1. Create an export directory on the storage server and set its permissions:

    # mkdir -p /var/lib/exports/iso
    # chown -R 36:36 /var/lib/exports/
  2. Extract the ISO domain backup to this directory:

    # cd /var/lib/exports/iso
    # tar zxf iso_domain.tar.gz
  3. Set the SELinux context for the files in the export directory:

    # chcon -R system_u:object_r:public_content_rw_t:s0 /var/lib/exports/iso/
  4. Create /etc/exports.d/ovirt-engine-iso-domain.exports with the following line:

    /var/lib/exports/iso  *(rw)
  5. Edit the following lines in /etc/sysconfig/nfs:

    RPCMOUNTDOPTS="-p 892"
    (..snip..)
    STATDARGS="-p 662 -o 2020"
    (..snip..)
    LOCKD_UDPPORT=32769
    LOCKD_TCPPORT=32803
    RPCRQUOTAOPTS="-p 875"
  6. Enable the nfs service:

    # systemctl enable nfs
    # systemctl start nfs
  7. Allow services and ports with firewalld:

    # firewall-cmd --add-service={nfs,rpc-bind}
    # firewall-cmd --add-service={nfs,rpc-bind} --permanent
    # firewall-cmd --add-port={32769/udp,32803/tcp,662/tcp,662/udp,875/tcp,875/udp,892/tcp,892/udp}
    # firewall-cmd --add-port={32769/udp,32803/tcp,662/tcp,662/udp,875/tcp,875/udp,892/tcp,892/udp} --permanent
  8. In the Administration Portal, update the ISO domain’s storage path:

    1. Click Storage Domains.
    2. Click the ISO domain’s name to go to the details view.
    3. Click the Data Center tab and click Maintenance.
    4. When the ISO domain is in maintenance mode, click Manage Domain.
    5. Change the Export Path to point to the new directory, for example: storage.example.com:/var/lib/exports/iso
    6. Click OK.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.