Guide to Maintaining a VMS System

*HyperReader

  CONTENTS

  Title Page

  Copyright Page

  Preface

  1      Introduction

  2      Setting Up and Maintaining Public Volumes

  2.1     Planning Public Volumes
    2.1.1      Establishing Volume-Level Protection
    2.1.2      Using Volume Sets

  2.2     Formatting Disks

  2.3     Initializing Public Volumes

  2.4     Mounting Public Volumes

  2.5     Using the Exchange Utility to Transfer Information
    2.5.1      Running the EXCHANGE Utility Interactively
    2.5.2      Using a Command Procedure to Exchange Information

  3      Performing Disk and Magnetic Tape Operations

  3.1     Using the Operator Communication Facility (OPCOM)
    3.1.1      Enabling the Operator Terminal
    3.1.2      Restarting OPCOM
    3.1.3      Requests for Operator Assistance
    3.1.4      Responding to User Requests

  3.2     Handling Requests for Mounting Volumes
    3.2.1      Mounting Disks and Single Magnetic Tape Volumes
    3.2.2      Mounting Magnetic Tape Volume Sets
      3.2.2.1      Mounting Volume Sets with Automatic Switching
      3.2.2.2      Mounting Volume Sets Without Automatic Switching

  3.3     Handling Requests from the Backup Utility
    3.3.1      Writing to a Save Set
    3.3.2      Reading from a Save Set
    3.3.3      Recovering from an Error

  3.4     Maintaining Volume Integrity

  3.5     Mount Verification
    3.5.1      Mount Verification for Offline Devices
    3.5.2      Mount Verification for Write-Locked Devices
    3.5.3      Canceling Mount Verification
      3.5.3.1      Dismounting the Volume
      3.5.3.2      MVTIMEOUT and TAPE_MVTIMEOUT System Parameters
      3.5.3.3      Cancellation Commands

  4      Backing Up Files and Volumes

  4.1     BACKUP Performance Enhancements

  4.2     An Overview of BACKUP Tasks

  4.3     An Overview of BACKUP Modes

  4.4     Understanding the BACKUP Command Line

  4.5     Using BACKUP Media
    4.5.1      Using BACKUP with Magnetic Tape
      4.5.1.1      Automatic Tape Unloading
      4.5.1.2      Tape Label Processing
      4.5.1.3      Initializing Magnetic Tapes
      4.5.1.4      Protecting a Magnetic Tape Volume
      4.5.1.5      Tape Expiration Dates
      4.5.1.6      Assigning Volume Labels to Magnetic Tapes
      4.5.1.7      Automatic Tape Mounting
      4.5.1.8      Using the /NOREWIND Qualifier
    4.5.2      Using BACKUP with Disks
      4.5.2.1      Using BACKUP with Local Files-11 Disks
      4.5.2.2      Using BACKUP with Sequential Disks
      4.5.2.3      Using BACKUP with Files-11 Disks Attached to a Remote Node

  4.6     Saving Files Stored on Public Volumes

  4.7     Rotating Backup Sets

  4.8     Performing BACKUP Tasks
    4.8.1      Save Operations to Magnetic Tape
      4.8.1.1      Saving Files to Magnetic Tape
      4.8.1.2      Saving Directories to Magnetic Tape
      4.8.1.3      Saving a Directory Tree to Magnetic Tape
    4.8.2      Save Operations to Disks
      4.8.2.1      Saving to Local Files-11 Disk Volumes
      4.8.2.2      Saving to Files-11 Disk Volumes Attached to a Remote Node
      4.8.2.3      Saving to Sequential Disk Volumes
      4.8.2.4      Writing Multivolume Sequential-Disk Save Sets
    4.8.3      Selective Save Operations
    4.8.4      Image Save Operations
    4.8.5      Incremental Save Operations
      4.8.5.1      Daily Incremental Save Operations
      4.8.5.2      Weekly Incremental Save Operations
    4.8.6      Physical Save Operations
    4.8.7      Restore Operations
      4.8.7.1      Restoring Save Sets from Magnetic Tape
      4.8.7.2      Restoring from Save Sets on Files-11 Disks
      4.8.7.3      Restoring from Save Sets on Sequential Disks
      4.8.7.4      Restoring Files to the Directory from Which They Were Saved
      4.8.7.5      Restoring Files from Multivolume Save Sets
      4.8.7.6      Restoring Entire Disk Volumes
      4.8.7.7      Restoring a Disk Volume from an Image Save Set
      4.8.7.8      Changing Volume Initialization Parameters Before Restoring
      4.8.7.9      Restoring a Volume from Incremental Backups
      4.8.7.10     Restoring a Volume from a Physical Backup
    4.8.8      Copy Operations
      4.8.8.1      Copying a File
      4.8.8.2      Copying Multiple Files
      4.8.8.3      Selective Copy Operations
      4.8.8.4      Copying an Entire Directory Tree
      4.8.8.5      Image Copy Operations
        4.8.8.5.1       Copying a Disk Volume
        4.8.8.5.2       Copying a Disk Volume Set
        4.8.8.5.3       Copying a Disk Volume Set when Drives Are Limited
      4.8.8.6      Physical Copy Operations
    4.8.9      Comparing Files Using BACKUP
    4.8.10     Listing the Contents of a BACKUP Save Set
    4.8.11     Creating and Listing BACKUP Journal Files

  4.9     Pressing Ctrl/T to Obtain Information About BACKUP Operations

  4.10    Protecting a BACKUP Save Set

  4.11    Using Command Procedures to Perform Backup Tasks

  5      Managing Disk Space

  5.1     Purging Old Versions of Files

  5.2     Establishing Disk Quotas
    5.2.1      Disk Quota Operations
      5.2.1.1      Exceeding the Quota
      5.2.1.2      Suspending Quotas
      5.2.1.3      Ensuring Quota File Accuracy with REBUILD on Mount

  5.3     Setting File Expiration Dates

  5.4     Handling Error Conditions
    5.4.1      Analyzing Disk Structure Errors
    5.4.2      Analyzing Media Errors

  6      Performing Batch and Print Operations

  6.1     Types of Queues
    6.1.1      Execution Queues
      6.1.1.1      Batch Execution Queue
      6.1.1.2      Output Execution Queue
    6.1.2      Generic Queues

  6.2     Controlling the Queue Manager
    6.2.1      Starting the Queue Manager
      6.2.1.1      Performance Considerations
    6.2.2      Creating a New Queue File
    6.2.3      Restarting the Queue Manager

  6.3     Managing Queues
    6.3.1      Initializing and Starting Queues
    6.3.2      Naming a Queue
    6.3.3      Monitoring Queues
    6.3.4      Modifying a Queue
    6.3.5      Pausing a Queue
    6.3.6      Stopping a Queue
    6.3.7      Restarting a Queue
    6.3.8      Deleting a Queue
    6.3.9      Merging Output Queues
    6.3.10     Restricting Access to a Queue
      6.3.10.1     UIC-Based Queue Protection
      6.3.10.2     ACL-Based Queue Protection
    6.3.11     Specifying Queue Characteristics

  6.4     Managing Jobs
    6.4.1      Monitoring Jobs
    6.4.2      Deleting a Job
    6.4.3      Retaining Jobs in a Queue
    6.4.4      Modifying Job Processing Attributes
      6.4.4.1      Holding and Releasing a Job
      6.4.4.2      Requeuing a Job
      6.4.4.3      Changing the Scheduling Priority of a Job
    6.4.5      Controlling Print-Job Position and Alignment
      6.4.5.1      Specifying the Position of Print
      6.4.5.2      Aligning Printer Forms

  6.5     Procedures Specific to Batch Queues
    6.5.1      Overriding Batch Queue Attributes
    6.5.2      Setting Up Batch Queues on Small Systems
    6.5.3      Setting Up Batch Queues on Interactive Systems
    6.5.4      Setting Up Batch Queues on Batch Systems
    6.5.5      Setting Up Generic Batch Queues

  6.6     Procedures Specific to Output Queues
    6.6.1      Controlling Jobs by Size
    6.6.2      Using Forms to Control Print Jobs
      6.6.2.1      Defining a Print Form
      6.6.2.2      Establishing a Default Form for a Queue
      6.6.2.3      Changing the Systemwide Default Form
      6.6.2.4      Mounting a Form on a Queue
    6.6.3      Specifying Mandatory Queue Attributes
      6.6.3.1      Job Separation Pages
    6.6.4      Specifying Default Queue Attributes
      6.6.4.1      File Separation Pages
    6.6.5      Controlling Page and Line Overflow
    6.6.6      Using Device Control Libraries
      6.6.6.1      Assigning a Library to an Output Queue
      6.6.6.2      Requesting a Library Module
    6.6.7      Assigning a Logical Queue
    6.6.8      Setting Up Generic Output Queues
      6.6.8.1      Using the /[NO]ENABLE_GENERIC Qualifier
      6.6.8.2      Assigning Generic Output Queues Explicitly
    6.6.9      Setting Up Spooled Devices
    6.6.10     Guidelines for Setting Up Queues for Spooled Devices
      6.6.10.1     Single-Printer Configuration
      6.6.10.2     Two-Printer Configuration
      6.6.10.3     Three-Printer Configuration
      6.6.10.4     Configuration for Remote Printers on a Terminal Server

  6.7     Managing the Card Reader
    6.7.1      Distinguishing the Type of Card Deck
      6.7.1.1      Batch Job Card Deck
      6.7.1.2      Data Card Deck
    6.7.2      Setting Card Reader Translation Modes
    6.7.3      Tending the Card Reader
      6.7.3.1      Replacing Physically Defective Cards
      6.7.3.2      Operating the Card Reader
    6.7.4      Running the Input Symbiont Interactively

  7      Gathering System Information

  7.1     The Accounting Log File
    7.1.1      Accounting Records
    7.1.2      Accounting Report Formats

  7.2     The Error Log File
    7.2.1      Using Error Reports
    7.2.2      Maintaining the Error Log Files
    7.2.3      Printing the Error Log Files

  7.3     The Operator Log File
    7.3.1      Types of OPCOM Messages
      7.3.1.1      Initialization Messages
      7.3.1.2      Device Status Messages
      7.3.1.3      Terminal Enable and Disable Messages
      7.3.1.4      Volume Mount and Dismount Messages
      7.3.1.5      User Request and Operator Reply Messages
      7.3.1.6      SYSGEN Utility Messages
      7.3.1.7      Security Alarm Messages
    7.3.2      Setting Up the Operator Log File
    7.3.3      Maintaining the Operator Log File
    7.3.4      Printing the Operator Log File

  7.4     The Security Audit Log File

  7.5     Creating a New Version of the Security Audit Log File

  7.6     The System Dump File

  7.7     Obtaining Information About a Multiprocessing System

  7.8     Obtaining Information About a Vector Processing System
    7.8.1      DCL Lexical Functions F$GETJPI and F$GETSYI
    7.8.2      SHOW CPU Command
    7.8.3      SHOW PROCESS and LOGOUT/FULL Commands
    7.8.4      Vector Processing Support Within the VMS Accounting Utility
    7.8.5      Vector Support Within the VMS Monitor Utility

  EXAMPLES

  6-1        Using Device Control Library Modules

  7-1        Sample Operator Log File (SYS$MANAGER:OPERATOR.LOG)

  FIGURES

  6-1        Batch Queue Configuration with Clusterwide Generic Queue

  6-2        Job Flag and Burst Pages

  6-3        Job Trailer Page

  6-4        File Flag and Burst Pages

  6-5        File Trailer Page

  6-6        Generic Output Queue

  6-7        Setting Up a Printer Queue on a System with One Printer

  6-8        Setting Up Printer Queues on a System with Two Printers

  6-9        Setting Up Printer Queues on a System with Three Printers

  6-10       Configuration for Remote Printers on a Terminal Server

  TABLES

  4-1        BACKUP Tasks

  4-2        BACKUP Modes

  6-1        Specifying Attributes for Batch Execution Queues

  6-2        Specifying Attributes for Output Execution Queues

  6-3        Card Reader Errors:  Causes and Corrective Actions