Completing the OSK DPK Post-Installation Steps on Linux
After you complete the OpenSearch installation, if you want to perform operations described later in this chapter, such as starting and stopping OpenSearch, or running the opensearchuser script, perform the manual steps described in this section.
-
Ensure that the heap size is set to a value equal to or less than 50% of available memory, and not exceeding 30G.
See "Preparing to Deploy," Reviewing OpenSearch Recommendations.
-
In a terminal for the current session, set the JAVA_HOME environment variable to the location installed by the DPK setup script; for example:
export JAVA_HOME= BASE_DIR/pt/os_jdk21.0.yy