Start PulseSecure and connect to SASMASTER
cd /opt/docs/StartUpScripts
sh StopSAS
clear;ps -ef | grep sas | grep -v grep |awk '{print "kill -9 "$2 " "$3}'
clear;ps -ef | grep sas | grep -v grep |awk '{print "kill -9 "$2 " "$3}' |sh
stop LASR server: https://busas.binghamton.edu:8343/SASVisualAnalyticsHub/
Transfer the data
cd /sastmp
tar cvf - * | ( cd /sastmp-new; tar xfp -)
cd /BinghamtonUniversity
tar cvf - * | ( cd /BinghamtonUniversity-new; tar xfp -)
cd /
umount /sastmp /BinghamtonUniversity
Modify /etc/fstab to mount the new compellent partitions
/dev/mapper/cdc /sastmp xfs rw,relatime,attr2,inode64,sunit=1024,swidth=1024,noquota 0 0
/dev/mapper/cdd /BinghamtonUniversity xfs rw,relatime,attr2,inode64,sunit=1024,swidth=1024,noquota 0 0
mount /sastmp
mount /BinghamtonUniversity
ReApply the ACL's
cd /BinghamtonUniversity
ls -l acl-permissions-04-08-2019.txt RestoreACLs.sh
-rw-rw-r--+ 1 root root 32193903 Apr 8 12:28 acl-permissions-04-08-2019.txt
-rw-rw-r--+ 1 root root 49 Apr 8 12:28 RestoreACLs.sh
cat RestoreACLs.sh
setfacl --restore=acl-permissions-04-08-2019.txt
sh RestoreACLs.sh
Reboot and restart services
cd /opt/docs/StartUpScripts
sh StartSAS
start LASR server: https://busas.binghamton.edu:8343/SASVisualAnalyticsHub/
Email ksmith and mhizny
