Changing the Elasticsearch memory setting

Ops Center Administrator Getting Started Guide

Version
10.8.x
File Size
916 KB
Audience
anonymous
Part Number
MK-99ADM000-13
If more than 16 GiB RAM is set on the Ops Center Administrator server, change the Elasticsearch memory setting.
  1. Open the Ops Center Administrator server console:
    • For VM installations, either open an SSH connection to the VM or open the VMware console and press Alt+F2 to reach the console.
    • For physical server installations, open the command prompt.
  2. Log in by using the root account.
  3. If you installed using the preconfigured media, go to the next step. If you installed by using the application installer, copy the tar file ops-center-administrator-xx.tar.gz from the installation media to any folder, unzip it, and navigate to the unzipped folder.
  4. From the command prompt, run the following command:
    elasticsearch-memory-setting
  5. At the prompts, enter the following:
    1. Enter username for the service account credentials:

      Enter the service account user name.

    • For Ops Center preconfigured media or application installer installations, use the sysadmin credentials.
    • For stand-alone preconfigured media installations, use the service credentials.
    1. Enter <users> Password:

      Enter the password for the user account.

    2. Enter the Elasticsearch heap memory size[GiB]:

      Enter half of the physical memory size. In the case of 32 GiB physical memory size, enter 16.

    3. Ensure that the host memory size is twice as large as the specified value. Do you want to proceed? [y/n]

      Enter y.

    Ops Center Administrator automatically restarts. Wait until the user interface is accessible.
  6. To confirm that the new value is applied to MEM USAGE of Elasticsearch, run the following command:
    Docker: docker stats
    Podman: podman stats