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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2017-09-28 - ColinBarschel
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    BGV All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback