Thanks! That was very helpful, although I have a couple more questions for the list. What I am trying to do seems well suited for the existing "depend" and "depend-mode" capability. Essentially, I'm trying to use this to "group" services. So, assume I have 3 services: A, B, and C (in my case, A is an IP service, B and C both have an fs and a script resource). I want B and C to depend on A such that B and C will only start on the node where A is running. I assume I can do this by:
<service autostart="1" name="B" recovery="relocate" depend="service:A" depend-mode="hard">
<fs ... />
<service autostart="1" name="C" depend="service:A" depend-mode="hard">
<service autostart="1" name="A" recovery="relocate">
Unfortunately, this didn't work as expected. If I start A on node 1, services B and C seem perfectly happy to run on any other node. If a coerce everybody on the same node, and relocate (or disable A), services B and C continue on blissfully ignoring the status of A. Do I need to write and event handler for this situation (which seems much simpler than the follow-service script)?
Again, thanks in advance!
Moralejo, Alfredo wrote:
begin:vcard fn:John "Scooter" Morris, Ph.D. n:Morris;Scooter org:University of California, San Francisco MC 2240;Resource on Biocomputing, Visualization, and Informatics adr:;;600 16th St.;San Francisco;CA;94158-2517;USA email;internet:scooter cgl ucsf edu title:Executive Director tel;work:+1-415-514-4406 x-mozilla-html:TRUE url:http://www.cgl.ucsf.edu version:2.1 end:vcard