Kbase 20679: How to configure WebSpeed using Progress Explorer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/12/2010 |
|
Status: Verified
GOAL:
How to configure a webspeed broker
GOAL:
How to setup webspeed workshop
GOAL:
How can I set up WebSpeed in Progress Explorer?
GOAL:
WebSpeed set-up and configuration within Progress Explorer
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
WebSpeed 3.x
FIX:
These instructions should only be done after you have verified that the AdminServer is running.
This setup and configuration is based on the following criteria
- AdminServer running locally on the server on port 20931.
- Database is created and located on server
- Messenger/NameServer and WebSpeed Broker/Agents will run in local configuration
Open Progress Explorer through the Progress Menu options via the Start Panel
Setup Server "localhost" icon
1. Under Console Root, right click "Progress Explorer"
2. Choose "Add Progress Server".
3. An icon will appear listing two tabs; General and Advanced
Under General, you will see the Server location (i.e., "localhost") and no information for User/Password.
3a. Enter in the name of the server where the adminserver is running. In this example, "localhost" will be entered
3b. Enter the username and password here also.
Make sure to select "Save username and password" at the least.
3c. Under Advanced, you will see the default Server Port Number (i.e., "20931")
If the AdminServer is running on another port, other than the default, define that here.
4. Click OK.
Server icon "localhost" should be added within Progress Explorer
5. Right click on "localhost" icon and select "connect".
Once you have connected, at a minimum (based on your licensing) you should see the following folders,
-Database
-WebSpeed
-NameServer
-Messengers
Setup Database
1. Right click on the database folder and select "new".
2. Enter the logical name or alias for the database.
This is just like the alias that you will use to identify multiple databases within Progress Explorer. It does not have to be the exact name of the database.
3. Select OK.
4. Enter the path and filename of the database
For example, c:\progress\wrk\sports2000
5. Click on the checkbox below if you want the database to start every time you start the AdminServer.
6. Select OK.
7. Now click on the plus sign and expand the database configruation untill you see "defaultServerGroup"
8. Right click on defaultservergroup.
9. You will see that some fields have been already set and some set to 0.
The main fields that you want to select are:
-For Client type, select radio button "Both 4GL and SQL"
-Under General, enter "Service name or port number" for the database
10. Select OK.
11. Right click on the database alias icon and choose "Start".
12. You can verify that the database is up and running by, right clicking on the database alias icon and select "status".
Setup NameServer
1. By default, Progress predefines a NameServer for you. However, you do not have to use the NameServer alias, NS1, if you do not wish. Also the existing configuration can easily be changed.
2. To add a new NameServer, right click on the NameServer folder and select "new".
3. Assign a name and make the location "local".
4. Select OK.
5. Right click on the NameServer icon and choose "properties".
6. By default, the NameServer runs on port 5162 (for WebSpeed 3.1D, this may be different depending on the version of WebSpeed you have). You can redefine the port number to any other UDP port that you have available on your system.
When you go into the properties of the NameServer, you will find 5 menus
- Location
- General
- Logging Setting
- Advanced Features
- Environment Variables
Based on Progress's Default setting there's nothing that you need to change, unless you would like to define a different port for the NameServer (this can be done within "LOCATION") and/or if you would like to define a different wo.rking directory than the default already assigned (this can be done within "GENERAL").
5. Select OK.
6. Right-Click on the NameServer alias icon and select "start".
7. You can verify if the NameServer is up and running by, right clicking on the NameServer alias icon and select "status".
Setup WebSpeed Broker
1. By default, Progress predefines a WebSpeed Broker for you. However, you do not have to use the Broker alias, wsbroker1, if you do not wish. Also the existing configuration can easily be changed.
2. To add a new WS broker, right click on the WebSpeed folder and select "new".
3. Assign a name for your WS broker.
4. Select OK.
5. Right click on the WS broker icon and choose "properties".
6. By default, the WS broker runs on port 3055 (for WebSpeed 3.1D, this may be different depending on the version of WebSpeed you have). You can redefine the port number to any other TCP port that you have available on your system.
7. When you go into the properties of the NameServer, you will find 5 menus
There are 3 menus
- Broker
When this list is expanded, you will see:
--General
--Owner Information
--Controlling NameServer
--AppService Name List
--Logging Setting
--Advanced Features
- Agents
When this list is expanded, you will see:
--General
--Logging Setting
--Pool Range
--Advanced Features
- Environment Variables
Based on Progress's Default setting there's nothing that you need to change, except if you are connecting to the database (already defined). Connection string information must be entered within the "GENERAL" menu of the Agent within field "agent startup parameters". Add the database connection strings at the end of this line, for example
8. -p web\objects\web-disp.p -weblogerror -db sports2000 -S 2300 -N tcp -localhost
9. Please note that the WS Broker will use the default NameServer, NS1. If you would like to change this, go to the Controlling NameServer menu of the Broker and define the correct NameServer that the broker will register to.
10. Also, if you would like to define a different working directory for the WS Broker, this can easily be done under the "GENERAL" menu under the Broker. Also, if you do change the working directory of the Broker, make sure to add this to the PROPATH Of the agent. This can be done within "GENERAL" menu of the Agent.
11. Right-Click on WS Broker name/icon and select "start".
12. You can verify if the WS Broker/Agent(s) is up and running by, right clicking on the WS Broker alias icon, wsbroker1, and select "status".
Make sure that the Broker and Agent(s) are both up
13. Go back and do a verify of the NameServer and make sure that under DETAILS, that the WS Broker is registered to the NameServer..