You are here

Restore Oracle VM Manager

Restore Oracle VM Manager

The ability to quickly restore Oracle VM Manager is an essential Oracle VM lifecycle operation. If the goal is to start over without the need to preserve previous Oracle VM server pools, an Oracle VM Manager Database repository reset or an Oracle VM Manager uninstall and reinstall will provide a clean, new Oracle VM Manager setup. If the goal is to recover Oracle VM Manager on the same host, while preserving previous Oracle VM server pools, reset the Oracle VM Manager Database repository. If the goal is to recover Oracle VM Manager on a new host, install Oracle VM Manager using the UUID restore switch, and rediscover the Oracle VM servers, and server pool resources. An Oracle VM Manager Database repository reset, and a UUID restore enables Oracle VM Manager to re-discover existing server pools without interrupting running Oracle VM Servers and virtual machines. 
 
Oracle VM Server pool configurations are stored in each server pool's pool file system (poolfs). Oracle VM Manager Database repository resets, and UUID restores do not delete the existing server pool configurations from the pool file system, but they do delete the user friendly object names in the Oracle VM Manager Database repository. Oracle VM Manager Database repository resets, and UUID restores can be done without interrupting running Oracle VM Servers and virtual machines, i.e. no impact to running Oracle VM Servers and virtual machines.
 
Table 9 list the Oracle VM Manager Restore Options:
Use Case Oracle VM Manager Recovery Options
Provide a clean, new Oracle VM Manager setup.
 
Note: To reuse Oracle VM Servers in a new server pool, first wipe each Oracle VM Server's cluster data before discovering in Oracle VM Manager. For example, on each Oracle VM server, as root type:
service ovs-agent stop
rm -fr /etc/ovs-agent/db/*
rm -fr /etc/ocfs2/cluster.*
rm -fr /etc/sysconfig/o2cb
service ovs-agent start
/etc/init.d/iscsi stop # iscsi only
rm -fr /var/lib/iscsi  # iscsi only
reboot
Once the cleaned servers reboot, discover each Oracle VM server using Oracle VM Manager. By default the networking set-up from the privious server pool is preserved.
1) Uninstall and Reinstall Oracle VM Manager.
2) Reset the Oracle VM Manager Database repository.
A detailed how-to is below.
Recover Oracle VM Manager on the same host with previous Oracle VM server pools and resources.
 
Note: If Oracle VM Manager crashes and is unrecoverabble, uninstall and reinstall using the UUID switch. Resetting the Oracle VM Manager Database repository and UUID restores both enables Oracle VM Manager to re-discover existing server pools. Oracle VM Manager can be restored without interrupting running Oracle VM Servers and virtual machines.
Reset the Oracle VM Manager Database repository.
A detailed how-to is below.
Recover Oracle VM Manager on a new host with previous Oracle VM server pools and resources.
 
Restoring Oracle VM Manager on a new host includes a Oracle VM Manager installation with the UUID restore switch (-u, or --uuid) using the UUID from the previous Oracle VM Manager installationfollowed by discovering the Oracle VM Server, and configurating the storage in Oracle VM Manager. The UUID restore switch enables Oracle VM Manager to re-discover existing server pools. Oracle VM Manager can be restored without interrupting running Oracle VM Servers and virtual machines.
Install Oracle VM Manager using the UUID restore switch, then discover the resources.
A detailed how-to is below.
Download PDF Now!