upgrade.asciidoc 3.7 KB

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