I am working in cluster environment with 16 prod indexers, and one separate cluster master node.
if I run /opt/splunk/bin/splunk list cluster-peers
if i run the above command in master node command prompt which showing all indexers in the cluster but if run same command on any of the indexers showing master node not enabled.
how to enable master node on each indexer . this case came while synch or pairing indexer with master node.
How to enable master node on all indexers with command line prompt.
Obviously substituting in your master's IP and pass4SymmKey value (in plain text, not the hashed version).
However, I don't personally like this method as it leaved behind the secret in the command history. It's more secure to update server.conf and cycle Splunk, but you asked specifically about the CLI method.
could you please let me know the reason why it happened . all are in cluster environment with master node if we check from master node to all indexers are in state UP condition but if we check from indexer master node not enabled why this was coming .
one more question i would like to ask , if we ping from master node to indexer the data packets are sending but we check from indexer to master node showing "unknown host" , is it bidirectional or single direction....