Hello Ganesh,
Two points to note here for your environment.
1). You should use the GlassFish Enterprise Server V2.1 Patch01 (i.e.
SJS Application Server 9.1_02 Patch07).
There are few known issues on Linux environment with respect to
clustering. Refer
http://sunsolve.sun.com/search/document.do?assetkey=1-21-128642-09
2). Check the file /etc/hosts on your system and make sure that the
Hostname is not mapped to 127.0.0.1, instead with a real IP-Address
If you would like to read more about GlassFish Clustering look at the
Presentation on my blog :
GlassFish-V2-Clustering-Simplified.pdf
Please let me know if you found the tips useful ?
Thanks & regards
--Satya
glassfish@javadesktop.org wrote:
Hi All,
Im trying to cluster the glassfish across two servers (Im New to same, kindly assist).
1) I have one server (say Server- A, Port-8888), which i will have it as DAS and also an Node-Agent.
2) In the above server and port, i have created the node-agent and started the same..It got started fine.
3) from another server (say Server B, Port-8888), i have created the node-agent pointing to the IP of "Server A" and port 8888
4) the Node agent is created and i can see it in "Server A" admin console (Node-set tree, with stopped status).
5) but when i try to start the node-agent from Server B, im getting below error:
[#|2009-04-24T17:05:01.548+0530|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|IdentityManager Data: User:admin|#]
[#|2009-04-24T17:05:01.756+0530|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0004:Starting Node Agent...|#]
[#|2009-04-24T17:05:01.797+0530|CONFIG|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|DAS url = service:jmx:rmi:///jndi/rmi://RSI-CHE-GGIVirtual1:37486/management/rmi-jmx-connector|#]
[#|2009-04-24T17:05:01.972+0530|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0025:The node agent could not configure logging levels. Default logging level will be used.|#]
[#|2009-04-24T17:05:01.972+0530|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0038:Executing Synchronization for node-agent With DAS|#]
[#|2009-04-24T17:05:11.152+0530|INFO|sun-appserver9.1|javax.ee.enterprise.system.tools.synchronization|_ThreadID=10;_ThreadName=main;|SYNC001: Unable to communicate with Domain Administration Server. Skipping synchronization.|#]
[#|2009-04-24T17:05:11.155+0530|SEVERE|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0035:The NodeAgent failed to complete the intial synchronization with the DAS. Please make sure the DAS is running and is accessible from the NodeAgents server|#]
[#|2009-04-24T17:05:13.161+0530|WARNING|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]
In both the servers, the system timings are different, Any issues on it?
Both are Linux environment.
Once the above is done, i could able to cluster both using "Cluster" node option in Admin Console.
Please help me on the above to proceed further. Let me know if any information is required.
Thanks&Regards,
Ganesh
[Message sent by forum member 'ganpx001' (ganpx001)]
http://forums.java.net/jive/thread.jspa?messageID=343524
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~