Re: [Keepalived-devel] Removing a real server from all virtual servers
Status: Beta
Brought to you by:
acassen
From: Andreas K. <cou...@fl...> - 2007-09-17 16:33:22
|
Hi Todd, * Todd Fleisher <to...@fl...> [20070917 18:09]: > The question is if anyone has come up with a way to remove a real > server from all virtual servers it is a member of? For those of us > that have worked on F5's in the past, this is the equivalent of > issuing a node markdown ... which in turn triggers all services > attached to that node to be marked down. This is very useful when you > are going to reboot a node and want to preemptively divert all > traffic away from the node first. To date, as I add services on nodes > in LVS, I've been updating some markdown/markup scripts to account > for this so I can call those scripts and effectively markdown all > services on the node(s) in question. However, as things grow this > will become unwieldy. Anyone have a better way they are doing this? I'm using an HTTP_GET check with a digest to see wether a certain HTTP-GET-request to the server returns a 'yes' ... Anything else is a reason to discontinue using the server. This way, you can have a locally controlled 'active' flag without having to change scripts/configs, restart keepalived, etc ... Br, Andreas -- flatline IT services - Andreas Kotes - Tailored solutions for your IT needs |