Troubleshooting; C.7.3 Troubleshooting - Novell IFOLDER 3.7 - ADMINISTRATION Administration Manual

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

Advertisement

##### 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
with the actual path of the mount point of your iFolder data store. For
/$MOUNT-POINT
example, if the mount point is
, add:
/var/opt/novell/ifolder3/data
#stop service otherwise
sleep 10
ignore_error fuser -k /var/opt/novell/ifolder3/data
Clustering iFolder 3.7 Servers with Novell Cluster Services for Linux 179

Advertisement

Table of Contents
loading

Table of Contents