Complete this procedure to configure the Elastic Search.


  • Perform M&R 6.8u5 installation successfully.


  1. Open the /etc/sysctl.conf file.
  2. Add the following line:
  3. Edit the /etc/security/limits.conf file.
  4. Add the following line for the user:
    In this example, the user is apg.
    apg hard nofile 65536
    apg soft nofile 65536
    apg hard nproc 65536
    apg soft nproc 65536
  5. Save the file.
  6. To install the Elastic Search cluster package, invoke the following command:
    ./ install  elasticsearch-cluster

    When you are prompted for the IP address, provide the M&R host IP address. In the more entries option, select no unless Elastic Search needs to be configured in the cluster mode.

  7. To verify the changes, type the following command:
    su apg -c 'ulimit -n -u'
    Following is the output:
    open files                      (-n) 65536
    max user processes              (-u) 65536
  8. In the /opt/kar/APG/Databases/Elasticsearch/Default/conf/ elasticsearch.yaml file, add the following entry:
    bootstrap.seccomp: false
    script.max_compilations_per_minute: 120

    In elasticsearch.yml file, add the above line at the end.

    Note: Update elasticsearch.yaml file with (Change the parameter : _site_ to ) or Hostname /IP address where Elastic Search is installed. This is to resolve the localhost error, where it is not able to resolve the localhost. For multiple VM , you must give the multiple IP.
  9. Restart Elastic Search server.

    Ensure that, Elastic Search server is running.

  10. Restart Tomcat service.