Novell GROUPWISE 8 - INTEROPERABILITY Manual page 231

Table of Contents

Advertisement

Modifying the Cluster Resource Unload Script for the Messenger Agents
The cluster resource unload script executes whenever the Messenger cluster resource goes offline.
1 On the Cluster Resource Properties page of the Monitor 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 to the Messenger unload
script:
2a In the stop service command, change
Messenger agents.
/etc/init.d/novell-nmma stop
/etc/init.d/novell-nmaa stop
2b Adjust the
sleep
normally on your system without being inadvertently killed by the
that follows.
2c In the kill service command, used if the Messenger agents do not stop normally, change
to
.
k
-mk
The
parameter obtains the PID numbers of the processes to kill.
-m
2d In the kill service command, change
the load script.
2e In the
del_secondary_ipaddress
address used in the load script.
2f In the
command, change
umount
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/novell-nmma stop
/etc/init.d/novell-nmaa stop
# define the IP address
myservice stop
command as needed so that the Messenger agents can shut down
/mnt/generic
command, change
/mnt/generic
to the command to stop the
fuser -k
to the mount point directory used in
to the secondary IP
a.b.c.d
to the mount point directory used in the
Implementing Messenger in a Linux Cluster 231
command
-

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