App Node Upgrade
- Stop all workers
- Stop Gearman
Backup fail queue in database
Backup App files
For UAT only, store the output of the following sql commands for restoring database after upgrade
Extract new installer
- Edit installer files
6.1 Update install.cnf
For UAT, set overwite_existing_data = "Y"
For Prod, set overwrite_existing_data = "N"
6.2 Update playbooks/site.yml
Copy site.yml to site.yml.000 for backup, then open site.yml and comment out all lines except "databases" - Run the installer
./install_app.sh - Restart tomcat8
Update vrxServlet.war
- Restart tomcat8 again and check the j2ws.log
- Restore config files (XML files, vrx.properties)
Verify XML files
- Start gearman-job-server, start tomcat8
For Prod, APP upgrade COMPLETE
For UAT, as database is cleaned up, need to create_group and restore the database
Proc Node Upgrade
Backup Files
Upload and untar new installer
Update new installer config files and scripts
Update new installer directory files comparing to backup copies
Verify app server is ready (no ingestion to queues) and then Run the installer
Uninstall old workers
Put items to a temp queue for testing each worker one-by-one later