Digital Unix (OSF/1) version 4.0d
NIS configuration
a) To configure the system for NIS run the “nissetup” utility as shown below
c) Issue the ypinit command as shown below

Set up “/export/home/users” directory NFS mount
Most users’ home directories will be on the main file server.
Carry out the configuration actions below to enable users to access
their home directories automatically
f) Create the /export/home/users mountpoint using the command
“mkdir –p /export/home/users” Note that any
“local” contents of the directory
“/export/home/users” will not be visible once this file
system is mounted. Therefore check that
“/export/home/users” contains no data at this time. If it
does take steps to preserve or delete it
g) Add an entry into the file /etc/fstab as shown below
mainfileserver.domain.local:/users /export/home/users nfs rw,soft,bg,intr 0 0
h) Issue the command “mount –a” which should mount
the new file system entry added in the previous step. You can ignore
messages pertaining to filesystems that are already mounted
i) You should now be able “cd” to the/export/home/users
directory. The individual user directories should be visible
j) If the directory /home exists create a softlink in this directory pointing to /export/home/users as shown below
#ln –s /export/home/users /home/users
Set up NAS server “/export/home/group1” NFS mount
Several key directories are
mapped to the “U” drive on the NAS server. To enable their
use it is necessary to map the NAS server “U” drive to the
“/export/home/hg1” NFS mounted filesystem as shown
below
j) Create the /export/home/hg1 mountpoint using the command “mkdir –p /export/home/hg1”
k) Add an entry into the file /etc/fstab as shown below
mainfileserver.domain.local:/homegroup1 /export/home/hg1 nfs rw,soft,bg,intr 0 0
l) Issue the command “mount –a” which should mount
the new file system entry added in the previous step. You can ignore
messages pertaining to filesystems that are already mounted
m) Ensure that if the directory “/export/home/group1”
exists that its contents are either unneeded or saved. It is suggested
that it be re-named to saved_group1
n) Create a soft link for /export/home/group1 and /home/group1 pointing to /export/home/hg1/ using a command of the form shown below
#ln –s /export/home/hg1/osf4 /home/group1
#ln –s /export/home/hg1/osf4 /export/home/group1
o) You should now be able “cd” to the /home/group1 directory.
Set up “/export/home/source” directory NFS mount
The source directory is on the main file server. This must be mounted on the /export/home/source directory
j) Create the /export/home/source mountpoint using
the command “mkdir –p /export/home/source” Note that
any “local” contents of the directory
“/export/home/source” will not be visible once this file
system is mounted. Therefore check that
“/export/home/source” contains no data at this time. If it
does take steps to preserve or delete it
k) Add an entry into the file /etc/fstab as shown below
mainfileserver.domain.local:/source /export/home/source nfs rw,soft,bg,intr 0 0
l) Issue the command “mount –a”
which should mount the new file system entry added in the previous
step. You can ignore messages pertaining to filesystems that are
already mounted
m) Create a softlink to point /home/source at /export/home/source as shown below
#ln –s /export/home/source /home/source
Set up “/export/home/qatests” directory NFS mount
The qatests directory is on the main file server. This must be mounted on the /export/home/source directory
e) Create the /export/home/qatests mountpoint using
the command “mkdir –p /export/home/qatests” Note that
any “local” contents of the directory
“/export/home/qatests” will not be visible once this file
system is mounted. Therefore check that
“/export/home/qatests” contains no data at this time. If it
does take steps to preserve or delete it
f) Add an entry into the file /etc/fstab as shown below
mainfileserver.domain.local:/qatests /export/home/qatests nfs rw,soft,bg,intr 0 0
g) Issue the command “mount –a”
which should mount the new file system entry added in the previous
step. You can ignore messages pertaining to filesystems that are
already mounted
h) Create a softlink to point /home/qatests at /export/home/qatests as shown below
#ln –s /export/home/qatests /home/qatests
Set up “/export/home/hg1output” directory NFS mount
The qaoutput directory is on the main file server. This must be mounted on the /export/home/source directory
e) Create the /export/home/hg1output mountpoint using the command “mkdir –p /export/home/hg1output”
f) Add an entry into the file /etc/fstab as shown below
mainfileserver.domain.local:/qaoutput /export/home/hg1output nfs rw,soft,bg,intr 0 0
g) Issue the command “mount –a”
which should mount the new file system entry added in the previous
step. You can ignore messages pertaining to filesystems that are
already mounted
h) Create a soft link for /export/home/group1/output and /home/group1/output pointing to /export/home/hg1output/
using a command of the form shown below. Note to obtain the correct
permissions to create this link it will be necessary to
“su” to the build user as shown below
#su build
$ln –s /export/home/hg1output/osf4 /export/home/group1/output
Set up “/export/home/unixcfg” directory NFS mount
The unixcfg directory area is on the main file server. This must be mounted on the /export/home/unixcfg directory
p) Create the /export/home/unixcfg mountpoint using the command “mkdir –p /export/home/unixcfg”
q) Add an entry into the file /etc/fstab as shown below
mainfileserver.domain.local:/unixcfg /export/home/unixcfg nfs rw,suid,soft 0 0
r) Issue the command “mount
–a” which should mount the new file system entry added in
the previous step. You can ignore messages pertaining to filesystems
that are already mounted
Next (Maintenance)
Back to menu