此内容没有您所选择的语言版本。
2.8. Migrating the ISO Domain from 3.6
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.
The new directory for the ISO domain must not be on the Manager machine.
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.
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/
# 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
: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
# 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
Copy to Clipboard Copied! Toggle word wrap Toggle overflow In the Administration Portal, update the ISO domain’s storage path:
-
Click
. - Click the ISO domain’s name to go to the details view.
- Click the Data Center tab and click Maintenance.
- When the ISO domain is in maintenance mode, click Manage Domain.
- Change the Export Path to point to the new directory, for example: storage.example.com:/var/lib/exports/iso
- Click OK.
-
Click