Cool Solutions

Novell NCS Monitoring GroupWise Post Offices



By:

August 26, 2011 3:50 am

Reads: 3387

Comments:0

Score:0

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!

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: GroupWise, Technical

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS