Consultor Eletrônico



Kbase P97321: Adding multiple broker related processes as a resource on Windows Advanced server.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/30/2008
Status: Unverified

GOAL:

Adding multiple broker related processes as a resource on Windows Advanced server.

GOAL:

How to start multiple broker related processes in a Windows cluster.

FACT(s) (Environment):

Fathom High Availability Clusters 1.0A
Fathom High Availability Clusters 1.0B
OpenEdge 10.0B
Windows 2000 Advanced Server

FIX:



Follow these steps to add multiple broker related processes
In this example, a database E:\testdb2k3\testdb.db, has been registered as a resource with the cluster manager using the command:

procluster e:\testdb2k3\testdb.db enable
1) Go to cluster administrator.
2) Select Resource types from the list.
3) Right click on resource type ?Progress database.?
4) Click New and then click Resource to see the New Resource dialog box.
5) Fill in the Name for your resource, for example, SECONDARY.
6) Click Next. The Possible Owners dialog box appears.
7) Select the same owners as that of the database. They may have been filled in by default, and if so, leave them as is.
8) Click Next. The Dependencies dialog box appears.
9) In this dialog box, you specify the resources your new resource, the secondary brokers, are dependent on. Select your database resource

For example: e:\testdb2k3\testdb.db.
10) Click Next. The resource Properties dialog box appears.
11) Create a batch file that start the secondary broker and the additional broker related processes.

For example: D:\progress\openedge\bin\Tertiary_param_file.bat

12) Fill in the dialog box as follows:


a) For Database file spec enter the full path of your database.


For example: e:\testdb2k3\testdb.db

b) For Working Directory enter the path to your database.


For example: e:\testdb2k3\

c) For Start Command enter the batch file. The batch file must exist on on all cluster nodes, and have an identical file specification and content.


For example: D:\progress\openedge\bin\Tertiary_param_file.bat

d) Leave Start Options, Stop Command and Stop Options blank.

This solution allows you to start the database primary broker and the batch file that starts multiple broker related processes with the existing start command:

procluster e:\testdb2k3\testdb.db start.
It also allows you to stop all the processes dependent on the database (biw, apw, wdog, secondary broker and additional processes) with the existing stop command:


procluster e:\testdb2k3\testdb.db stop.

The contents of a file like Tertiary_param_file.bat can contain startup scripts for processes like secondary and even tertiary broker.s that will be bound to the clustered DB at startup.
.