-
Notifications
You must be signed in to change notification settings - Fork 9
Upgrade
Upgrade Splunk software in a consistent way with recovery and backups Please note this is not a rehydratation upgrade process as rehydration in that case would not be transparent and would not match Splunk upgrade doc However upgrade is done in a way that at every point of upgrade, if ever the instance fail , it would be recreated with the expected version.
recovery files have been updated At the previous steps, updated files were pushed to bucket (mainly in install bucket under install prefix) You should follow usual Splunk upgrade recommendations from documentation as this step just update the software but doesnt have any logic between instances nor any application check.
Note : for this to work you need to change IAM permissions (not by default) As root , cd /usr/local/bin then run splunkconf-upgrade-local-setsplunktargetbinary.sh xxxx.rpm where xxx.rpm is the version you want to target This is not changing the version in template which should be changed via Terraform or AWS console (depending on the chosen method to deploy)
as root, run /usr/local/bin/splunkconf-upgrade-local-precheck.sh the script download and update all scripts.
At the last step, it also update itself (the update is done last as update itself for a shell script can have unexpected behavior) As so, it is safer to launch the script a second time
Script autoupdate itself by using a helper script so will always run the latest downloaded version (from bucket). it is no longer needed to relaunch it a second time (script is telling at the end "updated version=xxxxx, no need to rerun it" )
as root, launch /usr/local/bin/splunkconf-upgrade-local.sh This launch recovery in upgrade mode You can follow upgrade process via tailing /var/log/splunkconf-cloud-recovery-debug.log
- Home
- Backups
- Local-backups
- Customizing-backup-settings
- Externalizing-backups
- splunkconf‐backup-cost-optimisation-with-tag-and-frequency
- Remote-Mounted-FS
- Setting-up-ssh-keys-for-rsync-rcp-modes
- Remote-backup-via-RCP-on-remote-directory
- Rsync-over-SSH-for-DRP-purpose-between-2-Splunk-hosts
- Backups-logs
- Debugging-backups
- Know-issues
- Restoring-backups
link to repository link to splunkbase app