You can obtain the sample load scripts using iManager. To do this, follow the steps given below:
In iManager Roles and Tasks, click Clusters > Cluster Options.
Click iFolder_template and then click the Scripts tab to display the sample load and unload scripts.
If your shared volume uses a Linux POSIX file system, use the following load script as a guide:
##### Linux Traditional File System Sample Load Script ##### #!/bin/bash . /opt/novell/ncs/lib/ncsfuncs #define the IP address RESOURCE_IP=10.10.189.136 #define the file system type MOUNT_FS=ext3 #define the volume group name VOLGROUP_NAME=ifoldervg #define the device MOUNT_DEV=/dev/$VOLGROUP_NAME/ifoldervol #define the mount point MOUNT_POINT=/mnt/ifolder #activate the volume group exit_on_error vgchange -a ey $VOLGROUP_NAME #mount the file system exit_on_error mount_fs $MOUNT_DEV $MOUNT_POINT $MOUNT_FS #add the IP address exit_on_error add_secondary_ipaddress $RESOURCE_IP #start iFolder exit_on_error /opt/novell/ifolder3/bin/ifolder_start #return status exit 0 ##################################################
If your shared volume uses the NSS file system, use the following load script as a guide:
##### NSS File System Sample Load Script ######### #mount the file system ##MYPOOL is the name of your NSS pool ##MYVOL is the name of your NSS volume #nss /poolactivate=MYPOOL #exit_on_error nssmount -n MYVOL #add the IP address ##xx.xx.xx.xx is your ’highly available’ IP address #exit_on_error add_secondary_ipaddress xx.xx.xx.xx # start the service exit_on_error /opt/novell/ifolder3/bin/ifolder_start #return status exit 0 ###################################################