Disabling a Real server

Diego Bello dbello at gmail.com
Tue Jan 19 12:51:48 UTC 2010


Hi people,

I have a LVS cluster using CentOS 5.3 and I need, from time to time,
take one of the real servers out for maintenance and then take it in
again. How can I "disable" a real server from the cluster so it is no
longer monitored until It is back again?.

I thought on shutting down the service, Postgresql in this case, but
the monitoring scripts I have send an email alert whenever a Real
Server is not available, and I don't want to be receiving tons of
emails whenever a real server is being updated.

The only way I can think about is to modify the router configuration
file (lvs.cf) and reload pulse, but I'm not totally sure that's the
most elegant choice. I need it to be done automatically using scripts,
but I can't find any hint in man pages of lvsd, nanny or ipvsadm.

Thanks.

-- 
Diego Bello Carreño




More information about the Piranha-list mailing list