Upgrade Pro2 5.5.x to 6.4
- Last Updated: July 1, 2024
- 7 minute read
- OpenEdge Pro2
- Version 6.5
- Documentation
Upgrading Pro2 from 5.5 to 6.4 or above is a manual process that involves:
- Installing and configuring Pro2 6.4 or later versions.
- Importing your 5.5 properties file and table mapping.
- Disconnecting and shutting down your Pro2 5.5 instance.
- Installing a fresh version of Pro2 6.4 or above.
- Preparing your 5.5 instance of Pro2 for shutdown.
- Initiating a cut over event to switch from using 5.5 to 6.4 or above.
An aspect of the upgrade process that requires special consideration, is determining whether or not you want to bring your 5.5 properties file into your new Pro2 instance. Generally, older Pro2 installations were performed by Progress Professional Services as a paid engagement. Pro2 configurations can vary greatly between one another depending on how thoroughly the default properties file and code are customized. During your upgrade planning phase, examine your properties and compare them to the new 6.4 properties.
Progress recommendeds that you first attempt the upgrade on a test environment, and backup your entire Pro2 directory, before upgrading the production environment.
Main steps to upgrade Pro2
- Plan for the upgrade.
- Save the 5.5 configuration files.
- Install Pro2 6.4 or above.
- Configure Pro2 for LAN or WAN.
- Load the 5.5 configuration files.
- Initiate the upgrade cut-over event.
- Test the upgraded deployment.
Upgrade planning
Due to the highly customizable nature of Pro2 instances, there is no definitive upgrade planning method. Your upgrade planning needs might be vastly different from another Pro2 user. You should confer with your database administrator and other stakeholders to determine the best way to plan for your upgrade.
- Determine when your application receives the least amount of user traffic.
- Plan to initiate your upgrade cut-over during a low traffic window.
- Learn about Pro2 6.4 or above features, functionalities, and enhancements.
- Compare your custom 5.5 properties with the 6.4 or
above properties. If your custom properties are still viable, create of copy
of the file for later use.
For more information about the Pro2 6.4 properties, see Properties.
- Determine whether a LAN or a WAN configuration is right for your deployment. Accordingly, your application may need a new configuration or may retain the same configuration. For example, changing from LAN to WAN.
- Identify where you want to install Pro2 6.4 or above.
- Devise a test plan.
- Create a backup strategy.
Save your configuration files
- On the machine where you have Pro2 installed, open the Pro2 Administration tool and click .
- Save your configuration file to an easily accessible location.
- Return to the Administration tool and click .
- Save your mapping file to an easily accessible
location.
You need both the mapping and the configuration files during the Pro2 6.4 or above configuration process.
Install Pro2 6.4 or above
If you choose to use the same configuration (LAN or WAN) as your previous Pro2 deployment, Progress recommends that you install Pro2 6.4 or later versions on the same machine as your 5.5 deployment. Though on the same machine, this installation must be in a separate directory to ensure zero interference with your 5.5 deployment. By installing both the 5.5 and 6.4 or above versions on the same machine, you need fewer configurations to support the cut-over event.
- Depending on your choice of configuration, choose to install and configure 6.4 for LAN or WAN.
- Follow the installation and configuration procedure upto to the step
for loading your configuration file. Then perform the following steps:
- In the Pro2 web interface, navigate to .
- Click Select Files to
load the
.iniconfiguration file, such asreplbasev610.inifrom the Pro2 folder, and click Submit.A success or failure notification is displayed after the upload is complete.
- Ensure that all the properties are successfully loaded into the Pro2 database.
- On the Pro2 dashboard menu, click .
- Select the Load v5 Properties File option and
click Select Files to load the Pro2 5.5
properties.inifile. - Select the Overwrite Pro2 Properties checkbox and click Submit.
- Ensure that all existing property values are overwritten with the Pro2 5.5 property values.
- Start the job runner.
- Navigate to the Pro2 Scripts folder, for example
C:\Pro2\bprepl\Scripts. - Select and run the
jobrunner.batfile. - Return to the web interface and confirm that the
jobrunner.batis running by checking the status in the Pending Jobs watch-box.
- Navigate to the Pro2 Scripts folder, for example
- Add the source database details.
- From the Pro2 web interface, navigate to the
Manage Replication tab,
and click New.
The Create Replication window appears.
- In the Source DB Name field, type the name of the source database.
- Select Trigger or CDC as the Source Database Mode.
- In the Host Name field, type the name of the host.
- In the Host Port/Service field, type the port
number (for example,
2233). - If required by your source database, enter your
your User Name and
Password. Note: Enter your user name and password only if it is required by your source database.
- Select Test Connection and if the test is successful, move on to set the target database.
- Review your source database details to ensure their
correctness, and Click Next.
The Set Target tab appears.
- From the Pro2 web interface, navigate to the
Manage Replication tab,
and click New.
- Add the target database details.
- In the Target Database Typelist, select Microsoft SQL Server, Oracle, or OpenEdge.
- If necessary, change the default values in the
following fields:
- Target Database Name
- Target Schema Image
- Schema Holder DB
- Target ODBC Connection
- If required by your target database, enter your User Name and Password.
- Click Next.
The Generate Target Schema tab appears.
Note: If your target SQL database already exists and is not different than the one in your Pro2 5.5 instance, do not generate the target schema or load the file into target.
- Click Generate Target Schema.
- Create a schema holder for your target database.Note: Unless you are upgrading the OpenEdge version on the Pro2 instance machine, do not recreate the schema holder.
- To create an empty schema holder database, open a Proenv window, and enter
prodb database name empty. - Start a single user session by entering
prowin database name -1.The Procedure Editor window appears.
- In the Procedure Editor window, select .
- Select .
The Create/Modify Record for Schema window appears.
- In the Logical Database Name field, type the name of your logical database.
- If the source database is MS SQL Server, specify the ODBC Data Source Name, and click Ok.
- In the User ID and Password dialog box, enter the Login ID and Password if required, and click OK.
- In the Pre-Selection Criteria For
Schema Pull window, do the following:

