Activemq - artemis configuration issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Activemq - artemis configuration issue

victork
Hi,

i have been using Apache-artemis 1.5.3 version with cluster connectivity on
AWS instances.

I have been facing issues with paging earlier, by changing the configuration
with max-size-bytes to 100mb and page-size-bytes to 10mb and global
max-size-bytes to 1 gig.

>Still there is no stability between the activemq from Producer and
consumer.
Consumer is asking for the Consumed messages log, i have been printing the
data with data print command and looking for the specific message in it.

> Need Web UI console for artemis 1.5.3 version and how to achieve it.
if we don't have the console option in 1.5.3 what is the next version where
i can have the web UI console on it.
 
>Do we have any script to look on artemis to find the queues or received
messages?

>Memory has given in artemis.profile was xms=8192MB and xmx[=8192MB

>Does i need to change any configurations for the better and best result.

>My cluster connectivity works when there is no data pushed,but when there
is workload and master is down , slave acts as a master and come to live,
but never goes to backup when the master is up.
any inputs for the cluster connectivity to work for live and backup.

Here is my configurations:
broker.xml:



  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<configuration xmlns="urn:activemq"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="urn:activemq
/schema/artemis-configuration.xsd">


<plugins>
   <discardingDLQBrokerPlugin dropAll="true" dropTemporaryTopics="true"
dropTemporaryQueues="true"/>
</plugins>

   <jms xmlns="urn:activemq:jms">
      <queue name="DLQ"/>
      <queue name="ExpiryQueue"/>

   </jms>

   <core xmlns="urn:activemq:core">

      <name>broker1</name>

      <persistence-enabled>true</persistence-enabled>

     
      <journal-type>ASYNCIO</journal-type>

      <paging-directory>./data/paging</paging-directory>

      <bindings-directory>./data/bindings</bindings-directory>

      <journal-directory>./data/journal</journal-directory>

     
<large-messages-directory>./data/large-messages</large-messages-directory>

      <journal-datasync>true</journal-datasync>

      <journal-min-files>2</journal-min-files>

      <journal-pool-files>-1</journal-pool-files>

     

     

     
     

     
     

     
     

     
     

     
      <journal-buffer-timeout>508000</journal-buffer-timeout>


<thread-pool-max-size>-1</thread-pool-max-size>
<scheduled-thread-pool-max-size>40</scheduled-thread-pool-max-size>

    <connectors>
       
        <connector name="artemis">tcp://10.x.x.158:61616</connector>
        <connector
name="server1-connector">tcp://10.y.y.214:61616</connector>
    </connectors>


     
      <disk-scan-period>5000</disk-scan-period>

     
      <max-disk-usage>90</max-disk-usage>

     
      <global-max-size>1073741824</global-max-size>

      <acceptors>
         
         <acceptor
name="artemis">tcp://10.x.x.158:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE</acceptor>


         
         <acceptor
name="amqp">tcp://10.x.x.158:5672?protocols=AMQP</acceptor>

         
         <acceptor
name="stomp">tcp://10.x.x.158:61613?protocols=STOMP</acceptor>

         
         <acceptor
name="hornetq">tcp://10.x.x.158:5445?protocols=HORNETQ,STOMP</acceptor>

         
         <acceptor
name="mqtt">tcp://10.x.x.158:1883?protocols=MQTT</acceptor>

      </acceptors>


      <cluster-user>amqcuser</cluster-user>

      <cluster-password>amqcuser</cluster-password>

     

      <cluster-connections>
         <cluster-connection name="my-cluster">
            <address>jms</address>
            <connector-ref>artemis</connector-ref>
            <message-load-balancing>ON_DEMAND</message-load-balancing>
            <max-hops>0</max-hops>
           
            <static-connectors>
               <connector-ref>server1-connector</connector-ref>
            </static-connectors>
         </cluster-connection>
      </cluster-connections>


      <ha-policy>
         <replication>
            <master>
                <cluster-name>my-cluster</cluster-name>
                <check-for-live-server>true</check-for-live-server>
            </master>
         </replication>
      </ha-policy>

      <security-settings>
         <security-setting match="#">
            <permission type="createNonDurableQueue" roles="amq"/>
            <permission type="deleteNonDurableQueue" roles="amq"/>
            <permission type="createDurableQueue" roles="amq"/>
            <permission type="deleteDurableQueue" roles="amq"/>
            <permission type="consume" roles="amq"/>
            <permission type="browse" roles="amq"/>
            <permission type="send" roles="amq"/>
           
            <permission type="manage" roles="amq"/>
         </security-setting>
      </security-settings>

      <address-settings>
         
         <address-setting match="#">
            <dead-letter-address>jms.queue.DLQ</dead-letter-address>
            <expiry-address>jms.queue.ExpiryQueue</expiry-address>
            <redelivery-delay>0</redelivery-delay>
           
            <max-size-bytes>104857600</max-size-bytes>
            <page-size-bytes>10485760</page-size-bytes>
           
<message-counter-history-day-limit>10</message-counter-history-day-limit>
            <address-full-policy>PAGE</address-full-policy>
         </address-setting>
      </address-settings>
   </core>
</configuration>




please suggest with the best configurations.



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