3.3. Migrating the ISO Domain
This procedure shows you how to migrate the ISO domain from RHEV-M 3.6 to 4.0, using the
iso_domain.tar.gz
backup file that you created in Section 3.2, “Upgrading to Red Hat Virtualization Manager 4.0”.
Note
The ISO domain should not be in the Manager virtual machine.
- Create an export directory and set its permissions:
mkdir -p /var/lib/exports/iso chown -R 36:36 /var/lib/exports/
# mkdir -p /var/lib/exports/iso # chown -R 36:36 /var/lib/exports/
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Extract the ISO domain backup to this directory:
cd /var/lib/exports/iso tar zxf iso_domain.tar.gz
# cd /var/lib/exports/iso # tar zxf iso_domain.tar.gz
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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/
# chcon -R system_u:object_r:public_content_rw_t:s0 /var/lib/exports/iso/
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create
/etc/exports.d/ovirt-engine-iso-domain.exports
with the following line:/var/lib/exports/iso *(rw)
/var/lib/exports/iso *(rw)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the following lines in
/etc/sysconfig/nfs
:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enable the
nfs
service:systemctl enable nfs systemctl start nfs
# systemctl enable nfs # systemctl start nfs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Allow services and ports with firewalld:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow