Re: [ClusterLabs] Q: ordering for a monitoring op only?

2018-08-21 Thread Ryan Thomas
You could accomplish this be creating a custom RA which normally acts as a pass-through and calls the "real" RA. However, it intercepts "monitor" actions, checks nfs, and if nfs is down it returns success, otherwise it passes though the monitor action to the real RA. If nfs fails the monitor

Re: [ClusterLabs] Q: ordering for a monitoring op only?

2018-08-20 Thread Jan PokornĂ˝
On 20/08/18 10:51 +0200, Ulrich Windl wrote: > I wonder whether it's possible to run a monitoring op only if some > specific resource is up. > Background: We have some resource that runs fine without NFS, but > the start, stop and monitor operations will just hang if NFS is > down. In effect the

Re: [ClusterLabs] Q: ordering for a monitoring op only?

2018-08-20 Thread Ken Gaillot
On Mon, 2018-08-20 at 10:51 +0200, Ulrich Windl wrote: > Hi! > > I wonder whether it's possible to run a monitoring op only if some > specific resource is up. > Background: We have some resource that runs fine without NFS, but the > start, stop and monitor operations will just hang if NFS is

Re: [ClusterLabs] Q: ordering for a monitoring op only?

2018-08-20 Thread Kristoffer Grönlund
On Mon, 2018-08-20 at 10:51 +0200, Ulrich Windl wrote: > Hi! > > I wonder whether it's possible to run a monitoring op only if some > specific resource is up. > Background: We have some resource that runs fine without NFS, but the > start, stop and monitor operations will just hang if NFS is

[ClusterLabs] Q: ordering for a monitoring op only?

2018-08-20 Thread Ulrich Windl
Hi! I wonder whether it's possible to run a monitoring op only if some specific resource is up. Background: We have some resource that runs fine without NFS, but the start, stop and monitor operations will just hang if NFS is down. In effect the monitor operation will time out, the cluster