graceful removal of a server from pool

John Gallagher <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CE8FF656.2DBD2%[email protected]>
What is the best method for removing a server from a pool?

We have a health check page called amiup.jsp which the keepalived HA check is run against.  When  we want to do maintenance we touch a maintenance file and the amiup.jsp page automatically returns a invalid response to the HA check.  As expected the LB sees the change and removes the server from the VIP.

The problem is that the application server is still running and some transactions on that server were not complete when the server was removed from the VIP.  When this happens the transaction/data seems to get lost.  We have also seen issues where we shutdown the application on the server but the HA check has not run yet and connections are sent to a server that is no longer responding.

Can anyone tell me what is the best way to remove a server for maintenance?

John

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.