Current time: 11-15-2024, 06:03 PM Hello There, Guest! (LoginRegister)


Post Reply 
Migrating from CentOS to Debian
Author Message
rethus Offline
Junior Member
*

Posts: 202
Joined: May 2009
Reputation: 3
Post: #3
RE: Migrating from CentOS to Debian
(05-31-2010 06:46 PM)olindata Wrote:  My question is: what do I need to do to make all of this work on the new system as well? Here's things I am worried about:
a) Do I need to create the same vu20* users on the new box and make sure the same sites are running under the same users?
b) Do I need to change something on the database side? My DB server runs separately, so I can just connect the new machine to the old database.

a) jes, that would make thinks much easyer, cause the user are also stored in the ispcp DB, and need to be simlar with the physicaly one
I suggest: Use rsync to copy the data to the new machine, change the owner:grp for each user and have a try.

TIPP: There are a CLI Script in the wiki.. with it u can rechange the user-settings of a domain-account automaticly like it set in the DB. Have a look here:WIKI
There is the file domain.php, look into this file... there is a switch/case/ section for Parm --fix_htdocs_owner this makes all the stuff...

use it like this:
Quote:/usr/bin/php domain.php --domain test.com --action fix_htdocs_owner
should work.

b)Still i now, you don't need to change anything on db-side, such long u use the same ip.

TIP: It could be a little bit difficult to switch to another server, which has the same ip, cause u can't do any testing before switching the DNS to the new Server. Be aware if both servers with same ip are at the same time online, may cause in bad side-effects with cconffusing results.
(This post was last modified: 06-09-2010 08:17 PM by rethus.)
06-09-2010 08:09 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Migrating from CentOS to Debian - olindata - 05-31-2010, 06:46 PM
RE: Migrating from CentOS to Debian - mr.x - 05-31-2010, 10:10 PM
RE: Migrating from CentOS to Debian - rethus - 06-09-2010 08:09 PM

Forum Jump:


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