Re: [ClusterLabs] difference between OCF return codes for monitor action

2015-10-21 Thread Vallevand, Mark K
In my resource agent, I use OCF_NOT_RUNNING to indicate that the managed resource is literally ‘not running’. I use OCF_ERR_GENERIC to indicate that the managed resource is running, but has entered an error state. It is potentially recoverable if it is restarted. I use OCF_ERR_PERM to

Re: [ClusterLabs] difference between OCF return codes for monitor action

2015-10-21 Thread Ken Gaillot
On 10/21/2015 07:44 AM, Kostiantyn Ponomarenko wrote: > Hi, > > What is the difference between "OCF_ERR_GENERIC" and "OCF_NOT_RUNNING" > return codes in "monitor" action from the Pacemaker's point of view? > > I was looking here >

Re: [ClusterLabs] difference between OCF return codes for monitor action

2015-10-21 Thread Michael Schwartzkopff
Am Mittwoch, 21. Oktober 2015, 15:44:17 schrieb Kostiantyn Ponomarenko: > Hi, > > What is the difference between "OCF_ERR_GENERIC" and "OCF_NOT_RUNNING" > return codes in "monitor" action from the Pacemaker's point of view? > > I was looking here >