User Tools

Site Tools


Writing /app/www/public/data/meta/support/outage_process_backups.meta failed
support:outage_process_backups

Outage Process Backups

Author: Colum Foskin, Edited by: Michelle McCausland

Summary

In the event of application outages it is necessary to run the outage scripts to gather data related at the time of the incident to refer back to at a later date.

The script will do the following:

1. Back up all application log files.
2. Back up all application catalina files.
3. Take a thread dump of all applications - in case an issue on one has affected another.
4. Take a heap dump of which even application the user chooses.
5. Stores all backed up files in a directory which is created when running the script - time stamped, eg:  "/home/backup/outage_backups-06-08-16-Wed-Time-16-33-58" 

Steps to run outage scripts

Run the scripts by : ~/script/idmsscripts/outage_scripts/gather_crash_info.sh, It will ask you to confirm that there is enough space in the destination directory and if not quit and sort it, otherwise continue.

  • Ensure there is enough space for the backup
  • df -h
  • Ensure you know where the backup and log directories are
  • /usr/local/logs or most of the time should be ~/logs/grails
  • Once the script is run the backups will be stored in ~/backup/HOSTNAME-outage_back_ups-MM-DD-YY-DAY-Time-HH-MM-SS

Assessment

Ensure you know where all the logs are and go to qaapps1 and run the outage script.

Following the instructions as they appear selecting yes for each where appropriate.

When finished navigate to where the files were backed up and ensure all the appropriate files are there.

support/outage_process_backups.txt · Last modified: 2021/06/25 10:09 by 127.0.0.1