Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm intending to use virtual IP for my failover implementation.

Setup:

  • *Server A (192.168.0.1) * - takes virtual IP of 192.168.0.10 by default
  • *Server B (192.168.0.2) * - takes virtual ip of 192.168.0.10 when server A is down

I'm using Windows machines and my current method is to run a script on another machine to check if server a has failed, and when it fail, the script will telnet into server B to add the virtual IP.

I'm wondering if there is an alternative solution to using telnet to change to virtual IP. I want to ensure that the failover is automatic the option of getting a network administrator to add the virtual IP is out of question.

share|improve this question

2 Answers 2

In orde to use a virtual IP you need to build a cluster. You didn't specify an OS version so you'll have to look up how to create one. Clustering has been supported since NT 4.0

share|improve this answer
    
I'm using a Win 7 Home Premium and Win 7 Professional in the cluster. Will there be any compatibility issues or since they are not "server" OSes. –  tommi Mar 17 '12 at 2:57
    
@csl, are you serious ?!? –  Massimo Mar 17 '12 at 3:32
    
You need to use a server OS. –  Jim B Mar 17 '12 at 11:38

I'm using Windows machines and my current method is to run a script on another machine to check if server a has failed, and when it fail, the script will telnet into server B to add the virtual IP.

This is flawed in so many ways... please have a look at Failover Clustering and Network Load Balancing.

share|improve this answer
    
can you tell me more about the flaws? –  tommi Mar 17 '12 at 2:56
    
You're trying to build your own homemade and totally unsupported clustering solution while the system provides you at least two ways to do it... –  Massimo Mar 17 '12 at 3:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.