There is a variety of ways of mounting DCSLIB onto your unix or linux
system. This page attempts to describe a few of them.
The following systypes are currently on the production DCSLIB servers:
decalpha
linux-6
linux-7
rhel-3-i686
sgi-n32
sun4-5
solaris-2.6
The methods
Static mounting
Pro's:
The simplest method in most cases
Con's:
Poor fault tolerance: If the one DCSLIB server you've
selected goes down, and you reboot, you'll still be stuck if
the DCSLIB server hasn't come back up yet
It isn't always clear which file to edit, to folks without
sysadmin experience. This method actually comprises a class
of methods that vary from OS to OS.
How to do it:
mkdir /dcs /dcslib
Locate your "fstab" file, or the equivalent. It'll most
likely be /etc/fstab, /etc/vfstab, /etc/filesystems,
/etc/checklist, or something along those lines.
Edit this file and add something like, for example:
Moderate fault tolerance - you can usually reboot to change
to a different DCSLIB server if you need to, as long as you
can reach any of the DCSLIB servers at reboot time.
Con's:
Moderate complexity
Moderate fault tolerance
How to do it:
Determine your default runlevel. You can frequently get
this with the "who -r" command
Copy S14dyn-dcslib into, for
example, /etc/rc3.d, if your default runlevel is 3. Change
the "systype" in the script to whatever you need - the
version presented is for Solaris systems, which the script
knows as "sun4-5".
On some systems, you will need to chmod +x this file, to
make it executable (especially on linux systems).
Reboot, or run the command manually.
Automounting DCSLIB
Pro's:
The best fault tolerance: as long as you can get a network
connection to any of the production DCSLIB servers, you should
be able to fail over to another one transparently.
Con's:
Probably the most complicated method
Doesn't work on all that many OS's. DCS uses this method
on recent releases of Solaris, and rumor has it this can be
done on recent releases of Redhat. IRIX and Tru64 likely
cannot.
How to do it:
Put a line like "/- auto_dcslib" in /etc/auto_master
Put a lines like the following into your /etc/auto_dcslib
file: