upgrade.asciidoc 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 {version}
  10. {es} can read indices created in the previous major version. If you
  11. have indices created in 5.x or before, you must reindex or delete them
  12. before upgrading to {version}. {es} nodes will fail to start if
  13. incompatible indices are present. Snapshots of 5.x or earlier indices cannot be
  14. restored to a 7.x cluster even if they were created by a 6.x cluster. For
  15. information about upgrading old indices, see <<reindex-upgrade, Reindex to upgrade>>.
  16. When upgrading to a new version of {es}, you need to upgrade each
  17. of the products in your Elastic Stack. For more information, see the
  18. {stack-ref}/upgrading-elastic-stack.html[Elastic Stack Installation and Upgrade Guide].
  19. To upgrade directly to {version} from 6.6 or earlier, you must shut down the
  20. cluster, install {version}, and restart. For more information, see
  21. <<restart-upgrade, Full cluster restart upgrade>>.
  22. [float]
  23. == Preparing to upgrade
  24. Before upgrading {es}:
  25. . Check the <<deprecation-logging, deprecation log>> to see if you are using
  26. any deprecated features and update your code accordingly. By default,
  27. deprecation warnings are logged when the log level is set to `WARN`.
  28. . Review the <<breaking-changes,breaking changes>> and make any necessary changes
  29. to your code and configuration for {version}.
  30. . If you use custom plugins, make sure compatible versions are available.
  31. . Test upgrades in a dev environment before upgrading your production cluster.
  32. . <<modules-snapshots,Back up your data!>> You must have a snapshot of your
  33. data to roll back to an earlier version.
  34. --
  35. include::upgrade/rolling_upgrade.asciidoc[]
  36. include::upgrade/cluster_restart.asciidoc[]
  37. include::upgrade/reindex_upgrade.asciidoc[]