Hi Dojo,
We have a DMA where Elasticsearch has been already installed, but we don't use it - we don't have SRM or Jobs, and we haven't enabled indexing for alarms.
Now we need to create a failover pair with this DMA. I've read that Elastic doesn't work well in a 1+1 configuration, so what should we do to ensure a stable failover setup?
I've seen this question on Dojo: Elasticsearch failover with SRM - DataMiner Dojo
The difference in our case is that we don't need Elastic for any application, and the third server is not a feasible option. I would simply disable Elastic, but I'm not sure if this can be done.
Thanks.
Hi Alexander,
Just to give more details about how to edit the DB.xml file. You could disable Elastic by removing (or commenting) the Database tag that has the attribute type set to Elasticsearch:
<DataBase active="true" search="true" type="Elasticsearch">
<DBServer>IP_Address_Elastic_Node(s)</DBServer>
<UID>UID</UID>
<PWD>Password</PWD>
</DataBase>
After performing these changes, you will need to restart the agent. Once the DMA is back online, you probably will see the following alarms:
These alarms are expected since the agent will still look for a Elasticsearch DB (due to the license installed on the agent)