update_new_hosts

master
admingit 3 years ago
parent e5630d87ee
commit 18287b8e06

@ -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://SVLCTPLOGLMR.jpit.com:8089 master_uri = https://SRVLM01.jpit.com:8089

@ -9,11 +9,11 @@ servers = localhost:localhost
[distributedSearch:dmc_group_indexer] [distributedSearch:dmc_group_indexer]
default = false default = false
servers = SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089 servers = SRVIDX01.jpit.com:8089,SRVIDX02.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_M-TIC]
servers = localhost:localhost,SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089 servers = localhost:localhost,SRVIDX01.jpit.com:8089,SRVIDX02.jpit.com:8089

@ -8,5 +8,5 @@ useACK = true
forceTimebasedAutoLB = true forceTimebasedAutoLB = true
[tcpout:m-tic_indexer] [tcpout:m-tic_indexer]
server = SVLCTPLOGIDX01.jpit.com:9997, SVLCTPLOGIDX02.jpit.com:9997 server = SRVIDX01.jpit.com:9997, SRVIDX02.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 = SVLCTPLOGIDX01.jpit.com:9997, SVLCTPLOGIDX02.jpit.com:9997 server = SRVIDX01.jpit.com:9997, SRVIDX02.jpit.com:9997
#clientCert = $SPLUNK_HOME/etc/auth/server.pem #clientCert = $SPLUNK_HOME/etc/auth/server.pem
#sslPassword = #sslPassword =

