users@glassfish.java.net

HADB + SunONE 8 Configuration Problems

From: <glassfish_at_javadesktop.org>
Date: Tue, 10 Mar 2009 05:58:08 PDT

I have setup load balancing with SunONE 8, a cluster of 2 instances and Sun Web Server 6.1

I now am attempting to install HA, the agent looks to startup fine:
asadmin_at_fx-lon-opstrain:bin$ ./ma-initd start
Management Agent version 4.4.3.5 [V4-4-3-5 2006-07-20 16:02:27 pakker_at_astra07] (SunOS_5.9_sparc) starting
Logging to /opt/SUNWappserver/hadb/4.4.3-5/log/ma.log
2009-03-10 08:35:07.543 INFO Management Agent version 4.4.3.5 [V4-4-3-5 2006-07-20 16:02:27 pakker_at_astra07] (SunOS_5.9_sparc) starting
2009-03-10 08:35:07.555 INFO Using property: ma.server.type=jmxmp
2009-03-10 08:35:07.559 INFO Using property: ma.server.mainternal.interfaces=
2009-03-10 08:35:07.562 INFO Using property: ma.server.dbhistorypath=/opt/SUNWappserver/hadb/4.4.3-5/history
2009-03-10 08:35:07.567 INFO Using property: ma.server.dbconfigpath=/opt/SUNWappserver/config/hadb
2009-03-10 08:35:07.593 INFO Using property: console.loglevel=INFO
2009-03-10 08:35:07.595 INFO Using property: logfile.name=/opt/SUNWappserver/hadb/4.4.3-5/log/ma.log
2009-03-10 08:35:07.598 INFO Using property: ma.server.jmxmp.port=1862
2009-03-10 08:35:07.600 INFO Using property: logfile.loglevel=INFO
2009-03-10 08:35:07.602 INFO Using property: ma.server.dbdevicepath=/opt/SUNWappserver/hadb/4.4.3-5/device
2009-03-10 08:35:07.604 INFO Using property: repository.dr.path=/opt/SUNWappserver/hadb/4.4.3-5/rep
2009-03-10 08:35:08.195 INFO Listening for client connections on port 1862
2009-03-10 08:35:08.424 INFO Repository REP:cb929bd_11fec8a708d_-8000: Multicast address=228.8.8.8, Port=1862, Bind address=10.4.152.199, Path=/opt/SUNWappserver/hadb/4.4.3-5/rep
asadmin_at_fx-lon-opstrain:bin$ 2009-03-10 08:35:13.765 INFO Ready to accept client requests


But on running the following command to configure the cluster it errors out.
asadmin_at_fx-lon-opstrain:bin$ ./asadmin configure-ha-cluster --user admin --hosts fx-lon-opstrain,fx-lon-opstrain --devicesize 256 firstCluster
2009-03-10 08:37:26.315 INFO hadbm status --adminpasswordfile=/opt/SUNWappserver/domains/filogix/config/adminpassword --agent=10.4.152.199,10.4.152.199:1862 --nodes=false --quiet=false --version=false --yes=false --force=false --echo=false firstCluster
2009-03-10 08:37:34.802 INFO hadbm status --adminpasswordfile=/opt/SUNWappserver/domains/filogix/config/adminpassword --agent=10.4.152.199,10.4.152.199:1862 --nodes=false --quiet=false --version=false --yes=false --force=false --echo=false firstCluster
2009-03-10 08:37:43.270 INFO hadbm start --quiet=true --adminpasswordfile=/opt/SUNWappserver/domains/filogix/config/adminpassword --agent=10.4.152.199,10.4.152.199:1862 --force=false --version=false --yes=false --echo=false firstCluster
2009-03-10 08:38:04.873 INFO Starting node firstCluster:1 at level nomanstart, config version 5, in order to start database
2009-03-10 08:38:04.881 INFO Starting node firstCluster:0 at level nomanstart, config version 5, in order to start database
2009-03-10 08:38:05.262 INFO n:0 NSUP INF 2009-03-10 08:38:05.068 p:804 Could not set realtime priority
2009-03-10 08:38:05.398 INFO n:1 NSUP INF 2009-03-10 08:38:05.134 p:805 Could not set realtime priority
Operation 'createHACluster' failed in 'hadb-config' Config Mbean.
Target exception message: HADBMGMT046:Couldn't start the database firstCluster. Return value: 1, Message from hadbm: hadbm:Error 22009: The operation issued has had no progress in the last 300 seconds. [Expecting node 0 to be in state running, however node 0 is in state starting]. Please use hadbm status --nodes to check the status of the nodes, and use hadbm listdomain to check that all management agents are running. Management agents may need to be restarted for the operation to complete.

CLI137 Command configure-ha-cluster failed.


asadmin_at_fx-lon-opstrain:bin$ /opt/SUNWappserver/hadb/4/bin/hadbm list
Please enter the password for the admin system user:**********
2009-03-10 08:50:11.372 INFO hadbm list --quiet=false --version=false --yes=false --force=false --echo=false
Database
firstCluster

asadmin_at_fx-lon-opstrain:bin$ /opt/SUNWappserver/hadb/4/bin/hadbm status --nodes
Please enter the password for the admin system user:**********
hadbm:Error 22002: Database hadb does not exist. Please use hadbm list to get a list of existing databases.
[Message sent by forum member 'jvermast' (jvermast)]

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