upgrade.asciidoc 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. [[setup-upgrade]]
  2. = Upgrade {es}
  3. [partintro]
  4. --
  5. {es} can usually be upgraded using a <<rolling-upgrades,Rolling upgrade>>
  6. process so upgrading does not interrupt service. Rolling upgrades are supported:
  7. * Between minor versions
  8. * From 5.6 to 6.8
  9. * From 6.8 to {prev-major-version}
  10. * From {prev-major-version} to {version}
  11. ifeval::[ "{version}" != "{minor-version}.0" ]
  12. * From any version since {minor-version}.0 to {version}
  13. endif::[]
  14. The following table shows the recommended upgrade paths to {version}.
  15. [cols="<1,3",options="header",]
  16. |====
  17. |Upgrade from
  18. |Recommended upgrade path to {version}
  19. ifeval::[ "{version}" != "{minor-version}.0" ]
  20. |A previous {minor-version} version (e.g., {minor-version}.0)
  21. |<<rolling-upgrades,Rolling upgrade>> to {version}
  22. endif::[]
  23. |{prev-major-version}
  24. |<<rolling-upgrades,Rolling upgrade>> to {version}
  25. |7.0–7.7
  26. a|
  27. . https://www.elastic.co/guide/en/elasticsearch/reference/{prev-major-version}/rolling-upgrades.html[Rolling upgrade] to {prev-major-version}
  28. . <<rolling-upgrades,Rolling upgrade>> to {version}
  29. |6.8
  30. a|
  31. . https://www.elastic.co/guide/en/elasticsearch/reference/{prev-major-version}/rolling-upgrades.html[Rolling upgrade] to {prev-major-version}
  32. . <<rolling-upgrades,Rolling upgrade>> to {version}
  33. |6.0–6.7
  34. a|
  35. . https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rolling-upgrades.html[Rolling upgrade] to 6.8
  36. . https://www.elastic.co/guide/en/elasticsearch/reference/{prev-major-version}/rolling-upgrades.html[Rolling upgrade] to {prev-major-version}
  37. . <<rolling-upgrades,Rolling upgrade>> to {version}
  38. |====
  39. [WARNING]
  40. ====
  41. The upgrade path from 6.8 to 7.0 is *not* supported (both full cluster restart and rolling upgrade).
  42. ====
  43. To upgrade directly to {version} from 6.7 or earlier, you must shut down the
  44. cluster, install {version}, and restart. For more information, see
  45. <<restart-upgrade, Full cluster restart upgrade>>.
  46. [WARNING]
  47. ====
  48. In-place downgrades to earlier versions are *not* supported. To downgrade to an
  49. earlier version, <<snapshots-restore-snapshot,restore a snapshot>> taken prior
  50. to the version upgrade.
  51. ====
  52. {es} can read indices created in the previous major version. If you
  53. have indices created in 5.x or before, you must reindex or delete them
  54. before upgrading to {version}. {es} nodes will fail to start if
  55. incompatible indices are present. Snapshots of 5.x or earlier indices cannot be
  56. restored to a 7.x cluster even if they were created by a 6.x cluster. For
  57. information about upgrading old indices, see <<reindex-upgrade, Reindex to upgrade>>.
  58. When upgrading to a new version of {es}, you need to upgrade each
  59. of the products in your Elastic Stack. For more information, see the
  60. {stack-ref}/upgrading-elastic-stack.html[Elastic Stack Installation and Upgrade Guide].
  61. --
  62. include::upgrade/rolling_upgrade.asciidoc[]
  63. include::upgrade/cluster_restart.asciidoc[]
  64. include::upgrade/reindex_upgrade.asciidoc[]