Prepare TAS Application server (TAS 8)

Prepare the TAS Application server to provide text ingestion, processing, and application services, including analytics insights.

The procedures for server preparation are based on third party software which is subject to change. The instructions as such are to be considered as a suggested method for server preparation. Alternative commands may be used. In addition, it is possible that some of the commands may not be necessary as your servers may already have the required software.

Before you begin 

Prepare TAS Management server

Procedure 

  1. Create the data directory to store the index, configuration, log, and transaction log files, and assign the required permissions:

    1. Create the /<data_folder> directory:

      Copy
      mkdir -p /<data_folder>

      where:

      <data_folder> is the folder defined for data storage, and is by default opt/app/data.

      If you require a different data directory, you must define it in the Site Preparation Checklist.

    2. Assign the TAS user group and the tas_app user as the owner of the directory:

      Copy
      chown -R tas_app:tas /<data_folder>
    3. Assign the following permissions:

      Copy
      chmod -R 770 /<data_folder>
  2. Schedule a cron job in CronTab to purge log files:

    1. Edit the current CronTab:

      Copy
      crontab -e
    2. Add the line to purge the log files every 30 minutes:

      Copy
      30 * * * * find /<data_folder>/log -type f -mtime +15 -delete
  3. Optional. Install diagnostic tools for troubleshooting:

    Copy
    yum -y install sysstat htop iotop iftop sysbench collectl

What to do next 

Prepare TAS Datastore server (TAS 8)