[Pacemaker] How should I configure the STONITH?

Qiu Zhigang qiuzhigang at fronware.com
Mon Dec 19 23:01:59 EST 2011


Hi,

> -----Original Message-----
> From: Andreas Kurz [mailto:andreas at hastexo.com]
> Sent: Monday, December 19, 2011 6:50 PM
> To: pacemaker at oss.clusterlabs.org
> Subject: Re: [Pacemaker] How should I configure the STONITH?
> 
> Hello,
> 
> On 12/19/2011 08:31 AM, Qiu Zhigang wrote:
> > Hi all,
> >
> > I want to configure the STONITH, but I couldn't find the following CLI
> > described in the reference material (like
> > Pacemaker-1.1-Pacemaker_Explained-en-US.pdf).
> >
> > stonith -L
> > stonith -t ibmhmc -n
> > stonith -t apcmaster -h
> >
> > I only found the stonith_admin command, but when I execute this cli,
> > some problem occurred.
> >
> > [root at h10_151 ~]# stonith_admin  -L
> > stonith_admin[14402]: 2011/12/19_15:29:20 info: crm_log_init_worker:
> > Changed active directory to /var/lib/heartbeat/cores/root
> > stonith_admin[14402]: 2011/12/19_15:29:20 notice: log_data_element:
> > st_callback: st_notify_disconnect <notify t="st_notify"
> > subt="st_notify_disconnect" />
> >
> > What's the reason of this problem ?
> >
> > Moreover I didn't find the stonith plugins, which rpm package contain
> > the stonith plugins ? I use the redhat 6, pacemaker version is
> > pacemaker-1.1.2-7.el6.x86_64.rpm.
> 
> RHEL6 and derivates ship "fence-agents" package known from it's
> redaht-cluster and not the stonith agents ... the agents are all named
> "fence_*' and come with nice man-pages.
> 
> You can use them (nearly) like the stonith agents that used to come with
> Pacemaker as prerequisite.

Thank you, but I'm doubt the way of configure fence-agents in pacemaker.
Could I configure like following? If this isn't right, please point me the
right way, thank you.

configure
primitive st-apc stonith: fence_apc \
params ip="xx.xx.xx.xx" username="admin" password="password"
clone fencing st-apc
commit

Another question is about Quorum device, which component is the quorum
device in pacemaker, like qdisk in CMAN, is SBD?


Best Regards,
Qiu Zhigang
> 
> Regards,
> Andreas
> 
> --
> Need help with Pacemaker?
> http://www.hastexo.com/now
> 
> >
> >
> > Best Regards,
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org Getting started:
> > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> 
> 






More information about the Pacemaker mailing list