Hi All,

We have configured Artemis 2.31.0 symmetric cluster in the test environment.
Example of cluster configuration on one of the nodes:

<cluster-connections>
<cluster-connection name="test">
    <address></address>
    <connector-ref>amq1-connector</connector-ref>
    <check-period>1000</check-period>
    <connection-ttl>5000</connection-ttl>
    <min-large-message-size>50000</min-large-message-size>
    <call-timeout>5000</call-timeout>
    <retry-interval>500</retry-interval>
    <retry-interval-multiplier>1.0</retry-interval-multiplier>
    <max-retry-interval>5000</max-retry-interval>
    <initial-connect-attempts>-1</initial-connect-attempts>
    <reconnect-attempts>-1</reconnect-attempts>
    <use-duplicate-detection>true</use-duplicate-detection>
    <message-load-balancing>ON_DEMAND</message-load-balancing>
    <max-hops>1</max-hops>
    <static-connectors>
       <connector-ref>amq2-connector</connector-ref>
    </static-connectors>
</cluster-connection>
</cluster-connections>

It works as expected. Then we add scaledown settings:

<ha-policy>
<live-only>
    <scale-down>
       <enabled>true</enabled>
       <connectors>
          <connector-ref>amq2-connector</connector-ref>
       </connectors>
    </scale-down>
</live-only>
</ha-policy>

It also works. When stopping first server, the messages are transferred to the 
second server.
Adding graceful-shutdown:

<graceful-shutdown-enabled>true</graceful-shutdown-enabled>
<graceful-shutdown-timeout>300000</graceful-shutdown-timeout>

The graceful-shutdown works: broker waits for the clients to disconnect before 
shutdown. But scale-down does not work: the messages are not sent to the second 
server.
Is it possible to use both settings?

--
Best regards,
Aleksandr


-----------------------------------

This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient any 
use, distribution, copying or disclosure is strictly prohibited. If you have 
received this message in error, please notify the sender immediately either by 
telephone or by e-mail and delete this message and any attachment from your 
system. Correspondence via e-mail is for information purposes only. AO 
Raiffeisenbank neither makes nor accepts legally binding statements by e-mail 
unless otherwise agreed.

-----------------------------------

Reply via email to