Disaster recovery and changing VMID of a storage volume

jhammer

Member
Dec 21, 2009
55
1
6
Is it possible to change the VMID associated with a storage volume?

We are using iSCSI SAN replication to replicate the disks for our VM's to a remote location. In case of disaster we have a standalone Proxmox server connected to the DR SAN. At the DR site, when I re-detect the disks and add them as storage in the proxmox interface, I can browse the different storage volumes and see my old disks...they have a VMID associated with them. So let's say in re-creating all of the old VM's on this standalone server, I create one with VMID 111 which was VMID 109 on the old cluster...Well, that VM cannot see the old disk unless I recreate the VM with VMID 109. So, is it possible to just change the VMID associated with the storage from 109 to 111?

Would it make more sense to make the DR proxmox server a cluster member, so it would have all the VM's already configured? Would there be issues synching the cluster remotely like that?

Thanks!
 
I create one with VMID 111 which was VMID 109 on the old cluster...Well, that VM cannot see the old disk unless I recreate the VM with VMID 109.

Why dfon't you simply use the same ID?

So, is it possible to just change the VMID associated with the storage from 109 to 111?

you can rename the files manually.


Would it make more sense to make the DR proxmox server a cluster member, so it would have all the VM's already configured? Would there be issues synching the cluster remotely like that?

Cluster members needs to reside in the same (local) network. But you can use rsync to sync the config files.