Open System Services NFS Management and Operations Guide

PROGRAM $SYSTEM.ZOSSNFS.NFSSVRHP,&
STYPE OSS,&
PRI 190
NOTE: The root server must be started after the OSS root fileset is started. For maximum
performance, the OSS NFS QIO monitor must also be started.
Adding USER Objects
To add a USER object, first add the user’s NonStop user ID (See “USER Object” (page 29)) to the
file-security database using either Safeguard or a third-party product such as CA-Unicenter. For
examples of this process, see the Open System Services Management and Operations Guide.
Once the OS user ID is configured, use the SCF ADD USER command to establish a mapping
between a OS user ID and an OSS NFS client user.
For example, these SCF command maps the OSS NFS client user ID 25 in group 600 to the OS
user ID represented by SALES.FRED:
ADD USER fred, USERID 25, GROUPID 600, ALIAS OSS SALES.FRED
This SCF command maps the OSS NFS client user root to the OS user ID SUPER.SUPER:
ADD USER root, USERID 0, GROUPID 0, ALIAS OSS SUPER.SUPER,&
COMMENT "Super ID"
To give the root user the privileges of the super ID, issue this SCF command:
ALTER SERVER ROOT, ROOT-USER-OK TRUE
For more information on ROOT-USER-OK, see the ALTER SERVER command in the Open System
Services NFS SCF Reference Manual.
Adding EXPORT Objects
This SCF command makes the root (/”) fileset available to all users:
ASSUME $ZNFS
add export /
NFS client workstation users can then issue mount commands that associate a mount point on the
client workstation with this fileset. Before issuing the mount command, however, the client
workstation user must create the mount point for the fileset. For example:
mkdir /nfs
mount -t nfs nonstop_server:/ /nfs
Starting the OSS NFS Objects
These SCF commands start up the LAN and OSS NFS server processes:
ASSUME $ZNFS
START SERVER ROOT
START LAN LAN
Making PCNFSD Exported Printers Available
This topic gives examples for configuring the PCNFSD printers and running the PCNFSD process.
PCNFSD printers correspond to local or remote spooler locations. PCNFSD is not restricted to
providing a single spooler location.
Creating the PCNFSD Configuration File
Before running PCNFSD, create or modify the PCNFSD configuration file. This file contains PCNFSD
printer-configuration information.
The PCNFSD configuration file is an EDIT file that can have any Guardian filename you find
convenient: for example, $SYSTEM.NFSCONF.ZPCDCONF. The format for PCNFSD configuration
file entries is:
22 OSS NFS Quick Start