148
Chapter 9:Configuring the LVS Routers with Piranha Configuration Tool
Send
Enter a string for the
nanny
daemon to send to each real server in this field. By default the send
field is completed for HTTP. You can alter this value depending on your needs. If you leave this
field blank, the
nanny
daemon attempts to open the port and assume the service is running if
it succeeds.
Only one send sequence is allowed in this field, and it can only contain printable, ASCII char-
acters as well as the following escape characters:
•
\n for new line.
•
\r for carriage return.
•
\t for tab.
•
\ to escape the next character which follows it.
Sending Program
For more advanced service verification, you can use this field to specify the path to a service-
checking script. This functionality is especially helpful for services that require dynamically
changing data, such as HTTPS or SSL.
To use this functionality, you must write a script that returns a textual response, set it to be
executable, and type the path to it in the
Sending Program
field.
Tip
To ensure that each server in the real server pool is checked, use the
special token
%h
after the path to the script in the
Sending Program
field. This token is replaced with each real server’s IP address as the
script is called by the
nanny
daemon.
Included in the
EDIT MONITORING SCRIPTS
subsection is a sample script you can use as a
guide when composing an external service-checking script.
Note
If an external program is entered in the
Sending Program
field, then
the
Send
field is ignored.
Expect
Summary of Contents for ENTERPRISE LINUX AS 2.1 -
Page 1: ...Red Hat Enterprise Linux AS 2 1 The Official Red Hat Enterprise Linux AS Installation Guide ...
Page 8: ...viii ...
Page 14: ...xiv Introduction ...
Page 15: ...Part I Installing Red Hat Enterprise Linux AS ...
Page 16: ......
Page 26: ...26 Chapter 1 Steps to Get You Started ...
Page 30: ...30 Chapter 2 System Requirements Table ...
Page 80: ...80 Chapter 3 Installing Red Hat Enterprise Linux AS ...
Page 94: ...94 Chapter 4 Installing Red Hat Enterprise Linux AS via Text Mode ...
Page 95: ...Part II Configuring Red Hat Enterprise Linux AS ...
Page 96: ......
Page 100: ...100 Chapter 5 Introduction ...
Page 114: ...114 Chapter 6 Linux Virtual Server Overview ...
Page 153: ...Part III Appendixes ...
Page 154: ......
Page 156: ...156 Appendix A Additional Resources for LVS Clustering ...
Page 160: ...160 Appendix B A Sample etc sysconfig ha lvs cf File ...
Page 162: ...162 Appendix C Removing Red Hat Linux ...
Page 168: ...168 Appendix D Getting Technical Support ...
Page 178: ...178 Appendix E Troubleshooting Your Installation of Red Hat Enterprise Linux AS ...