User Tools

Site Tools


Writing /app/www/public/data/meta/watchdogs/upgrade_watchdog.meta failed
watchdogs:upgrade_watchdog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
watchdogs:upgrade_watchdog [2016/10/27 16:21] mmccwatchdogs:upgrade_watchdog [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Upgrade Watchdog Install on a Server ======
  
 +Author: Eoin Joy
 +
 +  - Get the latest Watchdog release build from the artifactory (http://errigalartifactory.err:8080/artifactory)(as of this writing: WatchDog-REL-2.2.0.tar.gz)
 +  - Transfer this to the server you wish to install on.
 +       * scp WatchDog-REL-2.2.0.tar.gz scotty@qaerrigalapps1.crc:/export/home/scotty/temp
 +  - Unpack and move to the folder /export/home/scotty or /home/scotty.
 +       * The unpacked folder will be called Watchdog to avoid overwriting the current install titled watchdog
 +       * tar -zxf WatchDog-REL-2.2.0.tar.gz
 +       * mv Watchdog /export/home/scotty/
 +  - Copy the currently used ResourceConfig.groovy to the new Watchdog folder
 +       * cp -rpu /export/home/scotty/watchdog/resources/ResourceConfig.groovy /export/home/scotty/Watchdog/resources/
 +  - Edit the new run.sh to point to /export/home/scotty/watchdog (server dependent) and to have the java version used be 1.7.0_80
 +       * vi /export/home/Watchdog/script/run.sh
 +  - Disable the watchdog entry in crontab by commenting the line
 +       * sudo crontab -e
 +  - Move the current watchdog install folder to a backup
 +       * mv /export/home/watchdog /export/home/watchdog_backup_2016-03-02
 +  - Move the new install folder "Watchdog" to "watchdog"
 +       * mv Watchdog watchdog
 +  - Run the watchdog as a test
 +       * sudo /export/home/scotty/watchdog/script/run.sh
 +  - Determine proper running of the watchdog, it should run through each resource in turn and determine whether to send an SNMP trap or clear, and at its finish will tell you if it sent any traps other than its heartbeat
 +  - Re-enable watchdog entry in crontab
 +       * sudo crontab -e