The system automatically installs the primary page and swap
files located in SYS$SYSTEM. However, other page and swap files
are not automatically installed. For this reason, if you create
secondary page and swap files, you must also install them with the
System Generation utility (SYSGEN). Note that SYSGEN INSTALL commands
perform a different function than Install utility (INSTALL) commands.
Installing Interactively
Invoke SYSGEN
by entering the following command:
$ RUN SYS$SYSTEM:SYSGEN
Enter the SYSGEN command INSTALL as follows: For page files, use the following format:INSTALL file-spec/PAGEFILEFor example:
To make sure the files are installed each time the
system boots, edit SYS$MANAGER:SYPAGSWPFILES.COM to add the commands
you entered in step 2. For more information, see
Installing in SYPAGSWPFILES.COM.
The following example installs page and swap files interactively:
$ RUN SYS$SYSTEM:SYSGENSYSGEN>INSTALL DUA2:[PAGE_SWAP]PAGEFILE_1.SYS/PAGEFILESYSGEN>INSTALL DUA2:[PAGE_SWAP]SWAPFILE_1.SYS/SWAPFILE
Installing in SYPAGSWPFILES.COM Page
and swap files other than SYS$SYSTEM:PAGEFILE.SYS and SYS$SYSTEM:SWAPFILE.SYS
must be reinstalled each time the system boots. You can do this
by adding the commands to install the files to the startup command
procedure SYS$MANAGER:SYPAGSWPFILES.COM. The template file SYS$MANAGER:SYPAGSWPFILES.TEMPLATE
includes comments that help explain how this file is used.
For more information about SYPAGSWPFILES.COM, see the HP OpenVMS System Manager's Manual, Volume 1: Essentials.
You can also use SATELLITE_PAGE.COM
to install page and swap files on an OpenVMS Cluster satellite node's
local disk. SATELLITE_PAGE.COM is created when you run CLUSTER_CONFIG.COM.
For more information about installing page and swap files on a satellite
node's local disk, refer to the OpenVMS Cluster Systems
manual.
Invoke any editor
to edit SYS$MANAGER:SYPAGSWPFILES.COM.
If necessary, add a MOUNT command for each disk
that holds a page or swap file. This is necessary because only the
system disk is mounted at the time SYPAGSWPFILES.COM is invoked. For example:
$ MOUNT/SYSTEM/NOASSIST DUA2: DISK_SYS2
For information about the MOUNT command, refer to the HP OpenVMS DCL Dictionary. The following commands, inserted before the MOUNT command,
are also useful to determine if the disk is available before mounting.
Note, however, that if the disk is broken and cannot mount, these
commands will cause an infinite loop.
$ LOOP1:
$ ON WARNING THEN GOTO LOOP1
$ WAIT 0000 00:00:00.50
$ READY = F$GETDVI("device:","AVL")
$ IF READY .EQS. "FALSE" THEN GOTO LOOP1
where device: specifies the device name.
Add the following command to invoke SYSGEN:
$ RUN SYS$SYSTEM:SYSGEN
Add commands in the following format to SYPAGSWPFILES.COM
to install the files each time the system boots. For
page files, use the following format:INSTALL file-spec/PAGEFILEFor example:
INSTALL DUA2:[SYSTEM]PAGEFILE_1.SYS/PAGEFILE
For swap files, use the following format:INSTALL file-spec/SWAPFILE For example:
The following example shows commands you might add to SYPAGSWPFILES.COM
to install page and swap files named PAGEFILE_1.SYS and SWAPFILE_1.SYS
located on the DUA2: device:
$ EDIT SYS$MANAGER:SYPAGSWPFILES.COM
[add the following commands to SYPAGSWPFILES.COM:]
.
.
.
$ MOUNT/SYSTEM/NOASSIST DUA2: DISK_SYS2
$ RUN SYS$SYSTEM:SYSGEN
INSTALL DUA2:[SYSTEM]PAGEFILE_1.SYS /PAGEFILE
INSTALL DUA2:[SYSTEM]SWAPFILE_1.SYS /SWAPFILE
EXIT