Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Reallocating unassigned shards might solve the following situations:

...

Code Block
/app/scripts/realloc_shards.sh MonTieMonTier-es-raw-trans-Node-2

This operation may take a while, depending on your installation and the amount of data. Refreshing the screen in "head" application (available from Store page) will show up-to-date state of the assigned and unassigned shards.

...

Code Block
Reallocation node: MonTier-es-raw-trans-Node-2
Testing index 0;wdp-wsm_i2
About to reallocate. index=wdp-wsm_i2, shard=0, node=MonTier-es-raw-trans-Node-2
Reallocation http response status is: 200, output={"acknowledged":true,"state":{"version":
Testing index 1;wdp-syslog-sys-auth_i1
About to reallocate. index=wdp-syslog-sys-auth_i1, shard=1, node=MonTier-es-raw-trans-Node-2
Reallocation http response status is: 200, output={"acknowledged":true,"state":{"version":
Testing index 2;system-health_i1
About to reallocate. index=system-health_i1, shard=2, node=MonTier-es-raw-trans-Node-2
Reallocation http response status is: 200, output={"acknowledged":true,"state":{"version":
Testing index 0;system-health_i1
About to reallocate. index=system-health_i1, shard=0, node=MonTier-es-raw-trans-Node-2
Reallocation http response status is: 200, output={"acknowledged":true,"state":{"version":
...


Below is an example of a unsuccessful execution:

Code Block
Reallocation node: MonTier-es-raw-trans-Node-5
Testing index 0;wdp-syslog-sys-auth_i6
About to reallocate. index=wdp-syslog-sys-auth_i6, shard=0, node=MonTier-es-raw-trans-Node-5
Reallocation http response status is: 400, output={"error":{"root_cause":[{"type":"remote_
Testing index 0;wdp-syslog-sys-auth_i3
About to reallocate. index=wdp-syslog-sys-auth_i3, shard=0, node=MonTier-es-raw-trans-Node-5
Reallocation http response status is: 400, output={"error":{"root_cause":[{"type":"remote_
Testing index 1;logical-tran-full_i1
About to reallocate. index=logical-tran-full_i1, shard=1, node=MonTier-es-raw-trans-Node-5
Reallocation http response status is: 400, output={"error":{"root_cause":[{"type":"remote_
Testing index 1;wdp-config-service_i1
About to reallocate. index=wdp-config-service_i1, shard=1, node=MonTier-es-raw-trans-Node-5
Reallocation http response status is: 400, output={"error":{"root_cause":[{"type":"remote_
...