[Linux-HA] Force quorum...

Andrew Beekhof beekhof at gmail.com
Fri Sep 8 10:16:40 MDT 2006


On 9/8/06, Matthias Dahl <mdmlha at designassembly.de> wrote:
> Hi again.
>
> Just tried forcing my node into acquiring quorum with cibadmin -f and some

You cant force quorum

You can use -f to force the CIB to accept a change at a point it
doesn't have quorum, but you cant force the cluster to have quorum if
it does not have more than half the nodes up.

> other combinations but it almost always showed me the usage msg without any
> clue what went wrong.
>
> After taking a look into the source code, I am convinced this command has no
> affect at all:
>
> When -f is passed to cibadmin, cib_quorum_override is set in command_options:
>
>                        case 'f':
>                                 command_options |= cib_quorum_override;
>                                 break;
>
> Just a bit later long before command_options even gets evaluated, cib_action
> is checked and if not explicitly set, the usage msg gets displayed and the
> program exists (in usage()):
>
>         if(cib_action == NULL) {
>                 usage(crm_system_name, cib_operation);
>         }
>
> So either this is intended and one has to provide more than just -f, so a
> proper cib_action gets set (which I tried without any luck) or this is a bug.
>
> Thanks for taking the time... again. :-)
>
> Best regards,
> Matthias Dahl
>
> _______________________________________________
> 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