Kbase 19022: How To Access WebSpeed Configuration Info On An NT Box
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/03/2005 |
|
Status: Unverified
GOAL:
How to obtain configuration information from a Windows NT installation in a character format?
FACT(s) (Environment):
WebSpeed 2.1
Windows NT 4.0
FIX:
On a UNIX system, this information is contained in one text file (webspeed.cnf) but not in the GUI Windows environment, where the configuration is generally accessed on graphic screens in the WebSpeed Configuration Utility.
The Webspeed configuration information is in the Windows NT Registry for WebSpeed 2.1. There is no utility to load the configuration information onto another machine, but there is help to unload the information. In the bin directory of the WebSpeed 2.1 installation directory, there is a file named wsconfig.exe. This program dumps the information about the current WebSpeed configurations to the screen.
If you run (wsconfig.exe) and redirect the output (for example, wsconfig.exe > config.out) it creates a text file to use to manually enter the information on another machine. Run wsconfig.exe with no parameters as follows:
C:\PROGRA~1\WEBSPEED\bin>wsconfig.exe
The WebSpeed 2.1 (WINNT) Transaction Server Configuration Utility (use wsconfig to view, add or remove WebSpeed broker or dispatcher services) where:
-c - View options Common to all Services.
-v [ServiceName] - View an existing Service configuration.
-q - Query value of option common to all Services
-i [ServiceName] -q [OptionName] - Query value of [OptionName]
-r [ServiceName] - To remove an existing Service configuration
-d [ServiceName] - To make the specified Service the default.
-e [fileName] - To export current configuration.
To add or update a WebSpeed broker or dispatcher service:
-a [ServiceName] -t [ServiceType] -l [Location]
-h [HostName] -p [PortNum] -w [Working Dir]
-s [StartInstance] -m [MaxInstances] -b [BrokerList]
-u [User:Password] -o [Replace|Append AgentParams List]
Where:
[ServiceName] is a Service Name to add/update/query.
[OptionName] is the name of an option setting
[ServiceType] is either 1 for a Broker or 2 for a Dispatcher
(default = 1).
[PortNum] is a TCP/IP port number (default = 2001).
[StartInstances] is the initial Agents processes to start(default=2).
[MaxInstances] is the maximum Agents allowed to start
(default = License Cfg).
[HostName] is the TCP/IP host where the Service runs
(default = localHost).
[Working dir] is a directory pathname for the Service
(default = Install dir).
[Location] is either 100 for Remote or 200 for Local
(default = Local).
[BrokerList] is a comma separated list of Broker ServiceNames for
a ServiceType of Dispatcher.
[User:Password] is the username and password for the service to run
under.
[Replace|Append AgentParams] is the startup parameters for the agents.