I am using root user, but after services restart the problem seems solved.

Thank you very much.

Alessio

On 25 February 2011 08:26, Andrew Beekhof <[email protected]> wrote:

> On Thu, Feb 24, 2011 at 6:18 PM, Alessio Gennari <[email protected]>
> wrote:
> > Hello,
> > I installed in a Ubuntu Server 10.10 64bit machine Cluster-glue, agents,
> > Corosync, Openais and Pacemaker. I could to start services and consigure
> a
> > ClusterIP resource that correctly respond. I installed two nodes (opeais
> and
> > openais2), in both I started corosync and only in openais I started
> > pacemaker service. Openais can connect to cluster and retrive infromation
> > as:
> >
> > root@openais:~# crm_mon
> > Defaulting to one-shot mode
> > You need to have curses available at compile time to enable console mode
> > ============
> > Last updated: Thu Feb 24 18:13:37 2011
> > Stack: openais
> > Current DC: openais2.clustertest - partition with quorum
> > Version: 1.1.5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f
> > 2 Nodes configured, 2 expected votes
> > 1 Resources configured.
> > ============
> >
> > Online: [ openais.clustertest openais2.clustertest ]
> >
> >  ClusterIP      (ocf::heartbeat:IPaddr2):       Started
> openais2.clustertest
> >
> >
> >
> > root@openais:~# crm configure show
> > node openais.clustertest
> > node openais2.clustertest
> > primitive ClusterIP ocf:heartbeat:IPaddr2 \
> >         params ip="192.168.56.199" cidr_netmask="32" \
> >         op monitor interval="30s" \
> >         meta target-role="Started"
> > property $id="cib-bootstrap-options" \
> >         dc-version="1.1.5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \
> >         cluster-infrastructure="openais" \
> >         expected-quorum-votes="2" \
> >         stonith-enabled="false"
> >
> >
> >
> >
> > Instead if I launch same commands in openais I retrive errors:
> >
> >
> > user@openais2:~$ crm_mon
>
> Is user part of the clustering group?
> What if you try using sudo?
>
> > Defaulting to one-shot mode
> > You need to have curses available at compile time to enable console mode
> >
> > Connection to cluster failed: connection failed
> >
> >
> >
> > user@openais2:~$ crm configure show
> > Signon to CIB failed: connection failed
> > Init failed, could not perform requested operations
> > ERROR: cannot parse xml: no element found: line 1, column 0
> > ERROR: No CIB!
> >
> >
> >
> >
> > I was not able to solve the problem on openais2, can anyone help me to
> > correct my errors?
> >
> > Thanks in advance.
> >
> > Alessio
> >
> > _______________________________________________
> > Openais mailing list
> > [email protected]
> > https://lists.linux-foundation.org/mailman/listinfo/openais
> >
>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to