CT2 Release Procedure

From UG

(Difference between revisions)
Jump to: navigation, search
(Notify)
Line 1: Line 1:
[[Category:CT2 IT]]
[[Category:CT2 IT]]
-
== Notify ==
+
== Admin initial steps ==
 +
 
 +
=== Notify Users ===
Send to: alljaguarglobal
Send to: alljaguarglobal
Line 13: Line 15:
Jaguar Freight IT Department
Jaguar Freight IT Department
-
==  Stop Tomcat ==
+
===  Stop Tomcat ===
  go to /opt/tomcat/bin as root (su -)
  go to /opt/tomcat/bin as root (su -)
Line 20: Line 22:
  pkill -9 java
  pkill -9 java
-
== Make a backup of the war file ==
+
=== Make a backup of the war file ===
  cp -a Client.war /opt/wbackup/Client/Client.war.bak_enter_date
  cp -a Client.war /opt/wbackup/Client/Client.war.bak_enter_date
  cp -a internal.war /opt/wbackup/internal/internal.war.bak_enter_date
  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 ===
  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 wars ==
+
=== Delete Internal and Client wars ===
  rm -f Client.war
  rm -f Client.war
  rm -f internal.war
  rm -f internal.war
-
== Start tomcat ==
+
=== Start tomcat ===
  type ./startup.sh
  type ./startup.sh
-
== Undeploy any remaining Client or internal webapps ==
+
=== Undeploy any remaining Client or internal webapps ===
click on undeploy next to any remaing Client or internal webapp  
click on undeploy next to any remaing Client or internal webapp  
-
== Patch DB for New Release ==
+
== Developer steps ==
 +
 
 +
=== Patch DB for New Release ===
  through Navicat
  through Navicat
-
== Deploy war file with New Release  ==
+
=== Deploy war file with New Release  ===
  from tomcat manager
  from tomcat manager
-
== Email ==
+
== Admin final steps ==
 +
 
 +
=== Email ===
Dear Jaguar Global,
Dear Jaguar Global,

Revision as of 22:57, 7 April 2010


Contents

Admin initial steps

Notify Users

Send to: alljaguarglobal

Admin ! Make sure you notify 6 hours in advance!

Dear Jaguar Global, CT2 will not be available from 6:30 pm EST to approximately 7:30 pm EST today. We are going to perform the server maintenance and release. This process is estimated to take up to an hour and an e-mail notification will be sent when CT2 is back online. Thank you for your patience. Best Regards, Jaguar Freight IT Department

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

Developer steps

Patch DB for New Release

through Navicat

Deploy war file with New Release

from tomcat manager

Admin final steps

Email

Dear Jaguar Global,

CT2 is back online.

Best Regards,


OR

Dear All,

New version (v2.4) of CT2 has been released.

See attached Release Notes file. It has a list of new features, changes and bug fixes.

Please continue to send bug reports to ihelp@jaguarfreight.com

Next release will happen in approximately 30 days.

Thank you for your cooperation,

IT Department

New York

Personal tools