Supporting IPv6


BMC IT Business Management supports Internet Protocol (IP) v6 to run the product on a standalone node. To run the product on a cluster, the system uses both IPv6 and IPv4 for JBoss 6 and just IPv4 for JBoss 5.

For more information about setting up clusters for JBoss 6 using IPv6, see Setting-up-clusters-for-JBoss-Application-Server-6.

Before you begin

To support using IPv6, the system requires Java Runtime Environment 1.7.

To set up IPv6 for JBoss Application Server 6

When you install BMC IT Business Management and JBoss on a stand-alone node, select all the following check boxes:


    • BMC IT Business Management Suite 8.1.01 Installation
    • Install BMC IT Business Management Core Components 8.1.01
    • Install Configuration for BMC IT Business Management Application Service
    • Install Configuration for JBOSS

      first node 1.png

To configure IPv6 for JBoss Application Server 6 on Windows

  1. Before you start JBoss by running the standalone.bat file from the command line, add the -Djava.net.preferIPv6Addresses=true and -Djava.net.preferIPv4Stack=false parameters to the standalone.conf.bat file. Both standalone.bat and standalone.conf.bat files are located in the <JBOSS_HOME>\bin folder (for example, C:\jboss-eap-6.0\bin).
  2. In the same <JBOSS_HOME>\bin\standalone.conf.bat file, change the -Djboss.messaging.ServerPeerID=1 parameter to the -Djboss.messaging.ServerPeerID=<UniqueId> parameter, where the value of<UniqueId> is a unique number assigned to a node.
  3. Verify that the standalone-full-ha.xmlfile contains the following declaration:

    <interface name="public">
                      <inet-address value="${jboss.bind.address:[< IPv6-ADDRESS>]}"/>
             </interface>

    The value of <IPv6-ADDRESS> value is the IP address of the respective node.

    The standalone-full-ha.xml file is located at <JBOSS_HOME>\standalone\configuration (for example, C:\jboss-eap-6.0\standalone\configuration).

To specify the IP address without changing standalone-full-ha.xml, run JBoss with the start parameter -b. You can also specify the ServerPeerID as an argument to the standalone.bat file without changing its value in the standalone.conf.bat file. For example:
standalone.bat -b [<IPv6Address>]- Djboss.messaging.ServerPeerID=1

To configure IPv6 for JBoss Application Server 6 on Linux

  1. Before you start JBoss by running the standalone.sh file from the command line, add the -Djava.net.preferIPv6Addresses=true and -Djava.net.preferIPv4Stack=false parameters to the standalone.conf file. Both standalone.sh and standalone.conf files are located at <JBOSS_HOME>/bin folder (for example, /data1/jboss-eap-6.0/bin).
  2. In the same <JBOSS_HOME>/bin/standalone.conf file, change the -Djboss.messaging.ServerPeerID=1 parameter to the -Djboss.messaging.ServerPeerID=<UniqueId> parameter, where the value of <UniqueId> is a unique number assigned to a node.
  3. Verify that the standalone-full.xml file contains the following declaration:

    <interface name="public">
                      <inet-address value="${jboss.bind.address:[< IPv6-ADDRESS>]}"/>
             </interface>

    The value of <IPv6-ADDRESS> value is the IP address of the respective node.

    The standalone-full.xml file is located at <JBOSS_HOME>/standalone/configuration (for example, /data1/jboss-eap-6.0/standalone/configuration).

To specify the IP address without changing standalone-full.xml is to run JBoss with the start parameter -b. You can also specify the ServerPeerID as an argument to the standalone.sh file without changing its value in the standalone.conf file, for example:
standalone.sh -b [<IPv6Address>]- Djboss.messaging.ServerPeerID=1

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*