data-tiers.asciidoc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. experimental:[] **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 deployment:
  10. . Choose an existing tier to use. You'll typically 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 up to 90% of available disk space. The tier uses this space to
  18. create a <<shared-cache,shared, fixed-size cache>> for
  19. <<searchable-snapshots,searchable snapshots>>.
  20. +
  21. [source,yaml]
  22. ----
  23. xpack.searchable.snapshot.shared_cache.size: 50GB
  24. ----
  25. . Click **Save** and **Confirm** to apply your changes.
  26. **Enable autoscaling**
  27. {cloud}/ec-autoscaling.html[Autoscaling] automatically adjusts your deployment's
  28. capacity to meet your storage needs. To enable autoscaling, select **Autoscale
  29. this deployment** on the **Edit deployment** page. Autoscaling is only available
  30. for {ess}.
  31. // end::cloud[]
  32. // tag::self-managed[]
  33. To assign a node to a data tier, add the respective <<node-roles,node role>> to
  34. the node's `elasticsearch.yml` file. Changing an existing node's roles requires
  35. a <<restart-cluster-rolling,rolling restart>>.
  36. [source,yaml]
  37. ----
  38. # Hot tier
  39. node.roles: [ data_hot ]
  40. # Warm tier
  41. node.roles: [ data_warm ]
  42. # Cold tier
  43. node.roles: [ data_cold ]
  44. # Frozen tier
  45. node.roles: [ data_frozen ]
  46. ----
  47. experimental:[] For nodes in the frozen tier, set
  48. <<searchable-snapshots-shared-cache,`xpack.searchable.snapshot.shared_cache.size`>>
  49. to up to 90% of the node's available disk space. The frozen tier uses this space
  50. to create a <<shared-cache,shared, fixed-size cache>> for
  51. <<searchable-snapshots,searchable snapshots>>.
  52. [source,yaml]
  53. ----
  54. node.roles: [ data_frozen ]
  55. xpack.searchable.snapshot.shared_cache.size: 50GB
  56. ----
  57. If needed, you can assign a node to more than one tier.
  58. [source,yaml]
  59. ----
  60. node.roles: [ data_hot, data_warm ]
  61. ----
  62. Assign your nodes any other roles needed for your cluster. For example, a small
  63. cluster may have nodes with multiple roles.
  64. [source,yaml]
  65. ----
  66. node.roles: [ master, ingest, ml, data_hot, transform ]
  67. ----
  68. // end::self-managed[]