3 Replies Latest reply on Apr 26, 2010 7:20 AM by manik

    how to make a cluster from different nodes

    jia

      I am having infinispan-4.1.0.ALPHA2, I run GUI demo on same node fine, I can form the clusters. Nopw I am trying to form cluster from different nodes. I changed runGuiDemo scripts -Dbind.address=my node IP on two different machines, they can come up on each machine, but it seems they do not know the existence of each other. Here is the log: This happens on each individual node, and it looks like they bind to the right IP. Is the socket size issue prevent them from connceting?

       

      Any help will be appreciated,

       

      Thanks,

       

      Jessica

       

      2010-04-22 10:08:29,342 WARN [org.infinispan.util.ModuleProperties] (pool-1-thread-1) Module query loaded, but could not be initialized

      java.lang.ClassNotFoundException: org.infinispan.query.impl.LifecycleManager

      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

      at org.infinispan.util.Util.loadClass(Util.java:57)

      at org.infinispan.util.ModuleProperties.resolveModuleLifecycles(ModuleProperties.java:116)

      at org.infinispan.factories.AbstractComponentRegistry.<clinit>(AbstractComponentRegistry.java:104)

      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:279)

      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:255)

      at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:320)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(Thread.java:619)

      2010-04-22 10:08:29,888 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-1-thread-1) Starting JGroups Channel

      2010-04-22 10:08:29,888 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-1-thread-1) Unable to use any JGroups configuration mechanisms provided in properties {}. Using default JGroups configuration!

      2010-04-22 10:08:30,542 WARN [org.jgroups.protocols.UDP] (pool-1-thread-1) receive buffer of socket java.net.DatagramSocket@1c66ec7 was set to 20MB, but the OS only allocated 2.1MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

      2010-04-22 10:08:30,542 WARN [org.jgroups.protocols.UDP] (pool-1-thread-1) receive buffer of socket java.net.MulticastSocket@1a4ea4f was set to 25MB, but the OS only allocated 2.1MB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

      2010-04-22 10:08:33,569 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-1-thread-1) Received new cluster view: [ccserv3-39744|0] [ccserv3-39744]

      2010-04-22 10:08:33,570 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-1-thread-1) Cache local address is ccserv3-39744, physical addresses are [170.137.230.104:41233]