users@glassfish.java.net

Re: Glashfish 2.1 clustering (2 machine setup)

From: Satyajit Tripathi <Satyajit.Tripathi_at_Sun.COM>
Date: Wed, 08 Apr 2009 11:10:01 +0530
Hello Krishna,

To setup the 2 machine clustering, you need to do the following

STEPS :-
  1. Create another node-agent on the 2nd machine
  2. Create server instances on the 2nd machine, and specify the --nodeagent (2nd m/c), --host (DAS on 1st m/c), and --cluster (name on DAS)

Please find the command below to create the server instance on the 2nd machine

-----------------------------------
asadmin> create-instance --host <hostname/IP-of-the-DAS> --port <default:4848> --nodeagent <node2> --cluster <cluster1> instance2
-----------------------------------

This should get you going, and should be able to start the instances from the DAS. After the above steps you should also verify the rendezvous parameter is set to 'true'.

Thanks & regards
--Satya



glassfish@javadesktop.org wrote:
Hi Satyajit,

Thank you for your quick responce.....

Now I am able to start the node agent with default password(i.e changeit)
I saw this while refering your pdf.Now I will be able to start node agent and cluster as well.

But I have one doubt regarding clustering..
1) How to configure the instance running on some other machine under the cluster running in my machine? 
because if I configure the cluster with two instances in my machine, if my machine crashes all the instances running under the cluster in my computer will be stoped.I did't find such configuration in your pdf.

Please help me...

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

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

---------------------------------------------------------------------
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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~