I came up with a a "quick and dirty" solution, i sent the script to [EMAIL PROTECTED]


regards, Kenneth

Eduardo Mapalo wrote:
Hi Kenneth,

Yes! can u provide that script for me?...thanks in advance.

Ed

-----Original Message-----
From: Kenneth Oncinian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 10:41 AM
To: [EMAIL PROTECTED]; Philippine Linux Users Group Mailing List
Subject: Re: [plug] ping script


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





--
"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