Project

General

Profile

Tâche #20859

Scénario #20629: Traitement express MEN (23-25)

"failover peer" non appliqué dans les pools.

Added by Philippe Carre over 3 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/20/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Dans dhcpd.conf, la ligne
failover peer "nom_de_la_grappe";
n'est pas appliquée dans les pools concernés. Et même si les valeurs activer_dhcp_failover et dhcp_pool_use_failover = oui .

La ligne suivante corrige le pb :

%set %%subnets[(%%str(%%subnet), %%subnet.adresse_netmask_dhcp)].setdefault('ranges', {})[(%%subnet.ip_basse_dhcp, %%subnet.ip_haute_dhcp)] = {'restriction': %%subnet.interdire_hotes_inconnus, 'lease_default': %%subnet.dhcp_lease_default, 'lease_max': %%subnet.dhcp_lease_max, 'use_failover': %%getattr(%%subnet, 'dhcp_pool_use_failover', 'non'), 'dns': [dns for dns in [%%subnet.adresse_ip_dns_dhcp, %%subnet.adresse_ip_dns_secondaire_dhcp] if dns is not None], 'domain': %%subnet.nom_domaine_dhcp, 'gateway': %%subnet.adresse_ip_gw_dhcp, 'ntp': %%subnet.adresse_ip_ntp_dhcp, 'wins': [wins for wins in [%%subnet.adresse_ip_wins_primaire_dhcp, %%subnet.adresse_ip_wins_secondaire_dhcp] if wins is not None]}

Ligne 95 , template dhcpd.conf

Associated revisions

Revision bc9a9974 (diff)
Added by Benjamin Bohard about 3 years ago

Récupérer la valeur de la bonne variable pour activer le failover.

Ref #20859

History

#1 Updated by Benjamin Bohard about 3 years ago

  • Tracker changed from Demande to Tâche
  • Status changed from Nouveau to En cours
  • Assigned To set to Benjamin Bohard
  • Estimated time set to 1.00 h
  • Parent task set to #20629
  • Remaining (hours) set to 1.0

#2 Updated by Benjamin Bohard about 3 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

#3 Updated by Joël Cuissinat about 3 years ago

Cette modification ne s’applique pas avant 2.6.2...

#4 Updated by Scrum Master about 3 years ago

  • Project changed from eole-dhcp to Distribution EOLE
  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF