Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1974

Allow the udp multicast group to be configurable through a system property and command line option

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • JBossAS-4.0.3RC2
    • None
    • Clustering
    • None

      Because of the ease of use feature within JBoss clustering that all nodes on the same network will
      discover each other and form a clustered partition, you can have problems where clusters are formed
      unintentionally.

      To simplify this problem we should provide a system property and command line option that lets
      all the udp groups used by jboss to be separated.
      e.g.
      ./run.sh -c all -u 228.1.2.4
      i.e. all udp is done on address 228.1.2.4

      This will be configured using system proprties in the jboss configuration, e.g.
      <mbean code="org.jboss.ha.framework.server.ClusterPartition"
      name="jboss:service=${jboss.partition.name:DefaultPartition}">

      <!-- Name of the partition being built -->
      <attribute name="PartitionName">${jboss.partition.name:DefaultPartition}</attribute>
      ...
      <Config>
      <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45566"

      where the -u option sets the jboss.partition.udpGroup system property

            adrian.brock Adrian Brock (Inactive)
            adrian.brock Adrian Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: