Technical data

Customizing the Operating System
5.2 Modifying Site-Specific Startup Command Procedures
5.2.3 Modifying SYPAGSWPFILES.COM to Install Page and Swap Files
When the system boots, it automatically installs the primary page and swap files,
if they are present in the SYS$SYSTEM directory. If the page and swap files are
not in SYS$SYSTEM, or if secondary page and swap files are located on a disk
other than the system disk, you must install these files each time the system
boots. To install these files, add commands to SYPAGSWPFILES.COM.
Before performing this task, you should understand page and swap files and why
you might want to move them. For more information, see Section 16.2.
The SYPAGSWPFILES.COM file can also include commands other than INSTALL
commands, such as SYSGEN CREATE commands and the DCL commands
INITIALIZE and MOUNT, to set up the page and swap files. Note that, at
the time STARTUP.COM invokes SYPAGSWPFILES.COM, only the system
disk is mounted. Therefore, you might need to add MOUNT commands to
SYPAGSWPFILES.COM to mount the disks that hold the page and swap files.
The system must have installed at least one page file before
SYPAGSWPFILES.COM exits. Otherwise, STARTUP.COM displays the following
error message:
%STARTUP-E-NOPAGFIL, no page files have been successfully installed.
Caution
If a system dump file with the name SYSDUMP.DMP does not exist
in the SYS$SPECIFIC:[SYSEXE] directory, the primary page file
PAGEFILE.SYS must exist in SYS$SPECIFIC:[SYSEXE]PAGEFILE.SYS
for writing crash dumps. If neither SYSDUMP.DMP nor PAGEFILE.SYS
is located in SYS$SPECIFIC:[SYSEXE], no crash dump file is produced.
You can also use SATELLITE_PAGE.COM to install page and swap files on a
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 OpenVMS Cluster Systems.
How to Perform This Task
1. Enter SYSGEN CREATE commands in the following format to create
secondary system files in the desired locations:
CREATE le-spec/SIZE=block-count
For example:
SYSGEN> CREATE DUA2:[PAGE_SWAP]PAGEFILE_1.SYS/SIZE=100000
SYSGEN> CREATE DUA2:[PAGE_SWAP]SWAPFILE_1.SYS/SIZE=100000
The CREATE command creates or extends files that can be used as a page,
swap, or dump file. You create these files only once.
For more information about creating page and swap files, see Section 16.16.
For more information about the SYSGEN command CREATE, refer to the
SYSGEN section of the OpenVMS System Management Utilities Reference
Manual.
2. Invoke any editor to edit SYS$MANAGER:SYPAGSWPFILES.COM.
5–6 Customizing the Operating System