Prepare TAS Datastore server (TAS 8)
Prepare the TAS Datastore server to host the customer index and data.
Before you begin
Prepare TAS Application server (TAS 8)
Procedure
-
Create the data directory to store the index, configuration, log, and transaction log files, and assign the required permissions:
-
Create the /<data_folder> directory:
Copymkdir -p /<data_folder>
where:
<data_folder> is the folder defined for data storage, and is by default opt/app/data.
-
Assign the TAS user group and the tas_app user as the owner of the directory:
Copychown -R tas_app:tas /<data_folder>
-
Assign the following permissions:
Copychmod -R 770 /<data_folder>
-
-
Configure the Text Indexing Service (TINS):
-
Create and configure a defrag file:
-
In /etc/tuned/tas, create and edit the tuned.conf configuration file:
-
Create the tuned.conf file:
Copyvi tuned.conf
-
Add the following content to the file and save it:
Copy[main]
include=throughput-performance
[vm]
transparent_hugepages=always
[sysctl]
vm.swappiness = 1
[script]
script=huge_pages_defrag.sh -
Create the tas profile and enable it:
Copytuned-adm profile tas
-
Open the /etc/security/limits.conf file and add the following lines to the end of the file:
Copy* soft nofile 60000
* hard nofile 60000
-
-
Optional. Install diagnostic tools for troubleshooting:
Copyyum -y install sysstat htop iotop iftop sysbench collectl
What to do next