Install and configure Pro2 on Linux
- Last Updated: March 30, 2020
- 5 minute read
- OpenEdge
- Version 12.2
Use the Pro2-6.1.bin file to install Pro2 and configure a standard instance of the Pro2 web user interface, or an Enterprise View instance, on your Linux machine.
Install Pro2
Use the following procedure to install Pro2 for Linux standard or Enterprise View:
- Locate and execute either the Pro2-6.1-ent.bin file for Enterprise View, or the Pro2-6.1.bin file for standard.
- In the Pro2 installer, click Next to start the installation process.
- Specify the install folder path. For example, USER_INSTALL_DIR=/largedisk/<user>/pro2inst.
- In the Choose
OpenEdge window, specify the path or select Choose to browse and set the OpenEdge home
directory.
The directory is based on the version of OpenEdge that is installed on your machine. For example,
OE_INSTALL_DIR=/largedisk/<user>/120/linuxx86_64/build/dlc. - On the PAS Ports screen, enter the port information for
your PAS for OpenEdge instance and designate the instance name. For
example:
HTTP Port 9991 HTTPS Port 9992 Shut Down Port 9993 Instance Name Pro2Web - Click Next and review the options you chose for this installation in the Pre-Installation Summary page.
- Click Install to continue with the installation process.
- When completed, click Done.
Create a Pro2 database
The repl and replperf database instances contain the replication statistics data that is displayed on the Dashboard tab of the Pro2 web user interface.
Use the following procedure to create a Pro2 database:
- Start a Proenv session.
- From the Proenv window go to the Note: Check the directory of the db folder to view the database instances.
- Create an empty
pro2entdatabase instance by entering the prodb pro2 emptycommand. - Load the required table definitions in the
pro2entdatabase by entering the prowin pro2 -1. The Procedure Editor window appears. - Navigate to .
- In the Data Administration window, navigate to .
- In the Load Data
Definitions window, load the pro2.df file and click OK.Note: The
pro2.dffile is located in <Pro2 folder>/db. - Start the
pro2entdatabase by typing: Proserve pro2
Update replProc.pf
In the pro2 database you must
add the connection details to the replProc.pf
file. This connects the database to your PAS for OpenEdge instance, and by
extension, makes it available to be connected to your other Pro2 instances.
- Navigate to the
Pro2entfolder. - Add the
pro2entdatabase connection details to the Pro2_HOME>\bprepl_ent\Scripts\replProc.pf file to connect the replication threads and PAS for OpenEdge instance to thePro2entdatabase. - Navigate to the bprepl_ent\scripts folder and open the
replProc.pffile. Add the complete path of the database in the file and click Save. - To test the
Pro2entdatabase connections, open the Procedure Editor from the bprepl_ent\Scripts folder and navigate to . If the connection is successful, the Tables section will display tables.
Start a PASOE instance
Now that the pro2ent database is
set up successfully, start the PAS instance and log in to the Pro2 web
application.
- Start a Proenv session.
- Navigate to the Pro2 folder where you installed Pro2
- Type
Pro2LAN\bin\tcman.sh env - Type
Pro2LAN\bin\tcman.sh start - To check if the instance has started successfully, type
Pro2LAN\bin\tcman.sh env. The server running section shows a number if the instance has started. - Open any browser and log in at localhost:9991/pro2/static/
- Use the default credentials.
Setup the Pro2 environment
Before using the Pro2 web interface, you must set up basic configuration by loading the default configuration file. The configuration file consists of all the default properties and records which are necessary to set up the Pro2 environment.
Use the following procedure to load the configuration file:
- In the Pro2 web user interface, navigate to .
- Click
Select Filesand load thereplentbasev610.inifile from the Pro2 folder. Thereplentbasev610.inifile is Pro2 configuration file. - Click Submit.
If you have been using the Pro2-6.1-ent.bin file to set up Enterprise View on your Linux machine, use the following procedures to finish the Enterprise View configuration process.
Join your Pro2 instances to Enterprise View
- From an instance of Pro2 that is not joined with Enterprise View, Navigate to the side menu and select .
- On the Join
Enterprise screen, enter:
- Instance
name
The instance name is designated at the time of installation and setup of that instance.
- Instance
Abbreviation
As with the instance name, the instance abbreviation would also be designated at the time of installation and setup of that instance. The abbreviation is limited to two characters.
- Enterprise
Application Server Name
This is the same application server that is associated with your Enterprise View instance. For example,
ent. - Enterprise Host
Name
This is the same host name that is associated with your Enterprise View instance. For example,
localhost. - Enterprise
Application Server Port Number
The port number associated with your enterprise application server.
- Instance
name
- (Optional) Test your connection to the application server with the Application Server Test Connection button. If the test is unsuccessful, ensure that the instance information is correct and try again.
- Select Join to connect the Pro2 and Enterprise View instances together. Alternately, you can save your work and come back to it later by using the Save button.
Schedule an Enterprise Push job
After the connection between your Enterprise View Instance and your other Pro2 Instances are established, you might notice that there's no data flowing between them. Don't worry, your instance just need a little push to get things moving. By scheduling an Enterprise Push job, you instruct your Pro2 instance to push data, metrics, and reports from an instance to the Enterprise View instance. This is how the Enterprise View instance stays up to date with all of your mission-critical replications.
- From an instance of Pro2 that is joined with Enterprise View, Navigate to the side menu and select .
- On the Scheduled jobs screen, select New.
- On the Create Scheduled Jobs screen, click on the Type drop-down and select Enterprise Push.
- (Optional) Enter a description for the job. Entering a description can help you differentiate various jobs of the same type from one another.
- Under the Settings section, set how frequently data is to
be pushed to your Enterprise View instance. It is a best practice to
schedule the pushes to occur frequently. To support this:
- Select Daily.
- Enter the Start Date and Start Time for when you want the job to begin, such as the current date and time.
- If you so desire, you can set the End Date and End Time for the job. This, however, stops the flow of data from your Pro2 instance to your Enterprise View instance and is not recommended. To run the job indefinitely, do not enter an End Date or an End Time.
- Set the Repeat task every to 1 minute.
- Click Save.
Start the Job Runner
For the last step of the Enterprise View setup process, you must kick-start the scheduled Enterprise Push job by starting the Job Runner.
- On the machine where you have the Pro2 instance for which
you have scheduled the job, navigate to the Pro2 Scripts folder. For example
C:\Pro2\bprepl\Scripts. - Select and execute the jobrunner.sh file.
- Navigate back to the Pro2 instances web UI and confirm that the job completed successfully.
Your Enterprise View instance is now set up, and data will begin to populate the dashboard.