Sample Monitor Scripts For Ifolder 3.7 Clusters; C.8 Sample Monitor Scripts For Ifolder 3.7 Clusters; Linux Posix File System - Novell IFOLDER 3.7 - ADMINISTRATION Administration Manual

Hide thumbs Also See for IFOLDER 3.7 - ADMINISTRATION:
Table of Contents

Advertisement

sleep 5
Tune the script until the cluster no longer goes comatose under an operational load when the unload
script is called. If the system goes comatose under a full load, increase the sleept time until the
cluster is able to successfully execute the unload instead of going comatose.
C.8 Sample Monitor Scripts for iFolder 3.7
Clusters
Section C.8.1, "Linux POSIX File System," on page 180
Section C.8.2, "NSS File System," on page 181
C.8.1 Linux POSIX File System
If your shared volume uses a Linux POSIX file system, use the following monitor script as a guide:
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
function check_ifolder {
result=`ps -f -U wwwrun | awk '/mod-mono-server_(admin|ifolder|simias10)/
{i++;}END{print i}'`;
if [[ $result -ne '3' ]];then return 1; else return 0; fi;
}
# define the IP address
RESOURCE_IP=a.b.c.d
# define the file system type
MOUNT_FS=reiserfs
#define the container name
container_name=name
# define the device
MOUNT_DEV=/dev/evms/$container_name/ifolder
# define the mount point
MOUNT_POINT=/mnt/ifolder
# check the file system
exit_on_error status_fs $MOUNT_DEV $MOUNT_POINT $MOUNT_FS
# check the IP address
exit_on_error status_secondary_ipaddress $RESOURCE_IP
# check iFolder
exit_on_error check_ifolder
180 OES 2 SP1: Novell iFolder 3.7 Administration Guide

Advertisement

Table of Contents
loading

Table of Contents