-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TC-69] Upgrade Tomcat Version for Traffic Router #925
Labels
bug
something isn't working as intended
high impact
impacts the basic function, deployment, or operation of a CDN
Traffic Router
related to Traffic Router
Milestone
Comments
limited
added
bug
something isn't working as intended
high impact
impacts the basic function, deployment, or operation of a CDN
tomcat
Traffic Router
related to Traffic Router
labels
Aug 29, 2017
@ajschmidt is looking at this (CDN-393) |
Hello,
I have submitted a PR (#2331) for this major upgrade. We are looking to
make this part of the TC 3.0 release because it is a large change and the
update will automatically uninstall older versions of Traffic Router. The
update will upgrade the Tomcat to 8.5.28+ and will require Java 8, CentOs 7
and the installation of OpenSSL, Tomcat Native and APR. Most of this will
be taken care of by the RPM. Here is the migration documentation :
Traffic Router - Migrating to 3.0 <#contents>
Contents
- Traffic Router - Migrating to 3.0 <#traffic-router-migrating-to-3-0>
- Release Notes v3.0 <#release-notes-v3-0>
- System Requirements <#system-requirements>
- Upgrade Procedure <#upgrade-procedure>
- Development Environment Upgrade <#development-environment-upgrade>
Release Notes v3.0 <#contents>
- Replaced custom Java SNI implementation with a native implementation
using tomcat-native, apr (Apache Portable Runtime) and OpenSSL This should
significantly improve the performance of routing ‘https’ delivery services.
- Upgraded to Tomcat 8.5.30
- Separated the Traffic Router installation from the Tomcat deployment
and created a new ‘tomcat’ package for installing Tomcat. Traffic Router
and Tomcat can now be upgraded independently
- Converted Traffic Router to a ‘systemd’ service
- Modified the development test and dev deployment processes to be more
consistent with production
System Requirements <#contents>
- Centos 7.2
- OpenSSL >= 1.0.2 installed
- JDK >= 8.0 installed or available in Yum repository
- APR (Apache Portable Runtime) >= 1.4.8-3 installed or available in Yum
repository
- Tomcat Native >= 1.2.16 installed or available in Yum repository
- tomcat >= 8.5-28 installed or available in Yum repository (This
package is created automatically by the Traffic Router build process)
Upgrade Procedure <#contents>
- upload tomcat.rpm to a Yum repository
- update the traffic_router package
- restore property files
Upload tomcat.rpm
The ‘tomcat’ package gets created when you build Traffic Router. You must
either add it to the yum repo where you keep all of the Traffic Control
packages, or manually copy it to the servers where you will be installing
Traffic Router and run yum install [path to package] It is preferable that
you add it to your Yum repository because then it will be installed
automatically when you perform the Traffic Router update.
Update the traffic_router Package
If openssl, apr, tomcat-native, jdk and tomcat_tr packages are all in an
available repository then you just need to run: yum update traffic_router.
This will first cause the apr, tomcat-native, jdk and tomcat packages to be
installed. When the ‘tomcat’ package runs, it will cause any older versions
of traffic_router or tomcat to be uninstalled. This is because the previous
versions of the traffic_router package included an untracked installation
of tomcat.
Restore Property Files
Replace the Traffic Router properties files with the correct ones for the
CDN. The properties files from the previous install can be found at:
/opt/traffic_router/conf/traffic_ops.properties.rpmsaved &
traffic_monitor.properties.rpmsaved.
Development Environment Upgrade <#contents>
If you already have a development environment set up for the previous
version of Traffic Router, then you will need to get and install these
libraries on your workstation: openssl, apr and tomcat-native. Also,
whenever you run either ‘mvn clean verify’ or ‘TrafficRouterStart’ you will
need to pass a command line parameter telling Java where to look for the
‘tomcat-native’ libraries:mvn clean verify -Djava.library.path=[tomcat
native library path on your box]java -Djava.library.path=[tomcat native
library path on your box] TrafficRouterStart
|
Very exciting Andy!
|
|
the applicable PR was merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
something isn't working as intended
high impact
impacts the basic function, deployment, or operation of a CDN
Traffic Router
related to Traffic Router
Traffic Router currently uses tomcat 6.0.33, this version of Tomcat will be EOL soon, so we need to update to a newer (latest?) version.
Author: David Neuman
JIRA Link: https://issues.apache.org/jira/browse/TC-69
Found Version: 2.1.0
The text was updated successfully, but these errors were encountered: