While testing redundancy, we shutdown ElasticSearch Node 1 and now are not able to run any query
We get "Query Error 502" and elastic indices are not longer available
DX Operational Intelligence 20.2.x
DX Application Performance Management 20.2.x
DX Dashboards 20.2.x
This problem is related to defect DE517030
Product deployments are configured to use ElasticSearch Node#1 instead to ElasticSearch LoadBalancer
1) Edit dxi-grafana-deployment and dxi
kubectl edit deployment dxi-grafana-deployment -n<namespace>
kubectl edit deployment dxi
For example:
kubectl edit deployment dxi-grafana-deployment -ndxi
kubectl edit deployment dxi
2) Locate DXI_GRAFANA_ELASTIC_URL environment variable
3) Replace 'jarvis-elasticsearch' with 'jarvis-elasticsearch-lb'
Example:
4) Save the file
Existing dxi-grafana-deployment and dxi
5) Verify: you should be able to query DX Dashboards