Skip to content

Changes needed to support both old and new cluster configuration #217

Open
BSonPosh wants to merge 4 commits intosplunk:masterfrom
BSonPosh:fix_for_cluster_mode_version
Open

Changes needed to support both old and new cluster configuration #217
BSonPosh wants to merge 4 commits intosplunk:masterfrom
BSonPosh:fix_for_cluster_mode_version

Conversation

@BSonPosh
Copy link
Copy Markdown

@BSonPosh BSonPosh commented Dec 6, 2023

8.1< slave/master
8.1 >= peer/manager

8.1< slave/master
8.1 >= peer/manager
@dtwersky dtwersky self-assigned this Dec 6, 2023
failed_when: idxc_peer_init_result.rc != 0
notify: restart splunk
no_log: true
no_log: false
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this back to true

@BSonPosh
Copy link
Copy Markdown
Author

BSonPosh commented Aug 30, 2024 via email


- name: Setting clustering mode to slave and uri to master base on Splunk version
set_fact:
mode_value: "slave"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this:

Suggested change
mode_value: "slave"
mode_value: "{% if splunk_version_release | version('8.1', '<') %}slave{% else %}peer{% endif %}"

These changes (if tested and working) will combine both 8.1 and later into one task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants