Consultor Eletrônico



Kbase P23122: How to set up a secondary login broker within ProControl.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/20/2009
Status: Verified

GOAL:

How to set up a secondary login broker in ProControl.

GOAL:

How to start a secondary broker from ProControl

FACT(s) (Environment):

Windows
Windows NT 32 Intel/Windows 2000
Progress 9.x

FIX:

To add a secondary login broker in ProControl, insert a second instance of _mprosrv.exe in the Databases section. The database name should be the same but you need to add the following to the startup parameters: a different -S than the first database entry, and the -Mpb, -m3 startup parameters.

The steps to do this are:

1. Open ProControl from the Progress Program menu and choose "Detail"

2. On the Databases tab select Insert

3. Ensure that the Executable Name is _mprosrv.exe and add an Identifier in the "Identifiers" box. It is a name for this broker that you choose.

4 Add the following Startup Parameters: -S service name (different than the -S for the database broker) -Mpb (specifies the number of servers for this secondary login broker) -m3 (starts the secondary login broker)

For example (use your own values here):

First entry for 4GL:
-Mn 21 -Mpb 10 -Ma 4 -n 51 -N TCP -S 2000

Second entry for SQL
-m3 -Ma 1 -Mpb 10 -N TCP -S 3000

The sequence is important, otherwise the secondary broker will not start. Also, the secondary broker can not be started using a parameter file(.pf).

5. Check the AutoStart box if you want the broker to start when ProService starts.

6. Select the Auto Start tab and make sure the primary broker is listed in a higher position than the secondary broker in the Auto Start tab of ProControl.
(NOTE: If the version of ProControl in use does not have an Auto Start tab, it will be necessary to duplicate identifies with names whose alphabetical order define the order of startup i.e. a database (or primary broker definition) with a ProControl identifier titled Alpha will start before a database (or secondary broker definition) with a ProControl identifier titled Beta)

7. Select "OK"

8. Choose "Detail" again and press "start" next to the new broker instance.

9. Connect with a 4GL client by specifying the -S you entered in step 4 in the connection parameters. Or, for ODBC connections, specify the -S from step 4 in the Data Source properties.