Amit Sharma <amit_...@...> writes: > I have created the script for ip change and other setting but would like to know how to run it on B at the time > when B is unable to get ping request from A for say 5 minutes.
If you want to keep it lightweight instead of bringing in the heartbeat framework, you can script something up based on the ping response itself. ping -c1 ip.address.of.A || do_ip_change_etc You'll have to run it in a loop. And think of the sleep time between pings, and number of ping fails before you switch. PJ _______________________________________________ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd