3.7.0 HP StorageWorks HP Scalable NAS File Serving Software administration guide - HP Scalable NAS 3.7 for Linux (AG513-96002, October 2009)

2. Populate the directories with the data from the /oracle/etc directory:
cp -r /oracle/etc/* /oracle/serv1/etc/
cp -r /oracle/etc/* /oracle/serv2/etc/
cp -r /oracle/etc/* /oracle/serv3/etc/
3. Edit the files in the server-specific /etc directories as appropriate.
4. Create the CDSL:
ln -s {HOSTNAME}/etc /oracle/etc
The ls -l output looks like this on each server:
ls -l /oracle/etc
lrwxrwxrwx 1 root root 14 Jun 16 16:40 /oracle/etc -> {HOSTNAME}/etc
If you are logged in on serv1 and access the /oracle/etc symbolic link, the
HOSTNAME keyword resolves to /oracle/serv1/etc. Similarly, if you are on
serv2, the /oracle/etc symbolic link points to /oracle/serv2/etc, and on
serv3 it points to /oracle/serv3/etc.
Locate a target by its machine type
This example uses two servers, serv1 and serv2, that have different machine types.
(The uname -m command returns a different value for each type.) 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/<machine-type1>/bin
/oracle/<machine-type1>/sbin
/oracle/<machine-type2>/bin
/oracle/<machine-type2>/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:
HP Scalable NAS File Serving Software administration guide 157