title: Synchronization between server instances with static discovery and shared storage setup
body: <p>I have created the Apache Artemis server instance HA cluster setup with static discovery and shared storage mode. I have created master server setup in one machine and slave setup in second machine. I have created new queue say <code>queue.xyz</code> in master server. I opened management console in slave server but queue details is not present. </p>
  
  <p>I am wondering why queue presence is not visible to second machine even though I used shared storage mode configuration. My assumption here is, shared storage mode is synchronizing all the queues and topic details in all two servers. Please let me know if i am wrong in my assumption.</p>
  
  <p>Can anybody have any clue and guide me where I have missed something in this setup.</p>
  
  <p>Here's the master's <code>broker.xml</code>:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
    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.
  --&gt;
  &lt;configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd"&gt;
     &lt;core xmlns="urn:activemq:core"&gt;
  
        &lt;bindings-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/bindings&lt;/bindings-directory&gt;
  
        &lt;journal-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/journal&lt;/journal-directory&gt;
        &lt;journal-type&gt;NIO&lt;/journal-type&gt;
        &lt;journal-max-io&gt;1&lt;/journal-max-io&gt;
  
        &lt;large-messages-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/largemessages&lt;/large-messages-directory&gt;
  
        &lt;paging-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/paging&lt;/paging-directory&gt;
  
        &lt;cluster-user&gt;admin&lt;/cluster-user&gt;
  
        &lt;cluster-password&gt;admin&lt;/cluster-password&gt;
  
       &lt;ha-policy&gt;
          &lt;shared-store&gt;
              &lt;master&gt;
  
                  &lt;failover-on-shutdown&gt;true&lt;/failover-on-shutdown&gt;
                  &lt;wait-for-activation&gt;true&lt;/wait-for-activation&gt;
  
              &lt;/master&gt;
          &lt;/shared-store&gt;
      &lt;/ha-policy&gt;
  
        &lt;connectors&gt;
           &lt;connector name="netty-connector"&gt;tcp://192.168.1.1:61616&lt;/connector&gt;
           &lt;connector name="netty-backup-connector"&gt;tcp://192.168.1.2:61616&lt;/connector&gt;
        &lt;/connectors&gt;
  
        &lt;!-- Acceptors --&gt;
        &lt;acceptors&gt;
           &lt;acceptor name="netty-acceptor"&gt;tcp://192.168.1.1:61616&lt;/acceptor&gt;
        &lt;/acceptors&gt;
  
        &lt;cluster-connections&gt;
           &lt;cluster-connection name="my-cluster"&gt;
              &lt;connector-ref&gt;netty-connector&lt;/connector-ref&gt;
              &lt;static-connectors&gt;
                 &lt;connector-ref&gt;netty-backup-connector&lt;/connector-ref&gt;
              &lt;/static-connectors&gt;
           &lt;/cluster-connection&gt;
        &lt;/cluster-connections&gt;
        &lt;!-- Other config --&gt;
  
  
        &lt;security-enabled&gt;false&lt;/security-enabled&gt;
  
        &lt;security-settings&gt;
           &lt;!--security for example queue--&gt;
           &lt;security-setting match="exampleQueue"&gt;
              &lt;permission roles="guest" type="createDurableQueue"/&gt;
              &lt;permission roles="guest" type="deleteDurableQueue"/&gt;
              &lt;permission roles="guest" type="createNonDurableQueue"/&gt;
              &lt;permission roles="guest" type="deleteNonDurableQueue"/&gt;
              &lt;permission roles="guest" type="consume"/&gt;
              &lt;permission roles="guest" type="send"/&gt;
           &lt;/security-setting&gt;
        &lt;/security-settings&gt;
  
        &lt;addresses&gt;
           &lt;address name="exampleQueue"&gt;
              &lt;anycast&gt;
                 &lt;queue name="exampleQueue"/&gt;
              &lt;/anycast&gt;
           &lt;/address&gt;
        &lt;/addresses&gt;
     &lt;/core&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Here's the slave's <code>broker.xml</code>:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
    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.
  --&gt;
  &lt;configuration xmlns="urn:activemq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:activemq /schema/artemis-configuration.xsd"&gt;
     &lt;core xmlns="urn:activemq:core"&gt;
  
        &lt;bindings-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/bindings&lt;/bindings-directory&gt;
  
        &lt;journal-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/journal&lt;/journal-directory&gt;
        &lt;journal-type&gt;NIO&lt;/journal-type&gt;
        &lt;journal-max-io&gt;1&lt;/journal-max-io&gt;
  
        &lt;large-messages-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/largemessages&lt;/large-messages-directory&gt;
  
        &lt;paging-directory&gt;/home/Apache/shareddrive/ApacheArtemis/data/paging&lt;/paging-directory&gt;
  
        &lt;cluster-user&gt;admin&lt;/cluster-user&gt;
  
        &lt;cluster-password&gt;admin&lt;/cluster-password&gt;
  
        &lt;ha-policy&gt;
            &lt;shared-store&gt;
                &lt;slave&gt;
                    &lt;allow-failback&gt;true&lt;/allow-failback&gt;
                    &lt;failover-on-shutdown&gt;true&lt;/failover-on-shutdown&gt;
                 &lt;/slave&gt;
            &lt;/shared-store&gt;
        &lt;/ha-policy&gt;
  
        &lt;connectors&gt;
           &lt;connector name="netty-connector"&gt;tcp://192.168.1.2:61616&lt;/connector&gt;
           &lt;connector name="netty-backup-connector"&gt;tcp://192.168.1.1:61616&lt;/connector&gt;
        &lt;/connectors&gt;
  
        &lt;!-- Acceptors --&gt;
        &lt;acceptors&gt;
           &lt;acceptor name="netty-acceptor"&gt;tcp://192.168.1.2:61616&lt;/acceptor&gt;
        &lt;/acceptors&gt;
  
        &lt;cluster-connections&gt;
           &lt;cluster-connection name="my-cluster"&gt;
              &lt;connector-ref&gt;netty-connector&lt;/connector-ref&gt;
              &lt;static-connectors&gt;
                 &lt;connector-ref&gt;netty-backup-connector&lt;/connector-ref&gt;
              &lt;/static-connectors&gt;
           &lt;/cluster-connection&gt;
        &lt;/cluster-connections&gt;
        &lt;!-- Other config --&gt;
  
  
        &lt;security-enabled&gt;false&lt;/security-enabled&gt;
  
        &lt;security-settings&gt;
           &lt;!--security for example queue--&gt;
           &lt;security-setting match="exampleQueue"&gt;
              &lt;permission roles="guest" type="createDurableQueue"/&gt;
              &lt;permission roles="guest" type="deleteDurableQueue"/&gt;
              &lt;permission roles="guest" type="createNonDurableQueue"/&gt;
              &lt;permission roles="guest" type="deleteNonDurableQueue"/&gt;
              &lt;permission roles="guest" type="consume"/&gt;
              &lt;permission roles="guest" type="send"/&gt;
           &lt;/security-setting&gt;
        &lt;/security-settings&gt;
  
        &lt;addresses&gt;
           &lt;address name="exampleQueue"&gt;
              &lt;anycast&gt;
                 &lt;queue name="exampleQueue"/&gt;
              &lt;/anycast&gt;
           &lt;/address&gt;
        &lt;/addresses&gt;
     &lt;/core&gt;
  &lt;/configuration&gt;
  </code></pre>