Last active
January 2, 2016 03:18
-
-
Save dfarrell-bloom/8242613 to your computer and use it in GitHub Desktop.
stop splunk, move data to ephemeral storage on /mnt, then symlink in and restart.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# | |
echo "This Script is deprecated. Please use the script from noctools/maintenance/splunk/ instead" | |
exit -1 | |
# | |
# | |
#/opt/splunk/bin/splunk stop; | |
#mkdir /mnt/splunkvar; | |
#mv -v /opt/splunk/var/* /mnt/splunkvar; | |
#mount -o bind /mnt/splunkvar /opt/splunk/var; | |
#mv -v /volr/splunk/ /mnt/ && ln -s /mnt/splunk /volr/splunk | |
#/opt/splunk/bin/splunk start | |
#true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment