UNIX shell script
Test RealTime - User Guide
·
atsagtd.sh: a UNIX shell script that starts atsagtd.bin
Installing the Agent
There are two methods for installing the System Testing Agent:
·
Manual launch
·
Inetd daemon installation
To install a System Testing Agent for manual execution:
This procedure does not require system administrator access, but launching of the
agent is not fully automated.
1. Copy
atsagtd.bin or atsagtd.exe to a directory on the target machine.
2.
On the target machine, set the ATS_DIR environment variable to the directory
containing the agent binaries.
3.
Add that same agent directory to your PATH environment variable.
Note You can add these commands to the user configuration file: login, .cshrc
or .profile.
4.
On UNIX systems, create an agent access file .atsagtd file in your home
directory. On Windows create an atsagtd.ini file in the agent installation
directory. See System Testing Agent Access Files.
5.
Move the agent access file to your chosen base directory, such as the directory
where the Virtual Testers will be launched.
6.
Launch the agent as a background task, with the port number as a parameter.
By default, this number is 10000.
atsagtd.bin <port number>&
atsagtd <port number>
To install a System Testing Agent with inetd:
This procedure is for UNIX only. Launching agents on target machines is automatic
with
inetd
.
With this method, the
inetd
daemon runs the atsagtd.sh shell script that initializes
environment variables on the target machine and launches the System Testing Agent.
1. Copy
atsagtd.sh and atsagtd.bin to a directory on the target machine.
2.
On the target machine, set the ATS_DIR environment variable to the directory
containing the agent binaries.
192