PDA

View Full Version : Migrating Users from OldIP to NewIP on a new DA machine



ktizo
12-07-2008, 12:23 AM
Hi,

I can't seem to find a clear direction on doing this migration.

To put it simply:

DA1 (oldIP) -> DA2 (newIP)

If I do a Admin/Backup restore to the DA2 from DA1, will this work?
If I do that, all the users will now be using the Shared IP of DA2 instead of DA1, will DA2 update the DNS for every domain accordingly?

As DA1 is also the namerserver for all the domains,

1) Will there be a conflict as both servers are running the same users with same domain. (multiserver setup with domain check)
2) Do I need to update the DA1 DNS and point all domains to DA2 or is it done automatically?

If someone has successfully done this, please share your experience.

iceuk626
12-07-2008, 01:13 AM
I use the admin backup all the time, I just create the backup, scp it to the new server then restore it. The restore option gives you a choice of IP.

ktizo
12-07-2008, 01:19 AM
If I'm to choose the shareIP on the new server, will it update the DNS records on the old server which is also a nameserver?

As this upgrade is from mysql4 to mysql5 and Apache 1.3 to Apache 2, php4.4 to php5, so I really want to see how the sites behave on the new server/platform before I change the DNS on the namerserver.

I forsee much problems especially on the database end.

Will the restore upgrade the DB from mysql4 to 5 automatically?

iceuk626
12-07-2008, 06:34 AM
You would need to make sure the nameservers for each domain are pointing at the new server.

Ive not really had any mysql problems from upgrades.

ktizo
12-07-2008, 11:14 PM
wonderful, that's nice to know.

One more thing, do you think I'll have any problems if I do an Admin/Backup restoration of 2 old DA machine into 1? Will there be conflict on the admin account?

iceuk626
12-08-2008, 12:55 AM
The admin user details would be overwritten.

ktizo
12-08-2008, 02:06 AM
Thanks, I think I'm getting it now.

midas
12-10-2008, 12:40 AM
Will the restore upgrade the DB from mysql4 to 5 automatically?
NO, you will need to install mysql5. dont forget to rebuild php5 also.