![]() |
Communicator e3000 MPE/iX Release 7.0 (Software Release C.70.00)
> Appendix G HP Stage/iX ReferenceHP Stage/iX Commands |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
HP Stage/iX Command SummaryTable G-2 "Staging Area Management Commands" lists the Staging Area management commands, general operation commands, and STAGEMAN Expert Mode commands. In all three tables, SM stands for System Manager and OP stands for System Operator. Table G-2 Staging Area Management Commands
CHANGE (CH)The CHANGE command will allow you to change various attributes of an HP Stage/iX staging area. Specifically, CHANGE will allow you to change:
SyntaxCHANGE [STAGE=]stage_name [[;NAME=]new_name] [[;DESC=]quoted_string] Parameters[STAGE=]stage_name (required)The current name of the HP Stage/iX staging area. This must be a valid staging area name for a pre-existing staging area. The staging area cannot be in use, or designated for use on the next boot (see the SET command). Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". [;NAME=]new_name (optional)If this parameter is omitted then the current name of the staging area will be unchanged. Otherwise, this name will be used for the new name of the staging area. This must be a valid HP Stage/iX staging area name and must be unique. The staging area name can be up to 16 characters in length. The name must be a valid MPE/iX directory name. For this reason, the name cannot contain a slash (/) character. It can contain letters (upper or lower case), numbers, and the special characters underscore (_), dash (-), and period (.). Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". [;DESC=]quoted_string (optional)If this parameter is omitted then the current description for the staging area will be unchanged. Otherwise, this description will replace the old description for the staging area. This parameter must be a quoted string if it contains any delimiter characters (like blanks, commas, semi-colons, or any other punctuation characters). The description can be any string up to 128 characters in length. ExampleTo change the name of a staging area:STAGEMAN> CHANGE old_stage;NAME=new_stageTo change the description associated with a staging area: STAGEMAN> CHANGE old_stage;DESC="network reliability patches" COMMENT (#)The COMMENT command can be used to document command files used by the USE command. STAGEMAN ignores the COMMENT command and any text following it. The COMMENT command can be abbreviated #. SyntaxCOMMENT comment_text Parameters(none) ExampleSTAGEMAN will ignore both of these comment lines:STAGEMAN> COMMENT this is just a comment STAGEMAN> # this is another comment COMMITThe HP Stage/iX subsystem allows system managers to activate patched system software without overwriting the pre-existing system software environment. Whenever the system is booted from an HP Stage/iX staging area, the system manager has the option of reverting to the previous system software environment by booting from the Base (see the SET command). If the system manager has been using a particular HP Stage/iX staging area for a period of time, and is satisfied with the overall quality of the patched system software environment (including reliability and performance), then the system manager can make the patched software environment the new Base. The action of making the current staging area the new Base is not reversible. For this reason, HP Stage/iX refers to the action as "committing." The COMMIT command can be used to make the current staging area the new Base without re-booting the system or doing an UPDATE. In order to use the COMMIT command, the system must be booted from an HP Stage/iX staging area, and there must not be an alternate staging area designated for the next boot. The COMMIT command will perform several steps. It will first prompt you for confirmation to commit to the current software environment. (The ;NOCONFIRM option can be used to suppress the confirmation prompt.) The COMMIT command makes all of the necessary changes to the system software environment so that the current system software becomes the new Base. Finally, the COMMIT command deletes the HP Stage/iX staging area. When you commit to a stage, any other stages that were created from the same Base, as the committed stage, may no longer be valid with respect to the new Base. The COMMIT command cannot be abbreviated. SyntaxCOMMIT [;{ CONFIRM}] {NOCONFIRM} Parameters[;{ CONFIRM}] (optional) {NOCONFIRM}The ;CONFIRM or ;NOCONFIRM option specifies whether or not the COMMIT command will prompt you for confirmation. If you specify ;NOCONFIRM, then STAGEMAN will NOT prompt you for confirmation. The default is ;CONFIRM. ExampleTo "commit" to the current staging area ("stage1" in the example below):STAGEMAN> STATUS Currently active staging area: stage1 Staging area to be used for next boot: stage1. STAGEMAN> COMMIT ;NOCONFIRM COMPLETEThe COMPLETE command marks a staging area as complete. When a staging area is marked as complete, it tells STAGEMAN that all files that should belong to it have successfully been staged, and the staging area is now a complete unit. A staging area will not validate until it has been marked as complete. SyntaxCOMPLETE [STAGE=]stage_name Parameters[STAGE=]stage_name (required)The name of the staging area to be marked as complete. ExampleTo mark staging area "Stage_1" as complete:STAGEMAN> COMPLETE STAGE_1 CREATE (CR)The CREATE command will create an empty HP Stage/iX staging area. At the time the staging area is created, you are allowed to specify a brief description for the staging area. Staging areas are normally created by HP Patch/iX. A default description is associated with the staging area at that time, but you can change that description using the CHANGE command. When a staging area is initially created, it will be considered "invalid". It will remain invalid until it is validated by the VALIDATE command. You must specify a name for the staging area to be created. The staging area name must be a valid HP Stage/iX staging area name (see below), and cannot be the name of a staging area that already exists. The name "BASE" is reserved by HP Stage/iX to refer to the Base system software environment (see the SET command). You are not allowed to create a staging area named "BASE." This includes all forms of the word BASE, Base, or base. HP Stage/iX staging areas are created as sub-directories under the HP Stage/iX root directory. The HP Stage/iX root directory is /SYS/hpstage/. The staging area "stage_1" for example would be kept in the MPE directory /SYS/hpstage/stage_1/. The CREATE command can be abbreviated CR. SyntaxCREATE [STAGE=]stage_name [[;DESC=]quoted_string] Parameters[STAGE=]stage_name (required)This parameter specifies the name to be given to the newly created staging area. The staging area name can be up 16 characters in length. The staging area name must be a valid MPE/iX directory name. For this reason, the staging area name cannot contain a "/" character. It may contain letters (upper or lower case), numbers, and the special characters "_", "-", and ".". Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". [;DESC=]quoted_string (optional)This parameter must be a quoted string if it contains any delimiter characters (like blanks, commas, semi-colons, or any other punctuation characters). The description can be any string up to 128 characters in length. ExampleTo create a new staging area called "new_stage" with the description "misc. patches":STAGEMAN> CREATE NEW_STAGE;DESC="MISC.PATCHES" DELETE (DEL)The DELETE command will delete an HP Stage/iX staging area and its contents. If the system is currently booted from an HP Stage/iX staging area, then that staging area cannot be deleted. In addition, if a staging area has been designated for the next boot (see SET command), then it cannot be deleted. The DELETE command will prompt you for confirmation to delete the staging area before it is deleted. You will not be prompted if the ;NOCONFIRM option is specified. It is acceptable to delete a staging area that another staging area was created from. Each staging area has all the information to function from the committed Base. A staging area created from another staging area incorporates all the information from the first staging area. The DELETE command can be abbreviated DEL. SyntaxDELETE [STAGE=]stage_name [;{ CONFIRM}] {NOCONFIRM} Parameters[STAGE=]stage_name (required)This parameter specifies the name of the staging area to be deleted. Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". [;{ CONFIRM}] (optional) {NOCONFIRM}The ;CONFIRM or ;NOCONFIRM option specifies whether or not the DELETE command will prompt you for confirmation. If you specify ;NOCONFIRM, then STAGEMAN will NOT prompt for confirmation. The default is ;CONFIRM. ExampleSTAGEMAN> DEL OLD_STAGING_AREA;NOCONFIRM DELETEFILE (DELETEF,DF)The DELETEFILE command removes a file from a staging area. The file is physically purged from the staging area's directory, and all references to it are removed from the HP Stage/iX environment. The DELETEFILE command can be abbreviated as DELETEF or DF. Expert Mode Command: SyntaxDELETEFILE [STAGE=]stage_name [FILE=]file_name Parameters[STAGE=]stage_name (required)The name of the HP Stage/iX staging area from which the file (or files) is (are) to be deleted. This must be an existing staging area. The staging area cannot be in use, and cannot be designated for use on the next boot. Staging area names are case sensitive. [FILE=]file_name (required)The name of the file to be deleted. The file name can be wildcarded. The filename in this command is case sensitive. ExampleSTAGEMAN> DELETEFILE stage1, SYSGEN.PUB.SYS STAGEMAN> DF stage1, SYSG@ DISKUSE (DU)The DISKUSE command can be used to determine how much disk space is currently being used by an HP Stage/iX staging area. When a staging area is currently in use, the files that are normally in that staging area have been renamed into their natural locations. As a result, a staging area is virtually empty when it in use (only a few HP Stage/iX specific files remain). The DISKUSE command is misleading when a staging area is currently in use, since it cannot account for the disk space used by the files which have been renamed. The DISKUSE command prints a warning if you do a DISKUSE on the currently active staging area. The DISKUSE command in STAGEMAN is really just an interface into the MPE/iX DISKUSE command. The output is therefore identical to the MPE/iX DISKUSE command. For additional information on the MPE/iX DISKUSE command, use the MPE/iX help facility. This can be done with STAGEMAN by typing: :HELP DISKUSEThe DISKUSE command can be abbreviated DU. SyntaxDISKUSE [STAGE=]stage_name Parameters[STAGE=]stage_name (required)This parameter designates which staging area will be displayed. The staging area name must be a valid HP Stage/iX staging area name. STAGEMAN will use this name to construct the full path name for the directory where the staging area is kept. ExampleTo determine the disk space used by staging area "stage_area_5":STAGEMAN> DISKUSE stage_area_5 SECTORS TREE LEVEL DIRECTORY 147888 147856 /SYS/hpstage/stage_area_5/ DOThe DO command is used to re-execute a command from the command history stack. SyntaxDO [COMMAND=]command_id Parameterscommand_id:The command from the redo stack which we want to re-execute. The command may be specified by its relative or absolute order in the command line history stack, or by name (as a string), in whole or in part. The default -1 is the most recent command. This parameter is optional. ExampleTo re-execute a command by its absolute order in the command line history stack, enter:STAGEMAN> DO 5To re-execute a command by its relative order in the command line history stack, enter: STAGEMAN> DO -3To re-execute a command by its name, enter: STAGEMAN> DO INIT DUPLICATEThe DUPLICATE command copies one staging area to another. All files from the original staging area are copied, and the resulting staging area — except for the name — is an exact duplicate of the original. The EXCEPT parameter allows an indirect file to be passed that contains a list of files in the original staging areas that should not be duplicated. The DUPLICATE command can be abbreviated DUP. SyntaxDUPLICATE [FROM=]stage_name [;TO=]stage_name [[EXCEPT=]exception_file] Parameters[[FROM=]stage_name (required)The name of the existing staging area to be copied. [[TO=]stage_name (required)The name of the new staging area. All the normal rules for staging area names apply (see CREATE). [[EXCEPT=]exception_file]The name of an ASCII file that contains a list of files in the FROM staging area that should not be moved to the TO staging area. ExampleSTAGEMAN> DUPLICATE stage1, stage2 ERRMSGThe ERRMSG command allows you to display cause/action text related to a specific STAGEMAN error. SyntaxERRMSG [ERROR=]error_number Parameters[ERROR=]error_number (required)The error number associated with the STAGEMAN error. This number is always displayed in parenthesis immediately following the error message text. ExampleSTAGEMAN> status *Error: The HP Stage/iX Globals file is temporarily in use by another & process. Can't complete command. (STAGEMAN 1170) STAGEMAN> errmsg 1170 MESSAGE: The HP Stage/iX Globals file is temporarily in use by another process. Can't complete command. (STAGEMAN 1170) CAUSE: STAGEMAN could not open the HP Stage/iX Globals file because it was held open exclusively by another process at the time. The other process was most likely STAGEMAN (or HP Patch/iX) being run in another job or session (STAGEMAN always opens the Globals file for exclusive access). ACTION: Either terminate the additional STAGEMAN process, or allow the command being executed by that process to complete. EXITThe EXIT command (abbreviated E or EX) exits the STAGEMAN utility. You must have System Manager (SM) or System Operator (OP) capability to execute this command. SyntaxEXIT Parameters(none) ExampleTo exit from STAGEMAN, enter:STAGEMAN> EXIT EXPERTThe EXPERT command is used to put STAGEMAN into expert mode. There are several STAGEMAN commands that extend the basic STAGEMAN functionality which require you to be in EXPERT mode. All expert mode commands require SM capability. The EXPERT command itself requires SM capability to execute. The following commands are allowed in expert mode only: Table G-5 Commands Only Available in Expert Mode
SyntaxEXPERT [[MODE=]{ ON}] {OFF} Parameters[[MODE=]{ ON} (optional) {OFF}If the MODE parameter is not specified then the EXPERT command will simply display the current mode for STAGEMAN. Otherwise the EXPERT command will explicitly set STAGEMAN into expert mode if ON is specified, and normal mode if OFF is specified. ExampleTo see what mode STAGEMAN is currently executing inSTAGEMAN> EXPERT STAGEMAN is currently operating in NORMAL (non-expert) mode.To put STAGEMAN into expert mode STAGEMAN> EXPERT ONTo put STAGEMAN into normal mode STAGEMAN$ EXPERT OFF EXPORTThe EXPORT command prepares a staging area to be exported to another system. EXPORT - together with IMPORT - provides a standardized method of patch/software distribution. Three EXPORT options are currently supported (see the Parameters description). SyntaxEXPORT [STAGE=]stage_name [;{NOPACK}] {TAPE } {PACK } Parameters[STAGE=]stage_name (required)The name of the staging area to be exported. [;{NOPACK}] (optional) {TAPE } {PACK }Default: NOPACK The export option to be used. Three options are currently supported:
ExampleSTAGEMAN> EXPORT STAGE1;PACK HELPThe HELP command (abbreviated H or HE) displays information about a STAGEMAN command. You must have System Manager (SM) or System Operator (OP) capability to execute this command. SyntaxHELP [command_name] [{DESC }] {PARMS } {EXAMPLE} {ALL } Parameterscommand_name: (optional)The name of the command. This parameter is optional. If you omit the command name, STAGEMAN displays information about all commands. (keyword) : (optional)Default: DESC Defines which part of the help text you would like printed.
ExampleTo get information about the INITIALIZE command, enter:STAGEMAN> HELP INITIALIZETo get examples on how to use the LIST command, enter: STAGEMAN> HELP LIST EXAMPLE IMPORTThe IMPORT command accepts a staging area from another system into the HP Stage/iX environment on the local system. See the help discussion under EXPORT for more information. SyntaxIMPORT [STAGE=]stage_name [;{NOUNPACK}] {TAPE } {UNPACK } Parameters[STAGE=]stage_name (required)The name of the staging area to be imported. [;{NOUNPACK}] (optional) {TAPE } {UNPACK }The import option. The default is NOUNPACK. ExampleSTAGEMAN> IMPORT STAGE1;TAPE INITIALIZE (INIT)The INITIALIZE command is used to set up the various data structures and directories that the HP Stage/iX facility requires to operate. STAGEMAN always verifies that the HP Stage/iX facility is correctly initialized. If HP Stage/iX is not correctly initialize, STAGEMAN will print out a warning message. The INITIALIZE command is non-destructive. It can be typed at anytime to re-initialize HP Stage/iX should some file, directory, or data structure become corrupted. It will not delete any staging areas or affect the contents of any staging area in any way. The INITIALIZE command can be abbreviated INIT. SyntaxINITIALIZE Parameters(none) Example:STAGEMAN STAGEMAN A.00.00, (C) Hewlett-Packard Co., 1995. All Rights Reserved. *Warning: The HP Stage/iX environment is not initialized. (STAGEMAN 1090) STAGEMAN> initialize Successfully initialized the HP Stage/iX environment. STAGEMAN> INVALIDATE (INVAL)The INVALIDATE command is used to mark a particular staging area as being invalid, preventing that staging area from being used (see the SET command). The LIST command can be used to view the current status (valid or invalid) of a staging area. The VALIDATE command will set the valid flag, allowing a particular staging area to be used. The INVALIDATE command can be abbreviated INVAL. SyntaxINVALIDATE [STAGE=]stage_name Parameters[[STAGE=]stage_name (required)The name of the HP Stage/iX staging area to be invalidated. This must be a legal staging area name for a pre-existing staging area. The staging area cannot be in use or designated for use on the next boot (see the SET command). Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". ExampleSTAGEMAN> INVAL FOO LIST (L)The LIST command will give you a list of HP Stage/iX staging areas. Wildcard characters are accepted when listing staging areas. By default the LIST command will display the name of the staging area, the last modified date, a flag indicating whether or not the staging area is valid or invalid (see VALIDATE/INVALIDATE commands), and the brief description associated with the staging area. In addition, an asterisk (*) will be displayed at the end of the staging area name if the staging area is active (in use); a caret (^) will be displayed at the end of the staging area name if the staging area will be used for the next system boot (see the SET command). The LIST command will also list more detailed information about the files that are in a particular staging area, and/or the patches that are staged in a particular staging area. The LIST command can be abbreviated L. SyntaxLIST [[STAGE=]stage_name] [;{NOFILES}] [;{NOPATCHES}] {FILES} {PATCHES} Parameters[[STAGE=]stage_name] (optional)This parameter is used to designate a staging area to be viewed. The staging area name can be either a valid HP Stage/iX stage name, or a pattern with MPE wildcards. All of the usual MPE wildcard characters (@, ?, #, etc.) are allowed. The default value for this parameter is @ (which will list ALL staging areas). Staging area names are case sensitive. [;{NOFILES}] (optional) { FILES}This parameter specifies whether or not the LIST command will display information about specific files within a given staging area. The default value for this parameter is ;NOFILES. If the ;FILES parameter is specified then the LIST command will display information for each file in the staging area(s) about disk restrictions (LDEV1, contiguous, or none), file disposition (add, replace, delete), and the file code, end-of-file, and limit values as they would appear in a LISTF(ILE) output. {;{NOPATCHES}] (optional) { PATCHES}This parameter determines whether or not the LIST command will display information on the specific patches in a given staging area. The default value for this parameter is ;NOPATCHES. If the ;PATCHES parameter is specified then the LIST command will display the patch ID, date and time installed by HP Patch/iX, and a brief description for each patch found in the staging area(s). The ;PATCHES option will not be able to display any patch information if the file PMSWINFO.PUB.SYS is not in the given staging area. This file is normally staged by the HP Patch/iX product when the staging area is created. If this file does not exist in the staging area, a message stating that no patch information is available will be displayed. The patches displayed will be the sum of all patches applied by HP Patch/iX, which includes any patches installed in the Base, as well as in the staging area. ExampleTo see a list of all staging areas type: STAGEMAN> list STAGING AREA NAME MOD DATE V DESCRIPTION ----------------- -------- - --------------------------------------- stage1 *^ 09/29/95 V PowerPatch 1 plus reactive patches STAGE2 ^ 09/30/95 I PowerPatch 2 | | --- (staging area is active and set for next boot) To see a list of all staging areas that begin with the string "st", and information about all files and patches in each of those staging areas type: STAGEMAN> l st@;files;patches STAGING AREA NAME MOD DATE V DESCRIPTION ----------------- -------- - --------------------------------------- stage1 *^ 09/29/95 V PowerPatch 1 plus reactive patches ** FILE INFO FOR "mike1": FILE NAME REST DISP FCODE EOF LIMIT ---------------------------------- ------ ---- ----- ------------------ NL.PUB.SYS LDEV1 REPL NMPRG 114519 4& START.MPEXL.SYS CONTIG REPL 3791 & 8192 ** PATCH INFO FOR "mike2": Patch Date and Time Description --------- ----------------- ------------------------------------------ MPEQX999 02/20/96 11:08 AM 5.5 Dummy Patch for Beta Testing NOTE: Staging area names are case sensitive, so the above command will display staging areas that start with "st", but not staging areas that start with "ST". LISTREDOThe LISTREDO command is used to display the command history stack. The output order is from the least to the most recent command with absolute command reference numbers preceding each command. SyntaxLISTREDO Parameters(none) ExampleSTAGEMAN> LISTREDO LOGThe LOG command is used to record the human/machine dialog as it appears to the user on the STDLIST. The log file is an exact snapshot of the session with STAGEMAN. SyntaxLOG [FILENAME=]filename Parameters[FILENAME=]filename (required)Any valid MPE/iX file to which you have READ and WRITE access. If the file doesn't exist, it is created. ExampleTo enable logging and log all input and output to the file "logfilea", enter:STAGEMAN> LOG LOGFILEA OPTIONThe OPTION command is used to set various STAGEMAN options. These options effect how STAGEMAN handles command files (also see the USE command). There are currently two different options which can be set by the OPTION command. The LIST option specifies whether or not the command and command output will be displayed when executing a command from a command file. If the list option is set to NOLIST, the command will not be echoed and the command output will be suppressed. If the option is set to LIST, then the command will be echoed and the output will be displayed to STDLIST (and to the log file if one is active — see the LOG command). The default for the LIST option is NOLIST. To see the output of a command executed from a command file, either type OPTION LIST prior to executing (via USE) that command file, or put an explicit OPTION LIST command inside the command file. The CONTINUE option specifies whether or not STAGEMAN will continue to process commands within a command file if an error is encountered. The default value for the continue option is NOCONTINUE. If the continue option is set to NOCONTINUE, then STAGEMAN will abort the processing of a command file when an error occurs. To override this behavior, set the CONTINUE option to CONTINUE. If you enter the OPTION command with no parameters, then the command will display the current value for the LIST and CONTINUE options. The scope of the option command is for the duration of the command file, or until another option command is encountered (whichever comes first). For example: if you put an OPTION LIST command within a command file, the LIST option will remain in effect until STAGEMAN finishes processing the command file, or until it encounters an OPTION NOLIST command. The OPTION command cannot be abbreviated. SyntaxOPTION [{ LIST}] , [{ CONTINUE}] {NOLIST} {NOCONTINUE} Parameters[{ LIST}] (optional) {NOLIST}If this parameter is omitted, the value of the LIST option is unchanged. Otherwise the value of the LIST option is set to the value specified. [{ CONTINUE}] (optional) {NOCONTINUE}If this parameter is omitted, the value of the CONTINUE option is unchanged. Otherwise the value of the CONTINUE option is set to the value specified. ExampleTo see what options are currently set:STAGEMAN> OPTION The following options are currently set: NOLIST, NOCONTINUE.To set the list option to NOLIST and the continue option to CONTINUE: STAGEMAN> OPTION NOLIST CONTINUE RECOVERThe RECOVER command recovers a staging area that is not currently recognized by the HP Stage/iX environment. This command is normally only necessary when recovering a system with an INSTALL/UPDATE, where the HP Stage/iX environment has to be re-initialized (INITIALIZE), and one or more staging areas have to be restored from tape. In this case, each previously existing staging area that is restored from a backup needs to be accepted into the HP Stage/iX environment with the RECOVER command. RECOVER updates the system's HP Stage/iX Globals file with all appropriate information about the staging area. SyntaxRECOVER [STAGE=]stage_name Parameters[STAGE=]stage_name (required)The name of the existing staging area to be recovered. ExampleTo recover staging area "stage_1":STAGEMAN> RECOVER stage_1 REDOThe REDO command is identical in function to the MPE/iX redo command. It allows a command in the command history stack to be edited and re-executed. SyntaxREDO [COMMAND=]command_id Parameterscommand_id: (optional)Specifies the command to re-execute. The command may be specified by its relative or absolute order in the command line history stack, or by name (as a string). The default is -1, the most recent command. This parameter is optional. ExampleTo edit the most recent command beginning with the string 'DIS':STAGEMAN> REDO DISTo edit command number 10 (absolute) on the command history stack, enter: STAGEMAN> REDO 10To edit the second-to-last command on the stack (one command before the most recent), enter: STAGEMAN> REDO -2 SETThe SET command is used to designate a particular HP Stage/iX staging area for use on the next boot. When a staging area is in use, it is considered "active". The process of "activating" a staging area requires that the system be re-booted (using the ISL> START command). The SET command is used to designate which staging area should be used on the next reboot. On each subsequent reboot (START) the system will automatically use the same staging area as was used on the previous reboot, unless the system manager changes the default by using the SET command. You must specify the name of a validated HP Stage/iX staging area to the SET command. The SET command will accept the string "BASE" to indicate that the system should be booted from the BASE on the next reboot. The SET command cannot be abbreviated. SyntaxSET [[STAGE=]stage_name] Parameters[[STAGE=]stage_name (required)The name of the HP Stage/iX staging area to be used for the SET. This must be a legal staging area name for a pre-existing staging area. Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". ExampleSTAGEMAN> SET STAGE=new_staging_area SETDEFAULT (SETD)The SETDEFAULT command sets the default values for a particular file to be used by the STAGEFILE command. For example: the SETDEFAULT command can be used to the set the defaults for NL.PUB.SYS, so that whenever an NL is staged using the STAGEFILE command, the values for all of the STAGEFILE parameters can be omitted. There is a file, STAGEDEF.PUB.SYS, that contains all of the default values for files that make up HP software products. This file contains multiple SETDEFAULT commands. The STAGEDEF file is implicitly executed whenever STAGEMAN is run. The SETDEFAULT command can be abbreviated as SETD. Expert Mode Command: SyntaxSETDEFAULT [FILE=]file_name [;DISK={ NONE}] {CONTIG} { LDEV1} [;DISP={ IGNORE}] {REPLACE} { ADD} { DELETE} [;ONERR={IGNORE}] { WARN} [;VAL={BASIC} ] {EXISTENCE} {CHECKSUM} [;VALINFO="validation_info"] [;LIFTYPE={NONE} ] {BOOT} {IPL} {DATA} {AUTOF} [;OWNER="owner_name"] [;FILEGROUP={LDEV1} ] {SLT} {OTHER} Parameters[FILE=]file_name (Required)The fully qualified filename for the file which the subsequent defaults should be set. [;DISK=disk_restrict] (Optional)Values: CONTIG (C), LDEV1 (1), NONE(N) Default: NONE (see also SETDEFAULT)
[;DISP=file_disp] (Optional)Values: REPLACE (R), ADD (A), DELETE (D), IGNORE (I) Default: REPLACE (see also SETDEFAULT)
[;ONERR=error_action] (Optional)Values: WARN(W), IGNORE (I) Default: WARN (see also SETDEFAULT) If an error occurs while processing a file, the error_action for that file will dictate what the start code will do.
[;VAL=val_method] (Optional)Values: BASIC (B), EXISTENCE (E), CHECKSUM (C) Default: BASIC (see also SETDEFAULT) This parameter describes which technique will be used to determine if a particular file is valid at validation time (see VALIDATE). All files in a staging area must be considered valid before HP Stage/iX will consider the staging area valid.
[;VALINFO="val_info"] (Optional)This parameter is not currently supported. [;LIFTYPE=lif_type] (Optional)Values: NONE, BOOT, IPL, DATA, AUTOF Default: NONE (see also SETDEFAULT) Determines whether or not the file belongs in the system LIF Directory, and if so, what file type it should be placed in the directory as. [;OWNER="owner_name"] (Optional)Default: "MANAGER.SYS" The owner name that should be assigned to the staged file. [;FILEGROUP=] (Optional)Values: LDEV1, SLT, OTHER Default: OTHER Determines at what point in the start process the file actually gets switched (renamed) to its natural location. There are currently three supported switching "windows":
ExampleSTAGEMAN$ SETDEFAULT START.MPEXL.SYS;disk=C;disp=R;val=E;onerr=W STAGEMAN$ SETD USERFILE.PUB.SYS;disk=LDEV1;disp=ADD;val=B;onerr=IGNORE SHOW DEFAULT (SHOWD)Shows the defaults that were set for a file by the SETDEFAULT command. The SHOWDEFAULT command can be abbreviated as SHOWD. Expert Mode Command: SyntaxSHOWDEFAULT [FILE=]file_name Parameters[FILE=]staged_file_name (Required)The name of the file whose defaults you are checking. Wildcards are allowed. ExampleTo show all defaults:STAGEMAN$ SHOWDEFAULTTo show the defaults for all files in PUB.SYS type: STAGEMAN$ SHOWD @.PUB.SYS STAGEFILE (STAGEF,SF)The STAGEFILE command is used to put a file into a staging area. The file can be anywhere initially (referred to as its pre-stage location). You are required to specify the final target filename for the file. This is the name that the file will ultimately have when the system is booted from the staging area. In addition, you can optionally specify several pieces of information about the file. This additional information will be used during boot-up when processing the file. The STAGEFILE command can be abbreviated as STAGEF or SF. Expert Mode Command: SyntaxSTAGEFILE [STAGE=]stage_name [FROM=]from_file_name [TO=]to_file_name [;DISK={NONE}] {CONTIG} {LDEV1} [;DISP={IGNORE}] {REPLACE} {ADD} {DELETE} [;ONERR={IGNORE}] {WARN} [;VAL={BASIC}] {EXISTENCE} {CHECKSUM} [;VALINFO="validation_info"] [;LIFTYPE={NONE} ] {BOOT} {IPL} {DATA} {AUTOF} [;OWNER="owner_name"] [;{MOVE}] {COPY} Parameters[STAGE=]stage_name (Required)The name of the HP Stage/iX staging area. This must exist, cannot be in use, and cannot be the staging area designated for use on the next boot. [FROM=]from_file_name (Required)The name of the file in its current (pre-staged) location. This can be expressed in either POSIX (HFS) or MPE syntax ((example: /SYS/PUB/NL and NL.PUB.SYS are equivalent). [TO=]to_file_name (Required)The final target name for the file. This must be expressed as a fully qualified filename. It can be expressed in either POSIX (HFS) or MPE syntax (example: /SYS/PUB/NL and NL.PUB.SYS are equivalent).
[;DISK=disk_restrict] (Optional)Values: CONTIG (C), LDEV1 (1), NONE(N) Default: NONE (see also SETDEFAULT)
[;DISP=file_disp] (Optional)Values: REPLACE (R), ADD (A), DELETE (D), IGNORE (I) Default: REPLACE (see also SETDEFAULT)
[;ONERR=error_action] (Optional)Values: WARN(W), IGNORE (I) Default: WARN (see also SETDEFAULT) If an error occurs while processing a file, the error_action for that file will dictate what the start code will do.
[;VAL=val_method] (Optional)Values: BASIC (B), EXISTENCE (E), CHECKSUM (C) Default: BASIC (see also SETDEFAULT) This parameter describes which technique will be used to determine if a particular file is valid at validation time (see VALIDATE). All files in a staging area must be considered valid before HP Stage/iX will consider the staging area valid.
[;VALINFO="val_info"] (Optional)The VALINFO parameter is not currently supported. [;LIFTYPE=lif_type] (Optional)Values: NONE, BOOT, IPL, DATA, AUTOF Default: NONE (see also SETDEFAULT) Determines whether or not the file belongs in the system LIF Directory, and if so, what file type it should be placed in the directory as. [;OWNER="owner_name"] (Optional)Default: "MANAGER.SYS" The owner name that should be assigned to the staged file. [;{MOVE}]The default behavior for the STAGEFILE command is {COPY} is to copy the file to the staging area, thus not deleting the FROM file. If you want the FROM file to be purged, use the MOVE option. ExampleSTAGEMAN> STAGEFILE STAGE1, NL.INSTALL.SYS, NL.PUB.SYS STAGEMAN> STAGEF STAGE1, START.INSTALL.SYS, START.MPEXL.SYS;DISK=C STAGEMAN> SF STAGE1, SL.INSTALL.SYS, SL.PUB.SYS;ONERR=WARN STATUS (ST)The STATUS command can be used to display the current status of the HP Stage/iX environment. If HP Stage/iX is initialized, then the STATUS command will give some basic information about the HP Stage/iX subsystem (including the name of the staging area that is currently in use, and the name of the staging area that is to be used on the next restart of the system). If the HP Stage/iX facility is not currently initialized, the STATUS command will only report that fact. For additional information on a particular staging area use the LIST command. For additional information about designating a particular staging area to be used for the next reboot of the system see the SET command. The STATUS command can be abbreviated ST. SyntaxSTATUS Parameters(none) ExampleTo view basic HP Stage/iX information:STAGEMAN> STATUS Last booted with: BASE Next boot will be with: stage_1 UNINSTALLThe UNINSTALL command COMPLETELY uninstalls the HP Stage/iX facility. If you type UNINSTALL, then ALL HP Stage/iX staging areas will be deleted. In addition ALL HP Stage/iX directories, files, and data structures will be deleted. The HP Stage/iX facility will be considered uninitalized after doing an UNINSTALL command. It can be re-initialized using the INITIALIZE command, but any staging areas which were deleted will be lost. The UNINSTALL command will always prompt for confirmation to UNINSTALL HP Stage/iX unless you explicitly specify the ;NOCONFIRM option. To execute UNIINSTALL, you must be running from your Base location (SET to Base). All staging areas will be removed. You cannot execute UNINSTALL while you are running from a Staging Area (SET to staging_area). The UNINSTALL command cannot be abbreviated. SyntaxUNINSTALL [;{ CONFIRM}] {NOCONFIRM} Parameters[;{ CONFIRM}] (optional) {NOCONFIRM}The ;CONFIRM or ;NOCONFIRM option specifies whether or not the UNINSTALL command will prompt for confirmation. If you specify ;NOCONFIRM, then STAGEMAN will NOT prompt for confirmation. The default is ;CONFIRM. ExampleTo uninstall HP Stage/iX:STAGEMAN> UNINSTALL This will destroy your HP Stage/iX environment. Are you sure [Y/N]? y Successfully uninstalled the HP Stage/iX environment.To uninstall HP Stage/iX without prompting for confirmation: STAGEMAN> UNINSTALL;NOCONFIRM Successfully uninstalled the HP Stage/iX environment. USEThe USE command is used to execute STAGEMAN commands from an ASCII command file. USE opens the specified file, executes all commands from the file, and then closes the file and returns to interactive user input. USE commands can be nested. SyntaxUSE [FILENAME=]filename Parameters[FILENAME=]filename (required)Any valid MPE/iX file for which you have READ access. ExampleTo use the USE command to process an ASCII file in STAGEMAN, enter:STAGEMAN> VALIDATE VALIDATE (VAL)An HP Stage/iX staging area must be validated before it can be used. The VALIDATE command is used to validate a staging area. VALIDATE will verify the integrity of the staging area, and will report back any problems with the staging area. If there are no problems, a "valid" flag will be set stating that the staging area is ready for use. The LIST command can be used to view the current status (valid or invalid) of a staging area. The INVALIDATE command will reset the valid flag, preventing a particular staging area from being used. The VALIDATE command can be abbreviated VAL. SyntaxNormal Mode:VALIDATE [[STAGE=]stage_name]Expert Mode: VALIDATE [[STAGE=]stage_name] [;NOOVERRIDE] [;OVERRIDE ] Parameters[[STAGE=]stage_name (required)The name of the HP Stage/iX staging area to be VALIDATED. This must be a legal staging area name for a pre-existing staging area. The staging area cannot be in use or designated for use on the next boot (see the SET command). Staging area names are case sensitive. "STAGE1" is not equivalent to "stage1" or "Stage1". Expert Mode Parameter: [;{NOOVERRIDE}] (optional) { OVERRIDE}If ;OVERRIDE is specified, then STAGEMAN will set the valid flag without checking to see if the contents of the staging area are really valid. Otherwise, STAGEMAN will validate that each file is actually in the staging area, that each file is OK (for example, disk space restrictions are observed), and any additional checking that may be performed on a file by file basis (see the STAGEFILE command). The default value for this parameter is ;NOOVERRIDE. ExampleSTAGEMAN> VALIDATE STAGE=stage_1
|