activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arshkr <phu.ngu...@unisys.com>
Subject Re: ActiveMQ clustering using NFSv4
Date Wed, 21 Aug 2019 00:11:10 GMT
Hi Tim,

For NFS, I will create a cluster for that later, or I will use another
alternative is add a new LUN on ESXi and create a logical NFS share for all
three brokers to mount for KahaDB. 

Would you mind check out my activemq.xml file and help me point out possible
error(s) I have?

Thank you,
Arron

This is how my activemq.xml configured:


<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

    
    <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
            <value>file:${activemq.conf}/credentials.properties</value>
        </property>
    </bean>

   
    <bean id="logQuery" class="io.fabric8.insight.log.log4j.Log4jLogQuery"
          lazy-init="false" scope="singleton"
          init-method="start" destroy-method="stop">
    </bean>

    
    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="Broker-03-uuiarray" dataDirectory="C:\activemq\data"
advisorySupport="false" persistent="true" useJmx="true"
deleteAllMessagesOnStartup="false" useShutdownHook="false"
schedulerSupport="false">

      <networkConnectors>

	 <networkConnector
uri="masterslave:(tcp://uis1vcenter2.uismag.com:61616,tcp://uis1dc2.uismag.com:61616,tcp://uuiarray.uismag.com:61616)"/>

      </networkConnectors>
     
        <destinationPolicy>
            <policyMap>
              <policyEntries>
                <policyEntry topic=">" >
                    
                  <pendingMessageLimitStrategy>
                    <constantPendingMessageLimitStrategy limit="10000"/>
                  </pendingMessageLimitStrategy>
                </policyEntry>
              </policyEntries>
            </policyMap>
        </destinationPolicy>


        
        <managementContext>
            <managementContext createConnector="false"/>
        </managementContext>

        
        <persistenceAdapter>
            <kahaDB directory="B:\Shares\mqdata\data\kahadb"
journalMaxFileLength="32mb"/>
        </persistenceAdapter>


          
          <systemUsage>
            <systemUsage>
                <memoryUsage>
                    <memoryUsage percentOfJvmHeap="70" />
                </memoryUsage>
                <storeUsage>
                    <storeUsage limit="10 gb"/>
                </storeUsage>
                <tempUsage>
                    <tempUsage limit="5 gb"/>
                </tempUsage>
            </systemUsage>
        </systemUsage>

        
        <transportConnectors>
            
            <transportConnector name="openwire"
rebalanceClusterClients="true" updateClusterClients="true"
updateClusterClientsOnRemove="true"
uri="tcp://0.0.0.0:61616?maximumConnections=10000&amp;wireFormat.maxFrameSize=104857600"
discoveryUri="multicast://default"/>
            <transportConnector name="amqp" rebalanceClusterClients="true"
updateClusterClients="true" updateClusterClientsOnRemove="true"
uri="amqp://0.0.0.0:5672?maximumConnections=10000&amp;wireFormat.maxFrameSize=104857600"
discoveryUri="multicast://default"/>
            <transportConnector name="stomp" rebalanceClusterClients="true"
updateClusterClients="true" updateClusterClientsOnRemove="true"
uri="stomp://0.0.0.0:61613?maximumConnections=10000&amp;wireFormat.maxFrameSize=104857600"
discoveryUri="multicast://default"/>
            <transportConnector name="mqtt" rebalanceClusterClients="true"
updateClusterClients="true" updateClusterClientsOnRemove="true"
uri="mqtt://0.0.0.0:1883?maximumConnections=10000&amp;wireFormat.maxFrameSize=104857600"
discoveryUri="multicast://default"/>
            <transportConnector name="ws" rebalanceClusterClients="true"
updateClusterClients="true" updateClusterClientsOnRemove="true"
uri="ws://0.0.0.0:61614?maximumConnections=10000&amp;wireFormat.maxFrameSize=104857600"
discoveryUri="multicast://default"/>
        </transportConnectors>

        
        <shutdownHooks>
            <bean xmlns="http://www.springframework.org/schema/beans"
class="org.apache.activemq.hooks.SpringContextHook" />
        </shutdownHooks>

    </broker>

    
    <import resource="jetty.xml"/>

</beans>




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message