oVirt 4.4 : Add Data Domains2021/07/28 |
Add Data Domains that disk images of VM or ISO images of OSs and others are stored.
This example is based on the environment like follows. +-----------------------+ | +-----------------------+ | [ Admin Node ] |10.0.0.30 | 10.0.0.25| [ oVirt Engine ] | | dlp.srv.world +----------+----------+ ctrl.srv.world | | | | | | +-----------------------+ | +-----------------------+ | +-----------------------+ | +-----------------------+ | [ Shared Storage ] |10.0.0.35 | 10.0.0.51| [ oVirt Node ] | | nfs.srv.world +----------+----------+ node01.srv.world | | | | | +-----------------------+ +-----------------------+ |
[1] | Configure share for a Data Domain on NFS server. Set [/var/lib/ovirt-share/data] for it on this example. |
[root@nfs ~]# mkdir -p /var/lib/ovirt-share/data [root@nfs ~]# chown vdsm:kvm /var/lib/ovirt-share/data
[root@nfs ~]#
vi /etc/exports.d/ovirt-engine-data-domain.exports # set share for Data Domain (replace for your environment)
/var/lib/ovirt-share/data 10.0.0.0/24(rw)
[root@nfs ~]# systemctl restart nfs-server |
[3] | Login to oVirt Web Admin Portal and Click [Storage] - [Domains] on the left pane. |
[4] | Click [New Domain] button on the top of right pane. |
[5] | Input any name for [Name] field, select [Data] for [Domain Function] field, input the share path on NFS Server for [Export Path] field. For other items, they are optional. |
[6] | If succeccfully configured, new Data Domain is attached to selected [Data Center] and activated. |
Sponsored Link |