Novell GROUPWISE 8 - INTEROPERABILITY Manual page 192

Table of Contents

Advertisement

Modifying the Cluster Resource Unload Script for the WebAccess Agent and Its MTA
The cluster resource unload script executes whenever the WebAccess Agent cluster resource goes
offline. Programs should be unloaded in the reverse order of how they were loaded. This ensures
that supporting programs are not unloaded before programs that rely on them in order to function
properly.
1 On the Cluster Resource Properties page of the WebAccess Agent cluster resource, click
Scripts > Unload Script.
The default unload script appears as follows:
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
# request service stop
ignore_error /etc/init.d/myservice stop
# stop service otherwise
sleep 8
ignore_error fuser -k /mnt/generic
# del the IP address
ignore_error del_secondary_ipaddress a.b.c.d
# umount the file system
exit_on_error umount /mnt/generic
# return status
exit 0
2 If this is an NSS volume or a shared pool, make the following changes:
2a In the stop service command, change
WebAccess Agent and its MTA.
/etc/init.d/grpwise stop webac80a
/etc/init.d/grpwise stop domain
2b Adjust the
down normally on your system without being inadvertently killed by the
2c In the
normally), change
The -m parameter obtains the PID numbers of the processes to kill.
2d In the
in the load script.
2e In the
address used in the load script.
2f In the
load script.
3 If this is a traditional Linux volume, use the following unload script:
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
/etc/init.d/grpwise stop domain.webac80a
/etc/init.d/grpwise stop domain
192 GroupWise 8 Interoperability Guide
command as needed so that the WebAccess Agent and its MTA can shut
sleep
command (used if the WebAccess Agent and its MTA do not stop
kill service
to
.
-k
-mk
command, change
kill service
del_secondary_ipaddress
command, change
umount
to the command to stop the
myservice stop
to the mount point directory used
/mnt/generic
command, change
a.b.c.d
to the mount point directory used in the
/mnt/generic
command.
kill
to the secondary IP

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GROUPWISE 8 - INTEROPERABILITY and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Groupwise 8

Table of Contents