CT2 Release Procedure

From UG

(Difference between revisions)
Jump to: navigation, search
(Create a mysqldump of Cybertrax Internal database)
Line 27: Line 27:
== Create a mysqldump of Cybertrax Internal database ==
== Create a mysqldump of Cybertrax Internal database ==
-
  mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertraxInternal > /var/backup/ct2_2009_jan_6
+
  mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertraxInternal > /var/backup/ct2_2009_jan_6.sql
== Delete Internal and Client webapp dirs ==
== Delete Internal and Client webapp dirs ==

Revision as of 01:09, 7 January 2010


Contents

Notify

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, Alex Dobrovolsky


Stop Tomcat

go to /opt/tomcat/bin as root (su -)
type ./shutdown.sh
pgrep java
pkill -9 java

Make a backup of the webapp folder

cp -ra Client Client.bak
cp -ra internal internal.bak

Create a mysqldump of Cybertrax Internal database

mysqldump -uroot -pJaG118Svc! -R --lock-all-tables cybertraxInternal > /var/backup/ct2_2009_jan_6.sql

Delete Internal and Client webapp dirs

rm -r { directory name }

Start tomcat

type ./startup.sh

Patch DB for New Release

through Navicat

Deploy war file with New Release

from tomcat manager
Personal tools