Red Hat GLOBAL FILE SYSTEM 5.2 Guida di Installazione Pagina 55

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 58
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 54
Variable
Specifies a special reserved name from a list of values (refer to Table 3.5, “CDPN Variable
Values”) to represent one of multiple existing files or directories. This string is not the name
of an actual file or directory itself. (The real files or directories must be created in a separate
step using names that correlate with the type of variable used.)
LinkName
Specifies a name that will be seen and used by applications and will be followed to get to
one of the multiple real files or directories. When LinkName is followed, the destination
depends on the type of variable and the node or user doing the following.
Variable Description
@hostname This variable resolves to a real file or directory named with the
hostname string produced by the output of the following command:
echo `uname -n`
@mach This variable resolves to a real file or directory name with the
machine-type string produced by the output of the following
command: echo `uname -m`
@os This variable resolves to a real file or directory named with the
operating-system name string produced by the output of the
following command: echo `uname -s`
@sys This variable resolves to a real file or directory named with the
combined machine type and OS release strings produced by the
output of the following command: echo `uname -m`_`uname -s`
@uid This variable resolves to a real file or directory named with the
user ID string produced by the output of the following command:
echo `id -u`
@gid This variable resolves to a real file or directory named with the
group ID string produced by the output of the following command:
echo `id -g`
Table 3.5. CDPN Variable Values
Example
In this example, there are three nodes with hostnames n01, n02 and n03. Applications on each
node uses directory /gfs/log/, but the administrator wants these directories to be separate for
each node. To do this, no actual log directory is created; instead, an @hostname CDPN link is
created with the name log. Individual directories /gfs/n01/, /gfs/n02/, and /gfs/n03/ are
created that will be the actual directories used when each node references /gfs/log/.
Example
45
Vedere la pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58

Commenti su questo manuale

Nessun commento