CT2 Release Procedure

From UG

(Difference between revisions)
Jump to: navigation, search
(Notify)
(Admin final steps)
 
(9 intermediate revisions not shown)
Line 1: Line 1:
[[Category:CT2 IT]]
[[Category:CT2 IT]]
-
== Notify ==
+
== Mantis ==
-
Send to: alljaguarglobal
+
* see also 0002474: SOP on CT2 application deployment using scripts
-
''' Admin ! Make sure you notify 6 hours in advance! '''
+
== Admin initial steps ==
-
Dear Jaguar Global,
+
=== Notify Users ===
-
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.
+
Send to: alljaguarglobal (alljaguarglobal@jaguarfreight.com)
-
Thank you for your patience.
+
''' Admin ! Make sure you notify 6 hours in advance! '''
-
Best Regards,
+
Dear Jaguar Global,
-
IT Dept
+
CT2 will not be available from 6:00 pm EST to approximately 8:00 pm EST today.
 +
We are going to perform the server maintenance and release.
 +
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 ==
+
===  Stop Tomcat ===
  go to /opt/tomcat/bin as root (su -)
  go to /opt/tomcat/bin as root (su -)
Line 23: Line 27:
  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 -p <...> -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 1 ===
Dear Jaguar Global,
Dear Jaguar Global,
Line 61: Line 69:
Best Regards,
Best Regards,
 +
IT Department
-
OR
+
New York
-
Dear All,
 
-
New version (v2.4) of CT2 has been released.
+
=== Email 2 ===
 +
 
 +
Dear All,
-
See attached Release Notes file. It has a list of new features, changes and bug fixes.
+
New version of CT2 has been released.
Please continue to send bug reports to ihelp@jaguarfreight.com
Please continue to send bug reports to ihelp@jaguarfreight.com

Current revision as of 00:44, 4 February 2011


Contents

[edit] Mantis

  • see also 0002474: SOP on CT2 application deployment using scripts

[edit] Admin initial steps

[edit] Notify Users

Send to: alljaguarglobal (alljaguarglobal@jaguarfreight.com)

Admin ! Make sure you notify 6 hours in advance!

Dear Jaguar Global,
CT2 will not be available from 6:00 pm EST to approximately 8:00 pm EST today. 
We are going to perform the server maintenance and release.
An e-mail notification will be sent when CT2 is back online. Thank you for your patience. 
Best Regards, 
Jaguar Freight IT Department

[edit] Stop Tomcat

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

[edit] 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

[edit] Create a mysqldump of Cybertrax Internal database

mysqldump -uroot -p <...> -R --single-transaction cybertraxInternal > /var/backup/ct2_2009_jan_6.sql

[edit] Delete Internal and Client wars

rm -f Client.war
rm -f internal.war

[edit] Start tomcat

type ./startup.sh

[edit] Undeploy any remaining Client or internal webapps

click on undeploy next to any remaing Client or internal webapp

[edit] Developer steps

[edit] Patch DB for New Release

through Navicat

[edit] Deploy war file with New Release

from tomcat manager

[edit] Admin final steps

[edit] Email 1

Dear Jaguar Global,

CT2 is back online.

Best Regards,

IT Department

New York


[edit] Email 2

Dear All,

New version of CT2 has been released.

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