The HLT nodes and CCPCs use some common directories shared via NFS. The bgvctrl acts as the NFS server
some online documentation:
http://computernetworkingnotes.com/network-administration/how-to-configure-nfs-server-in-rhel-6.html
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-nfs.html#s2-nfs-how-daemons
# # # NFS server
# install packages
yum groupinstall " NFS file server"
# verify that the NFS services are installed
rpm -aq | grep nfs
rpm -aq | grep rpc
#
mkdir /nfsexports
mkdir /nfsexports/group
mkdir /nfsexports/sw
mkdir /nfsexports/home
chown -R root:bgv /nfsexports
chmod -R 775 /nfsexports
# create the exports file:
cat /etc/exports
/nfsexports/group 10.10.10.0/24(rw,sync,no_root_squash)
/nfsexports/sw 10.10.10.0/24(ro,async,no_root_squash)
/nfsexports/home 10.10.10.0/24(rw,sync,no_root_squash)
/nfsexports/ccpc 10.10.10.0/24(rw,sync,no_root_squash)
/nfsexports/scratch 10.10.10.0/24(rw,sync,no_root_squash)
service rpcbind start
service nfs start
# permanent after boot
chkconfig --list nfs
chkconfig nfs on
chkconfig rpcbind on
# check mounts with
showmount -e
For the NFS clients (HLT nodes and CCPCs)
# # # NFS clients
Check to see the available NFS mounts from the server:
# showmount -e 10.10.10.254
Export list for 10.10.10.254:
/nfsexports/scratch 10.10.10.0/24
/nfsexports/ccpc 10.10.10.0/24
/nfsexports/home 10.10.10.0/24
/nfsexports/sw 10.10.10.0/24
/localdisk/group 10.10.10.0/24
# then add the corresponding lines in the /etc/fstab file. Like this:
10.10.10.254:/nfsexports/group /group nfs rw,hard,intr,nfsvers=3 0 0
10.10.10.254:/nfsexports/sw /sw nfs rw,hard,intr,nfsvers=3 0 0
10.10.10.254:/nfsexports/home /home nfs rw,hard,intr,nfsvers=3 0 0
# make sure the mount directories are existing
mkdir /group
mkdir /sw
mkdir /home
# then mount them
mount -a