Ajout des yml

master
admingit 1 year ago
parent 266130ca5f
commit fea13de879

@ -6,4 +6,4 @@
# the indexers. In either event, the settings are the same. # the indexers. In either event, the settings are the same.
[license] [license]
master_uri = https://SVLCTMLOGCLM01.unit-c.edf.fr:8089 master_uri = https://SRVLM01.jpit.com:8089

@ -1,12 +0,0 @@
# BASE SETTINGS
[tcpout]
# Change here to specify the indexer group
defaultGroup = m-tic_indexer
maxQueueSize = 7MB
useACK = true
forceTimebasedAutoLB = true
[tcpout:m-tic_indexer]
server = SVLCTMLOGIDX01.unit-c.edf.fr:9997, SVLCTMLOGIDX02.unit-c.edf.fr:9997
~

@ -1,14 +1,14 @@
[distributedSearch] [distributedSearch]
servers = https://SVLCTMLOGCLM01.unit-c.edf.fr:8089,https://SVLCTMLOGPUB01.unit-c.edf.fr:8089,https://SVLCTMLOGPUB02.unit-c.edf.fr:8089 servers = https://SPLCLM01.jpit.com:8089,https://SPLSH01.jpit.com:8089,https://SPLSH02.jpit.com:8089
[distributedSearch:dmc_group_deployment_server] [distributedSearch:dmc_group_deployment_server]
servers = localhost:localhost servers = localhost:localhost
[distributedSearch:dmc_group_kv_store] [distributedSearch:dmc_group_kv_store]
servers = SVLCTMLOGCLM01.unit-c.edf.fr:8089,SVLCTMLOGPUB01.unit-c.edf.fr:8089,SVLCTMLOGPUB02.unit-c.edf.fr:8089 servers = SPLCLM01.jpit.com:8089,SPLSH01.jpit.com:8089,SPLSH02.jpit.com:8089
[distributedSearch:dmc_group_license_master] [distributedSearch:dmc_group_license_master]
servers = SVLCTMLOGCLM01.unit-c.edf.fr:8089 servers = SPLCLM01.jpit.com:8089
[distributedSearch:dmc_group_shc_deployer] [distributedSearch:dmc_group_shc_deployer]
servers = localhost:localhost servers = localhost:localhost
@ -18,10 +18,10 @@ servers = SVLCTMLOGCLM01.unit-c.edf.fr:8089
[distributedSearch:dmc_group_indexer] [distributedSearch:dmc_group_indexer]
default = true default = true
servers = SVLCTMLOGIDX01.unit-c.edf.fr:8089,SVLCTMLOGIDX02.unit-c.edf.fr:8089 servers = SPLIDX01.jpit.com:8089,SPLIDX02.jpit.com:8089
[distributedSearch:dmc_group_search_head] [distributedSearch:dmc_group_search_head]
servers = SVLCTMLOGCLM01.unit-c.edf.fr:8089,SVLCTMLOGPUB01.unit-c.edf.fr:8089,SVLCTMLOGPUB02.unit-c.edf.fr:8089 servers = SSPLCLM01.jpit.com:8089,SPLSH01.jpit.com:8089,SPLSH02.jpit.com:8089
[distributedSearch:dmc_searchheadclustergroup_Cluster_SH_M-TIC] [distributedSearch:dmc_searchheadclustergroup_Cluster_SH_M-TIC]
servers = localhost:localhost,SVLCTMLOGPUB01.unit-c.edf.fr:8089,SVLCTMLOGPUB02.unit-c.edf.fr:8089 servers = localhost:localhost,SPLSH01.jpit.com:8089,SPLSH02.jpit.com:8089

@ -0,0 +1,11 @@
# BASE SETTINGS
[tcpout]
# Change here to specify the indexer group
defaultGroup = indexer
maxQueueSize = 7MB
useACK = true
forceTimebasedAutoLB = true
[tcpout:indexer]
server = SPLIDX01.jpit.com:9997, SPLIDX02.jpit.com:9997

@ -6,7 +6,7 @@ forceTimebaseAutoLB = true
forwardedindex.2.whitelist = (_audit|_introspection|_internal) forwardedindex.2.whitelist = (_audit|_introspection|_internal)
[tcpout:primary_indexers] [tcpout:primary_indexers]
server = SVLCTMLOGIDX01.unit-c.edf.fr:9997, SVLCTMLOGIDX02.unit-c.edf.fr:9997 server = SPLIDX01.jpit.com:9997, SPLIDX02.jpit.com:9997
#clientCert = $SPLUNK_HOME/etc/auth/server.pem #clientCert = $SPLUNK_HOME/etc/auth/server.pem
#sslPassword = #sslPassword =

@ -1,3 +1,3 @@
[shclustering] [shclustering]
pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0=
shcluster_label = M-TIC_shcluster shcluster_label = shcluster

