Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6857

Dump of Artemis cluster topology is hard to read

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 7.0.3.CR2, 7.1.0.DR7, 7.2.0.GA.CR1
    • ActiveMQ, User Experience
    • None

      You can dump Artemis cluster topology information via CLI. However the format of result is hard to read and should be formatted more nicely.

      In attachment you can find configuration of colocated HA topology for easier reproducing of issue.

      [standalone@127.0.0.1:10990 /] /subsystem=messaging-activemq/server=default/cluster-connection=my-cluster:read-resource(recursive=true, include-runtime=true)
      {
          "outcome" => "success",
          "result" => {
              "allow-direct-connections-only" => false,
              "call-failover-timeout" => -1L,
              "call-timeout" => 30000L,
              "check-period" => 30000L,
              "cluster-connection-address" => "jms",
              "confirmation-window-size" => 1048576,
              "connection-ttl" => 60000L,
              "connector-name" => "netty",
              "discovery-group" => "dg-group1",
              "initial-connect-attempts" => -1,
              "max-hops" => 1,
              "max-retry-interval" => 2000L,
              "message-load-balancing-type" => "ON_DEMAND",
              "min-large-message-size" => 102400,
              "node-id" => "6b5849d5-a1a6-11e6-b602-3ca9f4349bfc",
              "notification-attempts" => 2,
              "notification-interval" => 1000L,
              "reconnect-attempts" => -1,
              "retry-interval" => 1000L,
              "retry-interval-multiplier" => 1.0,
              "started" => true,
              "static-connectors" => undefined,
              "topology" => "topology on Topology@2ed1f17d[owner=ClusterConnectionImpl@1272003015[nodeUUID=6b5849d5-a1a6-11e6-b602-3ca9f4349bfc, connector=TransportConfiguration(name=netty, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=6445&useNio=true&host=localhost&useNioGlobalWorkerPool=true, address=jms, server=ActiveMQServerImpl::serverUUID=6b5849d5-a1a6-11e6-b602-3ca9f4349bfc]]:
      	6b5849d5-a1a6-11e6-b602-3ca9f4349bfc => TopologyMember[id = 6b5849d5-a1a6-11e6-b602-3ca9f4349bfc, connector=Pair[a=TransportConfiguration(name=netty, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=6445&useNio=true&host=localhost&useNioGlobalWorkerPool=true, b=TransportConfiguration(name=netty-backup, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=7446&host=localhost], backupGroupName=group2, scaleDownGroupName=null]
      	46aa5649-a1a6-11e6-87fd-3c970e9648c8 => TopologyMember[id = 46aa5649-a1a6-11e6-87fd-3c970e9648c8, connector=Pair[a=TransportConfiguration(name=netty, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=7445&useNio=true&host=localhost&useNioGlobalWorkerPool=true, b=TransportConfiguration(name=netty-backup, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=6446&host=localhost], backupGroupName=group1, scaleDownGroupName=null]
      	nodes=4	members=2",
              "use-duplicate-detection" => true
          }
      }
      

            ehugonne1@redhat.com Emmanuel Hugonnet
            eduda_jira Erich Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: