Please note that the procedure described below does not use rsh classes, as does the normal procedure described in "Host and vault objects," in the Basic User Manual. The rsh procedure1 is preferable, if possible, to the command-line procedure, since it is easier and faster.
The full procedure explained below can be used for adding new host or vault objects with the command-line procedure to a system spanning multiple file systems or to a Legion system with a common file system. For a system spanning multiple file systems, however, skip steps 2 and 3. In either case, the main Legion system must be active. If necessary, start it with the first-time start-up or restart procedure.
legion_context_env.sh legion_context_env.csh LegionClass.config LegionClass.config._LegionStorage_MetaData_
. $LEGION/bin/legion_env.sh . $LEGION_OPR/legion_context_env.sh
source $LEGION/bin/legion_env.csh source $LEGION_OPR/legion_context_env.csh
Shut down the main system (see "System shutdown" in the System Administrator Manual).
Set the user environment correctly (see "Preparing the Legion environment" in the System Administrator Manual).
Once an extra host or vault has been safely shut down, it can be restarted. If the host or vault was not safely shut down, you cannot restart it, but must delete the OPR directory, restart Legion, and start the host or vault again (see "System restart," in the System Administrator Manual).
Set the user environment (please see "Preparing the Legion environment" in the System Administrator Manual).