Set Up an NFS Environment for NFS Mounted Storage | Teradata DSA | DSU - Setting Up an NFS Environment for NFS Mounted Storage - BAR - Data Stream Architecture - Data Stream Utility

Teradata® DSA - DSU Installation, Configuration, and Upgrade Guide

Product
BAR
Data Stream Architecture
Data Stream Utility
Release Number
17.00
Published
August 2020
Language
English (United States)
Last Update
2020-08-31
dita:mapPath
ypy1575933475765.ditamap
dita:ditavalPath
itl1576617711059.ditaval
dita:id
B035-3153
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities
PrerequisiteThe nfs-kernel-server version on the server must be compatible with the nfs-client 1.2.1-2.xx.x version installed on the SQL Engine / Teradata Database node.
You can provide and manage a server that can serve an NFS environment. This procedure creates NFS mount points that are the target folders for backup files created by DSU backup jobs.
If the NFS server connection is interrupted or not running, ClientHandler daemon services can hang. If this occurs, verify that the NFS server connection is valid. If you restart the NFS server or delete or alter the mount directory on the server, restart the NFS service.
  1. Verify that the nfs-kernel-server rpm package is installed on the NFS server:
    # rpm -qi nfs-kernel-server
  2. Verify that the NFS server is running:
    /etc/init.d/nfsserver status
  3. Edit /etc/idmapd.conf to change the domain to the domain name of the system.
    The server domain must match the client domain.
  4. Type rcnfsserver restart to apply your changes to /etc/idmapd.conf.
  5. Edit /etc/exports to set up NFS client permissions:
    /path/to/shared/directory hostname(rw,root_squash,no_subtree_check,anonuid=###)
    where ### is the userid of the Linux user running ClientHandler. The userid is provided during installation.
    /dsu/test/path1 bsrvxx(rw,root_squash,no_subtree_check,anonuid=600)
    Include an entry to set up permissions for all DSA media server systems. If the DSC server is not the NFS server, it should also be included as a client server entry in /etc/exports.
  6. Run exportfs -avr to apply your changes in /etc/exports.
  7. Edit /etc/idmapd.conf to change the domain to the domain name of the system.
    NFS client auto-mounts to the NFS server during ClientHandler start up, with a prompt to enter the dscuser userid. The userid should match the anonuid field configured in the NFS server.

    The client domain must match the server domain.

  8. Type rcnfs restart to apply your changes to /etc/idmapd.conf.