- 论坛徽章:
- 0
|
Veritas Cluster Server 5.0.30.0
JBoss eap 4.2
最基本的active/passive模式。
main.cf
Application jbossSG_PROGRAM (
User = jboss
StartProgram = "/usr/local/jboss/bin/run.sh"
StopProgram = "/usr/local/jboss/bin/shutdown.sh -S"
Monitorprogram = { "/bin/sh /usr/local/jboss/bin/run.sh" }
)
ps -u jboss -o args 输出以下结果。
COMMAND
/bin/sh /usr/local/jboss/bin/run.sh -c production -b 0.0.0.0
/usr/local/jdk/bin/java -Dprogram.name=run.sh -server -Xms512m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/usr/local/jboss/lib/endorsed -classpath /usr/local/jboss/bin/run.jar:/usr/local/jdk/lib/tools.jar org.jboss.Main -c production -b 0.0.0.0
无论MonitorProcesses里写一条还是写两条进程均Waiting to go online timeout,Jboss启动关闭其实都正常,不知如何使vcs认为jboss启动算成功了。 |
|