2 DNS servers to create high avialability - yes I know this was asked before...

Discussion in 'Server Operation' started by yurtboy1, Jan 26, 2009.

  1. yurtboy1

    yurtboy1 New Member

    I just want to clear it up and ask again.
    I know there are HA options but they seem a little too much for just having two servers.
    One idea I wanted to get some feedback on is this.

    s1 192.168.0.254

    s2 192.168.0.253

    they both serve up web pages
    s1 does mail
    both do mysql

    both are a dns server as well.
    If www.example.com is hosting on s1 then the secondary dns would be s2
    If s1 goes down then s2 would pick up the dns request but instead of saying www.example.com = 192.168.0.254
    it would say
    www.example.com = 192.168.0.253

    Or if needed s2 would have virtual ip's waiting to go on if needed ie
    eth0:0 192.168.0.254 so it would even be more seemless.

    Of course there is work to sync
    s1 <--> s2
    mysql
    apache
    email

    But that is on the easier side.

    As far as email goes if s1 goes down then s2 would take over the requests and have a fully synced folder layout of emails as well as users and passwords (though this may be harder unless we can just copy the /etc/passwd and shadow file over?

    s1 is running ispconfig but we figure the if s2 takes over it can work w/o ispconfig for a bit ie no new users, databases, etc allowed to be added till s1 is back up and data synced back over.

    Alright any feedback would be great
     
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page