Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hi I am using Debian for MySQL Replication for HighAvailability.I want to set the virtual ip for my two debian machine so that Heartbeat can switch from one machine to another.

I did that by using the command

ifconfig eth0:1 192.168.0.2 up

but it didnt persist after the reboot.and also I can not give the same ip in both the machine. How can I assign same virtual IP for both the machine?

Thanks

share|improve this question
1  
The correct term is "alias". –  Ignacio Vazquez-Abrams Jul 27 '10 at 23:58

1 Answer 1

I think that once Heartbeat is configured, it will handle the virtual IP by itself..
See here.

share|improve this answer

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.