do a master and slave server have to be physically identical?

Discussion in 'Server Operation' started by White, Oct 6, 2010.

  1. White

    White Member

    do a master and slave server have to be physically identical?

    i have 2 dl380 servers, both running 4gb ram. At the minute thats where the similarity ends as number 2 isnt configured its an empty brain.

    the first (server1) is all set up and running from your tutorials (thankyou falko) it has 4 146gb disks running 3 in raid5 and 1 spare.

    would server number 2 have to be setup with the same configuration?

    would i be able to use the server back up guide ghost4linux to copy all the info from server 1 to server 2 then change the name server1.myhost.com:192.168.101 to server2.myhost.com:192.168.102 and then follow the load balancer how to's?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Are you referring to DNS? Or ISPConfig?
     
  3. White

    White Member

    eerrrrr don't know. possibly DNS as i dont have ispconfig.

    Basically what im thinking about doing is having server2 mirror server1 so that if one goes down the other kicks in.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Do you mean a web server, mail server, database server, etc.?
     
  5. White

    White Member

    I have apache2, courier,postfix,mysql, its a web server currently running 5 of my own sites, so yes to all of the above as its not solely one or the other.

    I have set it up using your how to's for debian lenny perfect server setup, virtual hosts, and email.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    You could sync most of the stuff with rsync (or use a cluster filesystem, e.g. GlusterFS), and for the database you could use MySQL replication. But do you have a failover IP that you can switch from one server to the other if a server fails?
     
  7. White

    White Member

    I dont have anything at the moment falko, like i say ive just bought the second server and it has no disks yet.

    If i have one server set up using 146gb disks does the second need to be setup with 146gb disks?

    if server1 has 3 in raid 5 and 1 spare does server2 need to be setup with 3 disks in raid 5 and 1 spare.

    i dont want to set up the hardware of server2 physically wrong then find out the software wont work later.
     

Share This Page