Consultor Eletrônico



Kbase 18039: How to start & stop the OIBroker from Procontrol
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

How to start & stop the OIBroker from Procontrol

FIX:

This information will be helpful if you would like to use ProControl to start (or stop) an OIBroker instead of starting it manually.

STARTING an OIBroker from ProControl:

1) From within ProControl, click on Detail, and then on the Other Tasks tab.
 Click Insert to add the following information relative to the OIBroker.

  A)  Identifier:  Any name for the OIBroker process.

  B)  Executable Name: %DLC%\bin\oibrkr32.exe  where %DLC% is
      replaced with the DLC directory.

  C)  Working Directory: Specify the working directory.

  D)  Startup Parameters:  -SV -S oib-service-name -H host-name -N tcp, where
oib-service-name is replaced with the service name for the OIBroker and
host-name is replaced with the host name.

2) Click the AutoStart box, if you would like the OIBroker to be automatically
started.

3) IMPORTANT:  Click on the environment tab here, and define the variable
ACCESS=all.  Note that this is the environment tab associated with the
OIBroker and not the environment tab associated with the database.

STOPPING an OIBroker started with ProControl:

When the OIBroker is started from ProControl, it is a spawned process. Therefore, you cannot stop the OIBroker from within ProControl.  You must use the following command:

   %DLC%\bin\proshut -SV -S oib-service-name -H host-name -N TCP
  where %DLC% is replaced with the DLC directory.

If you do not have a batch file for proshut, use the following command:

   %DLC%\bin\_mprshut.exe -SV -S oib-service-name -H host-name -N TCP