data-tiers.asciidoc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // tag::cloud[]
  2. . Log in to the {ess-trial}[{ess} Console].
  3. . Add or select your deployment from the {ess} home page or the deployments
  4. page.
  5. . From your deployment menu, select **Edit deployment**.
  6. . To enable a data tier, click **Add capacity**.
  7. **Frozen tier**
  8. The frozen tier is not yet available on {ess}. However, you can follow these
  9. steps to effectively recreate a frozen tier in your {ess} deployment:
  10. . Choose an existing tier to use. Typically, you'll use the cold tier, but the
  11. hot and warm tiers are also supported. You can use this tier as a shared tier,
  12. or use it exclusively as a frozen tier.
  13. . On the **Edit deployment** page, click **Edit elasticsearch.yml** for your
  14. chosen tier.
  15. . In the `elasticsearch.yml` configuration, set
  16. <<searchable-snapshots-shared-cache,`xpack.searchable.snapshot.shared_cache.size`>>
  17. to any size between a couple of gigabytes up to 90% of available disk space. The
  18. tier will use reserve this space for a <<shared-cache,shared cache>> for
  19. <<searchable-snapshots,searchable snapshots>>. We only recommend larger sizes if
  20. you use the node exclusively for a frozen tier.
  21. +
  22. [source,yaml]
  23. ----
  24. xpack.searchable.snapshot.shared_cache.size: 50GB
  25. ----
  26. . Click **Save** and **Confirm** to apply your configuration changes.
  27. **Enable autoscaling**
  28. {cloud}/ec-autoscaling.html[Autoscaling] automatically adjusts your deployment's
  29. capacity to meet your storage needs. To enable autoscaling, select **Autoscale
  30. this deployment** on **Edit deployment** page. Autoscaling is only available for
  31. {ess}.
  32. // end::cloud[]
  33. // tag::self-managed[]
  34. To add a node to a data tier, add one of the respective `data_hot`, `data_warm`,
  35. `data_cold`, or `data_frozen` <<node-roles,node roles>> to
  36. <<node-roles,`node.roles`>> in the node's `elasticsearch.yml` file.
  37. For nodes with the `data_frozen` role, set
  38. <<searchable-snapshots-shared-cache,`xpack.searchable.snapshot.shared_cache.size`>>
  39. to any size between a couple of gigabytes up to 90% of available disk space. The
  40. tier will use reserve this space for a <<shared-cache,shared cache>> for
  41. <<searchable-snapshots,searchable snapshots>>. We only recommend larger sizes if
  42. you use the node exclusively for a frozen tier.
  43. [source,yaml]
  44. ----
  45. # On hot nodes
  46. node.roles: [ data_hot ]
  47. # On warm nodes
  48. node.roles: [ data_warm ]
  49. # On cold nodes
  50. node.roles: [ data_cold ]
  51. # On frozen nodes
  52. node.roles: [ data_frozen ]
  53. xpack.searchable.snapshot.shared_cache.size: 50GB
  54. ----
  55. If needed, you can assign a node to more than one data tier.
  56. [source,yaml]
  57. ----
  58. node.roles: [ data_hot, data_warm ]
  59. ----
  60. Assign your data nodes any other roles needed for your cluster. For example, a
  61. small cluster may have a node configured with multiple roles:
  62. [source,yaml]
  63. ----
  64. node.roles: [ master, ingest, ml, data_hot, transform ]
  65. ----
  66. For more information about node roles, see <<node-roles>>.
  67. // end::self-managed[]