Project

General

Profile

Actions

Demande #1025

closed

Demande #1035: mettre un puppetmaster en production

creation d'une zone interne

Added by Loïc Dachary about 12 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normale
Assignee:
Category:
Task
Target version:
Start date:
11/15/2012
Due date:
11/28/2012
% Done:

100%

Estimated time:
2:00 h
Spent time:
Difficulté:
2 Facile

Description

En raison de #1021 il faut trouver une solution.

.vm.april-int-


Related issues 1 (0 open1 closed)

Related to Admins - Anomalie #1021: conflit de zones master pour april-intRejetéLoïc Dachary11/14/201211/28/2012

Actions
Actions #1

Updated by Loïc Dachary about 12 years ago

  • Assignee set to Loïc Dachary
  • % Done changed from 0 to 30
  • Estimated time set to 2:00 h
  • Parent task set to #1035
Actions #2

Updated by Loïc Dachary about 12 years ago

sur le vserver dns de pavot.april.org

diff --git a/bind/zones-int.conf b/bind/zones-int.conf
index c9eb189..fe5a500 100644
--- a/bind/zones-int.conf
+++ b/bind/zones-int.conf
@@ -43,6 +43,12 @@ view "internal" {
                 allow-transfer { 192.168.3.1; 192.168.1.12; 88.191.250.11; 88.191.250.4;};
         };

+        zone "vm.april-int" {
+                type master;
+                file "/etc/bind/zones/masters/vm.april-int";
+                allow-transfer { 192.168.3.1; 192.168.1.12; 88.191.250.11; 88.191.250.4;};
+        };
+
         zone "pavot.april-int" {
                 type master;
                 file "/etc/bind/zones/masters/pavot.april-int";

diff --git a/bind/zones/masters/vm.april-int b/bind/zones/masters/vm.april-int
new file mode 100644
index 0000000..257c2e6
--- /dev/null
+++ b/bind/zones/masters/vm.april-int
@@ -0,0 +1,15 @@
+$TTL 1D
+
+@       IN SOA pavot.april-int. hostmaster.april.org. (
+        2012111901      ; Serial
+        3H              ; Refresh
+        1H              ; Retry
+        1W              ; Expire
+        1D              ; Maximum
+        )
+
+        IN      NS      pavot.april.org.
+
+controller             IN      A       192.168.4.1
+jenkins                        IN      A       192.168.4.3
+puppetmaster           IN      A       192.168.4.8

Actions #3

Updated by Loïc Dachary about 12 years ago

  • % Done changed from 30 to 40

sur le vserver dns2 sur ns1.april.org

commit ff0976e82c086a34004c4cdfbbe30b4207a8371e
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Nov 19 18:44:13 2012 +0100

    Définition de la zone vm.april-int https://agir.april.org/issues/1025

diff --git a/bind/named.conf.local b/bind/named.conf.local
index 0cb0d4f..5bc174d 100644
--- a/bind/named.conf.local
+++ b/bind/named.conf.local
@@ -64,6 +64,13 @@ view "internal" {
                allow-transfer { none; };
         };

+        zone "vm.april-int" {
+                type slave;
+               file "/var/cache/bind/zones/slaves/vm.april-int";
+               masters{192.168.2.12;};
+               allow-transfer { none; };
+        };
+
         zone "pavot.april-int" {
                 type slave;
                 file "/var/cache/bind/zones/slaves/pavot.april-int";

Actions #5

Updated by Loïc Dachary about 12 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 40 to 100
Actions #6

Updated by Loïc Dachary about 12 years ago

Modification de l'alerte zabbix du controller openstack pour utiliser controller.vm.april-int ce qui vérifie la bonne santé de la zone par effet de bord.

Actions #7

Updated by Quentin Gibeaux over 5 years ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF