upgrade.asciidoc 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [[setup-upgrade]]
  2. == Upgrading
  3. [IMPORTANT]
  4. ===========================================
  5. Before upgrading Elasticsearch:
  6. * Consult the <<breaking-changes,breaking changes>> docs.
  7. * Test upgrades in a dev environment before upgrading your production cluster.
  8. * Always back up your data before upgrading. You cannot roll back to an earlier
  9. version unless you have a <<backup,backup>> of your data.
  10. ===========================================
  11. Elasticsearch can usually be upgraded using a rolling upgrade process,
  12. resulting in no interruption of service. This section details how to perform
  13. both rolling upgrades and upgrades with full cluster restarts.
  14. To determine whether a rolling upgrade is supported for your release, please
  15. consult this table:
  16. [cols="1<m,1<m,3",options="header",]
  17. |=======================================================================
  18. |Upgrade From |Upgrade To |Supported Upgrade Type
  19. |0.90.x |2.x |<<restart-upgrade,Full cluster restart>>
  20. |1.x |2.x |<<restart-upgrade,Full cluster restart>>
  21. |2.x |2.y |<<rolling-upgrades,Rolling upgrade>> (where `y > x `)
  22. |2.x |3.x |<<restart-upgrade,Full cluster restart>>
  23. |=======================================================================
  24. ===========================================
  25. Upgrading Elasticsearch with Plugins
  26. Take plugins into consideration as well when upgrading. Plugins must be upgraded alongside Elasticsearch.
  27. Check with your plugin's provider to ensure that the plugin is compatible with
  28. your targeted version of Elasticsearch. If doing a rolling upgrade, it may be
  29. worth checking as well that the plugin works across a mixed-version cluster.
  30. The process for both <<rolling-upgrades,Rolling upgrade>> and
  31. <<restart-upgrade,Full cluster restart>> is generally as follows, per node.
  32. * Shut down Elasticsearch
  33. * Upgrade Elasticsearch
  34. * Upgrade Plugins
  35. * Start up Elasticsearch
  36. ===========================================
  37. include::backup.asciidoc[]
  38. include::rolling_upgrade.asciidoc[]
  39. include::cluster_restart.asciidoc[]