additional actions on realserver start/stop

Dan Taylor <[email protected]> Mon, 09 Oct 2006 18:37:18 -0700
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
We are using UM3 and it mostly does what we want.  Rather than set up an 
additional
monitoring service to perform some tasks when realservers come and go, I 
would like to
just have ldirectord do it for me.  There is currently no parameter for 
a callout when
_remove_service and _restore_service are called (they seem to just call 
ipvsadm through
$IPVSADM).  That leaves me with two choices:  put a wrapper on ipvsadm 
to perform
my additional processing when it is called, or engineer some additional 
functionality
into ldirectord.  I prefer to do the latter, but was wondering if there 
are any preferences,
other than the obvious "it has to work with existing configuration 
files", about how the
callouts should be specified.

I will need to reserve a new keyword for ldirctord.cf.  Any suggestions?

When the callout is performed, I will probably need to pass both the 
virtual and realserver,
and the state that is changing.  Any bias toward, or against, System V- 
or GNU-style
options and arguments versus fixed-format arguments (I prefer the former)?

Finally, has anyone already done this, and I just missed it?



Disclaimer: The information contained in this transmission, including any 
attachments, may contain confidential information of Panasonic Avionics
Corporation.  This transmission is intended only for the use of the 
addressee(s) listed above.  Unauthorized review, dissemination or other use 
of the information contained in this transmission is strictly prohibited. 
If you have received this transmission in error or have reason to believe 
you are not authorized to receive it, please notify the sender by return 
email and promptly delete the transmission.




-- 
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.