Consultor Eletrônico



Kbase P42888: How to use the proserve command.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

How to use the proserve command.

GOAL:

What is the appropriate syntax for the proserve command?

FIX:

The PROSERVE command starts the broker, which in turn spawns the 4GL & SQL server processes. The server processes coordinate all access to the specified Progress database broker.

SYNTAX: proserve { db-name | -servergroup [ servergroup-name ]}[ parameters ]

-servergroup servergroup-name
Specifies the logical collection of server processes to start. The servergroup-name you specify must match the name of a servergroup in the conmgr.properties file. You create servergroups using the Progress Explorer Database Configuration Tools, which saves them in the conmgr.properties file.

db-name
Specifies the specific database you want to start.

parameters
Specifies the startup parameters for the broker/server.

NOTES

1. You can specify only one database name when using PROSERVE to start a broker or servergroup.

2. Servergroups manage network connections four separate ways:
? Accept no network connections
? Accept SQL-92 and 4GL network connections
? Accept only SQL-92 network connections
? Accept only 4GL network connections

3. Typically, servergroups share common attributes such as connection port, number of servers, and how connected clients are distributed among the severs.

4. You create servergroups using the Progress Explorer Database Configuration Tool, which saves them in the conmgr.properties file. The servergroup-name you specify with the PROSERVE -servergroup parameter must match the name of a servergroup in the conmgr.properties file. Do not edit the conmgr.properties file directly. Instead, use Progress Explorer. For more information on the Progress Explorer, click the help icon within the Progress Explorer application.

5. The behavior of the -servergroup parameter is similar to the behavior of the -pf (parameter file) parameter. In effect, -servergroup causes a server to load the parameters associated with the servergroup, including the database name.
It is possible to override the parameter values associated with a servergroup by adding additional parameters to the PROSERVE command. For example, if the database buffer pool is set to 10,000 within the configuration associated with a servergroup, you can specify a larger value by adding an additional parameter:

proserve -servergroup sports2000.myconfig.4GLdefault -B 20000

Conversely, if you specify a startup parameter before the -servergroup parameter, the startup parameter can be overridden when the same parameter is set in the servergroup configuration file. For example, if you place the additional parameter before the -servergroup parameter, the database buffer pool remains 10,000:

proserve -B 20000 -servergroup sports2000.myconfig.4GLdefault