When NCS runs the load/unload scripts it redirects standard
output/error to /var/opt/novell/ncs. For your script, its output and any errors can
be found in /var/opt/novell/ncs/GroupWise_Resource.load.out
The resource probably went Comatose, according to NCS, since it ran
the unload script to cleanup. The error that triggered the Comatose should
be in /var/opt/novell/ncs/*
If not, check the GUI cluster event log or file
/_admin/Novell/Cluster/EventLog.xml which records the time between events - if > 1 minute
setting, then the load timeout fired.

>>> <nwoes@coloc8.net> 4/1/2005 12:56 AM >>>


Is it possible to use Novell Cluster Services on OES with GroupWise? I

installed groupwise, then moved the the agent directories and startupscropts to a shared NSS volume. I've manually created load and unloadscripts. When I run them from command line (bash
/etc/opt/novell/ncs/GroupWise_Resource.load) everthing works fine.
GroupWise is fully funtional. When I use iManager to try and bring the

resource up, using Cluster Manager it comes up ok. Then once the
script
time out occurs, the unload script is called. I'm certain the script
takes
less than 30 seconds to load groupwise, and exit, and my timeout is
set to
1 minute.

Thanks in advance,
RPM

Here is my load script:
---------------------------------------------------
#!/bin/bash
.. /opt/novell/ncs/lib/ncsfuncs
BASE=/media/nss/GROUPWISE/system/agents
exit_on_error nss /poolact=GROUPWISE
exit_on_error mount /media/nss/GROUPWISE
exit_on_error add_secondary_ipaddress 172.16.44.170
exit_on_error $BASE/grpwise start



exit_on_error add_secondary_ipaddress 172.16.44.140
exit_on_error $BASE/grpwise-ia start



exit 0
---------------------------------------------------
Output of /var/log/messages:

Apr 1 00:52:54 a2 ncs-resourced: Try LDAP for GroupWise_Resource
Apr 1 00:52:54 a2 ncs-resourced: GroupWise_Resource.load resource pid
25683
Apr 1 00:53:54 a2 ncs-resourced: kill monitor pid 25680
Apr 1 00:53:54 a2 ncs-resourced: GroupWise_Resource.unload resource
pid 26090
Apr 1 00:54:31 a2 ncs-resourced: GroupWise_Resource.unload output:
Stopping Internet agent . . . Stopping gwia that is running as PID
26018.
Process: 26018 stopped. Stopping agents . . . Stopping agent
coloc8_domain.mta that is running as PID 25812. Process: 25812
stopped.
Stopping agent coloc8_po.poa that is running as PID 25846. Process:
25846
stopped.
Apr 1 00:54:31 a2 ncs-resourced: GroupWise_Resource.unload resource
pid
26090 status 0
---------------------------------------------------