I'm having a very hard time connecting my search head cluster to my search peer. I have stepped through the search head documentation very carefully located here: http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/SHCdeploymentoverview
I have successfully installed my deployer and added the `[shclustering]` stanza to the /opt/splunk/etc/system/local/server.conf file and added the pass4SymmKey and shcluster_label.
I then ran `splunk init shcluster-config` on each of my search head members and restarted Splunk. Each one ran successfully without any reported errors. I'm also able to run `splunk bootstrap shcluster-captain` without any issues and `splunk show shcluster-status` doesn't report any problems:
[splunk@lelsplunksh02 ~]$ splunk show shcluster-status
Captain:
dynamic_captain : 1
elected_captain : Thu Oct 13 15:48:05 2016
id : C2403815-55A2-413E-AF26-4998CFD9508F
initialized_flag : 1
label : lelsplunksh03
maintenance_mode : 0
mgmt_uri : https://splunkserver:8089
min_peers_joined_flag : 1
rolling_restart_flag : 0
service_ready_flag : 1
Members:
lelsplunksh02
label : lelsplunksh02
mgmt_uri : https://splunkserver:8089
mgmt_uri_alias : https://xx.xxx.xx.xxx:8089
status : Up
lelsplunksh04
label : lelsplunksh04
mgmt_uri : https://splunkserver:8089
mgmt_uri_alias : https://xx.xxx.xx.xxx:8089
status : Up
lelsplunksh03
label : lelsplunksh03
mgmt_uri : https://splunkserver:8089
mgmt_uri_alias : https://xx.xxx.xx.xxx:8089
status : Up
My problem starts when I try to add my search peer. I only have one indexer and I'm following this doc: http://docs.splunk.com/Documentation/Splunk/6.5.0/DistSearch/Connectclustersearchheadstosearchpeers
I'm running:
splunk add search-server https://splunkserver:8089 -auth admin:pswd -remoteUsername admin -remotePassword pswd
This also runs successfully, but I'm just not getting any results when I connect to my search head and run a search. I can run the exact same search on the indexer itself and it returns results. I can't see any errors in logs on either the indexer or the search head members.
Any help would be appreciated to point me in the right direction.
↧