Category Archives: scripts

netapp script

#!/bin/bash #setup autologin ERRLOG=’autologin.errorlog’ function key { hostname=`hostname` #determine mode echo -n “clustermode? (y/n) : ” read mode if [ $mode == “y” ] then echo “clustermode” echo -n “username : ” read user #get the current index to determine … Continue reading

Posted in linux, netapp, scripts | Leave a comment


#!/bin/bash clear BIN=/bin LOG=/root/scripts/vault.log #functions function filer { echo checking $FILER if $BIN/ping -c 2 -q $FILER > /dev/null 2>&1 then : else $FILER unreachable – exiting exit fi } function check { echo “FUNCTION CHECK” length=`ssh kp7m1 options snapvault.access|awk … Continue reading

Posted in netapp, scripts | Leave a comment