Download GLADE User's Guide

Transcript
Chapter 3: Getting Started With GLADE
39
PRAGMA ::=
pragma Remote_Shell
([Command =>] STRING_LITERAL,
[Options =>] STRING_LITERAL);
The Command parameter indicates the name of the remote shell command name and the
Options parameter corresponds to the additional flags to pass to the remote shell command.
3.5.9 Pragma Boot Location
When a partition starts executing, one of the first steps consists in a connection to
the boot partition where the boot server is located (see hundefinedi [The GARLIC PCS],
page hundefinedi). This pragma provides one or several locations in order to get a connection
with the boot partition.
PRAGMA ::=
PRAGMA_WITH_NAME_AND_DATA
| PRAGMA_WITH_LOCATION
| PRAGMA_WITH_LOCATION_LIST
PRAGMA_WITH_NAME_AND_DATA ::=
pragma Boot_Location
([Protocol_Name =>] STRING_LITERAL,
[Protocol_Data =>] STRING_LITERAL);
PRAGMA_WITH_LOCATION ::=
pragma Boot_Location ([Location =>] LOCATION);
PRAGMA_WITH_LOCATION_LIST ::=
pragma Boot_Location ([Locations =>] LOCATION_LIST);
This boot server location can be concatenated into a single string to be used as a command line option or an environment variable (see hundefinedi [Partition Command Line
Options], page hundefinedi).
Note: pragma Boot Server is now obsolete. It is recommended to use pragma
Boot Location. This wording is more consistent with the rest of the configuration language (see Self Location hundefinedi [Partition Option self location], page hundefinedi and
Data Location hundefinedi [Partition Option data location], page hundefinedi).
3.5.10 Partition Attribute Self Location
Except for the boot partition on which the boot server is located, a partition is reachable
through a dynamically computed location (for instance, the partition looks for a free port
when the protocol is tcp). The user may want such a partition to be reachable from a given
location, especially if the user wants to make this partition a boot mirror. To do so, he can
force the partition location with self location feature.