Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make a backup of the existing elasticsearch database.

  2. Make a cloned ES server under a new hostname.

  3. Upgrade cloned ES server to 2.x.

  4. Reindex everything through their migration plugin.

  5. Make another database backup.

  6. Upgrade cloned ES server to 5.x.

  7. At this point, the server’s data will become start becoming stale, and we should ideally update clients in short order.

...

  1. Update devstack with a script to do the above server upgrade.

  2. Start landing PRs to update client services to elasticsearch-py 5.x in concert with config changes that point at the new ES hostname.

  3. Message out the changes, letting people know they should update devstack.

Cleanup

  1. Document the change and how to upgrade servers in our Open edX release notes.

  2. Decommision old ES 1.x servers once all services are upgraded.