@ -17,13 +17,13 @@ selfStorageThreads =
suspendHotRollByDeleteQuery = 0 suspendHotRollByDeleteQuery = 0
syncMeta = 1 syncMeta = 1
[idx_m-tic_windows] [idx_windows]
[idx_m-tic_fortigate] [idx_fortigate]
[idx_m-tic_linux] [idx_linux]
[idx_m-tic_esxi] [idx_esxi]
[vmware-esxilog] [vmware-esxilog]
@ -36,30 +36,30 @@ datatype = metric
[vmware-vclog] [vmware-vclog]
[idx_m-tic_alcatel] [idx_alcatel]
[idx_m-tic_cisco] [idx_cisco]
[idx_m-tic_switch] [idx_switch]
[idx_m-tic_catchall] [idx_catchall]
[idx_m-tic_catchother] [idx_catchother]
[idx_m-tic_other] [idx_other]
[idx_m-tic_glpi] [idx_glpi]
[idx_m-tic_glpi_vm] [idx_glpi_vm]
[idx_m-tic_glpi_kb] [idx_glpi_kb]
[idx_m-tic_glpi_sep] [idx_glpi_sep]
[idx_m-tic_glpi_obsolescence] [idx_glpi_obsolescence]
[idx_m-tic_genetec_sc] [idx_genetec_sc]
[idx_ldap] [idx_ldap]
[idx_m-tic_synology] [idx_synology]

@ -3,13 +3,13 @@ mode = searchhead
manager_uri = clustermanager:one manager_uri = clustermanager:one
[clustermanager:one] [clustermanager:one]
manager_uri = https://SVLCTMLOGCLM01.unit-c.edf.fr:8089 manager_uri = https://SPLCLM01.jpit.com:8089
pass4SymmKey = $7$S9wq9h/bAbFgNYLo/9vsjHEwpY2z8IkPYQ663LGXb6cLu5YmhyEQnSS3+7jNTRzFBQ== pass4SymmKey = $7$S9wq9h/bAbFgNYLo/9vsjHEwpY2z8IkPYQ663LGXb6cLu5YmhyEQnSS3+7jNTRzFBQ==
multisite = false multisite = false
[shclustering] [shclustering]
shcluster_label = M-TIC_shcluster shcluster_label = shcluster
conf_deploy_fetch_url = https://SVLCTMLOGSUP01.unit-c.edf.fr:8089 conf_deploy_fetch_url = https://SPLDSMC.jpit.com:8089
pass4SymmKey = $7$S9wq9h/bAbFgNYLo/9vsjHEwpY2z8IkPYQ663LGXb6cLu5YmhyEQnSS3+7jNTRzFBQ== pass4SymmKey = $7$S9wq9h/bAbFgNYLo/9vsjHEwpY2z8IkPYQ663LGXb6cLu5YmhyEQnSS3+7jNTRzFBQ==
[httpServer] [httpServer]

@ -3,7 +3,7 @@ site = site2
[clustering] [clustering]
multisite = true multisite = true
master_uri = https://SVLCTMLOGCLM01.unit-c.edf.fr:8089 master_uri = https://SPLCLM01.jpit.com:8089
mode = searchhead mode = searchhead
pass4SymmKey = $7$i7IqoiyC1DpnVbSVtwGzuVTO5rmVyPCI2CMacpHEFs3N2oFAaF0EJ049Otza pass4SymmKey = $7$i7IqoiyC1DpnVbSVtwGzuVTO5rmVyPCI2CMacpHEFs3N2oFAaF0EJ049Otza

@ -1,3 +1,3 @@
[settings] [settings]
disabled = 0 disabled = 0
configuredPeers = SVLCTMLOGPUB01.unit-c.edf.fr:8089,SVLCTMLOGPUB02.unit-c.edf.fr:8089,SVLCTMLOGIDX01.unit-c.edf.fr:8089,SVLCTMLOGIDX02.unit-c.edf.fr:8089,SVLCTMLOGCLM01.unit-c.edf.fr:8089,SVLCTMLOGCLM01.unit-c.edf.fr:8089 configuredPeers = SPLSH01.jpit.com:8089,SPLSH02.jpit.com:8089,SPLIDX01.jpit.com:8089,SPLIDX02.jpit.com:8089,SPLCLM01.jpit.com:8089

@ -14,22 +14,12 @@ endpoint = $deploymentServerUri$/services/streams/deployment?name=$tenantName$:$
filterType = whitelist filterType = whitelist
[serverClass:Licence_Master_TIC] [serverClass:Licence_Master]
[serverClass:Cluster_Master_TIC] [serverClass:Cluster_Master]
[serverClass:Cluster_Indexer_TIC] [serverClass:Cluster_Indexer_TIC]
[serverClass:Cluster_SH_TIC] [serverClass:Forwarder_Linux]
[serverClass:Forwarder_Linux_TIC] [serverClass:Forwarder_Windows]
[serverClass:Forwarder_Windows_TIC]
[serverClass:Cluster_Master_TIH]
[serverClass:Cluster_Indexer_TIH]
[serverClass:Forwarder_Linux_TIH]
[serverClass:Forwarder_Windows_TIH]

@ -1,5 +1,7 @@
[target-broker:deploymentServer] [target-broker:deploymentServer]
targetUri = https://SVLCTMLOGSUP01.unit-c.edf.fr:8089 targetUri = https://SPLDSMC.jpit.com:8089
[deployment-client] [deployment-client]
repositoryLocation = $SPLUNK_HOME/etc/manager-apps
serverRepositoryLocationPolicy = rejectAlways
disabled = 0 disabled = 0

