Skip to content

Commit

Permalink
Revert "Fix Typo and Update Multisite SHC Setup (#702)" (#703)
Browse files Browse the repository at this point in the history
This reverts commit 19250b2.
  • Loading branch information
alishamayor authored Nov 10, 2022
1 parent 19250b2 commit bf13b58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion roles/splunk_cluster_master/tasks/setup_multisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
vars:
splunk_instance_address: "{{ splunk.multisite_master }}"

- name: Convert External Cluster Master Name into Internal URI
- name: Convert Extrenal Cluster Master Name into Internal URI
set_fact:
multisite_master_uri: "{{ cert_prefix }}://{{ splunk.multisite_master }}:{{ splunk.svc_port }}"

Expand Down
2 changes: 1 addition & 1 deletion roles/splunk_indexer/tasks/setup_multisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
vars:
splunk_instance_address: "{{ splunk.multisite_master }}"

- name: Convert External Cluster Master Name into Internal URI
- name: Convert Extrenal Cluster Master Name into Internal URI
set_fact:
multisite_master_uri: "{{ cert_prefix }}://{{ splunk.multisite_master }}:{{ splunk.svc_port }}"

Expand Down
2 changes: 1 addition & 1 deletion roles/splunk_monitor/tasks/setup_multisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
vars:
splunk_instance_address: "{{ splunk.multisite_master }}"

- name: Convert External Cluster Master Name into Internal URI
- name: Convert Extrenal Cluster Master Name into Internal URI
set_fact:
multisite_master_uri: "{{ cert_prefix }}://{{ splunk.multisite_master }}:{{ splunk.svc_port }}"

Expand Down
6 changes: 3 additions & 3 deletions roles/splunk_search_head/tasks/setup_multisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
vars:
splunk_instance_address: "{{ splunk.multisite_master }}"

- name: Convert External Cluster Master Name into Internal URI
- name: Convert Extrenal Cluster Master Name into Internal URI
set_fact:
multisite_master_uri: "{{ cert_prefix }}://{{ splunk.multisite_master }}:{{ splunk.svc_port }}"

- name: Setup SHC - Multisite
command: "{{ splunk.exec }} edit cluster-config -mode searchhead -master_uri {{ multisite_master_uri }} -auth {{ splunk.admin_user }}:{{ splunk.password }} -secret {{ splunk.shc.pass4SymmKey }}"
command: "{{ splunk.exec }} edit cluster-config -mode searchhead -master_uri {{ multisite_master_uri }} -auth {{ splunk.admin_user }}:{{ splunk.password }} -secret {{ splunk.idxc.pass4SymmKey }}"
become: yes
become_user: "{{ splunk.user }}"
register: set_new_master
Expand All @@ -28,7 +28,7 @@
- include_tasks: ../../../roles/splunk_common/tasks/wait_for_splunk_process.yml

- name: Setup SHC with Associated Site
command: "{{ splunk.exec }} edit cluster-master -old_master_uri {{ multisite_master_uri }} -site {{ splunk.site }} -auth {{ splunk.admin_user }}:{{ splunk.password }} -secret {{ splunk.shc.pass4SymmKey }} -multisite True"
command: "{{ splunk.exec }} edit cluster-master -old_master_uri {{ multisite_master_uri }} -site {{ splunk.site }} -auth {{ splunk.admin_user }}:{{ splunk.password }} -secret {{ splunk.idxc.pass4SymmKey }} -multisite True"
become: yes
become_user: "{{ splunk.user }}"
register: set_associated_site
Expand Down

0 comments on commit bf13b58

Please sign in to comment.