Clustering iFolder 3.7 Servers with Novell Cluster Services for Linux
179
no
vd
ocx
(e
n)
13
Ma
y 20
09
##### NSS File System Sample Unload Script ####################
#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
#stop iFolder
ignore_error mod-mono-server --filename /tmp/mod_mono_server_simias10 --
terminate
ignore_error mod-mono-server --filename /tmp/mod_mono_server_admin --terminate
ignore_error mod-mono-server --filename /tmp/mod_mono_server_ifolder --
terminate
#del the IP address
##xx.xx.xx.xx is your ’highly available’ IP address
ignore_error del_secondary_ipaddress xx.xx.xx.xx
#umount the file system
##MYPOOL is the name of your NSS pool
##MYVOL is the name of your NSS volume
umount /media/nss/MYVOL
nss /pooldeactivate=MYVOL
#return status
exit 0
###################################################
C.7.3 Troubleshooting
Linux does not allow you to umount a volume if any file is currently open. If your system is going
comatose when you try to unload the cluster, it is probably because you have open user connections
and files on the volume. You need to allow enough time for the connections to be closed before the
umount is executed.
Add the following lines between the request to stop service and deleting the IP address:
#stop service otherwise
sleep 10
ignore_error fuser -k
/$MOUNT-POINT
sleep 5
Replace
/$MOUNT-POINT
with the actual path of the mount point of your iFolder data store. For
example, if the mount point is
/var/opt/novell/ifolder3/data
, add:
#stop service otherwise
sleep 10
ignore_error fuser -k /var/opt/novell/ifolder3/data
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...