next up previous contents index
Next: Distribution of catalogue Up: Remote access to Previous: CSPACK access to

FATCAT - the dedicated FATMEN server at CERN

 

At CERN, the FATMEN catalogues are stored on the node FATCAT. This is currently an RS6000 which is only used for FATMEN catalogue management. The recommended way of accessing a FATMEN catalogue at CERN is the following:

  1. NFS mount the /fatmen file system
  2. Define environmental variables to point to the directory of interest

An example of how this may be done is shown below.

NFS mounting the /fatmen file system on a Unix platform

mount fatcat:/fatmen /fatmen

NFS mounting the /fatmen file system on a VMS platform

$NFSMOUNT fatcat:"/fatmen" fatmen

Defining the environmental variables on a Unix system

#/bin/ksh
for i in /fatmen/fm*
   do
     typeset -u fatgrp
     fatpath=$i
     fatgrp=`basename $i`
     echo Setting $fatgrp to $fatpath ...
     eval $fatgrp=$fatpath;export $fatgrp
   done

Defining the environmental variables on a VAX/VMS system

$ loop:
$ fatman = f$search("FATMEN:[000000]FM*.DIR")
$ if fatman .eqs. "" then exit
$ fatman = f$parse(fatman,,,"NAME")
$ fatdir = "FATMEN:[''fatman']"
$ write sys$output "Setting ''fatman' to ''fatdir'..."
$ 'fatman' :== 'fatdir'
$ goto loop


Janne Saarela
Mon May 15 09:59:59 METDST 1995