On Wed, Aug 16, 2006 at 11:30:46AM -0500, Serge Dubrouski wrote: > On 8/16/06, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote: > >Hello, > > > >Anybody ever user various "depth" property of the monitor > >operation. If so, how? How does an RA see what kind of monitor > >operation it should do? > > > >Cheers, > > > >Dejan > > You can program any kind of monitoring in OCF RA. So let's say on node > A you need just a simple checking that process is up, than you define > OCF variable monitoring_depth=simple or so, check it in RA and do your > simple monitoring. > > But if on nodeB you need complex in-depth monitoring you set the same > variable to "complex" and handle it in your RA.
The problem with having auxiliary variables set the way you suggested is that it would be a hard task keeping them in sync in all resource agents. Not sure if it is even possible to advertise such things using meta-data. Since I need different levels of monitoring rather urgently, I thought that it would be preferable to use the "depth" property and then code the resource agent correspondingly. But, it seems like it hasn't been implemented yet. Right? Cheers, Dejan _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
