Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2007
    Posts
    2,050

    Failover for servers

    I need a Failover for windows and linux servers in such a way that if the primary server fails, the secondary server automatically takes over. What is the ideal solution for this requirement. Please give me some solution which can be used both for windows and linux.
    Prashant T.

    Don't run after Success. Run after Excellence and Success will soon follow.

  2. #2
    Join Date
    Dec 2009
    Location
    Maryland, USA.
    Posts
    52
    For linux:

    http://www.linux-ha.org/wiki/Main_Page

    For windows:

    A VPS which runs inside a linux HA system.


    OR you can just get some "cloud" hosting.

  3. #3
    Join Date
    Jul 2007
    Posts
    2,050
    I want a single failover solution, probably a hardware which can be used either for Windows servers or Linux servers. There would be two or more physical servers for the application which I need in failover.
    Prashant T.

    Don't run after Success. Run after Excellence and Success will soon follow.

  4. #4
    Join Date
    Oct 2009
    Location
    Canada
    Posts
    482
    So you want 2 independent servers? One as primary and one strictly for failover?

    Interconnect them privately and use something line rsync to keep the data synchronized at all times.

    from there you can either have your ISP route your public IP blocks to the primary server and failover to the second if it doesn't respond.

    Or, you can get your own router and manage the routing yourself. Depends on whether you want to buy a managed solution or colo your own gear and set it up yourself.

    Either way, the most critical part is the sync of data. If you're running a LAMP stack with a lot of database activity it will require a lot of resources to keep it constantly synced. You're almost better off using a hosted db server and running the web services on your server only.

    But it all depends on what your application does. This is also assuming you want these two servers in the same DC. if you want them at different locations that opens up a whole other set of issues.
    Owner Media-Hosts.com AS14442 Canadian Web Hosts Since 2002
    █ 24/7 365 Support, 100% Network Up-time Guarantee
    █ Web Development Specialists (E-Commerce, Inventory, Design)
    OpenVZ.ca Reliable, Affordable VPS Servers and Web Hosting. IPv6 Available

  5. #5
    Join Date
    Mar 2002
    Location
    Philadelphia, PA
    Posts
    2,508
    ^ Would not suggest using rSync for this purpose.

    If you want to sync data between two nodes, take a look at DRBD, it handles this very well as is very popular for mySQL active/passive clusters.

    If you're looking for a more robust solution Microsoft Clustering and the Red Hat cluster suite work quite well in enterprise configurations.
    Linux junkie | steward.io

  6. #6
    Join Date
    Oct 2009
    Location
    Canada
    Posts
    482
    Quote Originally Posted by viGeek View Post
    ^ Would not suggest using rSync for this purpose.
    Was the first thing that came to mind

    Very resource intensive for a whole server... but will work perfectly fine for a single directory of html files...

    Depends on the application.
    Owner Media-Hosts.com AS14442 Canadian Web Hosts Since 2002
    █ 24/7 365 Support, 100% Network Up-time Guarantee
    █ Web Development Specialists (E-Commerce, Inventory, Design)
    OpenVZ.ca Reliable, Affordable VPS Servers and Web Hosting. IPv6 Available

  7. #7
    Join Date
    Nov 2002
    Location
    Portland, Oregon
    Posts
    2,948
    I would suggest that DRBD + Heartbeat for failover would be the best solution.

    http://en.wikipedia.org/wiki/DRBD
    | John Edel Jetfire Networks L.L.C. Trusted Hosting Solutions
    | Consistent, Reliable, Stable OpenVZ & KVM Virtual Private Servers
    | SpamWall AV & Full SMTP Filtering
    Now an SSLStore Titanium Partner!

  8. #8
    Join Date
    Apr 2003
    Location
    NC
    Posts
    3,080
    DRBD, we use it a lot and it works great. There is a performance overhead for it but well worth it if you want to make sure you have the absolute latest copy. Just remember...drbd is NOT a backup.
    John W, CISSP, C|EH
    MS Information Security and Assurance
    ITEagleEye.com - Server Administration and Security
    Yawig.com - Managed VPS and Dedicated Servers with VIP Service

  9. #9
    Join Date
    Apr 2011
    Location
    Riga, Latvia
    Posts
    37
    DRBD is great and it is faster than any other technique, as it is block-based in kernelspace. If you tune it correctly, there is a very small overhead but be sure to have at least one dedicated gigabit connection (if you have 1-2 drives; ethernet bonding will be preferable if you have a larger RAID setup) for it with jumbo-frames and with config file finetuning
    If availability is important, choose Serveriem.LV - the uptime makers
    Shared hosting and OpenVZ VPS

  10. #10
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    632
    Quote Originally Posted by prashant1979 View Post
    I want a single failover solution, probably a hardware which can be used either for Windows servers or Linux servers. There would be two or more physical servers for the application which I need in failover.
    If you are looking something out-of-the-box which can do failover of pretty much any application, your best bet is to use Virtualization platform which have HA functionality, such as VMware ESX, XenServer Enterprise.

Similar Threads

  1. Replies: 0
    Last Post: 06-05-2008, 09:08 PM
  2. Replies: 0
    Last Post: 05-27-2008, 10:41 PM
  3. Replies: 0
    Last Post: 03-15-2008, 09:16 PM
  4. Replies: 0
    Last Post: 02-20-2008, 12:25 AM
  5. Replies: 0
    Last Post: 02-09-2008, 05:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •