13.4 Sample Unload Script for a DST Shadow Volume

In the following sample unload script for a shadow volume cluster resource, the lines in bold have been added to or modified from the original unload script that was created for the primary pool cluster resource.

#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
#This line is added if Novell CIFS is used as an advertising protocol
#novcifs --remove --vserver=virtualserverFDN --ip-addr=virtualserverip 
#unload the volume in FUSE # Include the following line only if shadowfs is used #ignore_error fusermount -u /media/shadowfs/VOL1
ignore_error ncpcon unbind --ncpservername=NCS1_POOL1_SERVER --ipaddress=10.10.10.38
ignore_error del_secondary_ipaddress 10.10.10.38
ignore_error nss /pooldeact=POOL1
ignore_error nss /pooldeact=ARCPOOL1
exit 0