Reclaiming a repository in a different or new Oracle VM Manager

Ronnie Kalisingh 2
0 0
Read Time:1 Minute, 7 Second

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.

Current situation:
mote_repo - situation

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:
move_repo - 2 - repo info

Use the command “mounted.ocfs2 -d” to check the current cluster id of the repository:
move_repo - 1 - ovm104 (new)

The cluster id will match with the cluster id in Oracle VM Manager:
move_repo - 4 - get cluster id

Release ownership of the repository:
move_repo - 3 - release ownership

Use the command “fsck.ocfs2 <PATH>” to reset the cluster id:
move_repo - 6- new cluster id

The repository now has the cluster id of the 3.1.1 environment:
move_repo - 7 - new cluster id

move_repo - 8 - new cluster id

Re-scan the shared file system and take ownership:
move_repo - 9 - refresh file system

move_repo - 10 - take ownership

Refresh the repository:
move_repo - 11 - refresh repo

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.

About Post Author

Ronnie Kalisingh

Ronnie is an Oracle consultant at AMIS. He is specialized in Oracle database (Data Guard, RAC, ASM, RMAN, SQL, PL/SQL) and has experience with EM Cloud Control, Oracle VM Server, Oracle Failsafe, Oracle Fusion Middleware, Oracle/Red Hat Linux, ODA (bare metal/virtualized).
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

2 thoughts on “Reclaiming a repository in a different or new Oracle VM Manager

  1. Thanks for this info. You may want to clarify when you run fsck.ocfs2 that it’s being run from the OVM server that you’re trying to attach the repository to. Took me a second to figure that out.

  2. Hello Ronnie,

    Very good post, I have a question . Why you dont release directly the “current” repository ?.
    Only for hava a backup ?.

    Regards.
    NL

Comments are closed.

Next Post

Oracle REST Data Services (ORDS)

While preparing for writing an article about “Oracle API Platform Cloud Service” I wanted to quickly be able to generate example JSON payload’s based on some tables in the “HR’ schema. To achieve this, I came across “Oracle REST Data Services (ORDS)” and wanted to know more about it. In […]
%d bloggers like this: