Chapter 5. Installation
58
/export *(rw,async,no_root_squash)
3. Export the /export directory.
# exportfs -a
4. Edit the /etc/sysconfig/nfs file.
# vi /etc/sysconfig/nfs
Uncomment the following lines:
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
STATD_OUTGOING_PORT=2020
5. Edit the /etc/sysconfig/iptables file.
# vi /etc/sysconfig/iptables
Add the following lines at the beginning of the INPUT chain:
A INPUT -m state --state NEW -p udp --dport 111 -j ACCEPT
A INPUT -m state --state NEW -p tcp --dport 111 -j ACCEPT
A INPUT -m state --state NEW -p tcp --dport 2049 -j ACCEPT
A INPUT -m state --state NEW -p tcp --dport 32803 -j ACCEPT
A INPUT -m state --state NEW -p udp --dport 32769 -j ACCEPT
A INPUT -m state --state NEW -p tcp --dport 892 -j ACCEPT
A INPUT -m state --state NEW -p udp --dport 892 -j ACCEPT
A INPUT -m state --state NEW -p tcp --dport 875 -j ACCEPT
A INPUT -m state --state NEW -p udp --dport 875 -j ACCEPT
A INPUT -m state --state NEW -p tcp --dport 662 -j ACCEPT
A INPUT -m state --state NEW -p udp --dport 662 -j ACCEPT
6. Run the following commands:
# service iptables restart
# service iptables save
7. If NFS v4 communication is used between client and server, add your domain to /etc/idmapd.conf
on both the hypervisor host and Management Server.
# vi /etc/idmapd.conf
Remove the character # from the beginning of the Domain line in idmapd.conf and replace the
value in the file with your own domain. In the example below, the domain is company.com.