upgrade.asciidoc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [[setup-upgrade]]
  2. = Upgrade {es}
  3. [partintro]
  4. --
  5. ifeval::["{release-state}"!="released"]
  6. [[upgrade-pre-release]]
  7. IMPORTANT: This documentation is for a pre-release of {es} {minor-version}.
  8. Upgrades from pre-release builds are not supported and
  9. could result in errors or data loss.
  10. If you upgrade from a released version to a pre-release verion for testing,
  11. discard the contents of the cluster when you are done.
  12. Do not attempt to upgrade to the final release.
  13. endif::[]
  14. {es} can usually be upgraded using a <<rolling-upgrades,Rolling upgrade>>
  15. process so upgrading does not interrupt service. Rolling upgrades are supported:
  16. // tag::rolling-upgrade-versions[]
  17. * Between minor versions of the same major version
  18. * From 5.6 to 6.8
  19. * From 6.8 to {prev-major-version}
  20. * From {prev-major-version} to {version}
  21. ifeval::[ "{bare_version}" != "{minor-version}.0" ]
  22. * From any version since {minor-version}.0 to {version}
  23. endif::[]
  24. // end::rolling-upgrade-versions[]
  25. [TIP]
  26. ====
  27. For rolling upgrades between major versions, we recommend
  28. using the {kibana-ref}/upgrade-assistant.html[Kibana Upgrade Assistant].
  29. The upgrade assistant identifies deprecated settings in your cluster and guides
  30. you through the process of resolving issues, including reindexing.
  31. We also recommend checking your <<deprecation-logging,deprecation logs>> for any
  32. other functionality that may have changed.
  33. ====
  34. [discrete]
  35. [[upgrade-paths]]
  36. === Upgrade paths to {version}
  37. [cols="<1,3",options="header",]
  38. |====
  39. |Upgrade from
  40. |Recommended upgrade path to {version}
  41. ifeval::[ "{bare_version}" != "{minor-version}.0" ]
  42. |A previous {minor-version} version (e.g., {minor-version}.0)
  43. |<<rolling-upgrades,Rolling upgrade>> to {version}
  44. endif::[]
  45. |{prev-major-version}
  46. |<<rolling-upgrades,Rolling upgrade>> to {version}
  47. |7.0–7.15
  48. a|
  49. . {ref-7x}/rolling-upgrades.html[Rolling upgrade] to 7.16
  50. . <<rolling-upgrades,Rolling upgrade>> to {version}
  51. |6.8
  52. a|
  53. . {ref-7x}/rolling-upgrades.html[Rolling upgrade] to 7.16
  54. . <<rolling-upgrades,Rolling upgrade>> to {version}
  55. |6.0–6.7
  56. a|
  57. . https://www.elastic.co/guide/en/elasticsearch/reference/6.8/rolling-upgrades.html[Rolling upgrade] to 6.8
  58. . {ref-7x}/rolling-upgrades.html[Rolling upgrade] to 7.16
  59. . <<rolling-upgrades,Rolling upgrade>> to {version}
  60. |====
  61. [WARNING]
  62. ====
  63. The upgrade path from 6.8 to 7.0 is *not* supported (both full cluster restart and rolling upgrade).
  64. ====
  65. To upgrade directly to {version} from 6.7 or earlier, you must shut down the
  66. cluster, install {version}, and restart. For more information, see
  67. <<restart-upgrade, Full cluster restart upgrade>>.
  68. [discrete]
  69. [[upgrade-downgrade]]
  70. === Downgrades
  71. In-place downgrades to earlier versions are *not* supported. To downgrade to an
  72. earlier version, <<snapshots-restore-snapshot,restore a snapshot>> taken prior
  73. to the version upgrade.
  74. [discrete]
  75. [[upgrade-index-compatibility]]
  76. === Index compatibility
  77. {es} can read indices created in the previous major version. If you
  78. have indices created in 5.x or before, you must reindex or delete them
  79. before upgrading to {version}. {es} nodes will fail to start if
  80. incompatible indices are present. Snapshots of 5.x or earlier indices cannot be
  81. restored to a 7.x cluster even if they were created by a 6.x cluster. For
  82. information about upgrading old indices, see <<reindex-upgrade, Reindex to upgrade>>.
  83. When upgrading to a new version of {es}, you need to upgrade each
  84. of the products in your Elastic Stack. For more information, see the
  85. {stack-ref}/upgrading-elastic-stack.html[Elastic Stack Installation and Upgrade Guide].
  86. [discrete]
  87. [[upgrade-fips-java17]]
  88. === FIPS Compliance and Java 17
  89. include::{xes-repo-dir}/security/fips-java17.asciidoc[]
  90. --
  91. include::upgrade/rolling_upgrade.asciidoc[]
  92. include::upgrade/cluster_restart.asciidoc[]
  93. include::upgrade/reindex_upgrade.asciidoc[]
  94. include::upgrade/archived-settings.asciidoc[]