hidden:NFS server: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with " The directory on the HPSS servers for the configuration files is: <b>/hpssconfig/config</b> With changing to this directory the automount will be active. The mount will be ...")
 
mNo edit summary
Line 5: Line 5:
==Configuration on the HPA server (172.18.95.59)==
==Configuration on the HPA server (172.18.95.59)==


* the directory for the config files was created: <b>/export/HPSS</b>
* the directory for the config files was created: <b>/export/hpa</b>


* The file /etc/exports was modified:
* The file /etc/exports was modified:


/export/HPSS 172.18.95.0/22(rw,no_subtree_check,sync,wdelay)
/export/hpa 172.18.95.0/22(rw,no_subtree_check,no_acl,no_root_squash)


* nfs-utils was updated with yum
* nfs-utils was updated with yum
Line 33: Line 33:
<b>/etc/auto.master</b>
<b>/etc/auto.master</b>


/hppsadmin /etc/auto.hpssadmin
/mnt/nfs /etc/auto.hpa


<b>/etc/auto.hpssconfig</b>
<b>/etc/auto.hpa</b>


# Config files stored on HPA. Export using NFS V4 only
backup -fstype=nfs 172.18.95.59:/export/HPSS/backup
config -fstype=nfs 172.18.95.59:/export/HPSS/config
hpa -fstype=nfs4 hpa.lsdf.kit.edu:/export/hpa
software -fstype=nfs 172.18.95.59:/export/HPSS/software


Starting autofs - <b>/etc/init.d/autofs start</b>
Starting autofs - <b>/etc/init.d/autofs start</b>

Revision as of 13:49, 7 June 2016

The directory on the HPSS servers for the configuration files is: /hpssconfig/config
With changing to this directory the automount will be active.
The mount will be unmounted after 3 minutes without access.

Configuration on the HPA server (172.18.95.59)

  • the directory for the config files was created: /export/hpa
  • The file /etc/exports was modified:
      /export/hpa 172.18.95.0/22(rw,no_subtree_check,no_acl,no_root_squash)
  • nfs-utils was updated with yum
  • nfs was startetd with systemctl start nfs.service

Configuration on the HPSS nodes

  • autofs was installed
   yum install autofs

alternative

   cd /tmp 
wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.7/x86_64/os/Packages/hesiod-3.1.0-19.el6.x86_64.rpm wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/6.4/x86_64/os/Packages/autofs-5.0.5-73.el6.x86_64.rpm
rpm -ivh hesiod-3.1.0-19.el6.x86_64.rpm rpm -ivh autofs-5.0.5-73.el6.x86_64.rpm

for the configuration the following files was changed:

/etc/auto.master

 /mnt/nfs   /etc/auto.hpa

/etc/auto.hpa

 # Config files stored on HPA. Export using NFS V4 only
 hpa     -fstype=nfs4     hpa.lsdf.kit.edu:/export/hpa

Starting autofs - /etc/init.d/autofs start