User 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.
| Next revision | Previous revision | ||
| watchdogs:upgrade_watchdog [2016/10/27 16:18] – created mmcc | watchdogs: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:// | ||
| + | - Transfer this to the server you wish to install on. | ||
| + | * scp WatchDog-REL-2.2.0.tar.gz scotty@qaerrigalapps1.crc:/ | ||
| + | - Unpack and move to the folder / | ||
| + | * 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 / | ||
| + | - Copy the currently used ResourceConfig.groovy to the new Watchdog folder | ||
| + | * cp -rpu / | ||
| + | - Edit the new run.sh to point to / | ||
| + | * vi / | ||
| + | - Disable the watchdog entry in crontab by commenting the line | ||
| + | * sudo crontab -e | ||
| + | - Move the current watchdog install folder to a backup | ||
| + | * mv / | ||
| + | - Move the new install folder " | ||
| + | * mv Watchdog watchdog | ||
| + | - Run the watchdog as a test | ||
| + | * sudo / | ||
| + | - 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 | ||