Removing real servers

David Adams <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
How can I (temporarily) remove a real server from an UltraMonkey  
cluster?  For example, imagine you want to temporarily remove one of  
a pair of real servers to allow for a hardware upgrade.

My first thought was to use 'ipvsadm -d'.  This successfully removes  
a real server.  However, if I reboot that server, when it comes back  
up the UltraMonkey load balancer detects that the server is online  
and then reinserts it in to the cluster.

In the end I shutdown heartbeat on the primary UltraMonkey load  
balancer, so that the secondary took over, then on the primary  
edited /etc/ha.d/ldirector.cf to remove the real server, started  
heartbeat on the primary, shut it down on the secondary so that the  
primary took over again, then did the same edit on the secondary and  
restarted it.  It works, but is there a better way?

Thanks in advance.

(I'm using UltraMonkey version 3 on Centos 4.2)


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
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.