[Pacemaker] stonithd process can restart automatically butstonith plugins can't

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Jun 16 09:36:52 UTC 2008


Hi Junko-san,

On Mon, Jun 16, 2008 at 01:44:28PM +0900, Junko IKEDA wrote:
> Hi,
> 
> > A stonith resource is started only in the current stonithd
> > instance. If the stonithd process is gone, along with it gone is
> > the status of all its stonith resources. A started stonith
> > resource should more properly be termed enabled and this is only
> > valid in the current stonithd process.
> > 
> > In other words, there's no use trying a monitor operation with a
> > new stonithd instance: it is "empty" and will always return "not
> > running". The only way to proceed, once crmd realises that
> > stonithd process has died, is to consider all stonith resources
> > which were "started" on that node as stopped and to start them
> > again. Probably also not to update the fail_count since the
> > resources themselves didn't fail, just the stonithd process.
> 
> You mean, this is stonithd's correct behavior for the current
> specifications.

stonithd has no configuration itself. There's simply no other way
stonithd can behave.

> Is it possible for crmd to have stonith resources restart when stonithd
> died/up as its design?

I certainly hope so.

> or should we contrive ways to do this with migration-threshold and expire
> fail-count?

I'd say that it should be done by crmd. Don't know how complex it
may be though.

> Thanks,
> Junko

Thanks,

Dejan




More information about the Pacemaker mailing list