Novell NCS Monitoring GroupWise Post Offices

0 Likes
over 10 years ago
If you run your GroupWise resources on a NCS cluster you should not use GWHA; use cluster monitoring instead. If you enable monitoring a sample script is created for you testing only the POOL and the VOLUME. So you might want to add a simple monitoring script.

Create a script "1677.sh" with the following content:

#!/bin/sh
netstat -lnt | grep -wq ${1}:1677

1677 is the GroupWise Post-office default port; feel free to change it to whatever you actually have in use.

Flag it executable

chmod x 1677.sh

and copy it on every cluster node. In you NCS cluster monitor script add the following line(s).

exit_on_error /opt/rz/1677.sh PO1-IPAddress

Your monitor script should look now like:

#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error status_fs /dev/evms/POOLNAME /opt/novell/nss/mnt/.pools/POOLNAME nsspool
exit_on_error status_secondary_ipaddress ClusterResourceIP
exit_on_error ncpcon volume VOLUMENAME
# PostOffice Test
exit_on_error /opt/rz/1677.sh PO1-IPAddress
exit_on_error /opt/rz/1677.sh PO2-IPAddress
exit 0

Finally enable and configure monitoring on the cluster resource in iManager.

monitoring1r.jpg


Pretty easy and it works perfect, enjoy!

Tags:

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended