From 6f75153ce736ba183f2a6dc6529e1a721e5111ea Mon Sep 17 00:00:00 2001 From: JocelynPa Date: Tue, 20 Jun 2023 15:52:41 +0200 Subject: [PATCH] update_domain_name --- .../01-Conf_license_slave/default/server.conf | 2 +- Apps_for_DS/02-M-TIC_CM/local/distsearch.conf | 4 +-- .../default/outputs.conf | 2 +- .../local/outputs.conf | 2 +- .../default/server.conf | 2 +- .../default/server.conf | 4 +-- .../default/server.conf | 2 +- Apps_for_DS/For_MC/local/distsearch.conf | 16 ++++++------ .../splunk_monitoring_console_assets.conf | 2 +- .../local/serverclass.conf | 14 +++++----- .../local/deploymentclient.conf | 2 +- Copy_Files.yml | 4 +-- Copy_keys.yml | 4 +-- Copy_keys_Test.yml | 4 +-- Deploy_Splunk.yml | 2 +- Inventories/cluster/hosts-TIA.yml | 12 ++++----- Inventories/cluster/hosts-TIC.yml | 26 +++++++++---------- Old_Playbooks/Copy_keysV2.yml | 8 +++--- .../splunk_deploy/tasks/Backup_Keys_DSMC.yml | 2 +- .../tasks/Deploy_Keys_to_others.yml | 4 +-- 20 files changed, 59 insertions(+), 59 deletions(-) diff --git a/Apps_for_DS/01-Conf_license_slave/default/server.conf b/Apps_for_DS/01-Conf_license_slave/default/server.conf index b852a52..8bc53ae 100755 --- a/Apps_for_DS/01-Conf_license_slave/default/server.conf +++ b/Apps_for_DS/01-Conf_license_slave/default/server.conf @@ -6,4 +6,4 @@ # the indexers. In either event, the settings are the same. [license] - master_uri = https://SVLCTPLOGLMR.mom.fr:8089 \ No newline at end of file + master_uri = https://SVLCTPLOGLMR.jpit.com:8089 \ No newline at end of file diff --git a/Apps_for_DS/02-M-TIC_CM/local/distsearch.conf b/Apps_for_DS/02-M-TIC_CM/local/distsearch.conf index 345f2ef..6eddce7 100755 --- a/Apps_for_DS/02-M-TIC_CM/local/distsearch.conf +++ b/Apps_for_DS/02-M-TIC_CM/local/distsearch.conf @@ -9,11 +9,11 @@ servers = localhost:localhost [distributedSearch:dmc_group_indexer] default = false -servers = SVLCTPLOGIDX01.mom.fr:8089,SVLCTPLOGIDX02.mom.fr:8089 +servers = SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089 [distributedSearch:dmc_group_shc_deployer] [distributedSearch:dmc_group_kv_store] [distributedSearch:dmc_indexerclustergroup_Cluster_M-TIC] -servers = localhost:localhost,SVLCTPLOGIDX01.mom.fr:8089,SVLCTPLOGIDX02.mom.fr:8089 +servers = localhost:localhost,SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089 diff --git a/Apps_for_DS/02-M-TIC_all_forwarding_outputs/default/outputs.conf b/Apps_for_DS/02-M-TIC_all_forwarding_outputs/default/outputs.conf index 2fb176a..2bd409d 100755 --- a/Apps_for_DS/02-M-TIC_all_forwarding_outputs/default/outputs.conf +++ b/Apps_for_DS/02-M-TIC_all_forwarding_outputs/default/outputs.conf @@ -8,5 +8,5 @@ useACK = true forceTimebasedAutoLB = true [tcpout:m-tic_indexer] -server = SVLCTPLOGIDX01.mom.fr:9997, SVLCTPLOGIDX02.mom.fr:9997 +server = SVLCTPLOGIDX01.jpit.com:9997, SVLCTPLOGIDX02.jpit.com:9997 ~ diff --git a/Apps_for_DS/02-M-TIC_cluster_forwarder_outputs/local/outputs.conf b/Apps_for_DS/02-M-TIC_cluster_forwarder_outputs/local/outputs.conf index bba60aa..32aa73f 100644 --- a/Apps_for_DS/02-M-TIC_cluster_forwarder_outputs/local/outputs.conf +++ b/Apps_for_DS/02-M-TIC_cluster_forwarder_outputs/local/outputs.conf @@ -6,7 +6,7 @@ forceTimebaseAutoLB = true forwardedindex.2.whitelist = (_audit|_introspection|_internal) [tcpout:primary_indexers] -server = SVLCTPLOGIDX01.mom.fr:9997, SVLCTPLOGIDX02.mom.fr:9997 +server = SVLCTPLOGIDX01.jpit.com:9997, SVLCTPLOGIDX02.jpit.com:9997 #clientCert = $SPLUNK_HOME/etc/auth/server.pem #sslPassword = diff --git a/Apps_for_DS/02-M-TIC_idx_cluster_base/default/server.conf b/Apps_for_DS/02-M-TIC_idx_cluster_base/default/server.conf index 9fc6dc0..75f1439 100755 --- a/Apps_for_DS/02-M-TIC_idx_cluster_base/default/server.conf +++ b/Apps_for_DS/02-M-TIC_idx_cluster_base/default/server.conf @@ -1,6 +1,6 @@ [replication_port://9100] [clustering] -manager_uri = https://SVLCTPLOGCLM01.mom.fr:8089 +manager_uri = https://SVLCTPLOGCLM01.jpit.com:8089 mode = peer pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= diff --git a/Apps_for_DS/02-M-TIC_sh_cluster_base/default/server.conf b/Apps_for_DS/02-M-TIC_sh_cluster_base/default/server.conf index c458e92..068d220 100644 --- a/Apps_for_DS/02-M-TIC_sh_cluster_base/default/server.conf +++ b/Apps_for_DS/02-M-TIC_sh_cluster_base/default/server.conf @@ -3,13 +3,13 @@ mode = searchhead manager_uri = clustermanager:one [clustermanager:one] -manager_uri = https://SVLCTPLOGCLM01.mom.fr:8089 +manager_uri = https://SVLCTPLOGCLM01.jpit.com:8089 pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= multisite = false [shclustering] shcluster_label = M-TIC_shcluster -conf_deploy_fetch_url = https://SVLCTPLOGSUP01.mom.fr:8089 +conf_deploy_fetch_url = https://SVLCTPLOGSUP01.jpit.com:8089 pass4SymmKey = $7$iQ3wl+w1tMlCZXopQ/BDXHv8e+xGXGR10mvQYOiCdPxZuIkKX87oMm85MSkitkPk3PYW2Qhjc/kSMq2B5M0= [httpServer] diff --git a/Apps_for_DS/02-M-TIC_sh_idxcluster_base/default/server.conf b/Apps_for_DS/02-M-TIC_sh_idxcluster_base/default/server.conf index 97e5758..0046dcb 100755 --- a/Apps_for_DS/02-M-TIC_sh_idxcluster_base/default/server.conf +++ b/Apps_for_DS/02-M-TIC_sh_idxcluster_base/default/server.conf @@ -3,7 +3,7 @@ site = site2 [clustering] multisite = true -master_uri = https://SVLCTPLOGCLM01.mom.fr:8089 +master_uri = https://SVLCTPLOGCLM01.jpit.com:8089 mode = searchhead pass4SymmKey = $7$i7IqoiyC1DpnVbSVtwGzuVTO5rmVyPCI2CMacpHEFs3N2oFAaF0EJ049Otza diff --git a/Apps_for_DS/For_MC/local/distsearch.conf b/Apps_for_DS/For_MC/local/distsearch.conf index 2022959..833c571 100644 --- a/Apps_for_DS/For_MC/local/distsearch.conf +++ b/Apps_for_DS/For_MC/local/distsearch.conf @@ -1,30 +1,30 @@ [distributedSearch:dmc_group_cluster_master] -servers = SVLCTPLOGCLM01.mom.fr:8089 +servers = SVLCTPLOGCLM01.jpit.com:8089 [distributedSearch:dmc_group_deployment_server] servers = localhost:localhost [distributedSearch:dmc_group_kv_store] -servers = SVLCTPLOGCLM01.mom.fr:8089,SVLCTPLOGPUB01.mom.fr:8089,SVLCTPLOGPUB02.mom.fr:8089 +servers = SVLCTPLOGCLM01.jpit.com:8089,SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089 [distributedSearch:dmc_group_search_head] -servers = SVLCTPLOGPUB01.mom.fr:8089,SVLCTPLOGPUB02.mom.fr:808 +servers = SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:808 [distributedSearch:dmc_group_indexer] default = true -servers = SVLCTPLOGIDX01.mom.fr:8089,SVLCTPLOGIDX02.mom.fr:8089 +servers = SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089 [distributedSearch:dmc_group_shc_deployer] servers = localhost:localhost [distributedSearch:dmc_indexerclustergroup_Cluster_M-TIC] -servers = SVLCTPLOGIDX01.mom.fr:8089,SVLCTPLOGIDX02.mom.fr:8089,SVLCTPLOGCLM01.mom.fr:8089,SVLCTPLOGPUB01.mom.fr:8089,SVLCTPLOGPUB02.mom.fr:8089 +servers = SVLCTPLOGIDX01.jpit.com:8089,SVLCTPLOGIDX02.jpit.com:8089,SVLCTPLOGCLM01.jpit.com:8089,SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089 [distributedSearch:dmc_group_license_master] -servers = SVLCTPLOGLMR.mom.fr:8089 +servers = SVLCTPLOGLMR.jpit.com:8089 [distributedSearch:dmc_searchheadclustergroup_M-TIC_shcluster] -servers = localhost:localhost,SVLCTPLOGPUB01.mom.fr:8089,SVLCTPLOGPUB02.mom.fr:8089 +servers = localhost:localhost,SVLCTPLOGPUB01.jpit.com:8089,SVLCTPLOGPUB02.jpit.com:8089 [distributedSearch] -servers = https://SVLCTPLOGCLM01.mom.fr:8089,https://SVLCTPLOGLMR.mom.fr:8089,https://SVLCTPLOGPUB01.mom.fr:8089,https://SVLCTPLOGPUB02.mom.fr:8089 \ No newline at end of file +servers = https://SVLCTPLOGCLM01.jpit.com:8089,https://SVLCTPLOGLMR.jpit.com:8089,https://SVLCTPLOGPUB01.jpit.com:8089,https://SVLCTPLOGPUB02.jpit.com:8089 \ No newline at end of file diff --git a/Apps_for_DS/splunk_monitoring_console/local/splunk_monitoring_console_assets.conf b/Apps_for_DS/splunk_monitoring_console/local/splunk_monitoring_console_assets.conf index 976e7ad..4595279 100644 --- a/Apps_for_DS/splunk_monitoring_console/local/splunk_monitoring_console_assets.conf +++ b/Apps_for_DS/splunk_monitoring_console/local/splunk_monitoring_console_assets.conf @@ -1,4 +1,4 @@ [settings] mc_auto_config = enabled disabled = 0 -configuredPeers = SVLCTPLOGPUB01.mom.fr:8089,SVLCTPLOGPUB02.mom.fr:8089,SVLCTPLOGIDX01.mom.fr:8089,SVLCTPLOGIDX02.mom.fr:8089,SVLCTPLOGLMR.mom.fr:8089,SVLCTPLOGCLM01.mom.fr:8089 \ No newline at end of file +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 \ No newline at end of file diff --git a/Apps_for_Splunk/01-Conf_ServerClass/local/serverclass.conf b/Apps_for_Splunk/01-Conf_ServerClass/local/serverclass.conf index ac5ebec..23adeb2 100644 --- a/Apps_for_Splunk/01-Conf_ServerClass/local/serverclass.conf +++ b/Apps_for_Splunk/01-Conf_ServerClass/local/serverclass.conf @@ -94,15 +94,15 @@ restartSplunkd = 0 stateOnClient = enabled [serverClass:Cluster_Indexer_TIC] -whitelist.0 = SVLCTPLOGIDX01.mom.fr -whitelist.1 = SVLCTPLOGIDX02.mom.fr +whitelist.0 = SVLCTPLOGIDX01.jpit.com +whitelist.1 = SVLCTPLOGIDX02.jpit.com [serverClass:Cluster_Master_TIC] -whitelist.0 = SVLCTPLOGCLM01.mom.fr +whitelist.0 = SVLCTPLOGCLM01.jpit.com [serverClass:Cluster_SH_TIC] -whitelist.0 = SVLCTPLOGPUB01.mom.fr -whitelist.1 = SVLCTPLOGPUB02.mom.fr +whitelist.0 = SVLCTPLOGPUB01.jpit.com +whitelist.1 = SVLCTPLOGPUB02.jpit.com [serverClass:Forwarder_Linux_TIC:app:02-M-TIC_all_forwarding_outputs] restartSplunkWeb = 0 @@ -135,5 +135,5 @@ restartSplunkd = 0 stateOnClient = enabled [serverClass:Forwarder_Linux_TIC] -whitelist.0 = SVLCTPSUPPFI01.mom.fr -whitelist.1 = SVLCTPSUPPFI02.mom.fr \ No newline at end of file +whitelist.0 = SVLCTPSUPPFI01.jpit.com +whitelist.1 = SVLCTPSUPPFI02.jpit.com \ No newline at end of file diff --git a/Apps_for_Splunk/01-Conf_deploy_client/local/deploymentclient.conf b/Apps_for_Splunk/01-Conf_deploy_client/local/deploymentclient.conf index 5779d89..5001715 100644 --- a/Apps_for_Splunk/01-Conf_deploy_client/local/deploymentclient.conf +++ b/Apps_for_Splunk/01-Conf_deploy_client/local/deploymentclient.conf @@ -1,5 +1,5 @@ [target-broker:deploymentServer] -targetUri = https://SVLCTPLOGSUP01.mom.fr:8089 +targetUri = https://SVLCTPLOGSUP01.jpit.com:8089 [deployment-client] disabled = 0 \ No newline at end of file diff --git a/Copy_Files.yml b/Copy_Files.yml index 3287890..00d549e 100644 --- a/Copy_Files.yml +++ b/Copy_Files.yml @@ -26,7 +26,7 @@ #- name: Copier depuis repo - #hosts: SVLCTPSUPPFI02.mom.fr + #hosts: SVLCTPSUPPFI02.jpit.com #become: true #tasks: #- name: copy @@ -40,7 +40,7 @@ #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 -# hosts: SVLCTPSUPPFI02.mom.fr +# hosts: SVLCTPSUPPFI02.jpit.com # become: true # tasks: # - name: Récupérer le fichier depuis l'hôte source diff --git a/Copy_keys.yml b/Copy_keys.yml index ac1b0b3..b2ff4ba 100644 --- a/Copy_keys.yml +++ b/Copy_keys.yml @@ -6,8 +6,8 @@ tasks: - name: copy: - src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" - dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/" + src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" + dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.jpit.com/" owner: splunk group: splunk diff --git a/Copy_keys_Test.yml b/Copy_keys_Test.yml index 5f027e7..ce223c2 100644 --- a/Copy_keys_Test.yml +++ b/Copy_keys_Test.yml @@ -7,14 +7,14 @@ - name: Copie de la clé du DSMC sur les instances splunk copy: src: /opt/splunk/etc/auth/distServerKeys/trusted.pem - dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" + dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" owner: root group: root remote_src: true - name: Copie de la clé du DSMC sur les instances splunk copy: - src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/test/trusted.pem" + src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/test/trusted.pem" dest: /tmp/ owner: root group: root diff --git a/Deploy_Splunk.yml b/Deploy_Splunk.yml index 0f13bfa..b122460 100644 --- a/Deploy_Splunk.yml +++ b/Deploy_Splunk.yml @@ -32,7 +32,7 @@ - name: "Deploy Configuration Bootstrap SHC" become: yes become_user: "{{ privileged_user }}" - hosts: SVLCTPLOGPUB02.mom.fr + hosts: SVLCTPLOGPUB02.jpit.com tasks: - name: Deploy_Conf_SHC_BS include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_SHC_BS.yml diff --git a/Inventories/cluster/hosts-TIA.yml b/Inventories/cluster/hosts-TIA.yml index e009264..4a0f68f 100644 --- a/Inventories/cluster/hosts-TIA.yml +++ b/Inventories/cluster/hosts-TIA.yml @@ -2,15 +2,15 @@ all_splunk_instances: children: splunk_indexer: hosts: - SVLATPLOGIDX01.mom.fr: - SVLATPLOGIDX02.mom.fr: + SVLATPLOGIDX01.jpit.com: + SVLATPLOGIDX02.jpit.com: splunk_uf_Linux: hosts: - SVLATPSUPPFI01.mom.fr: - SVLATPSUPPFI02.mom.fr: + SVLATPSUPPFI01.jpit.com: + SVLATPSUPPFI02.jpit.com: splunk_uf_Windows: hosts: - SVWATPSUPPFI01.mom.fr: + SVWATPSUPPFI01.jpit.com: splunk_cluster_master: hosts: - SVLATPLOGCLM01.mom.fr: \ No newline at end of file + SVLATPLOGCLM01.jpit.com: \ No newline at end of file diff --git a/Inventories/cluster/hosts-TIC.yml b/Inventories/cluster/hosts-TIC.yml index b213bb2..88ccbe7 100644 --- a/Inventories/cluster/hosts-TIC.yml +++ b/Inventories/cluster/hosts-TIC.yml @@ -4,32 +4,32 @@ splunk_search_head: hosts: SVLCTPLOGPUB01.jpit.com: - SVLCTPLOGPUB02.mom.fr: + SVLCTPLOGPUB02.jpit.com: splunk_indexer: hosts: - SVLCTPLOGIDX01.mom.fr: - SVLCTPLOGIDX02.mom.fr: + SVLCTPLOGIDX01.jpit.com: + SVLCTPLOGIDX02.jpit.com: splunk_licence_master: hosts: - SVLCTPLOGLMR.mom.fr: + SVLCTPLOGLMR.jpit.com: splunk_uf_Linux: hosts: - SVLCTPSUPPFI01.mom.fr: - SVLCTPSUPPFI02.mom.fr: + SVLCTPSUPPFI01.jpit.com: + SVLCTPSUPPFI02.jpit.com: splunk_hf_Linux: hosts: - SVLCTPSUPPFI01.mom.fr: - SVLCTPSUPPFI02.mom.fr: + SVLCTPSUPPFI01.jpit.com: + SVLCTPSUPPFI02.jpit.com: splunk_uf_Windows: hosts: - SVWCTPSUPPFI01.mom.fr: - SVWIPADM01.mom.fr: + SVWCTPSUPPFI01.jpit.com: + SVWIPADM01.jpit.com: splunk_deployement: hosts: - SVLCTPLOGSUP01.mom.fr: + SVLCTPLOGSUP01.jpit.com: splunk_monitoring: hosts: - SVLCTPLOGSUP01.mom.fr: + SVLCTPLOGSUP01.jpit.com: splunk_cluster_master: hosts: - SVLCTPLOGCLM01.mom.fr: + SVLCTPLOGCLM01.jpit.com: diff --git a/Old_Playbooks/Copy_keysV2.yml b/Old_Playbooks/Copy_keysV2.yml index f0d1cb2..f4f554c 100644 --- a/Old_Playbooks/Copy_keysV2.yml +++ b/Old_Playbooks/Copy_keysV2.yml @@ -6,8 +6,8 @@ # tasks: # - name: Copie de la clé du DSMC sur les instances splunk # copy: -# src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" -# dest: /opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/ +# src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" +# dest: /opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.jpit.com/ # owner: root # group: root @@ -19,6 +19,6 @@ - name: Copier le fichier trusted synchronize: mode: pull - src: rsync://SVLCTPLOGSUP01.mom.fr/opt/splunk/etc/auth/distServerKeys/trusted.pem + src: rsync://SVLCTPLOGSUP01.jpit.com/opt/splunk/etc/auth/distServerKeys/trusted.pem dest: /tmp/ - delegate_to: SVLCTPLOGSUP01.mom.fr \ No newline at end of file + delegate_to: SVLCTPLOGSUP01.jpit.com \ No newline at end of file diff --git a/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml b/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml index 9272299..67f1714 100644 --- a/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml +++ b/roles/splunk_deploy/tasks/Backup_Keys_DSMC.yml @@ -5,7 +5,7 @@ #hosts: splunk_deployement copy: src: "/opt/splunk/etc/auth/distServerKeys/trusted.pem" - dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" + dest: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" owner: root group: root remote_src: true \ No newline at end of file diff --git a/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml b/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml index 84d8f64..ce99361 100644 --- a/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml +++ b/roles/splunk_deploy/tasks/Deploy_Keys_to_others.yml @@ -4,8 +4,8 @@ become_user: "{{ privileged_user }}" #hosts: all:!splunk_uf_Linux:!splunk_deployement copy: - src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/" - dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/" + src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.jpit.com/" + dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.jpit.com/" owner: root group: root remote_src: true