3.1.2 Matrix Server Administration Guide

Chapter 7: Configure PSFS Filesystems 117
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
it returns alpha. We need separate /oracle/bin and /oracle/sbin directories
for each machine type. You can use CDSLs to simplify accessing these
machine-specific directories.
1. Create a subdirectory in /oracle for each machine type and then create
a bin and sbin directory in the new machine-type directories. You now
have the following directories in the /oracle PSFS filesystem:
/oracle/i386/bin
/oracle/i386/sbin
/oracle/alpha/bin
/oracle/alpha/sbin
2. Copy the appropriate binaries to the new bin and sbin directories.
3. Create CDSLs for /oracle/bin and /oracle/sbin:
ln -s {MACH}/bin /oracle/bin
ln -s {MACH}/sbin /oracle/sbin
The ls -l output looks like this on each server:
ls -l /oracle/*bin
lrwxrwxrwx 1 root root 10 Jun 16 16:40 /oracle/bin -> {MACH}/bin
lrwxrwxrwx 1 root root 11 Jun 16 16:40 /oracle/sbin -> {MACH}/sbin
When you log in on serv1, the i386 machine, the /oracle/bin and /oracle/sbin
symbolic links resolve to /oracle/i386/bin and /oracle/i386/sbin. On serv2,
the alpha machine, the links resolve to /oracle/alpha/bin and
/oracle/alpha/sbin.
Locate a Target That Is Not on a PSFS Filesystem
In the earlier examples, both the symbolic links and the targets were on
PSFS filesystems. However, only the symbolic link must be on a PSFS
filesystem. The target can be located on a non-PSFS filesystem.
This example uses a CDSL to link the /oracle/etc directory on the PSFS
filesystem to a non-PSFS directory on serv1 or serv2.
1. On each server, create a target directory in /etc that has the same name
as the servers hostname:
mkdir /etc/serv1.xvz.com
mkdir /etc/serv2.xvz.com