on multi-server setup, how to transfer user to another?

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
hi

on a multi-server setup, how can i transfer one user to the other server?

maybe i just have a difficult time understanding what multi-server setup in directadmin does.

i know that it shares DNS but what does that mean?

does that mean, i only need ns1.myserver.com and ns2.myserver.com and any new customer that signs up with just need to use those name servers?
 
i have been actually in the process of migrating my old server to a new server without any down time. and this is intriguing me and want to know if i can do this?


lets say i have two servers.

serverA(current server) and serverB(new server i wish to migrate everything to).

i set up multi-server setup.

on serverA's directadmin, i enable multi-server setup and I add the ip of my serverB.

now, i copy all the users from serverA to serverB with the backup export import feature.

now, i want to get rid of serverA because serverB seems to be working fine.

I just unplug serverA because i no longer need it.

change my IP address of serverB.

can this be done?

if this can be done, i'd have virtually little to no down time when im switching server.

i'd like to know the answer asap.
 
Hello,

This is our intro guide to the multiserver setup:
http://help.directadmin.com/item.php?id=97

In regards to moving users between the boxes, on the server that is doing the import, if the dns settings for that user/domain already exist, you'll have to remove the dns zone prior to doing the transfer or DA will complain that the domain already exists.

To delete the zone to get rid of the "domain already exists" message, do:
On the restoring box: Admin Level -> DNS Administration -> select the domain and delete it. This will remove the zone locally, and on the remote dns box. You can now restore the domain normally, and the remote zone will be created with the new IP information.

As some additional information, there are 2 options in the Admin Level -> Multiserver Setup, for each server.
- domain check - this checks to see if the domain exists on the remote box during creation, to prevent creation if it does exist.
- zone transfers - when a zone is to be created, the domain will be created on this IP as well.

John
 
Hello,

This is our intro guide to the multiserver setup:
http://help.directadmin.com/item.php?id=97

In regards to moving users between the boxes, on the server that is doing the import, if the dns settings for that user/domain already exist, you'll have to remove the dns zone prior to doing the transfer or DA will complain that the domain already exists.

To delete the zone to get rid of the "domain already exists" message, do:
On the restoring box: Admin Level -> DNS Administration -> select the domain and delete it. This will remove the zone locally, and on the remote dns box. You can now restore the domain normally, and the remote zone will be created with the new IP information.

As some additional information, there are 2 options in the Admin Level -> Multiserver Setup, for each server.
- domain check - this checks to see if the domain exists on the remote box during creation, to prevent creation if it does exist.
- zone transfers - when a zone is to be created, the domain will be created on this IP as well.

John

Hello,

Are you planning in upcoming versions of DA have other type of MultiServer Setup? I mean an option inside DA to select the remote MYSQl Server or Email? I know that we can use a remote MYSQL but theres no option in the DirectAdmin Panel for that...We need to do manually in the conf....

Thanks for great product:)
 
DNS is very easy because the zones are simply mirrored.

Setting up a remote mysql server requires more work on the other end, so having a local option to add 1 line into the mysql.conf file is probably overkill, seeing how you have to do everything else manually on the remote end anyway.

Email is very difficult because it requires a system account for each user/domain, as it does locally. Perhaps if the entire user account was duplicated on the other end, it would be possible to allow realtime access of of the email user/password list from another box, but the rest of the setup would still have to be done through DA on the box the email is on.. there are just so many aspects to the email setup, it would get messy very quickly.

We did name it "multiserver setup" in the event that we do add more funtionality though, but it's it's currently just dns.

John
 
DNS is very easy because the zones are simply mirrored.

Setting up a remote mysql server requires more work on the other end, so having a local option to add 1 line into the mysql.conf file is probably overkill, seeing how you have to do everything else manually on the remote end anyway.

Email is very difficult because it requires a system account for each user/domain, as it does locally. Perhaps if the entire user account was duplicated on the other end, it would be possible to allow realtime access of of the email user/password list from another box, but the rest of the setup would still have to be done through DA on the box the email is on.. there are just so many aspects to the email setup, it would get messy very quickly.

We did name it "multiserver setup" in the event that we do add more funtionality though, but it's it's currently just dns.

John

Thanks for your reply:)
 
Back
Top