Migrating a cluster to another

bethebeast

New Member
May 15, 2011
5
0
1
Hello,

Before i begin, let me say that my English is not very well, so forgive me if i make mistakes.

Here's my situation:

- Two Proxmox 1.9 servers in cluster
- Master server (call it server A), with two VM 102 and 103
- Slave server (server B) with three VM 101, 104 and 105

We need to change our servers by others more powerful.

The new server (server C) must be the master and server D the slave.

Question: how to do this migration?

I thought to do this: Configure the servers C and D as a slave, then do a live migration of VMs from server A to C, and VMs from B to D.

Then remove the rank of master server from the server A, slave servers B, C and D. And finally, put C the master server, and the server D as a slave.

But, i read this in the wiki:

Remove a cluster node

Through the Central Management Web-based virtual machines all move out of the node you remove from the Need to cluster.

So, i don't know how to carry out this migration :(

Do you have any suggestions for me?

Thank you for your help :)
 
Hello,

Before i begin, let me say that my English is not very well, so forgive me if i make mistakes.

Here's my situation:

- Two Proxmox 1.9 servers in cluster
- Master server (call it server A), with two VM 102 and 103
- Slave server (server B) with three VM 101, 104 and 105

We need to change our servers by others more powerful.

The new server (server C) must be the master and server D the slave.

Question: how to do this migration?

I thought to do this: Configure the servers C and D as a slave, then do a live migration of VMs from server A to C, and VMs from B to D.

Then remove the rank of master server from the server A, slave servers B, C and D. And finally, put C the master server, and the server D as a slave.

But, i read this in the wiki:



So, i don't know how to carry out this migration :(

Do you have any suggestions for me?

Thank you for your help :)
Hi,
your storage is shared and accessible from all nodes? Otherwise the live migration will fail.
What about "break old cluster; generate new cluster; copy templates/iso to new cluster; join old nodes to cluster; do live-migration; remove old nodes from cluster"?

Or just stop VM, backup them and restore on new cluster.

Udo
 
Thank you Udo for the quick response!

Hi,
What about "break old cluster; generate new cluster; copy templates/iso to new cluster; join old nodes to cluster; do live-migration; remove old nodes from cluster"?

Good idea, but is there an impact on the working of VMs if i do that? is there any precautions?
(I forgot to mention that all my VMs are KVM)

Or just stop VM, backup them and restore on new cluster.

By following this procedure ?
http://pve.proxmox.com/wiki/Backup_-_Restore_-_Live_Migration#Restore_with_vzrestore_and_qmrestore

I think this method is the simplest, am i wrong?

Best regards.
 
Thank you Udo for the quick response!



Good idea, but is there an impact on the working of VMs if i do that? is there any precautions?
(I forgot to mention that all my VMs are KVM)
Hi,
there should no impact for the running VM. If you join to a new cluster, your iso and images are synced from the new master - if there less than on the joining node these files will be deleted (can be an impact).
By following this procedure ?
http://pve.proxmox.com/wiki/Backup_-_Restore_-_Live_Migration#Restore_with_vzrestore_and_qmrestore

I think this method is the simplest, am i wrong?

Best regards.
right,
simple and you have the runnable VM on the "backup"-server - but on the other hand downtime.

Udo
 
Hi,

yep, i have tried the last night like this :

- delete the cluster nodes (master and slaves)
- create the new cluster (master server C)
- recreate the slave in other server an djoin the new master
- do the live migration

This method is great and very simple :)

Other question : is it possible to make a local directory shared ?

Best regards