Changing VM Numbering to Merge VH Clusters

mynard

New Member
Sep 30, 2010
4
0
1
Hi There

I have two seperate clusters using the Same ISCSI NAS. One is a LAN Cluster(consisting of three Servers) and the Other a DMZ cluster(Consisting of two Servers)

I only realized now that when using the LVM based Storage that the Disks are named in accordance to the VM Number, vm-102-disk-1 etc.

My problem is that I now have VM's on the LAN cluster with the same numbering as VM's on the DMZ cluster, and both Clusters using the same central storage. The way I see it I can either add a third NIC to each server and put them all in one cluster with one NIC for Storage(ISCSI) then one NIC for LAN and one NIC for DMZ.

or I can somehow change the DMZ VM's to have four digit server numbers.

any advice on how to go about doing this would be really appreciated

Regards,

Mynard...
 
is backup/restore an option?
 
I think that might be an option when moving the machines all to one cluster .. Actually haven't thought of that, was under the impression that backing up vm-102 on the one cluster and trying to restore it on the other would end up replacing the vm-102 on the second cluster ..

~M~
 
see this log, a restore from my VM (had the ID 104 and the disk LVM-on-ISCSI:vm-104-disk-1):

Code:
qmrestore vzdump-qemu-104-2010_09_30-13_30_02.tar 9001
INFO: restore QemuServer backup 'vzdump-qemu-104-2010_09_30-13_30_02.tar' using ID 9001
INFO: extracting 'qemu-server.conf' from archive
INFO: extracting 'vm-disk-virtio0.raw' from archive
INFO:   Rounding up size to full physical extent 10.00 GB
INFO:   Logical volume "vm-9001-disk-1" created
INFO: new volume ID is 'LVM-on-ISCSI:vm-9001-disk-1'
....
 
Excellent ... thanks for pointing me in the right direction ... I should have probably experimented before posting. ;)

Thanks again

~M~
 
Thanks Dietmar .. That will actually make it allot easier .. cause that way I can still physically seperate my DMZ and LAN

REgards,

~M~