Wed, 19 Apr 00 15:29:00 -0500
Thanks for the heads up. I was hoping to find someplace in the control
scripts that I could stick it in, since my sh skills are still somewhat
new. I've created an infinitely looping script that will make the
required noises, but getting it to respond to a START/STOP command is a
bit more difficult and may be beyond my current sh level.
Guess I'll have some more work to do.
Suggestions and examples are welcome.
Peace favor your sword,
"I have little patience with people who take the Bill of Rights for
granted. The Bill of Rights, contained in the first ten amendments to
the Constitution, is every American's guarantee of freedom."
-President Harry S. Truman
Sent: Wednesday, April 19, 2000 9:45 AM
To: Kirk Lawson; Linux-HA
Subject: Re: Audiable Alarm
On Mon, May 26, 2036 at 06:58:16PM -0500, Kirk Lawson wrote:
> Just started experimenting with the heartbeat package. Seems real
> Question: How could I make the failover node generate an audiable alarm
> (say with the system speaker) every second or so when it's in failover
> mode? For instance, maybe add a script that reapeats a 'wall
> or 'printf "\a"' every second when the node is in failover and then
> terminates it when it's returned the IP.
If you define a resource (a script) that produces an audiable alarm
then this can be specified in the ha-resources file and will
be started and stoped.