On 2008-09-23T13:45:58, Michael Schwartzkopff <[EMAIL PROTECTED]> wrote:

> > In heartbeat 2.1.3. There is a sample OCF script named "Stateful".
> > I want to promote it to master or demote it to slave manually.But can not
> > find the methods.
> >
> Stateful promote
> 
> See the source code.

I would strongly advise to not modify the state of resources which are
managed by the cluster out-of-band. The cluster might run a monitor,
pick up on the changed state, and initiate recovery (as the expected
state is different).


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to