Harvey Li wrote:
Thanks. Your note is really helpful.
I installed openais and re-made the project. I could get help usage with cluster.so module.
But when I failed to start my broker by blocking on the message "notice Waiting for
CPG initialization".
(Without cluster it works fine)
When you start AIS, make sure it has come up correctly in it's log.
(i.e. typical issue, is a. firewall, b. did not set the netmask)
My command to start the broker likes "src/qpidd --load-module cluster.so
--cluster-name cluster1".
What should be the cluster name? Is it arbitrary?
anything you like, but the same on all node that you want to join
Should I add more options like --cluster-url?
this is used if you have AIS on one set of nics for example, and the
public traffic on others. So you can limite the URL's sent to clients.
The URL list from all nodes that is specified will be
provided to the clients for failover.
I am still wondering about how the cluster nodes share the persistent data.
They don't need to share a relational database or share a data folder?
unbelievable...
They don't share any data, each node in the cluster logs it's own copy.
So you can just shoot a node, disk and all if you want to.
Carl.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]