Procedure:New host filesystems

From OACISS Systems Wiki
Revision as of 02:05, 4 February 2020 by Nic-systems (talk | contribs) (Created page with "== Prerequisites == Make sure the following requirements are met on the new system: * Packages ** autofs ** pam_ldap ** nss_ldap ** authconfig ** openldap-clients (this sho...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prerequisites

Make sure the following requirements are met on the new system:

  • Packages
    • autofs
    • pam_ldap
    • nss_ldap
    • authconfig
    • openldap-clients

(this should be the case if LDAP has been setup first)

  • Network
    • On Storage Network (172.17.x.x IP address)
    • 9000 byte MTU Jumbo frames (for best performance; see note below)


Create Storage.local AutoFS map file

Note: If your host does not support jumbo frames, replace 'udp' in these lines with 'tcp', or filesystem operations on NFS paths may fail.

cat <<EOF >/etc/auto.storage
users       -fstype=nfs,hard,intr,async,rsize=32768,wsize=32768,nfsvers=3,udp    172.17.202.254:/vol/users
packages   -fstype=nfs,hard,intr,async,rsize=32768,wsize=32768,nfsvers=3,udp     172.17.202.254:/vol/packages/ARCH
EOF

ARCH is one of: AIX-5.2 AIX-5.3 AIX-6 arm64 fedora20 i386 ia64 ppc64 ppc64-970 ppc64le x86_64.rh5 x86_64.rh6 x86_64.rh6-nic x86_64.rh7

Nearly all hosts are currently either x86_64* or ppc64le (Greek god machines, Power8 & 9)

Append Netapp maps to AutoFS master map

cat <<EOF >>/etc/auto.master
/storage     /etc/auto.storage        --timeout=600 --ghost
EOF

Enable storage mounts and add path links

mkdir /storage
service autofs reload
ln -sf /storage/packages/ /usr/local/packages
ln -sf /storage/users/ /home/users