Hi Eduardo,

Do you want a script which can provide a "hot backup" functionality?
for example, a "hot backup" servers pings the main server and takes over when it detects that the main server is down?



regards, Kenneth


Hello guys,

        Can someone provide me with a simple script that can execute a command once
the other server is Unreachable. Here's the condition.

1.) keep pinging server B
2.) if server B is "Unreachable" execute a command...ex. service network
restart
3.) if server B is active/alive do nothing.
4.) exit

Thanks in advance...



--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie


--
"Even if you're on the right track, you'll get run over if you just sit
there."

-- Will Rogers

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to