@ -4,7 +4,7 @@ author = VABOS
description = Configure Cluster Master description = Configure Cluster Master
[package] [package]
id = M-TIC_cluster_master_base id = cluster_master_base
[ui] [ui]

@ -9,11 +9,11 @@ servers = localhost:localhost
[distributedSearch:dmc_group_indexer] [distributedSearch:dmc_group_indexer]
default = false default = false
servers = SVLCTMLOGIDX01.unit-c.edf.fr:8089,SVLCTMLOGIDX02.unit-c.edf.fr:8089 servers = SPLIDX01.jpit.com:8089,SPLIDX02.jpit.com:8089
[distributedSearch:dmc_group_shc_deployer] [distributedSearch:dmc_group_shc_deployer]
[distributedSearch:dmc_group_kv_store] [distributedSearch:dmc_group_kv_store]
[distributedSearch:dmc_indexerclustergroup_Cluster_M-TIC] [distributedSearch:dmc_indexerclustergroup_Cluster_IDX]
servers = localhost:localhost,SVLCTMLOGIDX01.unit-c.edf.fr:8089,SVLCTMLOGIDX02.unit-c.edf.fr:8089 servers = localhost:localhost,SPLIDX01.jpit.com:8089,SPLIDX02.jpit.com:8089

@ -1,5 +1,5 @@
[clustering] [clustering]
cluster_label = Cluster_M-TIC cluster_label = Cluster_IDX
mode = master mode = master
pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0=
replication_factor = 2 replication_factor = 2

@ -1,6 +1,6 @@
[replication_port://9100] [replication_port://9100]
[clustering] [clustering]
manager_uri = https://SVLCTMLOGCLM01.unit-c.edf.fr:8089 manager_uri = https://SPLCLM01.jpit.com:8089
mode = peer mode = peer
pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0=

@ -1,7 +1,22 @@
--- ---
- name: "Deploy Conf for CLM"
become: yes
hosts: splunk_cluster_master
tasks:
- name: "Deploy Conf to Splunk"
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-CLM.yml
- name: "Deploy Conf for IDX"
become: yes
hosts: splunk_indexer
tasks:
- name: "Deploy Conf to Splunk"
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-IDX.yml
- name: "Deploy Conf for Instance Splunk" - name: "Deploy Conf for Instance Splunk"
become: yes become: yes
hosts: all:!splunk_uf_Linux hosts: all:!splunk_uf_Linux:!splunk_indexer:!splunk_search_head
tasks: tasks:
- name: "Deploy Conf to Splunk" - name: "Deploy Conf to Splunk"
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-Splunk.yml include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-Splunk.yml
@ -14,13 +29,13 @@
- name: Deploy_Conf_DSMC - name: Deploy_Conf_DSMC
include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_DSMC.yml include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_DSMC.yml
#- name: "Deploy Configuration Initial SHC" - name: "Deploy Configuration Initial SHC"
# become: yes become: yes
# become_user: "{{ privileged_user }}" become_user: "{{ privileged_user }}"
# hosts: splunk_search_head hosts: splunk_search_head
# tasks: tasks:
# - name: Deploy_Conf_SHC_Init - name: Deploy_Conf_SHC_Init
# include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_Init.yml
- name: "Restart de fin d'initialisation Splunk" - name: "Restart de fin d'initialisation Splunk"
become: yes become: yes
@ -29,13 +44,13 @@
- name: Restart_SPL - name: Restart_SPL
include_tasks: roles/splunk_deploy/tasks/Restart_SPL.yml include_tasks: roles/splunk_deploy/tasks/Restart_SPL.yml
# - name: "Deploy Configuration Bootstrap SHC" - name: "Deploy Configuration Bootstrap SHC"
# become: yes become: yes
# become_user: "{{ privileged_user }}" become_user: "{{ privileged_user }}"
# hosts: SVLCTMLOGPUB02.unit-c.edf.fr hosts: SPLSH02.jpit.com
# tasks: tasks:
# - name: Deploy_Conf_SHC_BS - name: Deploy_Conf_SHC_BS
# include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml
# - name: "Arrête de fin de deploiement Splunk" # - name: "Arrête de fin de deploiement Splunk"
# become: yes # become: yes

@ -0,0 +1,9 @@
---
- name: Copier la configuration cluster_master_base dans le CLM
become: yes
become_user: "{{ privileged_user }}"
copy:
src: "{{ playbook_dir }}/Apps_for_Splunk/cluster_master_base"
dest: /opt/splunk/etc/apps/
owner: splunk
group: splunk

@ -0,0 +1,9 @@
---
- name: Copier la configuration cluster_idx_base dans les IDX
become: yes
become_user: "{{ privileged_user }}"
copy:
src: "{{ playbook_dir }}/Apps_for_Splunk/idx_cluster_base"
dest: /opt/splunk/etc/apps/
owner: splunk
group: splunk
Loading…
Cancel
Save