We use LVS on Redhat 5.1 (2.6.18-53.el5) on 2 IBMS X3650 servers. Here
are the RPM versions:
The two servers are configured as one master / one backup.
They are also configured to hold the virtual service RTSP. This service
is load balanced with round robin method between the two RTSP gateways
(the real servers are also the two X3650 servers).
When a RTSP session is set up, LVS selects the RTSP gateway, the session
is initialized by accessing database and then Video server.
When established, the RTSP session only access the video server for
The monitoring script chosen to monitor the real server is: RTSP access
test and database access test.
If the database is no more available, the monitoring script returns a
bad answer and the service goes down: the process nanny shuts down the
Because of this shutting down, all the current streamings on this RTSP
For robustness reason, we need that nanny process prevents new
connections when the database goes down. But we need that current RTSP
sessions go on, NOT STOP.
Is there any way not to shutdown current connections when the monitoring
scripts answer not what expected? Dynamically change weight of the real
servers to zero for example?
Thank you for your answer.