Académique Documents
Professionnel Documents
Culture Documents
02
Document Purpose
This document describes steps for performing an upgrade of EcoSys software. The contents below are
appropriate for:
Existing Installations
Troubleshooting existing configurations
The intended audience for this guide is: systems administrators, database administrators, application
administrators, and advanced application users responsible for technical configuration.
Contents
Upgrade Overview....................................................................................................................................................... 2
Overview: This section describes the high level steps for upgrading EcoSys. You can use this as
a high-level checklist during the upgrade process.
Validate that you have met all the prerequisites for upgrading
Validate Prerequisites
EcoSys in the section Upgrade Prerequisites and Checklist.
Determine Database
Upgrade Path Determine which database scripts will need to be run, if any.
Upgrade Database Upgrade the EcoSys (ESFM) database instance for Oracle or
MS SQL Server.
Update EcoSys Web Update the EcoSys web application on your application server
Application platform: Tomcat, JBoss EAP / WildFly, WebLogic,
WebSphere.
Update the EcoSys SAP Adapter on your application server
Optional: Update
EcoSys SAP Adapter
platform: Tomcat, JBoss EAP/ WildFly, WebLogic,
WebSphere.
Update Command Line
Batch Library Files
Update the library files used by EcoSys command line batch
jobs.
Validate EcoSys Validate the EcoSys upgrade and that all the features are
Upgrade functioning.
Overview: This section describes the prerequisites for upgrading EcoSys. You can use this as a
pre-upgrade checklist before initiating the upgrade process. These steps should be completed and
confirmed before the scheduled upgrade.
# Prerequisite Steps
Software Media on Server
1 The EcoSys installation/upgrade package (.zip file) should be downloaded and copied to
the application and database server(s) where the software will be upgraded.
Overview: Using the current and target EcoSys (ESFM) database schema versions, as well as
the database platform, determine which database upgrade scripts will need to be run.
a) Prior to shutting down the EcoSys application server(s), log in to the EcoSys web
application, navigate to System Information > Database, and make a note of the
'Current Database Version' value, or
a) Open the EcoSys Release Notes for the target/upgrade version and make a note of the
required schema version value listed under Database Schema Version, or
b) Locate the target/upgrade version of EcoSys in the EcoSys Release column below and
make a note of its corresponding Database Schema Version value.
fm_or_upgrade_0600_0006_0001_0001_to_0600_0006_0002_0001.sql
fm_or_upgrade_0600_0006_0002_0001_to_0600_0006_0003_0001.sql
fm_or_upgrade_0600_0006_0003_0001_to_0600_0006_0004_0001.sql
fm_or_upgrade_0600_0006_0004_0001_to_0600_0006_0005_0001.sql
7.1.01 0600.0006.0009 fm_or_upgrade_0600_0006_0005_0001_to_0600_0006_0006_0001.sql
fm_or_upgrade_0600_0006_0006_0001_to_0600_0006_0007_0001.sql
fm_or_upgrade_0600_0006_0007_0001_to_0600_0006_0008_0001.sql
fm_or_upgrade_0600_0006_0008_0001_to_0600_0006_0009_0001.sql
fm_or_upgrade_0600_0006_0009_0001_to_0600_0007_0001_0001.sql
fm_or_upgrade_0600_0007_0001_0001_to_0600_0007_0002_0001.sql
7.2.01 0600.0007.0003
fm_or_upgrade_0600_0007_0002_0001_to_0600_0007_0003_0001.sql
fm_or_upgrade_0600_0007_0004_0001_to_0600_0007_0005_0001.sql
7.2.04 0600.0007.0006
fm_or_upgrade_0600_0007_0005_0001_to_0600_0007_0006_0001.sql
fm_or_upgrade_0600_0007_0008_0001_to_0600_0007_0009_0001.sql
7.4.01 0600.0007.0011 fm_or_upgrade_0600_0007_0009_0001_to_0600_0007_0010_0001.sql
fm_or_upgrade_0600_0007_0010_0001_to_0600_0007_0011_0001.sql
fm_or_upgrade_0600_0007_0015_0001_to_0600_0007_0016_0001.sql
7.4.08 0600.0007.0017.0001
fm_or_upgrade_0600_0007_0016_0001_to_0600_0007_0017_0001.sql
fm_or_upgrade_0600_0007_0017_0001_to_0600_0008_0001_0001.sql
fm_or_upgrade_0600_0008_0001_0001_to_0600_0008_0002_0001.sql
fm_or_upgrade_0600_0008_0002_0001_to_0600_0008_0003_0001.sql
fm_or_upgrade_0600_0008_0003_0001_to_0600_0008_0004_0001.sql
fm_or_upgrade_0600_0008_0004_0001_to_0600_0008_0005_0001.sql
7.5.01 0600.0008.0011.0001 fm_or_upgrade_0600_0008_0005_0001_to_0600_0008_0006_0001.sql
fm_or_upgrade_0600_0008_0006_0001_to_0600_0008_0007_0001.sql
fm_or_upgrade_0600_0008_0007_0001_to_0600_0008_0008_0001.sql
fm_or_upgrade_0600_0008_0008_0001_to_0600_0008_0009_0001.sql
fm_or_upgrade_0600_0008_0009_0001_to_0600_0008_0010_0001.sql
fm_or_upgrade_0600_0008_0010_0001_to_0600_0008_0011_0001.sql
fm_or_upgrade_0600_0008_0011_0001_to_0600_0008_0012_0001.sql
fm_or_upgrade_0600_0008_0012_0001_to_0600_0009_0001_0001.sql
7.6.01 0600.0009.0004.0001 fm_or_upgrade_0600_0009_0001_0001_to_0600_0009_0002_0001.sql
fm_or_upgrade_0600_0009_0002_0001_to_0600_0009_0003_0001.sql
fm_or_upgrade_0600_0009_0003_0001_to_0600_0009_0004_0001.sql
fm_or_upgrade_0600_0009_0004_0001_to_0600_0009_0005_0001.sql
fm_or_upgrade_0600_0009_0005_0001_to_0600_0010_0001_0001.sql
fm_or_upgrade_0600_0010_0001_0001_to_0600_0010_0002_0001.sql
fm_or_upgrade_0600_0010_0002_0001_to_0600_0010_0003_0001.sql
7.6.03 0600.0010.0007.0001
fm_or_upgrade_0600_0010_0003_0001_to_0600_0010_0004_0001.sql
fm_or_upgrade_0600_0010_0004_0001_to_0600_0010_0005_0001.sql
fm_or_upgrade_0600_0010_0005_0001_to_0600_0010_0006_0001.sql
fm_or_upgrade_0600_0010_0006_0001_to_0600_0010_0007_0001.sql
fm_or_upgrade_0600_0011_0001_0001_to_0600_0011_0002_0001.sql
fm_or_upgrade_0600_0011_0002_0001_to_0600_0011_0003_0001.sql
fm_or_upgrade_0600_0011_0003_0001_to_0600_0011_0004_0001.sql
8.0.01 0600_0012_0003_0001
fm_or_upgrade_0600_0011_0004_0001_to_0600_0012_0001_0001.sql
fm_or_upgrade_0600_0012_0001_0001_to_0600_0012_0002.0001.sql
fm_or_upgrade_0600_0012_0002_0001_to_0600_0012_0003_0001.sql
a) All database upgrade scripts listed between the current and target database schema
versions in the table above will need to be run.
IMPORTANT NOTES:
All scripts listed in the table above are for environments with Oracle databases. For
Microsoft SQL Server databases, replace fm_or with fm_ss in the script names.
Pay extra attention to the highlighted database upgrade scripts. Depending on the
database platform (Oracle vs. Microsoft SQL Server), they may need to be executed with
elevated database user privileges.
Overview: Upgrading the EcoSys (ESFM) database instance for Oracle or Microsoft SQL Server.
b) Open and view the contents of each script that will need to be run prior to doing so.
Some scripts require different permissions or may need a path in the script changed.
d) If an error or warning occurs, do not proceed with the next script. Contact EcoSys
Support.
e) Save the log files for each script execution as they may be needed for troubleshooting
purposes.
Overview: Updating the EcoSys web application on the Tomcat application server.
<TOMCAT_HOME>\work\Catalina\localhost\ecosys
<TOMCAT_HOME>\webapps\ecosys
3. Replace the ecosys.war file in <TOMCAT_HOME>\webapps with the ecosys.war file in the
\deploy folder of the EcoSys installation/upgrade package.
Overview: Updating the EcoSys web application on the JBoss application server.
<APP_SERVER_HOME>\standalone\tmp
<APP_SERVER__HOME>\standalone\data
4. Navigate to the C:\EcoSys\alt\deploy\ directory and extract and merge the new overlay zip
file to the root folder of the application server.
5. Copy the correct database JDBC driver into the correct directory in the application server
6. If this is the first time upgrading to EcoSys 7.7 or greater, update the
<APP_SERVER_HOME>\standalone\configuration\standalone.xml file. Locate the line to
change below and update the entry as described. Remove any old driver entries that are
not used.
For Oracle:
Change: <driver name="ojdbc6" module="oracle.jdbc.6"/>
To: <driver name=" ojdbc6" module="com.ecosys.jdbc">
Remove: Any <driver></driver> sections for ojdbc5 and sqljdbc
For MSSQL:
Change: <driver name="sqljdbc" module="com.microsoft.sqlserver.jdbc">
To: <driver name="sqljdbc" module="com.ecosys.jdbc">
Remove: Any <driver></driver> sections for ojdbc5 and ojdbc6
7. If using Primavera P6, re-deploy the module by following the steps in the P6 Adapter
Installation guide.
Overview: Updating the EcoSys web application on the WebLogic application server.
3. Delete the following folders from the AdminServer and the Managed Server that is running
Ecosys App
<WLS_DOMAIN>\servers\<WLS_SERVER_NAME>\cache
<WLS_DOMAIN>\servers\<WLS_SERVER_NAME>\tmp
EcoSys Upgrade Guide, Release 8.0.02 Page 8 of 10
Copyright 2017 Hexagon AB and/or its subsidiaries and affiliates. All rights reserved.
Confidential and Proprietary Information.
<WLS_DOMAIN>\servers\<WLS_SERVER_NAME>\stage (if it exists)
4. Deploy the ecosys.ear file from the \deploy folder of the EcoSys installation/upgrade
package to the EcoSys managed server.
NOTE: For more information on deploying the ecosys.ear file, refer to the Deploy the
EcoSys Application section under the heading Configuring Oracle WebLogic for EcoSys
in the EcoSys Installation Guide.
Overview: Updating the EcoSys application files on the WebSphere application server.
<WEBSPHERE_HOME>\profiles\<Profile Name>\temp
<WEBSPHERE_HOME>\profiles\<Profile Name>\wstemp
4. Deploy the ecosys.ear file from the \deploy folder of the EcoSys installation/upgrade
package to the WebSphere application server.
NOTE: For more information on deploying the ecosys.ear file, refer to the "Deploying the
EcoSys Application on WebSphere" section under the heading "Configuring IBM
WebSphere for EcoSys" in the EcoSys Installation Guide.
The EcoSys SAP Adapter web application is contained in the pluginsap.war file which can be found
in the \deploy folder of the EcoSys installation/upgrade package. To update an EcoSys SAP
Adapter deployment, follow the same instructions (based on the application server) used to update
the EcoSys web application but apply them to the pluginsap.war file instead of the ecosys.war/ear
file.
After the EcoSys application service has been started, navigate to the EcoSys URL and attempt to
log in. Contact EcoSys Support if any errors are encountered after the upgrade and include the
upgrade script log files as well as the ESFM-Application.log file.