users@glassfish.java.net

Glashfish clustering

From: <glassfish_at_javadesktop.org>
Date: Thu, 06 Aug 2009 16:41:06 PDT

Hi All,

        While configuring the clustering environment in Glashfish enterprise server, I got some some problems.

  --> I installed the Glashfish Enterprise application server in Machine1 and Machine2.
       
  --> I created node agents in the first machine and second machine using following commands.

 Machine 1 :-
 ---------------
C:\GlassFishESBv21\glassfish\bin>asadmin create-node-agent --host 172.31.85.238
--port 5000 agentOnFirst

Machine 2 :-
---------------
C:\GlassFishESBv21\glassfish\bin>asadmin create-node-agent --host 172.31.85.238
--port 5000 agentOnSecond

 --> After creating node agents I created the cluster in first mahcine.
 --> Then I created the instance in machine 1 under cluster and configured with nodeagent "agentOnFirst".
 --> I created the second instance under cluster and configured with node agent
      "agentOnSecond".

after this configuration I was able to start the instance first instance under node agent
"agentOnFirst". But I could not start the node agent running under "agentOnSecond".
 Eventhough I started it was under stopped mode.I am giving the node agent log file.

 second node agnet server.log file is as follows :
=================================
[#|2009-07-31T13:21:52.434-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=21;_ThreadName=RMI TCP Connection(140)-172.31.85.205;|NA-DEBUG: Got Lock: instance10|#]

[#|2009-07-31T13:21:52.434-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=21;_ThreadName=RMI TCP Connection(140)-172.31.85.205;instance10;|NAGT0018:The nodeagent is starting the server instance instance10|#]

[#|2009-07-31T13:30:24.532-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=22;_ThreadName=RMI TCP Connection(151)-172.31.85.205;|NA-DEBUG: startInstance(instance10, true)|#]

[#|2009-07-31T13:30:24.532-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=22;_ThreadName=RMI TCP Connection(151)-172.31.85.205;|NA-DEBUG: Got Lock: instance10|#]

[#|2009-07-31T13:30:24.532-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=22;_ThreadName=RMI TCP Connection(151)-172.31.85.205;instance10;|NAGT0018:The nodeagent is starting the server instance instance10|#]

[#|2009-07-31T15:19:02.040-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=23;_ThreadName=RMI TCP Connection(264)-172.31.85.205;|NA-DEBUG: startInstance(instance10, true)|#]

[#|2009-07-31T15:19:02.056-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=23;_ThreadName=RMI TCP Connection(264)-172.31.85.205;|NA-DEBUG: Got Lock: instance10|#]

[#|2009-07-31T15:19:02.056-0500|INFO|sun-appserver2.1|javax.ee.enterprise.system.nodeagent|_ThreadID=23;_ThreadName=RMI TCP Connection(264)-172.31.85.205;instance10;|NAGT0018:The nodeagent is starting the server instance instance10|#]


Please help me.I am unable to go further.

Thanks in advance,
Krishna.
[Message sent by forum member 'jv_krishna5252' (jv_krishna5252)]

http://forums.java.net/jive/thread.jspa?messageID=359323