Kerberos Setup

Repo: http://mirror.centos.org/centos/7/os/x86_64/ Install Kerberos Packages: #yum install krb5-server pam_krb5 krb5-workstation 2. Open /etc/krb5.conf - uncomment "realms", "domain_realms" sections and edit with your own server and domains. 3. Open /var/Kerberos/krb5kdc/kadm5.acl - update domain. 4. Create Kerberos database #kdb5_util create -r -s "domain" #systemctl krb5kdc kadmin #firewall-cmd --add-service=Kerberos --permanent #firewall-cmd --add-port=749/tcp --permanent #firewall-cmd --reload #authconfig --enablekrb5 --update … Continue reading Kerberos Setup

Advertisements

Swap LVM Increase

First check from which LV group swap is provisioned from and see if there is space available to increase then follow the below steps. #swapoff -v /dev/VolGroup00/swap #lvextend -L + 5G /dev/VolGroup00/swap #mkswap /dev/VolGroup00/swap #swapon -va

NFSv4 – Read Only File System Issue

From NFS server (10.10.10.9) exported as below: /exports 10.0.0.0/8(ro, no_root_squash, async, fsid=0) /exports/Mount 10.10.10.10/32(rw, no_root_squash, async) On NFS client (10.10.10.10): #mount -vvv -t nfs4 -o rw,no_root_squash,async 10.10.10.9:/ /mnt/temp #cd /mnt/temp #touch test.txt ( showing read-only file system which is fine). #cd /mnt/temp/Mount #touch test.txt ( showing read-only file system which is not ok). Things that … Continue reading NFSv4 – Read Only File System Issue