Stopping TREX with the TREX Admin Tool
On UNIX: Since the TREX admin tool has a graphical interface, you need an X server. You cannot use a terminal program that only supports text mode, such as telnet.
Log on with the <sapsid>adm user.
Start the TREX admin tool by entering the following:
In the TREX admin tool, navigate to the Landscape Services area and then go to the MMC tab.
You can stop TREX by choosing the SAP System: Stop button or by selecting the TREX host, opening its context menu with the secondary mouse button, and selecting the relevant option. You can stop Selected Hosts or All Hosts for a landscape.
Stopping TREX with the stopsap Shell Script
Log on locally to the host on which the TREX instance is installed with the <sapsid>adm user.
Execute the script stopsap in any directory:
To stop a single TREX instance, enter the following:
In the parameter TRX<instance_number>, you specify which TREX instance is to be stopped.
To stop all SAP instances on a host, including all TREX instances, enter the following: