[Linux-HA] remove the node online
Andrew Beekhof
beekhof at gmail.com
Wed Oct 24 03:50:06 MDT 2007
On 10/24/07, Junko IKEDA <ikedaj at intellilink.co.jp> wrote:
> > > > > I tried to remove some nodes online using cibadmin -D.
>
> > > > i think there is a hb_del_node tool that you need to use
> > >
> > > what is "hb_del_node"???
> >
> > a cli tool that comes with heartbeat
>
> ok, I tried /usr/lib64/heartbeat/hb_delnode.
> is it possible to delete the node name from crm_mon when I call this script?
probably best not to, hb_delnode can be used in non-crm clusters
what might be nice though is if heartbeat clients got some sort of
callback to say the node has gone. in such cases the crmd could then
do this automagically.
> # ssh sl000237 service heartbeat stop
> # /usr/lib64/heartbeat/hb_delnode sl000237
> # cibadmin -D -X '<node id="659398ee-35f9-42fe-9dec-4261a29ba480"
> uname="sl000237" type="normal"/>'
>
> the node name(sl000237) disappeared.
>
> # ssh prec370d service heartbeat stop
> # /usr/lib64/heartbeat/hb_delnode prec370d
> # cibadmin -D -X '<node id="6a42b4b7-7a31-4ae7-b241-ed4ad4267ec6"
> uname="prec370d" type="normal"/>'
> Call cib_delete failed (-42): Write requires quorum <null>
one can use -f to force the cib to ignore the fact that it doesnt have quorum
> Can I delete "prec370d" from crm_mon in one way or another?
>
> Thanks,
> Junko
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list