PDA

View Full Version : VDSmanager - Migration Tool


VN-Ken
06-18-2009, 07:25 PM
Hello,

Can you have more of an automated migration tool, to migrate a VPS to another slave node?

Yes, I am aware that there is something called move VDS to remote server, but its a pain to use. I am requesting that you enhance it and make it more automated.

slava
06-18-2009, 09:08 PM
This automated tool (move VDS to another node) exist and work perfectly in VDSmanager for FreeBSD system.
For Linux this in the development stage, but it also work - see move VDS to remote server button.

What you needed more than a mouse click? ;)

slava
06-19-2009, 01:04 PM
There is a button above vds list. Move VDS to remote server.
To use it you should create ssh key pair and put public key into file
/root/.ssh/authorized_keys (on destination server). Private key should
be placed in folder /usr/local/ispmgr/etc/keys/<ip>. Where ip is
address of destination server. Or you can give name "default" for this
file. In this case it will be used for any server to move to. Besides,
PermitRootLogin (/etc/ssh/sshd_config) should be enabled on
destination server.
That can't be automated because VDSmanager administrator not always
has root access to server.
There is unnecessary field in VDS move form "Private disk". At this
moment it is usedonly for VDSmanager for FreeBSD. I didn't think yet
how will be with it.
It is fast version. Beta solution for VDS movement. We will try to use
it ourself to understand how it should look like.But we need time to
understand it.


It's only for VDSmanager-Linux

Lars
06-30-2009, 04:11 PM
3 Lines to live-migrate simply from one to another Node (such as HyperVM VPS):
On the old Node:
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub "-p 22 root@new.node.tld"
vzmigrate --ssh="-p 22" --online new.node.tld VPSID
This works perfectly wonderful for me. You can use this for instance in VDSManager-Linux. Requirement is to set the SSH-Port at the slave server settings and make a button to generate a public key. ;)

genroxbro
07-18-2009, 11:38 PM
I have been using Mercury/32 since the latter 1990s. Seems like its time to migrate from that product. A friend recommended hMailServer.

I can definitely use a migration tool like the one mentioned above.
_____________________________________