Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow more copy/pasting in cluster management docs #1327

Merged
merged 1 commit into from
Sep 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/cluster_management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ This produces the following output (the value will vary for each invocation)::
}


We will need the installation id in the next steps to refer to our current installation.
We will need the installation id in the next steps to refer to our current installation::

export INSTALLATION_ID=69ffcfee-6378-4090-9e93-87c9f8ee59a7

.. note::

Expand All @@ -46,15 +48,15 @@ After installation, we can start the node. To tie all metrics of a benchmark tog

# generate a unique race id (use the same id from now on)
export RACE_ID=$(uuidgen)
esrally start --installation-id="69ffcfee-6378-4090-9e93-87c9f8ee59a7" --race-id="${RACE_ID}"
esrally start --installation-id="${INSTALLATION_ID}" --race-id="${RACE_ID}"

After the Elasticsearch node has started, we can run a benchmark. Be sure to pass the same race id so you can match results later in your metrics store::

esrally race --pipeline=benchmark-only --target-host=127.0.0.1:39200 --track=geonames --challenge=append-no-conflicts-index-only --on-error=abort --race-id=${RACE_ID}

When the benchmark has finished, we can stop the node again::

esrally stop --installation-id="69ffcfee-6378-4090-9e93-87c9f8ee59a7"
esrally stop --installation-id="${INSTALLATION_ID}"

If you only want to shutdown the node but don't want to delete the node and the data, pass ``--preserve-install`` additionally.

Expand Down