SAPinst creates an index directory and a queue directory in the directory <TREX_DIR>. You can change these directories if necessary (for example, if you want the directories to be located in a different partition).
Create the index directory or queue directory in the required partition.
We recommend that you use the directory names index or queue.
Make sure that the directory permissions are identical to those of the original directory ( <TREX_DIR>/index or <TREX_DIR>/queue).
Stop TREX (see Starting and Stopping TREX).
Edit the <TREX_DIR>/sapprofile.ini configuration file. Change the TREX/IndexServer/basepath/index or TREX/IndexServer/basepath/queue parameters so that the relevant parameter now points to the new directories.
Only use forward slashes (/) in paths (even on Windows).
The standard configuration is:
TREX/IndexServer/basepath/index=%(SAP_RETRIEVAL_PATH)/index
TREX/QueueServer/basepath/queue=%(SAP_RETRIEVAL_PATH)/queue
If TREX is running on UNIX; enter the following:
TREX/IndexServer/basepath/index= /my_path/index
TREX/QueueServer/basepath/queue= /my_path/queue
If TREX is running on Windows and the directories are located on a local disk drive, enter the following:
TREX/IndexServer/basepath/index= D:/my_path/index
TREX/QueueServer/basepath/queue= D:/my_path/queue
If TREX is running on Windows and the directories are located on a file server, enter the following:
TREX/IndexServer/basepath/index= //my_server/my_path/index
TREX/QueueServer/basepath/queue= //my_server/my_path/queue
All remaining paths are only relevant for a distributed system.
Start TREX (see Starting and Stopping TREX).