Show TOC

Changing Default Directories for Indexes, Snapshots, or QueuesLocate this document in the navigation structure

Use

There are default directories for indexes, snapshots, and queues. TREX creates new data in these directories. You can change the default directories. You may want to do this if you are running out of disk space in the existing default directories.

This change has no effect on existing indexes, snapshots, or queues. They remain in the previous default directories. TREX creates new data in the new default directories.

Note

If you want to move existing indexes, snapshots, or queues, contact SAP Support.

Procedure with Centralized Data Storage

On UNIX

  1. Create a new TREX data directory on the file server.
  2. Mount the new directory.
  3. Start the TREX admin tool on any host in the distributed system.
  4. Go to the Landscape Configuration window.
  5. Specify the new directory for all hosts in the Basepath column of the Hosts table.
  6. Activate this change by choosing Deploy.

On Windows

  1. Create a new TREX data directory on the file server.
  2. Edit the configuration file TREXDaemon.ini on all hosts that belong to the distributed system. Define the new directory as a network drive.
    Tip

    [mappings]

    map_t=\\myfileserver\myoldtrexshare

    map_u=\\myfileserver\mynewtrexshare

    For more information, seeDefining the Network Drive.

  3. Stop TREX on all hosts that belong to the distributed system. Restart TREX.
  4. Start the TREX admin tool on any host in the distributed system.
  5. Go to the Landscape Configuration window.
  6. Specify the new network drive, or a subdirectory thereof, for all hosts in the Basepath column of the Hosts table.
  7. Activate this change by choosing Deploy.

Procedure with Decentralized Data Storage

  1. Create a new TREX data directory on the host in question.
  2. UNIX only: Make sure that the directory belongs to the user SAPService<SAPSID>.
  3. Start the TREX admin tool on any host in the distributed system.
  4. Go to the Landscape Configuration window.
  5. Specify the new directory for the affected host in the Basepath column of the Hosts table.
  6. Activate this change by choosing Deploy.