IPA with Replica on RHEL 7.2
Registering Clients to IPA
yum install ipa-client
KRB5_TRACE=/dev/stdout ipa-client-install --enable-dns-updates --mkhomedir --ssh-trust-dns --force-join
systemctl reboot
Building the IPA Cluster
Servers:
- akoya.spurrier.net.au – 192.168.1.26
- nuc1.spurrier.net.au – 192.168.1.27
Install IPA and Configure the Firewall
On each server:
subscription-manager register
subscription-manager attach --pool=8a85f98153dab2f00153dea83bf25daf
subscription-manager repos --enable rhel-7-server-extras-rpms --enable rhel-7-server-rpms
yum make clean
yum repolist
yum groupinstall base
yum update
systemctl reboot
yum install firewalld
systemctl start firewalld.service
systemctl status firewalld.service
systemctl enable firewalld.service
firewall-cmd --permanent --add-port={80/tcp,443/tcp,389/tcp,636/tcp,88/tcp,464/tcp,53/tcp,88/udp,464/udp,53/udp,123/udp}
firewall-cmd --reload
yum install ipa-server bind bind-dyndb-ldap ipa-server-dns
On akoya.spurrier.net.au – 192.168.1.26
hostname
ipa-server-install -r SPURRIER.NET.AU -n spurrier.net.au --setup-dns --forwarder=192.168.1.1 --mkhomedir --ip-address=192.168.1.26 --ssh-trust-dns
kinit admin
/usr/sbin/ipa-replica-conncheck --replica nuc1.spurrier.net.au
ipa-replica-prepare nuc1.spurrier.net.au --ip-address 192.168.1.27
scp /var/lib/ipa/replica-info-nuc1.spurrier.net.au.gpg root@nuc1:
On nuc1.spurrier.net.au – 192.168.1.27
hostname
ipa-replica-conncheck --master akoya.spurrier.net.au
ipa-replica-install --mkhomedir --ip-address=192.168.1.27 --ssh-trust-dns --setup-dns --forwarder=192.168.1.1 /root/replica-info-nuc1.spurrier.net.au.gpg
No comments:
Post a Comment