SAS/IntrNet 8.2: Application Dispatcher |
The configuration utility provided for OS/390 is a batch job. It is installed as a member named INETCFG in the CNTL data set that you created as the first step in the installation of your SAS software. To use the utility, you must edit the parameter file, member INETEDTP in the CNTL data set, edit the INETCFG job, and then submit the INETCFG job. The INETEDTP member contains the parameters necessary for creating a service. You can read the comments provided and change the default values to the values required for your service.
To create a service under OS/390:
Make sure that the line containing the other service type is commented out by placing an asterisk in the first column.
To specify the TCP/IP port, locate the line containing
I$-PORT1. Change the value 5001
to the
correct port number or network service name for the first server in
your service. If you want to use more than one server for this
service, remove *NO* from the desired number of
I$-PORT entries and change the value to the appropriate
value for each server in the service.
If you want to use the Load Manager on your OS/390 system, you must install the SAS/IntrNet CGI Tools for Web Server package. Verify the settings for the Load Manager in INETEDTP:
http://yourserver/sasweb/IntrNet8/tools/
.If the INETCFG job failed, examine the messages and sysprint members for error messages. If you see message that reads
ERROR: THIS REPLACEMENT CAUSES RESULT TO EXCEED OUTPUT LRECL
you might have supplied a pathname in one of your INETEDTP parameters that is too long. Try shortening this pathname and rerun INETCFG.
Note: Before you run INETCFG again, you must delete any data
sets created by the previous failure of INETCFG. You can find these
data sets by looking in the namespace determined by your original
SAS install. For example, if your SAS software was installed with
the prefix name SYS.SAS and your failed INETCFG was trying to create
the default
service, then delete all data sets beginning
with the name prefix SYS.SAS.WEB.DEFAULT before running INETCFG again.
In addition to the server root PDS, the configuration utility creates an empty PDS named prefix.WEB.servicename.TDIR, where prefix is the data set prefix that you supplied during your SAS installation and servicename is the name of the service you just created. All of the servers in the service use this PDS as a scratch location. Each server also has its own scratch SAS data library. These libraries are named TBLIB1 through TBLIBn.
prefix.WEB.servicename.*
). The RACF
data set profile should also grant write access to the userid of
the Application Server.
The definition block for a socket service might look like the following:
# This service contains one server (port 5801) on yourserv.yyy.com.
|
A pool service is defined by the following:
# Start up to 5 servers on node yourserv.yyy.com using the spawner started
|
Note: The SasCommand line contains four double quotation marks (") and seven single quotation marks ('). The double quotation marks are located at the beginning of the command (before EXEC), before PREFIX, after (@APSTX1)\, and at the end of the entire command, after the parenthesis.
As stated above, the APSTRTn files for a socket service should be moved from your server root PDS to your started task library and enabled as started tasks. To start the service, issue a START command from the system console for each server in the service.
Pool services are started automatically by the Application Load Manager. If you installed the Load Manager on your OS/390 system, the LOADMGR started task can be started by a START command from the system console. See Using the Load Manager for more details.
Once a service is started, you can test it from a Web browser. The URL will depend on the platform and path where your Application Broker is installed. For typical installs, the URL to test (or "ping") a service will be one of the following:
http://yourserver/cgi-bin/broker?_service=service-name&_program=ping
http://yourserver/scripts/broker.exe?_service=service-name&_program=ping
http://yourserver/sasweb/htbin/broker.cgi?_service=service-name&_program=ping
You must specify your Web server name in place of yourserver and your service name in place of service-name. You might need to use a different URL path if you chose a different path when you installed the Application Broker. If the service is running, an HTML page will be returned stating that the Application Server is functioning.
Socket or pool services can be stopped from a Web browser. The URL will depend on the platform and path where your Application Broker is installed. For typical installs, the URL to stop a service will be one of the following:
http://yourserver/cgi-bin/broker?_service=service-name&_program=stop
http://yourserver/scripts/broker.exe?_service=service-name&_program=stop
http://yourserver/sasweb/htbin/broker.cgi?_service=service-name&_program=stop
You must specify your Web server name in place of yourserver and your service name in place of service-name. You might need to use a different URL path if you chose a different path when you installed the Application Broker.
Log files for socket services are saved as JES spool files.
Log files for pool services are named
prefix.WEB.servicename.mmddyy.port-no.LOG
,
where prefix
is the data set prefix that you supplied during
your SAS installation, mmddyy
is the current date (represented
as a six digit number), and port-no
is the TCP/IP port
number of the server. Log files are not automatically deleted. You must
manually delete them to recover the disk space.
A service can be removed by deleting all data sets beginning with the
name prefix.WEB.servicename
, where
prefix
is the data set prefix that you supplied during
your SAS installation. For example, if you want to remove the
SVC2
service and your SAS software was installed
with the prefix name SYS.SAS, then delete all data sets beginning
with the name prefix SYS.SAS.WEB.SVC2.
SAS/IntrNet 8.2: Application Dispatcher |