16.20 - Setting Up an NFS Environment for NFS Mounted Storage - Data Stream Utility

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

prodname
BAR
Data Stream Architecture
Data Stream Utility
vrm_release
16.20
created_date
September 2019
category
Configuration
Installation
featnum
B035-3153-127K
The nfs-kernel-server version on the server must be compatible with the nfs-client 1.2.1-2.xx.x version installed on the NewSQL 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.