Finally I got cluster ready. It seems I have to execute Qpid start command with "sudo" as well. Or it would lock.
Without you guys help it's impossible. I really appreciate it. Do you have a set of test cases to ensure it works? Or where's a document to introduce the whole mechanism of the cluster? -----Original Message----- From: Gordon Sim [mailto:[email protected]] Sent: Tue 2009-6-16 17:15 To: [email protected] Cc: [email protected] Subject: Re: Always "Waiting for CPG initialization" Harvey Li wrote: > [email protected]>, <[email protected]> Cc: > <[email protected]> > > So I need to start openais first before starting broker? I have no > idea of openais before. Thanks. I will try it later. Yes, have a read of the 'configuring ais' section in the INSTALL notes for some hints. > For the cluster, in a word it combine the load-balancing and failover > feature together. I don't need to worry anything(like message lost or > delay). I could add a broke or kill a broke anytime, right? It provides redundancy through replicating broker state. An enqueued message will exist on all nodes and will thus not be lost when any node fails (providing it is survived by at least one other node). Until a message is enqueued however it is 'in-doubt' and may need to be replayed on failing over. Though each cluster node is active and will accept clients connections, the degree to which this balances load should not be overstated as each node will process the same sequence of inputs in order to keep the state consistent. --Gordon. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected] --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
