I continue to experience problems with getting my zfs backed zones to shutdown 
without stepping on themselves... 

My current attempt is to create a 5 second sleep between when the sczbt 
resource stops and when the underlying HAStoragePlus resource stops. 

To do this, I used scdsbuilder to create a resource type which has as it's 
start_command '/usr/bin/sleep 5' and as it's stop_command '/usr/bin/sleep 5'; 
and inserted this in the dependency chain between the sczbt resource and the 
HAStoragePlus resource, however this seems to have created problems because 
there is no actual resource running for the probe/monitor to find, so it times 
out constantly. 

I suppose I could just edit the sczbt start/stop script to insert a 'sleep 5' 
where I want it, but I'd rather not start changing the packaged scripts if I 
can avoid it.

Is there some other way to tell my cluster to wait 5 seconds between  when one 
resource successfully stops and when it begins the process of stopping the next?
-- 
This message posted from opensolaris.org

Reply via email to