Installing an additional TREX
Instance
You install an additional TREX instance by means of the TREX script instance.cmd (Windows) or instance.sh (UNIX). You will find this script on the host where you initially have installed TREX with SAPinst.
The script is located in the following directory
○
On UNIX
/<SAP System Mount
Directory>/<sapsid>/SYS/global/
trex/install
○
On Windows
<SAPGLOBALHOST>\sapmnt\<SAPSID>\SYS\global\
trex\install

This directory is part of the global file system for TREX \…\<SAPSID>\SYS\global, which must be highly available. All instances of a TREX system must have permanent access to it. When installing TREX and planning a distributed TREX system, you must decide which host the global TREX file system should be located on. The global file system must be accessible from all hosts on which you intend to install additional TREX instances.
You have mounted (UNIX) or shared (Windows) the directory <SAPSID>\SYS\global\trex\install on the host where you intend to install the additional TREX instance so that the directory is accessible from this host.
...
1. Log in as root (UNIX) or local administrator (Windows) on the host where the additional TREX instance shall be installed and open a command prompt.
2. Navigate to the directory \...\<SAPSID>\SYS\global\trex\install which is located on the host where you have installed TREX initially. On UNIX you have to mount this directory manually.
3. Execute the script addInstance.cmd (Windows) or instance.sh (UNIX) in this directory.
The script will automatically do the following:
After executing the script an additional TREX instance was installed on the host. You do not need to do additional configuration steps.