Oracle VM
Last updated
Last updated
The Oracle VM environment requires you to create storage used for VM export. The export storage repository should also be accessible by vProtect Node in its staging directory. This implies that storage space doesn't have to be exported by vProtect Node - it can be mounted from an external source. The only requirement is to have it visible from both OVM hosts and Node itself. Keep in mind that ownership of the files on the share should allow both vProtect and OVM to read and write files.
crash-consistent snapshot is taken by OVM during hot-clone of the VM
data + metadata exported by the manager to the vProtect staging space (visible as the export Storage Repository in OVM)
full backup only is supported
OVM exports are limited to 1 task per Storage Repository being used by VM (this is the _**_limitation of OVM)
restore is done to the export Storage Repository, the administrator needs to clone the VM using manager UI
Note:
If the virtual machines are running on NFS storage, you must shut down the Oracle virtual machines to perform the backup
Make sure the NFS share have the vProtect user UID and GID
The directory under / vprotect_data needs to be the same name as the OVS server pool name
Oracle VM needs to disable services (nfslock , rpcbind)
Restore of VM is multi-step
Restore to the staging space on vNode
Move VM from the staging space to the Oracle protection repository
Migrate the VM into the Oracle server pool
Oracle VM environments require storage repositories to be defined for each server pool and must be mounted on vProtect node.
Create a repository from NFS share on vProtect node
One server pool should have a separate subdirectory in the export path i.e. /vprotect_data/pool01
, /vprotect_data/pool2
- each subdirectory is a separate NFS share
The export (staging) path in the above-mentioned scenario is still /vprotect_data
, while pool01
and pool02
are server pool names
Specify mapping between server pool names and storage repository names in the hypervisor manager configuration
Note that the export must be set to use the UID and GID of the vprotect
user
Example export configuration in /etc/exports
to the selected hypervisor in the RHV cluster:
where anonuid=993
and anongid=990
should have the correct UID and GID returned by command:
Both import and export operations will be done using these NFS shares – restore will be done directly to this storage domain, so you can easily import the backup into the Oracle VM environment
Backups must be restored to the export path (the node automatically changes the names to the original paths that are recognized by the OVM manager.
Create a DDBoost device
Create NFS share
Mount the DDBoost device on vProtect Node
Create symbolic links for the OVM Pool name (MyServerPool) to BoostFS mount point command, for example: ln -s /vprotect_data /MyServerPool
Create a Storage Server for DD NFS Share
Create a Repository using DD
Add the OVM Hypervisor Manager to vProtect Note: You can get the "Storage Repository ID" from the "OVM repositories" menu shown in the previous step
An example of how "OVM" objects should look after resource synchronization
Example of Backup Destination Configuration
That's it, now you should be able to back up your environment