CT2 Release Procedure
From UG
(Difference between revisions)
(→Delete Internal and Client webapp dirs and wars) |
|||
Line 23: | Line 23: | ||
== Make a backup of the war file == | == Make a backup of the war file == | ||
- | cp -a Client.war Client.war. | + | cp -a Client.war /opt/wbackup/Client/Client.war.bak_enter_date |
- | cp -a internal.war internal.war. | + | cp -a internal.war /opt/wbackup/internal/internal.war.bak_enter_date |
== Create a mysqldump of Cybertrax Internal database == | == Create a mysqldump of Cybertrax Internal database == | ||
Line 30: | Line 30: | ||
mysqldump -uroot -pJaG118Svc! -R --single-transaction cybertraxInternal > /var/backup/ct2_2009_jan_6.sql | mysqldump -uroot -pJaG118Svc! -R --single-transaction cybertraxInternal > /var/backup/ct2_2009_jan_6.sql | ||
- | == Delete Internal and Client | + | == Delete Internal and Client wars == |
- | + | ||
- | + | ||
- | + | ||
rm -f Client.war | rm -f Client.war | ||
Line 41: | Line 38: | ||
type ./startup.sh | type ./startup.sh | ||
+ | |||
+ | == Undeploy any remaining Client or internal webapps == | ||
+ | |||
+ | click on undeploy next to any remaing Client or internal webapp | ||
== Patch DB for New Release == | == Patch DB for New Release == |
Revision as of 00:35, 3 March 2010
Contents |
Notify
Admin ! Make sure you notify 6 hours in advance!
Dear Jaguar Global,
CT2 will not be available at 7:40 pm EST because we need to perform the server maintenance. This process is estimated to take less than an hour and an e-mail notification will be sent when CT2 is back online.
Thank you for your patience.
Best Regards, IT Dept
Stop Tomcat
go to /opt/tomcat/bin as root (su -) type ./shutdown.sh pgrep java pkill -9 java
Make a backup of the war file
cp -a Client.war /opt/wbackup/Client/Client.war.bak_enter_date cp -a internal.war /opt/wbackup/internal/internal.war.bak_enter_date
Create a mysqldump of Cybertrax Internal database
mysqldump -uroot -pJaG118Svc! -R --single-transaction cybertraxInternal > /var/backup/ct2_2009_jan_6.sql
Delete Internal and Client wars
rm -f Client.war rm -f internal.war
Start tomcat
type ./startup.sh
Undeploy any remaining Client or internal webapps
click on undeploy next to any remaing Client or internal webapp
Patch DB for New Release
through Navicat
Deploy war file with New Release
from tomcat manager