Hello,

I'm working now for more than 8 hours on a simple load / unload script.
I think it would be aesy ....
I just want to load a java process within the cluster resource.

I set up the following as the load script for the OTP_DMZ resource:

#!/bin/bash
.. /opt/novell/ncs/lib/ncsfuncs
# define the IP address
RESOURCE_IP=10.203.192.148
# add the IP address
exit_on_error add_secondary_ipaddress $RESOURCE_IP
# start the service
ignore_error /usr/lib/SunJava2-1.4.2/bin/java -cp \
/opt/NordicEdge/OTPServer/lib/smsdriver.jar:\
/opt/NordicEdge/OTPServer/log4j-1.2.jar:\
/opt/NordicEdge/OTPServer/lib/ldap.jar:\
/opt/NordicEdge/OTPServer/lib/otpserver.jar:\
/opt/NordicEdge/OTPServer/lib/AbsoluteLayout.jar:\
/opt/NordicEdge/OTPServer/lib/activation.jar:\
/opt/NordicEdge/OTPServer/lib/mail.jar:\
/opt/NordicEdge/OTPServer/lib/jce1_2_1.jar:\
/opt/NordicEdge/OTPServer/lib/local_policy.jar:\
/opt/NordicEdge/OTPServer/lib/sunjce_provider.jar:\
/opt/NordicEdge/OTPServer/lib/US_export_policy.jar:\
/opt/NordicEdge/OTPServer/lib/AGJavaEndpoint.20.jar:\
/opt/NordicEdge/OTPServer/lib/NSGConstants.jar:\
/opt/NordicEdge/OTPServer \
se.nordicedge.OTPBridge >/dev/null &
sleep 5
# return status
exit 0


Here is what I see in the process list during the online step ..

root 7045 1 0 20:49 ? 00:00:00 /usr/bin/python
/opt/novell/ncs/bin/ncs-resourced.py /etc/opt/novell/ncs
root 7822 7045 0 20:55 ? 00:00:00 /usr/bin/python
/opt/novell/ncs/bin/ncs-resourced.py /etc/opt/novell/ncs
root 7823 7822 0 20:55 ? 00:00:00 [OTP_DMZ.load] <defunct>
root 7907 1 0 20:55 ? 00:00:00 /bin/bash
/etc/opt/novell/ncs/OTP_DMZ.load
root 7909 7907 6 20:55 ? 00:00:00
/usr/lib/SunJava2-1.4.2/bin/java

/var/log/messages: