Verifying the OpenSearch Installation on Linux
To verify the OpenSearch installation, in a terminal window, ensure that the following command gives an output:
ps —ef | grep opensearchAfter verifying the process, use one of the following methods to verify the OpenSearch installation.
-
Run a REST call.
This example uses the CURL utility for the REST call:
curl --user <username>:<password> -XGET http://<host>:<port>For details about the correct usage for the CURL utility, see your operating system documentation.
-
Open a browser and enter the URL: http://<host>:<port>/
Supply the username and password in the dialog box that appears.
For both the REST command and the browser URL, use these definitions:
-
username — the OpenSearch user administrator name that you entered during the DPK setup script installation
-
password — the password you entered during the DPK setup script installation
-
host — the OpenSearch host name
-
port — OpenSearch HTTP (REST) port that you entered during the DPK setup script installation
When using either method, you should see a message similar to the following:
{
name" : "server.example.com",
"cluster_name" : "OSCLUSTER",
"cluster_uuid" : "IvQKVvLjQiKUwBAMk6Hy7w",
"version" : {
"distribution" : "opensearch",
"number" : "3.2.0",
"build_type" : "zip",
"build_hash" : "aa8cdda4ea0da22834936ae7f90f8586b9999c43",
"build_date" : "2024-12-07T13:36:46.831959Z",
"build_snapshot" : false,
"lucene_version" : "9.7.0",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
}