Novell GROUPWISE 8 - INTEROPERABILITY Manual page 209

Table of Contents

Advertisement

Modifying the Cluster Resource Unload Script for the Monitor Agent
The cluster resource unload script executes whenever the Monitor Agent 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:
2a In the stop service command, change
Monitor Agent.
/etc/init.d/grpwise-ma stop
2b Adjust the
sleep
on your system without being inadvertently killed by the
follows.
2c In the kill service command (used if the Monitor Agent does not stop normally), change
to
.
k
-mk
The
parameter obtains the PID number of the process 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/grpwise-ma stop
# define the IP address
RESOURCE_IP=172.16.5.18
myservice stop
command as needed so that the Monitor Agent can shut down normally
/mnt/generic
command, change
/mnt/generic
to the command to stop the
command that
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 GroupWise Monitor in a Linux Cluster 209
-

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