Elasticsearch reindex - how to do it?

Hi

we are in the version 16.1.100, and we are going to upgrade to the last version.

i need to upgrade elastichsearch versions and I need to know how i can do/execute the previus elastichsearh re-index.

7.16.2 -> 7.17

7.17 -> 8.6

8.6 -> 8.11

i have found some examples in the elastichsearch webpage but they dont look like the octane structure.

I have read that Octane from the versión 16.1.100 does the re-index automatically, is this right? how can i know that everything is re-indexed in before upgrade?

regards

  • Suggested Answer

    0

    oks, finally we have done de update without any problem

    Followed steps:

    we were in the version

    Octane : 16.1.100

    Elastic: 7.16.2

    how we have done: 

    0 - Stop Octane and Elastic sevices

    1 - Update (coping elastisearch.yml variables) to Elastic 7.17 (without this versión, you are not able to upgrade to the 8.X version) and Start Elastic 7.17 Service  (see Note)

    2 - Check  "http://localhost:9200/_cat/allocation?v" and when it works Stop Elastic 7.17 Service

    3 - Update (coping elastisearch.yml variables)  to Elastic 8.6, Start Elastic 8.6  Service and check  "http://localhost:9200/_cat/allocation?v" until it works

    4 - Update Octane to 16.2.100

    5 - Start Octane 16.2.100  Service,   here site admin schema is updated and site admin elastic reindexed by octane 

    6 - Enter to the Site admin and upgrade all workspaces ( here all workspaces are reindexed by octane)

    7 - Stop Octane 16.2.100 Service

    8 - Update Octane to 23.4

    9 - Start Octane 23.4  Service,   here site admin schema is updated and site admin elastic reindexed by octane 

    10 - Enter to the Site admin and upgrade all workspaces ( here all workspaces are reindexed by octane)

    11 - Stop Octane 23.4 Service and Elastic 8.6 sevices

    12 - Update (coping elastisearch.yml variables) to Elastic 8.11, Start Elastic 8.11 Service and check  "http://localhost:9200/_cat/allocation?v" until it works

    13 - Update Octane to 24.1

    14 - Start Octane 24.1  Service,   here site admin schema is updated and site admin elastic reindexed by octane 

    15 - Enter to the Site admin and upgrade all workspaces ( here all workspaces are reindexed by octane)

    Octane Note: there is a new octane version but my customer didnt want to install yet

    Elastic Note: we have had a problem wth security updating to  the versión 7.17, to resolve it, we added  to the elastisearch.yml file the next lines

    # www.elastic.co/.../configuring-stack-security.html
    xpack.security.enabled: false
    #

    this lines, have been added to all new version, (7.17, 8.6, 8.11)

    any problem or if we have done something wrong, please let us know.