Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-34693

As a SysAdmin I can benefit from a default configuration when using a cluster with IPv6

Details

    Description

      The client who wants to use portal with IPV6 need to config cluster as IPV6.

      We are using JGroups to provide low level cluster feature, I checked jgroup's doc and did some simple test. Jgroups should support IPV6, but there is an exception, it does not work on linux with SUN JDK5, see https://community.jboss.org/wiki/IPv6 for more details. If the client makes sure his environment support IPV6, he can uncomment the default IPV6 to make it work.

      How to enable IPV6:

      1. Enable IPV6 in your OS.
      2. Set this property }
        -Djava.net.preferIPv4Stack=false

        to false in setenv.bat

      3. Set the following properties in portal.properties:
        cluster.link.enabled=true

      #multicast.group.address["cluster-link-control"]=239.255.0.1
      multicast.group.address["cluster-link-control"]=ff0e::8:8:1

      #multicast.group.address["cluster-link-udp"]=239.255.0.2
      multicast.group.address["cluster-link-udp"]=ff0e::8:8:2

      #multicast.group.address["cluster-link-mping"]=239.255.0.3
      multicast.group.address["cluster-link-mping"]=ff0e::8:8:3

      cluster.link.autodetect.address=
      cluster.link.bind.addr["cluster-link-control"]=IPV6_ADDRESS
      cluster.link.bind.addr["cluster-link-udp"]=IPV6_ADDRESS

      1. Start portal, check the log in console if cluster is enabled and the address it's using is IPV6

      Attachments

        Issue Links

          Activity

            People

              sharon.choi Sharon Choi (Inactive)
              tina.tian Tina Tian
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  6.2.0 CE M5