skip book previous and next navigation links
go up to top of book: HP OpenVMS System Manager's Manual, Volume 2:... HP OpenVMS System Manager's Manual, Volume 2:...
go to beginning of chapter: Managing Page, Swap, and Dump Files Managing Page, Swap, and Dump Files
go to previous page: Freeing Dump Information from the Page File Freeing Dump Information from the Page File
go to next page: Removing Page, Swap, and Dump FilesRemoving Page, Swap, and Dump Files
end of book navigation links

Installing Page and Swap Files  



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  

  1. Invoke SYSGEN by entering the following command:
    $ RUN SYS$SYSTEM:SYSGEN
  2. Enter the SYSGEN command INSTALL as follows:

    For page files, use the following format:INSTALL file-spec/PAGEFILEFor example:
    SYSGEN> INSTALL DUA2:[PAGE_SWAP]PAGEFILE_1.SYS/PAGEFILE
    For swap files, use the following format:INSTALL file-spec/SWAPFILEFor example:
    SYSGEN> INSTALL DUA2:[PAGE_SWAP]SWAPFILE_1.SYS/SWAPFILE
  3. 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.

Example

The following example installs page and swap files interactively:

$ RUN SYS$SYSTEM:SYSGEN
SYSGEN> INSTALL DUA2:[PAGE_SWAP]PAGEFILE_1.SYS/PAGEFILE
SYSGEN> 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.

Before performing this task, you must have created the secondary files, as explained in Creating and Modifying Page, Swap, and Dump Files.

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.

How to Perform This Task

  1. Invoke any editor to edit SYS$MANAGER:SYPAGSWPFILES.COM.
  2. 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.
  3. Add the following command to invoke SYSGEN:
    $ RUN SYS$SYSTEM:SYSGEN
  4. 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:
    INSTALL DUA2:[SYSTEM]SWAPFILE_1.SYS/SWAPFILE
  5. Add an EXIT command to exit SYSGEN:
    EXIT

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

go to previous page: Freeing Dump Information from the Page File Freeing Dump Information from the Page File
go to next page: Removing Page, Swap, and Dump FilesRemoving Page, Swap, and Dump Files