CT2 Release Procedure

From UG

(Difference between revisions)
Jump to: navigation, search
(Notify)
(Make a backup of the webapp folder)
Line 21: Line 21:
  pkill -9 java
  pkill -9 java
-
== Make a backup of the webapp folder ==
+
== Make a backup of the war file ==
-
  cp -ra Client Client.bak
+
  cp -a Client.war Client.war.bak
-
  cp -ra internal internal.bak
+
  cp -a internal.war internal.war.bak
== Create a mysqldump of Cybertrax Internal database ==
== Create a mysqldump of Cybertrax Internal database ==

Revision as of 00:29, 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 Client.war.bak
cp -a internal.war internal.war.bak

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 webapp dirs and wars

rm -rf Client
rm -rf internal
rm -rf Client.war
rm -rf internal.war

Start tomcat

type ./startup.sh

Patch DB for New Release

through Navicat

Deploy war file with New Release

from tomcat manager
Personal tools