Hello Krishna,
I recall answering a similar question some time back on GlassFish
clustering setup on two systems. Please refer to
http://www.nabble.com/Clustering-Glassfish--Issue-td23215576.html#a23318020.
Let me know if that resolves the issue ?
Also, if you would like to see the other issues discussed by me on
clustering, please refer
http://www.nabble.com/user/UserPosts.jtp?user=1303673.
My blog is at
http://blogs.sun.com/stripathi, where you can find the
presentation on "GlassFish Clustering - Simplified".
Thanks & regards
--Satya
glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~