This configuration is possible?

alexander007

Verified User
Joined
Nov 26, 2007
Messages
25
Look at this diagram: http://img408.imageshack.us/my.php?image=damy2.jpg

I read that I can have the MYSQL server hosted in other server...But this configuration DA still hace the control on the mysql services?

Also I would like to install the DNS in other server...Or just have the Primary DNS in DA and the slave DNS on other server...I can do this? HOw? I see some post but Im not clear about that...

Also I would like to have a full redundancy of DA...If anything goes wronmg the other server will take the place of the first DA...

Thanks for your help and for a great software
 
Last edited:
Yes, this configuration is possible...
Debian, OpenVZ, heartbeat, rsync, Zabbix and some bash scripts. :)
One important thing: no IP/MAC pairs filtering on routers by your ISP.
 
I continue searching and know im clear that I can do the MYSQL part and the DNS part with the script master2slave...

But what about the rsync betwen the DA with other that will take it over if it fails...Does anyone already do that here? How?

Thanks
 
Setting up DA to use a remote mysql server:
http://help.directadmin.com/item.php?id=140

How the multi server dns clustering works
http://help.directadmin.com/item.php?id=97

What options do I have for setting up an external dns server?
http://help.directadmin.com/item.php?id=138

For MySQL: Use PowerDNS on your external servers. We do it with 2 remote servers in The Netherlands. You've only add two lines in your named.conf on the primary server.

Thanks Randy...

But I dont understand this: For MySQL: Use PowerDNS on your external servers. What do you mean with this?
 
Setting up DA to use a remote mysql server:
http://help.directadmin.com/item.php?id=140

How the multi server dns clustering works
http://help.directadmin.com/item.php?id=97

What options do I have for setting up an external dns server?
http://help.directadmin.com/item.php?id=138

For MySQL: Use PowerDNS on your external servers. We do it with 2 remote servers in The Netherlands. You've only add two lines in your named.conf on the primary server.
You didn't wrote a word about the HA of DA, which is in fact the
main component of the whole installation.
 
what is HA?
HA = high avability = at least 2 servers having the same data
and beeing ready to take in case of an failure of the other one
all the jobs/requests in a very small period of time. ( seconds )
This what the second DA Dell 2650 with a notice named "backup"
on you diagram is.
 
HA = high avability = at least 2 servers having the same data
and beeing ready to take in case of an failure of the other one
all the jobs/requests in a very small period of time. ( seconds )
This what the second DA Dell 2650 with a notice named "backup"
on you diagram is.

Ah ok...you are talking about my diagram....I think you are talking about an option of DA
 
What Basically what I want to do is:

1. Have a DA server running web/email/DNS.
2. Have a backup server with a copy of the Server 1 - it will work if Server 1 fails.
3. Have another server running another DNS/MYSQL
 
No, we only use 3 DNS servers (1x DA, 2x PowerDNS slave) and 3 MySQL servers (1x DA en 2x remote with replication). Automatic fallover is hard to configure. We use serveral virtualised machines so we can 'swap' almost realtime between diffrend hardware if there is a faillure.
 
No, we only use 3 DNS servers (1x DA, 2x PowerDNS slave) and 3 MySQL servers (1x DA en 2x remote with replication). Automatic fallover is hard to configure. We use serveral virtualised machines so we can 'swap' almost realtime between diffrend hardware if there is a faillure.

But with hearbeat thats no a problem I think...I will have two exact servers...same specs sam configuration....I will rsync the DA server with the other....then with heartbeat is the principal goes out...then the IP of he DA will pass to the second server who have already all from the first server....

http://img208.imageshack.us/my.php?image=da2ou8.jpg


Or theres is a problem with that?
 
Last edited:
Yeah I suppose that will work...
for sure
Does anyone already do this?
me ;)
it's ok, but remember, only one server at once is allowed to have an IP
1.2.3.4 for eg.
so to avoid some problems/mistakes, it'll be much easier if you'd use
some virtualisation/separation method - OpenVZ, Xen, FreeBSD Jails
on both servers and rsyncing the content of the VPS only...
you may also use DRBD or anything else, then in case of an failure,
heartbat would grab the IP and start the jail/VPS...
 
for sure

me ;)

it's ok, but remember, only one server at once is allowed to have an IP
1.2.3.4 for eg.
so to avoid some problems/mistakes, it'll be much easier if you'd use
some virtualisation/separation method - OpenVZ, Xen, FreeBSD Jails
on both servers and rsyncing the content of the VPS only...
you may also use DRBD or anything else, then in case of an failure,
heartbat would grab the IP and start the jail/VPS...

Yeah I know...
...But why I should use DRBD?
 
Back
Top