Trying to set up a 2 node 2 instance cluster on Centos 6.3 and JDK 6u35
x86_64 using GF 3.1.2.2. I get no errors with any of the steps and can deploy
web apps fine to the cluster, however ports 23700, 23820 and 23920 do not
listen (all other 2xxxx ports fire up fine). Logs also has no errors on start
up. glassfish1: ssh test_at_glassfish1.corp.local sudo su - /etc/init.d/iptables
save /etc/init.d/iptables stop chkconfig iptables off nano /etc/hosts Add
glassfish1 and glassfish2 hosts adduser glassfish passwd glassfish chown -Rf
glassfish:glassfish /opt/glassfish3 exit exit glassfish2: ssh
test_at_glassfish2.corp.local sudo su - /etc/init.d/iptables save
/etc/init.d/iptables stop chkconfig iptables off nano /etc/hosts Add
glassfish1 and glassfish2 hosts adduser glassfish passwd glassfish chown -Rf
glassfish:glassfish /opt/glassfish3 exit exit ssh
glassfish_at_glassfish2.corp.local cd /opt/glassfish3/bin ./asadmin start-domain
domain1 change-admin-password --domain_name domain1 enable-secure-admin
--port 4848 restart-domain domain1 glassfish1: ssh
glassfish_at_glassfish1.corp.local cd /opt/glassfish3/bin ./asadmin setup-ssh
glassfish1.corp.local glassfish2.corp.local start-domain domain1
change-admin-password --domain_name domain1 enable-secure-admin --port 4848
restart-domain domain1 create-cluster mascluster configure-jms-cluster
--clustertype=conventional --configstoretype=masterbroker mascluster
create-local-instance --cluster mascluster masinstance1 glassfish2:
create-local-instance --host glassfish1.corp.local --cluster mascluster
masinstance2 glassfish1: Enable SSH remote access to node
glassfish2.corp.local in admin UI start-cluster mascluster list-instances
--
[Message sent by forum member 'sgjava']
View Post: http://forums.java.net/node/893172