Chapter 4:Administering Equalizer Operation
56
Equalizer Installation and Administration Guide
4.
Enable the Use Remote Syslog checkbox.
5.
Click the Set button in the Event Logging frame.
Specifying a Command to Run When a Particular Event Occurs
Equalizer can be configured to run a user-specified command whenever server events
occur, such as a server failure. For example, you might want to send email or run a custom
shell script. The following events trigger the command you specify:
■
Failure of a server
■
Restoration of a failed server
■
Failure of a server agent
■
Restoration of a server agent
■
Failover in a high-availability Equalizer pair
To specify a command to run:
1.
Log into the Equalizer Administration interface with edit access.
2.
Select Configure Events from the Equalizer menu in the main menu bar. The Change
Equalizer Parameters dialog is displayed in the right frame. By default, the Events tab
is visible.
3.
In the Event Handling frame, enter the command that you want to run when a server
event occurs. For example, to send email to [email protected] whenever a
server failure is detected, you could enter:
/usr/sbin/sendmail [email protected]
A string that describes the server event is sent to the program specified as standard
input.
Figure 39 Specifying an event-triggered command
4.
Click the Set button in the Event Handling frame.
Any program specified as the Run Command parameter must complete its work and
terminate quickly (within one or two seconds) to avoid interrupting Equalizer’s server
failure detection facility.
Summary of Contents for Equalizer
Page 2: ......
Page 4: ...iv Coyote Point Systems Inc ...
Page 32: ...Chapter 2 Installing Equalizer 22 Equalizer Installation and Administration Guide ...
Page 42: ...Chapter 3 Configuring Equalizer 32 Equalizer Installation and Administration Guide ...
Page 108: ...Chapter 7 Troubleshooting 98 Equalizer Installation and Administration Guide ...
Page 114: ...Appendix B Using Reserved IP Addresses 104 Equalizer Installation and Administration Guide ...
Page 118: ...Appendix C Regular Expression Format 108 Equalizer Installation and Administration Guide ...
Page 130: ...Appendix E Technical Specifications 120 Equalizer Installation and Administration Guide ...
Page 136: ...Appendix F License and Warranty 126 Equalizer Installation and Administration Guide ...