diff options
author | Rob Crittenden <rcritten@redhat.com> | 2013-03-01 15:02:14 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2013-03-13 10:32:36 -0400 |
commit | 9005b9bc8aac7c1381aadb7d17107ebbebae005d (patch) | |
tree | 15c0b3ce22d95e265130bf8fcb815bdf79e6b4dc /ipaserver/install/dsinstance.py | |
parent | 63407ed477035765dda38fbead1353d4f47ac26a (diff) | |
download | freeipa.git-9005b9bc8aac7c1381aadb7d17107ebbebae005d.tar.gz freeipa.git-9005b9bc8aac7c1381aadb7d17107ebbebae005d.tar.xz freeipa.git-9005b9bc8aac7c1381aadb7d17107ebbebae005d.zip |
Extend ipa-replica-manage to be able to manage DNA ranges.
Attempt to automatically save DNA ranges when a master is removed.
This is done by trying to find a master that does not yet define
a DNA on-deck range. If one can be found then the range on the deleted
master is added.
If one cannot be found then it is reported as an error.
Some validation of the ranges are done to ensure that they do overlap
an IPA local range and do not overlap existing DNA ranges configured
on other masters.
http://freeipa.org/page/V3/Recover_DNA_Ranges
https://fedorahosted.org/freeipa/ticket/3321
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r-- | ipaserver/install/dsinstance.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 23843d75..c744c9ca 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -218,6 +218,7 @@ class DsInstance(service.Service): self.step("adding master entry", self.__add_master_entry) self.step("configuring Posix uid/gid generation", self.__config_uidgid_gen) + self.step("adding replication acis", self.__add_replication_acis) self.step("enabling compatibility plugin", self.__enable_compat_plugin) self.step("tuning directory server", self.__tuning) @@ -253,7 +254,6 @@ class DsInstance(service.Service): self.step("adding default layout", self.__add_default_layout) self.step("adding delegation layout", self.__add_delegation_layout) - self.step("adding replication acis", self.__add_replication_acis) self.step("creating container for managed entries", self.__managed_entries) self.step("configuring user private groups", self.__user_private_groups) self.step("configuring netgroups from hostgroups", self.__host_nis_groups) @@ -284,7 +284,6 @@ class DsInstance(service.Service): self.__common_setup(True) self.step("setting up initial replication", self.__setup_replica) - self.step("adding replication acis", self.__add_replication_acis) # See LDIFs for automember configuration during replica install self.step("setting Auto Member configuration", self.__add_replica_automember_config) self.step("enabling S4U2Proxy delegation", self.__setup_s4u2proxy) |