SAS/IntrNet 8.2: Application Dispatcher |
The Application Load Manager is available for OS/390, UNIX, and Windows systems. The Load Manager executable (loadmgr.exe on Windows, loadmgr on other platforms) is included in the CGI Tools for Web Server package. After you have installed this package, you can find the Load Manager executable in the Web server directory corresponding to the URL
http://yourserver/sasweb/IntrNet8/tools
The Load Manager executable is also included in the SAS system installation on UNIX and Windows systems. The Load Manager can be found at the following locations:
!SASROOT/utilities/bin/loadmgr
!SASROOT\intrnet\sasexe\loadmgr.exe
The syntax for starting the load manager is
loadmgr <options>
where <options> can be any of the following:
On Windows platforms only, a setup wizard is available to configure the Load Manager. The setup wizard allows you to create Start menu shortcuts to start the Load Manager, install or uninstall the Load Manager as a Windows service, or view log files. See Load Manager on Windows Platforms for more information.
The Load Manager can be stopped from a Web browser. The URL depends on the platform and path where your Application Broker is installed. For typical installations, the URL to stop a service is one of the following:
http://yourserver/scripts/broker.exe?_service=service-name&_program=endloadmgr
http://yourserver/cgi-bin/broker?_service=service-name&_program=endloadmgr
http://yourserver/sasweb/htbin/broker.cgi?_service=service-name&_program=endloadmgr
Specify your Web server name in place of yourserver and any service that uses the Load Manager 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. The ENDLOADMGR command also stops any pool service Application Servers that have been started by the Load Manager. If the load manager was started with the -passwd option, the specified password must be appended to the URL. For example:
http://yourserver/scripts/broker.exe?_service=service-name&_program=endloadmgr&_passwd=secret
To use the Load Manager, add a directive to the Broker configuration file:
LoadManager host:port
You can override this on a per-service basis with a corresponding ServiceLoadManager directive:
ServiceLoadManager host:port
No other changes are required. All information in the Broker configuration file are passed to the Load Manager by the Application Broker as needed.
Statistics are recorded for all Application Servers requested through the Load Manager. Data is kept for the length of jobs and for the amount of time required to wait for a server. The job times are based on state changes sent from the Application Servers and vary slightly from the job times reported by the Broker.
A statistics report may be obtained by running a special program via the Broker. The load manager statistics are returned when _PROGRAM is set to LOADSTAT and _SERVICE specifies any service that uses the desired load manager. If the load manager was started with the -passwd option, _PASSWD must be used to supply the password. For example, the URL
http://yourserver/scripts/broker.exe?_service=default&_program=loadstat&_passwd=secret
might return the following report:
Load Manager serv.abc.com:5555
|
The columns of the report are defined as
SAS/IntrNet 8.2: Application Dispatcher |