I am using an instance of Elasticsearch currently wherein I have separate machines for data nodes & master node, and everything is working fine.
Now, I plan to create another instance of Elasticsearch on a different machine with a different cluster.
But I want the master node for the second cluster to be on the same machine where the first master node is currently present (but with a different port number).
What changes in port numbers (http & tcp) & config files will I have to make in order to run two different instances of master nodes for different clusters but from the same machine?
Please suggest the optimum way to handle this scenario.