This gist holds all required commands to upgrade Elasticsearch from 7 to 9 without data loss. It also holds helper scripts for this process. The order is crucial and not reflected independently in this gist. As shown on https://www.youtube.com/watch?v=sb3VBkaHGz4
0
0
6
| 1 | # What we ultimatively add to the Elasticsearch configuration during the upgrades |
| 2 | # xpack |
| 3 | xpack.security.enabled: true |
| 4 | xpack.security.transport.ssl.enabled: true |
| 5 | xpack.security.transport.ssl.verification_mode: certificate |
| 6 | xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12 |
| 7 | xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12 |
| 8 | xpack.security.http.ssl.enabled: true |
| 9 | xpack.security.http.ssl.keystore.path: certs/http.p12 |