aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/setup_ipa_replicas.md
diff options
context:
space:
mode:
Diffstat (limited to 'personal_infra/setup_ipa_replicas.md')
-rw-r--r--personal_infra/setup_ipa_replicas.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/personal_infra/setup_ipa_replicas.md b/personal_infra/setup_ipa_replicas.md
new file mode 100644
index 00000000..95c9321b
--- /dev/null
+++ b/personal_infra/setup_ipa_replicas.md
@@ -0,0 +1,24 @@
+Update and reboot all IPA servers: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org/thread/2WMK5QOAI4TYF23UKODW3M6WB65BJCHT/
+
+If the host has a firewall (e.g. physical or virtual, not LXC container):
+
+```
+firewall-cmd --permanent --add-port={80/tcp,443/tcp,389/tcp,636/tcp,88/tcp,88/udp,464/tcp,464/udp,53/
+firewall-cmd --reload
+```
+
+Join the server to IPA:
+
+```
+ipa-client-install -p principal --domain=ipa.pdp7.net -W --mkhomedir --ntp-pool=pool.ntp.org --force-join
+```
+
+Replace `--ntp-pool` with `-N` if this is a host without clock (e.g. an LXC container).
+Remove `--force-join` if you have never added this host to IPA.
+
+```
+ipa-replica-install --ip-address=thishostaddress -n ipa.pdp7.net -P alex --setup-ca --setup-dns --forwarder=upstreamdnsforthishost
+```
+
+FreeIPA doesn't seem to like having different versions. When updating, when you add a new server with a new version, remove the rest of servers.
+You might have issues joining new replicas otherwise.