[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-298) mod_cluster doesn't work with IPv6

Michal Babacek (JIRA) jira-events at lists.jboss.org
Wed Apr 4 11:41:47 EDT 2012


    [ https://issues.jboss.org/browse/MODCLUSTER-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681754#comment-12681754 ] 

Michal Babacek commented on MODCLUSTER-298:
-------------------------------------------

I have tried these preview builds by [~jfclere]:
 * [mod_cluster-fix-JBPAPP-8623-by-JFC.tar|http://download.eng.brq.redhat.com/scratch/mbabacek/mod_cluster-fix-JBPAPP-8623-by-JFC.tar]
 * [mod_cluster-core-1.2.1.Beta1.jar|http://download.eng.brq.redhat.com/scratch/mbabacek/mod_cluster-core-1.2.1.Beta1.jar]

With setting:

{code:title=modcluster.conf|borderStyle=solid|borderColor=#ccc| titleBGColor=#F7D6C1}
<IfModule manager_module>
  Listen [2620:52:0:105f:214:22ff:fe1c:c53c]:8888
  ManagerBalancerName qacluster
  <VirtualHost [2620:52:0:105f:214:22ff:fe1c:c53c]:8888>
<Location />
     Order deny,allow
     Deny from all
     Allow from all
</Location>

    KeepAliveTimeout 60
    MaxKeepAliveRequests 0
    ServerAdvertise on http://[2620:52:0:105f:214:22ff:fe1c:c53c]:8888
    AdvertiseFrequency 5
    AdvertiseSecurityKey secret
    AdvertiseGroup [ff01::1]:6666
    EnableMCPMReceive

<Location /mcm>
       SetHandler mod_cluster-manager
       Order deny,allow
       Deny from all
       Allow from all
</Location>

  </VirtualHost>
</IfModule>
{code}
{code:title=standalone-ha.xml|borderStyle=solid|borderColor=#ccc| titleBGColor=#F7D6C1}
    +++
    <subsystem xmlns="urn:jboss:domain:modcluster:1.0">
    <mod-cluster-config advertise-socket="modcluster" advertise-security-key="secret" sticky-session="true" sticky-session-force="false"/>
    </subsystem>
</profile>
<interfaces>
    <interface name="management">
    <inet-address value="${jboss.bind.address.management:[2620:52:0:105f:214:22ff:fe1c:c53c]}"/>
    </interface>
    <interface name="public">
    <inet-address value="${jboss.bind.address:[2620:52:0:105f:214:22ff:fe1c:c53c]}"/>
    </interface>
    <interface name="unsecure">
    <inet-address value="${jboss.bind.address.unsecure:[2620:52:0:105f:214:22ff:fe1c:c53c]}"/>
    </interface>
</interfaces>
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
    +++
    <socket-binding name="modcluster" interface="public" port="0" multicast-address="[ff01::1]" multicast-port="6666"/>
    +++
</socket-binding-group>
+++
{code}
{code:title=ifconfig|borderStyle=solid|borderColor=#ccc| titleBGColor=#F7D6C1}
eth0      Link encap:Ethernet  HWaddr 00:14:22:1C:C5:3C
          inet addr:10.16.88.165  Bcast:10.16.95.255  Mask:255.255.248.0
          inet6 addr: fec0:0:a16:ffff::9/64 Scope:Site
          inet6 addr: fec0:0:a16:ffff::a/64 Scope:Site
          inet6 addr: fec0:0:a16:ffff::b/64 Scope:Site
          inet6 addr: fec0:0:a16:ffff::c/64 Scope:Site
          inet6 addr: 2620:52:0:105f:214:22ff:fe1c:c53c/64 Scope:Global
          inet6 addr: fe80::214:22ff:fe1c:c53c/64 Scope:Link
          +++
{code}
and it looks good :-)

{noformat}
[hudson at dev06 ~]$ telnet 2620:52:0:105f:214:22ff:fe1c:c53c 8888
+++
GET /mcm
<h1> Node dev06node (ajp://[2620:52:0:105f:214:22ff:fe1c:c53c%2]:8009): </h1>
<a href="/mcm?nonce=66f40b0a-abfe-45e2-934d-bd8d2f1309b0&Cmd=ENABLE-APP&Range=NODE&JVMRoute=dev06node">Enable Contexts</a> <a href="/mcm?nonce=66f40b0a-abfe-45e2-934d-bd8d2f1309b0&Cmd=DISABLE-APP&Range=NODE&JVMRoute=dev06node">Disable Contexts</a><br/>
+++
{noformat}





                
> mod_cluster doesn't work with IPv6
> ----------------------------------
>
>                 Key: MODCLUSTER-298
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-298
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: MOD_CLUSTER_1_0_10_GA_CP02, 1.2.1.Beta1
>            Reporter: Jean-Frederic Clere
>            Assignee: Jean-Frederic Clere
>              Labels: ipv6
>             Fix For: 1.2.1.Beta2
>
>
> the node does code : format the way the native part expects it.
> the handing of : format is wrong for the cping/cpong logic.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the mod_cluster-issues mailing list