I've currently got an OVM server that has all it's storage on "Unmabaged FibreChannel Storage Array". All of these disks are assigned via SVC. We have recently upgraded our storage and are in the process of migrating out of our "end of life" storage and into our new. Both are on the same SVC IO group. For many of our other physical servers, we have used LVM to migrate live filesystems to the new storage, then removing the old. I have not been able to figure out a way to effectively do this with my OVM environment. Has anyone out there moved an OVM installation that wasn't NFS?
I actually have to do this with 2 OVS but they are in different datacenters and do not utalize HA due to the storage setup. If it is possible for me to migrate some of my VMs to that other server (even manually) to aid in this procedure, I'd be willing to entertain that as well. I have an OVM test environment with the same basic setup as my production servers (with a lot less resources) that I can use to test solutions.
This is a production OVS so I'l like to have as little down time as possible but at this point I'll just be happy if I can move it. Any assistance would be appreciated.
Create a new repo on your new storage. Clone or move your existing VM guests to the new repo. Startup your new clones. Supposedly you can create a hot clone if the guest on FC or ISCSI. Never tried it. All my repos at the moment are on NFS.
If you storage allows replication. You could probably replicate your repos and retain the proper UUIDs for your existing repos. Depends on the product you use. You could then just disconnect your old storage. If you're going to move across repo types. Then move/clone is the only method I've used. I always shutdown the guest.
Your answer is exactly correct and has allowed me to move my VMs. One issue remains however, my pool filesystem is also on FC storage attached to the server. I can create a new server but when I try and move it into a new pool (still attached to the OVS but assigned from my new storage) I am unable to move the server. I get receive the following...
Job Construction Phase
com.oracle.ovm.mgr.api.exception.RuleException: OVMRU_000036E Cannot remove server: challengertest.systems.wvu.edu, from pool: challengertestpool. There are still OCFS2 file systems: [fs_original, fs_clone], in the pool
...and so on...
The fs_original is the repo that is on my old storage, the fs_clone is the repo on the new storage. These are both unpresented to the server. I also have already moved my VMs into the "Unassigned Virtual Machines" folder. There are no files/imgs/etc on the fs_original, everything has been copied to the fs_clone.
Any clue how to move the server into the newly created pool? Or even to delete it and rediscover it? When I try and delete it I get the same message as I do when trying to move it (the one above).
Oracle VM Manager
Oracle VM Server
Not sure where to check the build.
I understand that the Manager and Server "should" be the same version. I wanted to test as much of this on my upgraded manager before upgrading the hypervisor.
You help is greatly appreciated!
Oh, and to answer the 2nd part of the question... I have tried it both ways, trying to move the server to Unassigned before and after adding the new pool FS. Both react the same way. Those 2 repo fs are still attached to the server but not presented. If that makes any sense.
I am in the process of upgrading both the Manager and Server to 3.2.1, that appears to be the latest they have available. Yes, Oracle support will tell you that different versions are not supported. I'll update this thread once I see if upgrading the machines helps out.
can you remove the old repository and/or make sure that the server you are trying to move is not a management server for it? Also, the most recent version is 3.2.2 which was released just a few days ago. I updated today without any issues.