Skip to content

Commit

Permalink
Resolves #5: Indexer naming
Browse files Browse the repository at this point in the history
  • Loading branch information
my2ndhead committed Dec 19, 2015
1 parent a21ca6d commit fc018ca
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README/templates/group_vars/dmc/distsearch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
splunk_distsearch_conf:
distributedSearch:
servers:
- "{{ groups['indexer'] }}"
- "{{ groups['searchpeer'] }}"
- "{{ groups['peernode'] }}"
- "{{ groups['licensemaster'] }}"
- "{{ groups['masternode'] }}"
- "{{ groups['deploymentserver'] }}"
Expand Down
8 changes: 8 additions & 0 deletions configure_peernode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- name: Configure splunk peernodes
hosts: peernode
user: splunk

roles:
- conf/web
- conf/inputs
- conf/server
2 changes: 1 addition & 1 deletion configure_indexer.yml → configure_searchpeer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- name: Configure splunk indexers
hosts: indexer
hosts: searchpeer
user: splunk

roles:
Expand Down
4 changes: 3 additions & 1 deletion hosts_production.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ searchhead3.private.domain
[searchhead]
searchhead.private.domain

[indexer]
[searchpeer]

[peernode]
indexer1.private.domain
indexer2.private.domain

Expand Down

0 comments on commit fc018ca

Please sign in to comment.