You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2015/01/21 18:59:11 UTC

karaf-cellar git commit: Add details about network in the user guide.

Repository: karaf-cellar
Updated Branches:
  refs/heads/cellar-2.3.x 2145f1b7a -> 765fe825f


Add details about network in the user guide.


Project: http://git-wip-us.apache.org/repos/asf/karaf-cellar/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf-cellar/commit/765fe825
Tree: http://git-wip-us.apache.org/repos/asf/karaf-cellar/tree/765fe825
Diff: http://git-wip-us.apache.org/repos/asf/karaf-cellar/diff/765fe825

Branch: refs/heads/cellar-2.3.x
Commit: 765fe825f7d37604301f4302b7e9192e0e7f30b9
Parents: 2145f1b
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Wed Jan 21 18:58:50 2015 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Wed Jan 21 18:58:50 2015 +0100

----------------------------------------------------------------------
 manual/src/main/webapp/user-guide/hazelcast.conf | 16 ++++++++++++++--
 manual/src/main/webapp/user-guide/nodes.conf     |  4 +++-
 2 files changed, 17 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf-cellar/blob/765fe825/manual/src/main/webapp/user-guide/hazelcast.conf
----------------------------------------------------------------------
diff --git a/manual/src/main/webapp/user-guide/hazelcast.conf b/manual/src/main/webapp/user-guide/hazelcast.conf
index ba76906..d5e3945 100644
--- a/manual/src/main/webapp/user-guide/hazelcast.conf
+++ b/manual/src/main/webapp/user-guide/hazelcast.conf
@@ -52,10 +52,18 @@ You can also use multicast (enabled by default in Cellar):
             </multicast>
 {code}
 
-Instead of using multicast, you can also explicitly define the host names (or IP addresses) of the different
+Instead or in addition of using multicast, you can also explicitly define the host names (or IP addresses) of the different
 Cellar nodes:
 
 {code}
+            <multicast enabled="true">...</multicast>
+            <tcp-ip enabled="true"/>
+{code}
+
+By default, it will use all network interfaces on the node machine. You can specify a interface:
+
+{code}
+            <multicast enabled="true">...</multicast>
             <tcp-ip enabled="true">
                 <interface>127.0.0.1</interface>
             </tcp-ip>
@@ -64,6 +72,8 @@ Cellar nodes:
 You can also discover nodes located on a Amazon instance:
 
 {code}
+            <multicast enabled="true">...</multicast>
+            <tcp-ip enabled="true">...</tcp-ip>
             <aws enabled="true">
                 <access-key>my-access-key</access-key>
                 <secret-key>my-secret-key</secret-key>
@@ -112,4 +122,6 @@ Two modes are supported:
             <!-- iteration count to use when generating the secret key -->
             <iteration-count>19</iteration-count>
         </symmetric-encryption>
-{code}
\ No newline at end of file
+{code}
+
+Cellar provides additional discovery mechanism (using jclouds for instance, see [Cloud|cloud]).

http://git-wip-us.apache.org/repos/asf/karaf-cellar/blob/765fe825/manual/src/main/webapp/user-guide/nodes.conf
----------------------------------------------------------------------
diff --git a/manual/src/main/webapp/user-guide/nodes.conf b/manual/src/main/webapp/user-guide/nodes.conf
index f5d09c8..a537247 100644
--- a/manual/src/main/webapp/user-guide/nodes.conf
+++ b/manual/src/main/webapp/user-guide/nodes.conf
@@ -17,6 +17,8 @@ karaf@root> cluster:node-list
 
 The starting '*' indicates that it's the Karaf instance on which you are logged on (the local node).
 
+NB: if you see only the local node there, and not the other nodes as expected, it's probably related to network issue. See [Core Configuration|hazelcast] for details.
+
 h2. Testing nodes
 
 You can ping a node to test it:
@@ -172,4 +174,4 @@ h2. Clustered resources
 
 Cellar provides dedicated commands and MBeans for clustered resources.
 
-Please, go into the [cluster groups|groups] section for details.
\ No newline at end of file
+Please, go into the [cluster groups|groups] section for details.