Current time: 11-25-2024, 02:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
Migrating from vhcs on old server to omega on a new server
Author Message
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #1
Migrating from vhcs on old server to omega on a new server
OK, I want to migrate to a new server and at the same time upgrade to the latest nightly version of ispcp omega.

Both servers are debian testing, with the new server having nothing installed yet besides the base.

What's the best way to go about this?

I need to install all the packages on the new server, is there a list of what's required anywhere ?

What vhcs settings need copying over for the upgrade script to attempt to upgrade them to omega?

Would it be better to install vhcs, copy all the settings over from the old server, check that vhcs is working, then try the upgrade ?

Anything else to be aware of ?
02-05-2008 12:13 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: Migrating from vhcs on old server to omega on a new server
do you have testing or etch installed? I don't know if lenny is fully supported yet...
02-05-2008 12:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #3
RE: Migrating from vhcs on old server to omega on a new server
testing is installed on both servers, vhcs has been running on testing for years, however, I should be able to tweak any configs that don't work
02-05-2008 12:28 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Migrating from vhcs on old server to omega on a new server
Quote:I need to install all the packages on the new server, is there a list of what's required anywhere ?
Of course --> http://www.isp-control.net/ispcp/browser...ages-lenny
Quote:What vhcs settings need copying over for the upgrade script to attempt to upgrade them to omega?
You can use the Update Script with the VHCS DB.
Quote:Would it be better to install vhcs, copy all the settings over from the old server, check that vhcs is working, then try the upgrade ?
Why don´t you install ispCP, create the Users or import the DB and then the htdocs + emails ?
Quote:I don't know if lenny is fully supported yet...
lenny is supported!

Greez BeNe
02-05-2008 12:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #5
RE: Migrating from vhcs on old server to omega on a new server
So I just need the vhcs db copied over ?

If I run the upgrade script will it recreate all the users and directories based on the vhcs db ? So all I need to do afterwards is copy over the rest of the user files (db's, mail, web directories etc).

Or, will I need to recreate the vhcs users and directories myself ?
02-05-2008 12:44 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Migrating from vhcs on old server to omega on a new server
The DB structure from vhcs has changed to ispCP so 1:1 will not work.
But you try it with the vhcs DB and the UpdateScript.

Install ispCP, import the DB and copy the vhcs.conf to your new system, the run the updatescript. This should work. Never tested before Rolleyes Only a short brainstorming.

Maybe someone can give more information about it, or you post it in the UpdateScript Thread again.

Greez BeNe
02-05-2008 01:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #7
RE: Migrating from vhcs on old server to omega on a new server
I'll have a try and see what happens, worst comes to the worst I install everything by hand Wink
02-05-2008 01:13 AM
Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #8
RE: Migrating from vhcs on old server to omega on a new server
OK, a brief update for installing on lenny and upgrading afterwards:

Had to change a few packages from the lenny package list and had to use the gentoo apache fcgid config to get it to run as fastcgi isn't available with lenny.

In brief (I will create a proper list if putty has logged everything later)

Updated the package list (proftpd-mysql -> proftpd, libapache2-mod-fastcgi -> libapache2-mod-fcgid, libsasl2 -> libsasl2-2)
Did a debian install as normal
Updated apache config for fcgid calls from the gentoo config
Restarted apache, checked ispcp worked and could login
Copied /etc/vhcs2/vhcs2.conf to the new server /etc/vhcs2/vhcs2.conf
Copied the vhcs2 db over to the new server
Ran the update script

It looks like it's done what I needed, I just need to move all the user files over to the new server Smile
02-05-2008 05:38 AM
Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #9
RE: Migrating from vhcs on old server to omega on a new server
Not quite done everything, the users haven't been created in passwd and shadow
02-05-2008 05:42 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: Migrating from vhcs on old server to omega on a new server
So we maybe had forget to copy the passwd and group Rolleyes

Greez BeNe
02-05-2008 04:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)