180
OES 2 SP1: Novell iFolder 3.7 Administration Guide
no
vd
ocx
(e
n)
13
Ma
y 20
09
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
Summary of Contents for IFOLDER 3.7 - SECURITY ADMINISTRATION
Page 12: ...12 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 24: ...24 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 38: ...38 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 98: ...98 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 100: ...100 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 102: ...102 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 162: ...162 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 168: ...168 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 172: ...172 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 182: ...182 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 184: ...184 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 196: ...196 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 202: ...202 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...
Page 216: ...216 OES 2 SP1 Novell iFolder 3 7 Administration Guide novdocx en 13 May 2009...