I have an existing DMS (2+2) with Elasticsearch installed on all 4 of the servers, so 4 elasticsearch nodes.
I am now in the process of adding a new failover pair to the cluster.
The idea is to not add any elastisearch nodes, but have the 3+3 DM cluster use the 4 existing elasticsearch nodes.
I have added the DM nodes to the DM cluster, but the new agents do not seem to have the correct elasticsearch configuration. (Cube is still saying "Install Indexing Engine" and the DB.xml is not mentioning an Elasticsearch DB)
What are the steps that are still needed to get the Elasticsearch config correct on these new DM servers?
Hello,
This is indeed not done automatically yet. Best thing to do is to add this manually in db.xml, copy the elasticsearch tag from the other agent to the new failover pair (please mind to replace localhost with the actual ip).
It should look something like:
<DataBase active="true" search="true" type="Elasticsearch">
<DBServer>IP</DBServer>
</DataBase>
Please mind that you should copy this next to the cassandra configuration and not replace the cassandra tag by this.
After adding this to both db.xml files, you should restart the DMA and it should work properly.
Good question, it should be the fixed IP of a node. The virtual ip can lead to multiple issues. It’s also adviced that multiple ip’s are added (from your multiple nodes. These can be split by a , .
What IP should be used? Can the VIP be used or should it be the fixed IP of a node?