Setting up a redundent server

xSite

New member
Joined
Jan 1, 2011
Messages
1
Hi all,
like the DA knowledge base says "Many server admins are always looking to add a level of redundancy to their systems. DirectAdmin is ultimately designed around a single-server principle, and mirroring of User data is not a default option in DA."

Well, im like one of those many server admins and i start designing my redundent solution:

two servers on two diffrent datacenters with diffrent networks each server has its own directadmin license:

1. /home directory will be synced using rsync so users data will be allways up to date
2. MySQL will run as replication on both servers master-slave

thats basically covers 80% of the work
whats left is:
1. How to duplicate directadmin user creation on both servers
2. how to move the users from server a to server b when a is down.
(and not using it like - load balance style where i use ns1+ns2 one for each server)

any ideas ?
1. how to
 
1. Sync system password files in /etc/ directory according to your OS type. Sync /usr/local/directadmin/data/users/ directory.

2. Why do you want to move them? I think, you'd better switch server A to B, if A is not available with BGP.
 
2. You don't. You don't want to.

Actually you can, but only if you put both servers, with the same IP#s, behind a load-balancing appliance (which can also be used for redundancy) Then you're spending a lot of money to have another point of failure.

Why don't you want to? Because you're only doing rsync in one direction; you don't want your clients to make changes on the second server.

Jeff
 
It's simple :)

Use a cloud service instead of a dedicated server... Much easier and you can spin up VMs if anything goes wrong... The data center handles the redundancy and looks as if you are only runing 1 machine.

Worth the extra few dollars if your running a production enviroment, the tools and services makes it so simple, and all Jeff has to do is change your license IP or create a new license with the proper IP and transfer the permissions :)

Good Luck
 
all Jeff has to do is change your license IP or create a new license with the proper IP and transfer the permissions
Not me, I don't do that. I'm not an employe of JBMC (the company behind DirectAdmin). For licensing stuff you'll need to contact DirectAdmin Sales.

Jeff
 
Keep me posted, how you are doing, we did this in the past, and decide to limit the amount of users on a server. Other ways where to expensive compare the benefits of it.
 
@drackox:

Do you mean an elastic cloud such as tht run by Amazon, or do you mean something like a VPS? Or something else?

Jeff
 
Back
Top