Monday, July 9, 2012

Practical experience of migrating from HyperVM to VDSManager

October 19, 2009 by  
Filed under General, HyperVM

This is originally posted by JOEsDC in WHT. It may come to use others’ help.


I was able to successfully migrate all my hypervm nodes to VDSmanager without any data loss. Here are the steps I took.

NOTE: I was running an up to date version of CentOS 5.3 x86_64 on all my nodes. I cannot guarantee this will work for you. Be sure and make a backup before doing this. I also licensed all my servers for VDSmanager before starting

Step 1. (Shut down HyperVM and remove it from the sytem)

# service hypervm stop
# rm -rf /usr/local/lxlabs/
# rpm -e lxphp lxzend lxlighttpd

*if your old vps configs had proper hostnames skip to step 3.

Step 2. (Fix hostname in VPS configs)

Note: HyperVM let you have VPS containers with incomplete hostnames such as “server” instead of “server.com”. This will cause VDSmanager to give an error when you try to view the running VDS’s. After fixing this my virtual servers started showing up on the main page list before that it just gave an error.

# cd /etc/sysconfig/vz-scripts/
# ls -l ( You should see all your VPS configs ending in .conf)

Open each one in your favorite text editor and make sure the line HOSTNAME=”hostname” is a complete hostname

Example:
HOSTNAME=”hostname” > WILL NOT WORK
HOSTNAME=”hostname.local” > WILL WORK

Step 3. (Install VDSmanager)

# wget “http://download.ispsystem.com/install.sh”
# sh install.sh

NOTE: During the installation I chose to install the minimum. This worked for me but I cannot guarantee it will work for everyone. I have not tried installing it with the other options.

When it is done it will ask you to reboot go ahead and do so now.

Step 4. (Log into VDSmanager)

In a web browser go to this site
https://hostname-or-ip/manager/vdsmgr

Hopefully you will be able to log in and view all your running VPS containers.

After doing this on all my servers I added the old slave servers as a slave on my main VPS node and can now view all my clients from the main screen.

GD Star Rating
loading...
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Related posts:

  1. HyperVM A multi-Virtualization Software: Boon For VPS Hosting Providers
  2. Installing and configuring monit to monitor your server(s)

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!