Jump to: navigation, search
(GAPI-25163)
(per discussion with Masha)
Line 3: Line 3:
 
Starting with release 9.0.002.{{Editgrn_open}}xx{{Editgrn_close}}, Web Services and Applications support Elasticsearch 7.8. No data migration from the previous version is needed.
 
Starting with release 9.0.002.{{Editgrn_open}}xx{{Editgrn_close}}, Web Services and Applications support Elasticsearch 7.8. No data migration from the previous version is needed.
  
You need to deploy Elasticsearch 7.8 and update the <tt>elasticsearch.yml</tt> file:
+
You need to deploy Elasticsearch 7.8 in parallel with the existing Elasticsearch 6.x and update the <tt>elasticsearch.yml</tt> file:
 
* The following options must be set in the <tt>elasticsearch.yml</tt> file on each Elasticsearch node:
 
* The following options must be set in the <tt>elasticsearch.yml</tt> file on each Elasticsearch node:
 
** <tt>action.auto_create_index: false</tt>
 
** <tt>action.auto_create_index: false</tt>
 
** <tt>bootstrap.memory_lock: true</tt>
 
** <tt>bootstrap.memory_lock: true</tt>
 
** <tt>thread_pool.write.queue_size: -1</tt>
 
** <tt>thread_pool.write.queue_size: -1</tt>
* The following options, which were needed for Elasticsearch 6.x, should be removed from the <tt>elasticsearch.yml</tt> file on each Elasticsearch node:
 
** <tt>thread_pool.index.queue_size: -1</tt>
 
** <tt>thread_pool.bulk.queue_size: -1</tt>
 
  
 
<font color="#B24DE7">'''Olena's Notes:'''  
 
<font color="#B24DE7">'''Olena's Notes:'''  
Line 21: Line 18:
 
</font>  
 
</font>  
  
{{Chgbar_open}}If you are deploying Elasticsearch 7.8 in parallel with the existing Elasticsearch 6.x, make sure to set the <tt>ELASTICSEARCH_ADDR</tt> parameter in the <tt>/opt/genesys/gws/kubernetes/parameters.yaml</tt> file to your new Elasticsearch 7.8 installation address.{{Chgbar_close}}
+
{{NoteFormat|The <tt>ELASTICSEARCH_ADDR</tt> parameter in the <tt>/opt/genesys/gws/kubernetes/parameters.yaml</tt> file has to have address of the new Elasticsearch 7.8 installation.|2}}
  
 
[[Category:V:HTCC:9.0.0DRAFT]]
 
[[Category:V:HTCC:9.0.0DRAFT]]

Revision as of 18:51, December 11, 2020

Upgrading Elasticsearch

Starting with release 9.0.002.xx, Web Services and Applications support Elasticsearch 7.8. No data migration from the previous version is needed.

You need to deploy Elasticsearch 7.8 in parallel with the existing Elasticsearch 6.x and update the elasticsearch.yml file:

  • The following options must be set in the elasticsearch.yml file on each Elasticsearch node:
    • action.auto_create_index: false
    • bootstrap.memory_lock: true
    • thread_pool.write.queue_size: -1

Olena's Notes:

  • So, we do not need to say that the 'elasticsearch.connection.endpoints7x' option should replace the previously used 'elasticsearch.connection.endpoints' option, right?
  • Also, depending on recommendations from Valentyn Martyniuk, we might need to have the following paragraph:

Tip
The ELASTICSEARCH_ADDR parameter in the /opt/genesys/gws/kubernetes/parameters.yaml file has to have address of the new Elasticsearch 7.8 installation.
Comments or questions about this documentation? Contact us for support!