- Type the values for Object Name, Object Owner (typically,
dbo), and Qualifier, and select the Default to OpenEdge DATETIME checkbox. - If you selected the Default to OpenEdge LOB for checkbox, ensure to
select the BLOBs
checkbox along with the
CLOBs checkbox, so that the data
server is forced to automatically treat certain target-side
data types as LOBs.
Notes:
- Selecting the CLOBs checkbox automatically converts the varchar(max) and nvarchar(max) data types to CLOB.
- Selecting the BLOBs checkbox forces the data server to consider all varbinary(max) data types as BLOB.
- On the source fields that are character types, Pro2
may convert some types to
varchar(max)when the source width is wider than theMAX_CHAR_WIDTHproperty setting. This conversion has the added benefit of avoiding row size limits for SQL Servers. However,varchar(max)andnvarchar(max)are not necessarily treated as CLOBs.
- Type the values for Object Name, Object Owner (typically,
- On the Generate Target Schema
page, open a new tab, and navigate to .Note: The load map functionality deletes all the existing
repl_tablexrefandrepl_fieldxrefrecords and recreates them.
- Select the Load v5 Map
File option and click:
- Select File in the Upload Table
Map file box and load the Pro2 5.5
mapping_TBLxRef.mapfile. - Click Select File in the Upload
Field Map file box and load the Pro2 5.5
mapping_FLDxRef.mapfile.Note: Both the table map and field map files are required to complete the load process.
- Select File in the Upload Table
Map file box and load the Pro2 5.5
- Click Submit and return to the previous tab Generate Target Schema page.
- Click Next to navigate to Mapping Page.
- To create an empty schema holder database, open a Proenv window, and enter
- Review all the tables and fields mapping information, verify it against your Pro2 5.5 instance and, click Next.
- On the Advanced Configuration page, review all the table properties and thread mappings, and ensure that they match your Pro2 5.5 instance.
- Click Next to generate the
code.Note: To ensure proper database connectivity, it is highly recommended to restart both jobrunner and PAS for OpenEdge web instance.
Initiate the upgrade cut-over event
Leaving the target database details unconfigured in the Pro2 UI, go to the Pro2 5.5 root folder and start a Proenv instance to shut down the 5.5 replication databases. To do it, perform the following steps:
- Open a Proenv window and enter the cd command to navigate to the Pro2 5.5 root folder.
- To shut down the replication (repl) database, enter proshut repl -by.
- To shut down the replperf database, enter proshut replperf -by.
- Return to the Pro2 6.4 or above user interface and continue the target-side configuration process.
Test the upgraded deployment
- After confirming that the bulk load was successful, test and troubleshoot the upgraded deployment using your test plan created during the planning phase.
- Review the test results, and note any abnormalities.
- Investigate ways to correct any abnormalities you find, and make the appropriate the corrections.
- If you find no abnormalities in your testing environment, choose a time to upgrade your production environment.