2 Replies Latest reply on May 12, 2014 8:21 AM by Joseph Hwang

    how to change node name of WildFly AS in standalone.xml?

    Joseph Hwang Novice

      I am using 3 Wildfly 8.0 AS servers  with infinispan in a windows server. So each WildFly AS server has to have different node name for clustering setting of infinispan.

      This is the Infinispan setting of standalone.xml

       

      <subsystem xmlns="urn:jboss:domain:infinispan:2.0">

            <cache-container name="my-cache-container" default-cache="my-file-store" jndi-name="java:jboss/infinispan/container/cluster1" start="EAGER">

                      <transport cluster="infinispan_cluster" lock-timeout="60000"/>

                      <replicated-cache name="my-file-store" start="EAGER" mode="SYNC">

                          <transaction mode="NON_XA"/>

                          <eviction strategy="LIRS" max-entries="10000"/>

                          <file-store preload="true" passivation="true" singleton="true" path="temp"/>

                      </replicated-cache>

            </cache-container>

      ...

      When WildFly executed, the console shows the following message,

       

      17:02:55,695 INFO  [stdout] (ServerService Thread Pool -- 64)

      17:02:55,695 INFO  [stdout] (ServerService Thread Pool -- 64) -------------------------------------------------------------------

      17:02:55,695 INFO  [stdout] (ServerService Thread Pool -- 64) GMS: address=myhome/infinispan_cluster, cluster=infinispan_cluster, physical address=192.168.200.51:55200

      17:02:55,695 INFO  [stdout] (ServerService Thread Pool -- 64) -------------------------------------------------------------------

       

      The default address name  of WildFly AS node is the name of a windows server, "myhome", the same name.

      But I have to set the node name of each WildFly AS to be different.

       

      How can I change the node name of WildFly AS in standaole.xml?

      Your advice will be appreciated! Thanks in advance.