karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1297) Switching off multicast discovery in Cellar does not work properly
Date Thu, 12 Apr 2012 11:53:16 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252353#comment-13252353
] 

Jean-Baptiste Onofré commented on KARAF-1297:
---------------------------------------------

In KARAF-1248, I removed the etc/org.apache.karaf.cellar.instance.cfg file. Now, the only
way to configure Cellar network is using the etc/hazelcast.xml.

I made a try:

* on node1, in etc/hazelcast.xml:
[...]
    <network>
        <port auto-increment="true">5701</port>
        <join>
            <multicast enabled="false">
                <multicast-group>224.2.2.3</multicast-group>
                <multicast-port>54327</multicast-port>
            </multicast>
            <tcp-ip enabled="true">
                <interface>127.0.0.1:5701</interface>
            </tcp-ip>
[...]

* on node2, in etc/hazelcast.xml:
[...]
    <network>
        <port auto-increment="true">5702</port>
        <join>
            <multicast enabled="false">
                <multicast-group>224.2.2.3</multicast-group>
                <multicast-port>54327</multicast-port>
            </multicast>
            <tcp-ip enabled="true">
                <interface>127.0.0.1:5702</interface>
            </tcp-ip>
[...]

I started each node:

karaf@node1> cluster:node-list
   No. Host Name             Port ID
*    1 localhost             5701 localhost:5701
karaf@node1> 

and

karaf@node2> cluster:node-list
   No. Host Name             Port ID
*    1 localhost             5702 localhost:5702
karaf@node2> 

                
> Switching off multicast discovery in Cellar does not work properly
> ------------------------------------------------------------------
>
>                 Key: KARAF-1297
>                 URL: https://issues.apache.org/jira/browse/KARAF-1297
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>    Affects Versions: cellar-2.2.3
>            Reporter: Zsolt Beothy-Elo
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> Setting the propery multicastEnabled to false has not the expected effect. Still the
different Cellar are able to see each other.
> Environmnet is two Karaf 2.2.5 containers on different hosts. The Cellar version used
is 2.2.4 SNAPSHOT
> Steps to reproduce the issue:
> 1) Start karaf on first host (node1).
> 2) install cellar feature
> 3) shutdown node1.
> 4) update configuration for node:
> <org.apache.karaf.cellar.instance.cfg>:
> multicastEnabled=false
> multicastGroup=224.2.2.3
> multicastPort=54327
> multicastTimeoutSeconds=2
> tcpIpEnabled=false
> tcpIpMembers= MERGABLE[]
> 5) start karaf on second host (node2)
> 6) install cellar on node2
> 7) shutdown node2
> 8) update configuration of cellar on node2:
> <org.apache.karaf.cellar.instance.cfg>:
> multicastEnabled=false
> multicastGroup=224.2.2.4
> multicastPort=54328
> multicastTimeoutSeconds=2
> tcpIpEnabled=false
> tcpIpMembers= MERGABLE[]
> 9) start node1
> 10) start node2
> 11) wait until all bundles are normally started
> 12) execute cluster:node-list on both nodes.
> Expected to get only one node in output with host name on which it was executed, but
output on both instances return two nodes.

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

       

Mime
View raw message