@ -1,6 +1,6 @@
[replication_port://9100] [replication_port://9100]
[clustering] [clustering]
manager_uri = https://SVLCTPLOGCLM01.jpit.com:8089 manager_uri = https://SRVCLM01.jpit.com:8089
mode = peer mode = peer
pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0=

@ -3,13 +3,13 @@ mode = searchhead
manager_uri = clustermanager:one manager_uri = clustermanager:one
[clustermanager:one] [clustermanager:one]
manager_uri = https://SVLCTPLOGCLM01.jpit.com:8089 manager_uri = https://SRVCLM01.jpit.com:8089
pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0=
multisite = false multisite = false
[shclustering] [shclustering]
shcluster_label = M-TIC_shcluster shcluster_label = M-TIC_shcluster
conf_deploy_fetch_url = https://SVLCTPLOGSUP01.jpit.com:8089 conf_deploy_fetch_url = https://SRVDSMC.jpit.com:8089
pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0=
[httpServer] [httpServer]

@ -3,7 +3,7 @@ site = site2
[clustering] [clustering]
multisite = true multisite = true
master_uri = https://SVLCTPLOGCLM01.jpit.com:8089 master_uri = https://SRVCLM01.jpit.com:8089
mode = searchhead mode = searchhead
pass4SymmKey = $7$i7IqoiyC1DpnVbSVtwGzuVTO5rmVyPCI2CMacpHEFs3N2oFAaF0EJ049Otza pass4SymmKey = $7$i7IqoiyC1DpnVbSVtwGzuVTO5rmVyPCI2CMacpHEFs3N2oFAaF0EJ049Otza

@ -1,30 +1,30 @@
[distributedSearch:dmc_group_cluster_master] [distributedSearch:dmc_group_cluster_master]
servers = SVLCTPLOGCLM01.jpit.com:8089 servers = SRVCLM01.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 = SVLCTPLOGCLM01.jpit.com:8089,SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089 servers = SRVCLM01.jpit.com:8089,SRVSH01.jpit.com:8089,SRVSH02.jpit.com:8089
[distributedSearch:dmc_group_search_head] [distributedSearch:dmc_group_search_head]
servers = SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:808 servers = SRVSH01.jpit.com:8089,SRVSH02.jpit.com:808
[distributedSearch:dmc_group_indexer] [distributedSearch:dmc_group_indexer]
default = true default = true
servers = SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089 servers = SRVIDX01.jpit.com:8089,SRVIDX02.jpit.com:8089
[distributedSearch:dmc_group_shc_deployer] [distributedSearch:dmc_group_shc_deployer]
servers = localhost:localhost servers = localhost:localhost
[distributedSearch:dmc_indexerclustergroup_Cluster_M-TIC] [distributedSearch:dmc_indexerclustergroup_Cluster_M-TIC]
servers = SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089,SVLCTPLOGCLM01.jpit.com:8089,SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089 servers = SRVIDX01.jpit.com:8089,SRVIDX02.jpit.com:8089,SRVCLM01.jpit.com:8089,SRVSH01.jpit.com:8089,SRVSH02.jpit.com:8089
[distributedSearch:dmc_group_license_master] [distributedSearch:dmc_group_license_master]
servers = SVLCTPLOGLMR.jpit.com:8089 servers = SRVLM01.jpit.com:8089
[distributedSearch:dmc_searchheadclustergroup_M-TIC_shcluster] [distributedSearch:dmc_searchheadclustergroup_M-TIC_shcluster]
servers = localhost:localhost,SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089 servers = localhost:localhost,SRVSH01.jpit.com:8089,SRVSH02.jpit.com:8089
[distributedSearch] [distributedSearch]
servers = https://SVLCTPLOGCLM01.jpit.com:8089,https://SVLCTPLOGLMR.jpit.com:8089,https://SVLCTPLOGPUB01.jpit.com:8089,https://SVLCTPLOGPUB02.jpit.com:8089 servers = https://SRVCLM01.jpit.com:8089,https://SRVLM01.jpit.com:8089,https://SRVSH01.jpit.com:8089,https://SRVSH02.jpit.com:8089

@ -1,4 +1,4 @@
[settings] [settings]
mc_auto_config = enabled mc_auto_config = enabled
disabled = 0 disabled = 0
configuredPeers = SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089,SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089,SVLCTPLOGLMR.jpit.com:8089,SVLCTPLOGCLM01.jpit.com:8089 configuredPeers = SRVSH01.jpit.com:8089,SRVSH02.jpit.com:8089,SRVIDX01.jpit.com:8089,SRVIDX02.jpit.com:8089,SRVLM01.jpit.com:8089,SRVCLM01.jpit.com:8089

@ -94,15 +94,15 @@ restartSplunkd = 0
stateOnClient = enabled stateOnClient = enabled
[serverClass:Cluster_Indexer_TIC] [serverClass:Cluster_Indexer_TIC]
whitelist.0 = SVLCTPLOGIDX01.jpit.com whitelist.0 = SRVIDX01.jpit.com
whitelist.1 = SVLCTPLOGIDX02.jpit.com whitelist.1 = SRVIDX02.jpit.com
[serverClass:Cluster_Master_TIC] [serverClass:Cluster_Master_TIC]
whitelist.0 = SVLCTPLOGCLM01.jpit.com whitelist.0 = SRVCLM01.jpit.com
[serverClass:Cluster_SH_TIC] [serverClass:Cluster_SH_TIC]
whitelist.0 = SVLCTPLOGPUB01.jpit.com whitelist.0 = SRVSH01.jpit.com
whitelist.1 = SVLCTPLOGPUB02.jpit.com whitelist.1 = SRVSH02.jpit.com
[serverClass:Forwarder_Linux_TIC:app:02-M-TIC_all_forwarding_outputs] [serverClass:Forwarder_Linux_TIC:app:02-M-TIC_all_forwarding_outputs]
restartSplunkWeb = 0 restartSplunkWeb = 0
@ -135,5 +135,5 @@ restartSplunkd = 0
stateOnClient = enabled stateOnClient = enabled
[serverClass:Forwarder_Linux_TIC] [serverClass:Forwarder_Linux_TIC]
whitelist.0 = SVLCTPSUPPFI01.jpit.com whitelist.0 = SRVFWD01.jpit.com
whitelist.1 = SVLCTPSUPPFI02.jpit.com whitelist.1 = SRVFWD02.jpit.com

@ -1,5 +1,5 @@
[target-broker:deploymentServer] [target-broker:deploymentServer]
targetUri = https://SVLCTPLOGSUP01.jpit.com:8089 targetUri = https://SRVDSMC.jpit.com:8089
[deployment-client] [deployment-client]
disabled = 0 disabled = 0

@ -26,7 +26,7 @@
#- name: Copier depuis repo #- name: Copier depuis repo
#hosts: SVLCTPSUPPFI02.jpit.com #hosts: SRVFWD02.jpit.com
#become: true #become: true
#tasks: #tasks:
#- name: copy #- name: copy
@ -40,7 +40,7 @@
#delegate_to: 10.10.30.38 #delegate_to: 10.10.30.38
# - name: Récupérer le fichier depuis l'hôte source et le copier sur l'hôte distant # - name: Récupérer le fichier depuis l'hôte source et le copier sur l'hôte distant
# hosts: SVLCTPSUPPFI02.jpit.com # hosts: SRVFWD02.jpit.com
# become: true # become: true
# tasks: # tasks:
# - name: Récupérer le fichier depuis l'hôte source # - name: Récupérer le fichier depuis l'hôte source

@ -6,8 +6,8 @@
tasks: tasks:
- name: - name:
copy: copy:
src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" src: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/"
dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.jpit.com/" dest: "/opt/splunk/etc/auth/distServerKeys/SRVDSMC.jpit.com/"
owner: splunk owner: splunk
group: splunk group: splunk

@ -7,14 +7,14 @@
- name: Copie de la clé du DSMC sur les instances splunk - name: Copie de la clé du DSMC sur les instances splunk
copy: copy:
src: /opt/splunk/etc/auth/distServerKeys/trusted.pem src: /opt/splunk/etc/auth/distServerKeys/trusted.pem
dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" dest: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/"
owner: root owner: root
group: root group: root
remote_src: true remote_src: true
- name: Copie de la clé du DSMC sur les instances splunk - name: Copie de la clé du DSMC sur les instances splunk
copy: copy:
src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/test/trusted.pem" src: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/test/trusted.pem"
dest: /tmp/ dest: /tmp/
owner: root owner: root
group: root group: root

@ -32,7 +32,7 @@
- name: "Deploy Configuration Bootstrap SHC" - name: "Deploy Configuration Bootstrap SHC"
become: yes become: yes
become_user: "{{ privileged_user }}" become_user: "{{ privileged_user }}"
hosts: SVLCTPLOGPUB02.jpit.com hosts: SRVSH02.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

@ -3,33 +3,30 @@
children: children:
splunk_search_head: splunk_search_head:
hosts: hosts:
SVLCTPLOGPUB01.jpit.com: SRVSH01.jpit.com:
SVLCTPLOGPUB02.jpit.com: SRVSH02.jpit.com:
splunk_indexer: splunk_indexer:
hosts: hosts:
SVLCTPLOGIDX01.jpit.com: SRVIDX01.jpit.com:
SVLCTPLOGIDX02.jpit.com: SRVIDX02.jpit.com:
splunk_licence_master: splunk_licence_master:
hosts: hosts:
SVLCTPLOGLMR.jpit.com: SRVLM01.jpit.com:
splunk_uf_Linux: splunk_uf_Linux:
hosts: hosts:
SVLCTPSUPPFI01.jpit.com: SRVFWD02.jpit.com:
SVLCTPSUPPFI02.jpit.com:
splunk_hf_Linux: splunk_hf_Linux:
hosts: hosts:
SVLCTPSUPPFI01.jpit.com: SRVFWD01.jpit.com:
SVLCTPSUPPFI02.jpit.com:
splunk_uf_Windows: splunk_uf_Windows:
hosts: hosts:
SVWCTPSUPPFI01.jpit.com:
SVWIPADM01.jpit.com: SVWIPADM01.jpit.com:
splunk_deployement: splunk_deployement:
hosts: hosts:
SVLCTPLOGSUP01.jpit.com: SRVDSMC.jpit.com:
splunk_monitoring: splunk_monitoring:
hosts: hosts:
SVLCTPLOGSUP01.jpit.com: SRVDSMC.jpit.com:
splunk_cluster_master: splunk_cluster_master:
hosts: hosts:
SVLCTPLOGCLM01.jpit.com: SRVCLM01.jpit.com:

@ -6,8 +6,8 @@
# tasks: # tasks:
# - name: Copie de la clé du DSMC sur les instances splunk # - name: Copie de la clé du DSMC sur les instances splunk
# copy: # copy:
# src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" # src: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/"
# dest: /opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.jpit.com/ # dest: /opt/splunk/etc/auth/distServerKeys/SRVDSMC.jpit.com/
# owner: root # owner: root
# group: root # group: root
@ -19,6 +19,6 @@
- name: Copier le fichier trusted - name: Copier le fichier trusted
synchronize: synchronize:
mode: pull mode: pull
src: rsync://SVLCTPLOGSUP01.jpit.com/opt/splunk/etc/auth/distServerKeys/trusted.pem src: rsync://SRVDSMC.jpit.com/opt/splunk/etc/auth/distServerKeys/trusted.pem
dest: /tmp/ dest: /tmp/
delegate_to: SVLCTPLOGSUP01.jpit.com delegate_to: SRVDSMC.jpit.com

@ -5,7 +5,7 @@
#hosts: splunk_deployement #hosts: splunk_deployement
copy: copy:
src: "/opt/splunk/etc/auth/distServerKeys/trusted.pem" src: "/opt/splunk/etc/auth/distServerKeys/trusted.pem"
dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" dest: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/"
owner: root owner: root
group: root group: root
remote_src: true remote_src: true

@ -4,8 +4,8 @@
become_user: "{{ privileged_user }}" become_user: "{{ privileged_user }}"
#hosts: all:!splunk_uf_Linux:!splunk_deployement #hosts: all:!splunk_uf_Linux:!splunk_deployement
copy: copy:
src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" src: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/"
dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.jpit.com/" dest: "/opt/splunk/etc/auth/distServerKeys/SRVDSMC.jpit.com/"
owner: root owner: root
group: root group: root
remote_src: true remote_src: true

Loading…
Cancel
Save