You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Oleksandr Rudyy <or...@gmail.com> on 2014/09/11 20:00:53 UTC

Re: Java Broker 0.28 HA Configuration

Hi Mark,

Please change message store class
org.apache.qpid.server.store.berkeleydb.BDBHAMessageStore and restart your
broker.
in your configuration you specified store of type
org.apache.qpid.server.store.berkeleydb.BDBMessageStore which is not HA
store.

Kind Regards,
Alex



On 11 September 2014 16:13, Mark Soderquist <So...@ldschurch.org>
wrote:

> I working on configuring Qpid Java Broker 0.28 for high availability. The
> problem is that the HA server socket does not appear to be listening for
> connections. Qpid starts and I can send and receive messages but a second
> node also starts active. Using netstat to see the listening sockets does
> not show the HA server socket listening.
>
> Here are the portions of the config files I think are needed:
>
> config.json:
>   "virtualhosts" : [ {
>     "name" : "default",
>     "id" : "515b8d5b-e7bc-480f-b02a-b49ebc49e355",
>     "type" : "BDB_HA",
>     "configPath" : "/opt/emx/qpid/conf/virtualhosts.xml"
>   } ]
>
> virtualhosts.xml:
> <virtualhosts>
>                 <virtualhost>
>                                 <name>default</name>
>                                 <default>
>                                                 <store>
>
> <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class>
>
> <environment-path>/opt/emx/qpid/data/default</environment-path>
>                                                                 <envConfig>
>
>       <name>je.cleaner.threads</name>
>
>       <value>2</value>
>
> </envConfig>
>                                                                 <envConfig>
>
>       <name>je.log.fileMax</name>
>
>       <value>5000000</value>
>
> </envConfig>
>
> <highAvailability>
>
>       <groupName>emx</groupName>
>
>       <nodeName>QpidNode1</nodeName>
>
>       <nodeHostPort>localhost:5001</nodeHostPort>
>
>       <helperHostPort>localhost:5001</helperHostPort>
>
>       <designatedPrimary>true</designatedPrimary>
>
> </highAvailability>
>                                                 </store>
>                                 </default>
>                 </virtualhost>
> </virtualhosts>
>
> Any ideas what I'm missing?
>
> Thanks, Mark
>
>
>  NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited. If you
> are not the intended recipient, please contact the sender by reply email
> and destroy all copies of the original message.
>
>