View Single Post
Old 06-12-2009, 09:11 AM   #1
Junior Member
 
Join Date: Jun 2009
Posts: 3
joesdc is on a distinguished road
Cool How I migrated from HyperVM to VDSmanager

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.

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.

Good Luck
joesdc is offline   Reply With Quote