[an error occurred while processing this directive]
![]() |
![]() HP OpenVMS Systems Documentation |
![]() |
HP OpenVMS System Management Utilities Reference Manual
6.4.7 SHUTDOWNSHUTDOWN shuts down the system and awaits a manual reboot. To use the new system parameter values generated in the SETPARAMS phase, specify either SHUTDOWN or REBOOT as the end phase. You can define the logical name AGEN$SHUTDOWN_TIME (using the DCL command DEFINE) to specify the number of minutes before shutdown occurs.
SHUTDOWN requires the SETPRV privilege.
REBOOT automatically shuts down and reboots the system, thus installing the new parameter values. To install the new system parameter values generated in the SETPARAMS phase, specify either SHUTDOWN or REBOOT as the end phase. You can define the logical name AGEN$SHUTDOWN_TIME (using the DCL command DEFINE) to specify the number of minutes before shutdown occurs.
REBOOT requires the SETPRV privilege.
HELP displays help information about AUTOGEN to the screen. The HELP
phase is only valid as the start phase command line parameter. When you
specify HELP for the start phase, the end phase and execution mode
parameters are ignored.
Specify an execution mode when you invoke AUTOGEN to control how AUTOGEN uses feedback. Table 6-2 lists the execution-mode options.
6.6 Files Used by AUTOGENTable 6-3 lists the files AUTOGEN uses during each phase.
1All files except VMSIMAGES.DAT, which contains the installed image list, reside in the SYS$SYSTEM directory. VMSIMAGES.DAT resides in the SYS$MANAGER directory. 2From software installation kit 3Also includes collected hardware configuration information 6.7 AUTOGEN Usage Summary
The AUTOGEN command procedure runs automatically when your system is installed or upgraded to set appropriate values for system parameters and sizes for system page, swap, and dump files. Format@SYS$UPDATE:AUTOGEN [start-phase] [end-phase] [execution-mode] Parameters
Table 6-2 describes each execution-mode option. DescriptionTo invoke AUTOGEN, use the following syntax to enter a command at the DCL command prompt:
Chapter 7
|
Some layered products have their own special backup procedures. For more information, refer to the layered product documentation. |
Using BACKUP also eliminates disk fragmentation. Fragmentation can occur as you create and extend files on a disk. If the file system cannot store files in contiguous blocks, it stores them in noncontiguous pieces. Eventually, the disk can become severely fragmented and system performance suffers. To eliminate fragmentation, perform an image backup of the disk and restore the backup copy. When you restore the image backup, BACKUP places the files on the disk contiguously.
Besides backing up your own files, directories, and disks, remember to back up your OpenVMS system disk. Depending on the policy at your site, individuals may be responsible for backing up their system disks, or an operator or system manager may perform the backup (as would likely be the case in a large, clustered computer system).
The two ways to back up your system disk are:
Refer to the HP OpenVMS System Manager's Manual for more information about standalone BACKUP and the menu-driven procedure.
Types of backup operations are:
Because an image copy or backup operation processes all files on the input volume, you cannot specify file-selection qualifiers for these operations. You can, however, restore files and directories selectively from an image save set. |
BACKUP allocates virtual memory to hold copies of the index file and storage bitmaps. With larger bitmaps, the virtual memory requirement of this utility increases correspondingly. To use BACKUP on volumes with large bitmaps, you might need to increase your page file quota. On OpenVMS VAX systems, you might also need to increase the system parameter VIRTUALPAGECNT.
Sizes of virtual memory requirements for the bitmaps are VAX pages (or Alpha and I64 512-byte pagelets) per block of bitmap. For the BACKUP utility, the virtual memory requirement for the bitmaps is equal to the sum of the sizes of all index file bitmaps on the volume set. (Note that this memory requirement is in addition to the BACKUP utility's substantial buffer pool.)
The following sections describe the BACKUP command line format.
7.2 BACKUP Command Line Format
To perform BACKUP operations, enter the DCL command BACKUP in the following format:
BACKUP input-specifier output-specifier |
BACKUP evaluates the input and output specifiers to determine which
type of operation to perform. BACKUP also uses the input specifier to
locate the input and directs output to the output specifier.
7.3 BACKUP Input and Output Specifiers
BACKUP can process several different types of input and output. Depending on the type of operation being executed, input and output specifiers can be standard OpenVMS file specifications, BACKUP save-set specifications, or device specifications. Device specifications can refer to disk or magnetic tape volumes.
You can specify any valid OpenVMS file specification as BACKUP input or output specifiers; however, BACKUP does not allow node names in BACKUP file specifications. You can use wildcard characters, and you can list multiple file specifications as input to a single BACKUP operation.
A BACKUP save-set specification is the file specification of a BACKUP save set. When you use BACKUP to save files or volumes, BACKUP writes your files to a save set. You can specify the save set as input to other BACKUP operations. When specifying a save set, follow the rules for specifying a OpenVMS file. The OpenVMS User's Manual describes valid specifications for disk files; the HP OpenVMS System Manager's Manual explains the rules for specifying magnetic tape files. A save-set specification has no default file type, although you can use BCK or SAV.
The save-set name can be any valid OpenVMS file name and type. However, when you create a save set on magnetic tape, the save-set name has the following restrictions:
Device specifications used as BACKUP input or output specifiers follow the conventions for specifying devices outlined in the OpenVMS User's Manual.
By default, BACKUP treats an input or output specifier referring to a Files--11 disk as a file specification. Therefore, to identify a save set on a Files--11 volume, you must include the /SAVE_SET qualifier with the specifier (see /SAVE_SET). BACKUP treats input and output specifiers referring to magnetic tape as save sets.
You cannot specify a save set for both the input and output specifier of a BACKUP command. For this reason, you cannot perform a BACKUP operation from one magnetic tape to another. |
Table 7-1 shows input and output specifiers for each type of BACKUP operation.
Operation | Format |
---|---|
Save | BACKUP file-spec save-set-spec |
Save (image) | BACKUP/IMAGE device-spec save-set-spec |
Save (physical to disk) | BACKUP/PHYSICAL device-spec device-spec |
Restore | BACKUP save-set-spec file-spec |
Restore (image) | BACKUP/IMAGE save-set-spec device-spec |
Restore (physical from disk) | BACKUP/PHYSICAL save-set-spec device-spec |
Restore (physical from tape) | BACKUP/PHYSICAL save-set-spec device-spec |
Copy | BACKUP file-spec file-spec |
Copy (image) | BACKUP/IMAGE device-spec device-spec |
Copy (physical to tape) | BACKUP/PHYSICAL device-spec save-set-spec |
Compare |
BACKUP/COMPARE file-spec file-spec
BACKUP/COMPARE save-set-spec file-spec |
Compare (image) |
BACKUP/COMPARE/IMAGE save-set-spec device-spec
BACKUP/COMPARE/IMAGE device-spec device-spec |
Compare (physical) |
BACKUP/COMPARE/PHYSICAL device-spec device-spec
BACKUP/COMPARE/PHYSICAL save-set-spec device-spec |
List 1 |
BACKUP/LIST[=file-spec] save-set-spec
BACKUP/LIST[=file-spec] device-spec |
Create Journal | BACKUP/JOURNAL[=file-spec] file-spec save-set-spec |
List Journal | BACKUP/JOURNAL[=file-spec]/LIST[=file-spec] |
An element list is a list of arguments specified with a command or qualifier. The arguments, or elements, in the list are separated by commas. Element lists relating to input or output specifiers are allowed only in the following circumstances:
$ BACKUP _From: DUA0:[DATA]A.DAT,B.DAT,[PROGRAMS]TEST.EXE _To: MSA0:TEST.SAV/LABEL=DLY101 |
$ BACKUP _From: DUA0:[DATA]*.*,DUA0:[PROGRAMS]*.* _To: MSA0:TEST.SAV,MSA1:/LABEL=WKLY01 |
$ BACKUP/IMAGE _From: MSA0:TEST.SAV,MSA1: _To: DUA0:[DATA...],DUA1: |
You can also affect BACKUP operations by specifiying qualifiers. BACKUP has five types of qualifiers:
You cannot use input and output qualifiers in image operations. |
It is important to understand the differences between the types of qualifiers. The position of qualifiers in the BACKUP command line affects the results of the command. Although command qualifiers can be placed anywhere in the command line, input- and output-specifier qualifiers are position-dependent. That is, input-specifier qualifiers must be placed immediately after the input specifier, and output-specifier qualifiers must be placed immediately after the output specifier.
Additionally, several BACKUP qualifiers are both input-specifier qualifiers and output-specifier qualfiers. To achieve the results you want from a BACKUP command, ensure that you place position-dependent qualifiers correctly. For example, use the /SAVE_SET qualifier as an output save-set qualifier in a BACKUP save operation and as an input save-set qualifier in a BACKUP restore operation.
Appendix G contains more information about valid combinations of BACKUP qualifiers.
Previous | Next | Contents | Index |