For the upgrade of Oracle VM Server 3.1.1 to version 3.4.3 we decided to create a new repository and mount this repository to the current Oracle VM environment. After cloning the virtual machines to the new repository we reclaim the repository and can start the virtual machines on the new Oracle VM environment.
The following procedure describes the steps taken to migrate the virtual machines to the new Oracle VM 3.4.3 environment.
We have two Oracle VM Servers and Managers (version 3.1.1 and 3.4.3) and two repository LUNS. The new repository is currently owned by the 3.4.3 environment.
Find the correct path in Oracle VM Manager:
Use the command “mounted.ocfs2 -d” to check the current cluster id of the repository:
The cluster id will match with the cluster id in Oracle VM Manager:
Release ownership of the repository:
Use the command “fsck.ocfs2 <PATH>” to reset the cluster id:
The repository now has the cluster id of the 3.1.1 environment:
Re-scan the shared file system and take ownership:
Refresh the repository:
You can use the clone functionality of the VM Manager to copy the virtual machines to the new repository.
Repeat the procedure and reclaim the repository on the new Oracle VM environment.