Open System Services NFS SCF Reference Manual

SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual—522582-001
2-15
Examples
Examples
The following command adds a LAN object named LAN0 that runs on primary
processor 2 with an execution priority of 170. If the primary processor fails and the
LAN interface process is restarted, the LAN interface process will run on processor 3.
The LAN interface process name is $LAN0 and the program name is
$SYSTEM.ZOSSNFS.NFSLAN. The histogram statistics are collected in three
buffers—messages less than or equal to 512 bytes, messages less than or equal to 1024
bytes, and messages greater than 1024 bytes:
->ADD LAN $ZNFS.LAN0, CPU 2, BACKUP 3 &
->, PRI 170, PROCESS $LAN0 &
->, PROGRAM $SYSTEM.ZOSSNFS.NFSLAN &
->, HISTOGRAM (512, 1024)
The next command adds a LAN object named NFSLAN that runs on primary processor
1 with priority 170 and program name $SYSTEM.ZOSSNFS.NFSLAN. The LAN
interface process runs without a restartable process:
->ADD LAN $ZNFS.NFSLAN, CPU 1, PRI 170, PROCESS $LAN0 &
->, PROGRAM $SYSTEM.ZOSSNFS.NFSLAN
ADD NETGROUP Command
The ADD NETGROUP command adds a NETGROUP object to the OSS NFS
subsystem.
A NETGROUP object defines a group of host systems within specified network
domains. NETGROUP objects can be used to specify the access list associated with
EXPORT objects.
The ADD NETGROUP command has the following syntax:
For a NETGROUP object, attribute-spec can be any of:
NETGROUP netgroup-name
specifies the name of the NETGROUP object to be added. NETGROUP objects are
identified by a case-insensitive name containing 1 to 64 ASCII characters, excluding
ASCII NUL.
netgroupx-name
specifies the name of another netgroup whose members are also members of the
netgroup you are defining. You cannot define netgroups recursively.
ADD NETGROUP netgroup-name [ [ , attribute-spec... ]
[ netgroupx-name ]
[ ( [ host-name ] , [ user-name ] , [ domain-name ] ) ]