You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Tim Chen <ti...@evri.com> on 2010/09/20 21:50:06 UTC

qpid C++ broker cluster in centos 5.5

Hi all,

I'm trying to test qpid C++ broker clustering using a VM hosting centOS 5.5.

Just running qpidd directly runs fine, so I did the following

1. install corosync/corosynclib/corosynclib-devel (1.2.7) from clusterlabs rhel 5 repository

2. rebuilt qpid so it includes clustering support

3. setup /etc/corosync/corosync.conf, and added entry to uidgid.d.

4. start corosync

5. start qpid with 

qpidd --cluster-name=test_cluster --auth=no

And I get the error messages:

[root@t3 sbin]# ./qpidd --cluster-name=test_cluster --auth=no --no-data-dir
2010-09-20 12:48:58 notice Initializing CPG
2010-09-20 12:48:58 error Error during CPG shutdown: Cannot finalize CPG group test_cluster: try again (6)
2010-09-20 12:48:58 critical Unexpected error: Cannot join CPG group test_cluster: try again (6)

Nothing shows up in the corosync log file.

Anyone know what I'm doing wrong here?

Thanks,

Tim


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: qpid C++ broker cluster in centos 5.5

Posted by Alan Conway <ac...@redhat.com>.
On 09/20/2010 03:50 PM, Tim Chen wrote:
> Hi all,
>
> I'm trying to test qpid C++ broker clustering using a VM hosting centOS 5.5.
>
> Just running qpidd directly runs fine, so I did the following
>
> 1. install corosync/corosynclib/corosynclib-devel (1.2.7) from clusterlabs rhel 5 repository
>
> 2. rebuilt qpid so it includes clustering support
>
> 3. setup /etc/corosync/corosync.conf, and added entry to uidgid.d.
>
> 4. start corosync
>
> 5. start qpid with
>
> qpidd --cluster-name=test_cluster --auth=no
>
> And I get the error messages:
>
> [root@t3 sbin]# ./qpidd --cluster-name=test_cluster --auth=no --no-data-dir
> 2010-09-20 12:48:58 notice Initializing CPG
> 2010-09-20 12:48:58 error Error during CPG shutdown: Cannot finalize CPG group test_cluster: try again (6)
> 2010-09-20 12:48:58 critical Unexpected error: Cannot join CPG group test_cluster: try again (6)
>
> Nothing shows up in the corosync log file.
>
> Anyone know what I'm doing wrong here?
>

It looks like you may already have covered this but double check with the 
checklist at
  https://cwiki.apache.org/qpid/starting-a-cluster.html
The selinux note might be relevant.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org