users@glassfish.java.net

Glassfh 3.1 configuration with 2 domains

From: <forums_at_java.net>
Date: Mon, 27 Feb 2012 03:47:03 -0600 (CST)

Hello,

I'm a newby with the Glassfish enviroment and i have tried to install GF v3.1
and configure it on 3 virtual servers (server1: DAS, server2: node-1 (Front),
server3: node-2 (Back)).

I'm having problems configuring correctly domain2 with back-cluster. What
would be the correct comand line to do this ?

After i've verified that all the servers have the same hosts settings, java
version, curl installed and glassfish users created,  i proceed with the GF
instalation as following:

On DAS:

asadmin setup-ssh node-1

asadmin setup-ssh node-2

 

asadmin install-node node-1

asadmin install-node node-2

 

asadmin start-domain domain1

asadmin enable-secure-admin

asadmin restart-domain domain1

 

asadmin --user admin create-domain --savelogin --checkports=false --adminport
4949 --instanceport 8081
--domainproperties=jms.port=7677:domain.jmxPort=8687:orb.listener.port=3701:http.ssl.port=8182:orb.ssl.port=3821:orb.mutualauth.port=3921
domain2

 

asadmin create-node-ssh --nodehost node-1 node-front

asadmin create-node-ssh --nodehost node-2 node-back

 

asadmin create-cluster front-cluster

asadmin create-cluster back-cluster --portbase 4949  (which is not working
actually)

 

asadmin create-instance --cluster front-cluster --node node-front
instance-front

asadmin create-instance --cluster back-cluster --node node-back instance-back

So how should i configure correctly domain2 with back-cluster ? Thank you.


--
[Message sent by forum member 'alyg05']
View Post: http://forums.java.net/node/883807