Skip to content
Discussion options

You must be logged in to vote

You need to migrate off the existing elastic data using the following command via the CLI on your manager node:

sudo so-elasticsearch-query _cluster/settings -d '{"transient": {"cluster.routing.allocation.exclude._ip": "manager_ip" } }' -XPUT

With "manager_ip" being your manager's IP, so "x.x.x.x".

This will probably take some time based on how much elastic data is on your manager. You can check the progress by running:

sudo so-elasticsearch-query _cat/shards

The location of the shards will be on the far right column. Make sure that all the shards have moved from the manager node to the search node.

Once all your data is off the manager, you can now remove the data role from your manager …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cm-ops
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
2.4
Labels
None yet
2 participants