If a Service Manager is used, you can
execute its commands (e.g., starting or stopping a process) directly via the AE system. The relevant commands
can either be executed directly from the Process & Usage
page of the Administration perspective in the Automic Web Interface,
via the Agents → Automation Engine section of the System Overview in the
Java User Interface, or via the script element MODIFY_SYSTEM.
In
order for the AE to be able to execute Service Manager commands, the AE
must know the details of the respective Service Manager-managed
process:
- The host name where the Service Manager process is running (inferred from the respective server or agent object).
- The port number on which the Service Manager is listening
- The phrase used to start the Service Manager
- The name of the process started by the Service Manager
These details can be specified manually, by editing the
respective server or agent object in the system client (client 0). Or
they can be discovered automatically, through a Service Manager scan.
The
SMGR_PORT_RANGE key specifies
the port number (or a contiguous range of port numbers) that will be
scanned during a Service Manager scan. When a Service Manager scan is
initiated, the Automation Engine will connect to the specified port (or
range of ports), and will attempt to discover the above details about
the selected server or agent process automatically.
The AE system automatically scans for a Service Manager when the server processes start for the
first time. Subsequently, this scan can be executed manually using
the Verify connection to Service Managercommand in the Administration perspective (AWI), or using theRefresh Service Manager Scancommand in the System Overview (Java UI).
To specify a range of port numbers, provide the start port
and end port, separated by a comma, and enclosed in parentheses. The
range of port numbers is contiguous, and includes both the start and end
port. The range of port numbers must not exceed
10 port numbers. It is not possible to specify multiple non-contiguous
port numbers, or multiple ranges or port numbers.
For example: (8871,8873)
Default value: 8871