Storage Library System for
OpenVMS
This document contains information for performing backup, archive, and restore operations using Storage Library System for OpenVMS(SLS) software.
Revision/Update Information: |
This revised document supersedes the previous release of this document |
Software Version: |
© 2005 Hewlett-Packard Development Company, L.P
The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Proprietary computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
1.1 SLS Storage Management Concepts 1-1
1.1.1.1 Backup Copy of Data 1-1
1.1.1.2 Archive Copy of Data 1-2
1.1.1.3 Defining Data Safety Policy 1-2
1.1.1.4 Policy Implementation and Administration 1-2
1.2 Storage Management Responsibilities 1-2
1.2.1 Storage Administrator's Responsibilities 1-3
2.2.1 Accessing the Administrator Menu 2-1
2.2.2 Administrator Menu Diagram 2-2
2.2.3 Administrator Menu Options 2-2
2.3.1 Accessing the Operator Menu 2-2
2.3.2 Operator Menu Diagram 2-2
2.3.3 Operator Menu Options 2-3
3.1 The SLS Server and Client Processes 3-1
3.1.1 Client and Server Definitions 3-1
3.1.2 Basic Block Diagram of SLS Server and Client Processes 3-2
3.2 The SLS Server Process in a OpenVMS Cluster System 3-3
3.2.1 Establishing the Active Server Node 3-3
3.3 SLS Client Process in the OpenVMS Cluster System 3-3
3.3.1 Establishing a Client Connection on a OpenVMS Cluster System 3-4
3.3.2 DFS Restrictions Using VMS Backup Utility 3-7
3.4 How to Define the SLS Server Process 3-9
3.5 How to Define the Client-Server Process Connection Timeout Value 3-9
3.6 Optimizing SLS Database Files 3-9
4.1 Volume Database Location 4-2
4.2.1 Creating SLS System History Files for System Backup Operations 4-3
4.2.1.1 Naming Your SLS System History File Sets 4-3
4.2.1.2 Defining SLS System History File Set Directories 4-4
4.2.1.3 Rules for SLS System History File Set Names and Directories 4-4
4.2.1.4 Example: SLS System History File Assignments 4-4
4.2.1.5 Characterizing SLS System History Files 4-4
4.2.2 Defining Characteristics of SLS System History Sets 4-4
4.2.2.1 Determining the Space Required for SLS System History File Sets 4-5
4.2.2.2 History Records for Individual File Versions 4-5
4.2.2.3 Declaring the Maximum File Name Size 4-5
4.2.2.4 Declaring the Maximum Number of SLS System History Pointers Per File 4-6
4.2.2.5 Choosing to Store the Node Name in the Files File 4-7
4.2.3 Transferring Existing Backup Files to SLS History Files 4-8
4.2.3.1 Requirements for Transferring Files 4-8
4.2.3.2 Adding Existing Backup Files to the SLS Catalog 4-8
4.2.4 Creating SLS User History Files For User Backup Operations 4-9
4.2.4.1 Considerations for User History Files 4-9
4.2.4.2 How to Determine the SLS User History File Location 4-9
4.3 Deleting Old SLS History Files 4-10
4.3.1 The CLEANUP Process 4-11
4.3.1.1 Cleaning SLS System History Files 4-11
4.3.1.2 The SYSCLN and CLEANUP Relationship 4-11
4.3.1.3 Controlling the Cleanup Process 4-11
4.3.1.4 Setting the Days and Durations for Cleaning SLS History Files 4-12
4.3.2.1 Start SYSCLN Processing 4-14
4.3.2.2 Shutdown SYSCLN Processing 4-15
4.3.2.3 Inquire SYSCLN Status 4-16
4.3.2.4 Abort SYSCLN Processing 4-18
4.3.3 Delete User Histories 4-18
4.4 Data Safety with the VMS Backup Utility 4-20
4.4.1 Volume and Magazine Database Device Failure 4-20
4.4.2 SLS System History File Device Failure 4-21
4.4.3 Manually Updating the SLS System History Files 4-22
4.5 Data Safety with VAX RMS Journaling and the VMS Backup Utility 4-23
4.5.1 Implementing Data Safety with the VMS Backup Utility and VAX RMS Journaling 4-23
5.1 SLS System Backup Operations 5-1
5.2 System Backup Command Files 5-2
5.2.1 Creating SLS System Backup Command Files 5-3
5.2.2 System Backup Operations Using SYSBAK.TEMPLATE 5-3
5.2.3 Executing System Backup Operations 5-8
5.2.3.1 Running Manual Backup Operations 5-8
5.2.3.2 Running Automatically Scheduled Backup Operations 5-8
5.3 Preparing for System Backup Operations 5-9
5.3.1 How to Define Automatic Scheduling Days 5-9
5.3.1.1 Symbols for Automatic Scheduling 5-9
5.3.1.2 Specifying a Day of the Week 5-9
5.3.1.3 Specifying a Day Offset into a Month 5-10
5.3.1.4 Specifying a Week Offset into a Month 5-11
5.3.1.5 Specifying the Days to Run System Backup Operations 5-11
5.3.1.6 Specifying the Time of Day to Run System Backup Operations 5-13
5.3.1.7 Overriding the Default Queue with the Time Definition 5-13
5.3.1.8 Specifying the Node Executing the DCL SUBMIT Command 5-13
5.3.1.9 Example: Automatic Scheduling Selection 5-14
5.3.1.10 Skipping an Automatically Scheduled System Backup Operation 5-14
5.3.2 Skipping Automatic System Backup Operations on Holidays 5-15
5.3.2.1 HOLIDAYS.DAT Record Format 5-15
5.3.2.2 Example: HOLIDAYS.DAT File 5-15
5.3.3 Preprocessing and Post-Processing Operations 5-15
5.3.3.1 Execution Sequence for Preprocessing and Post-Processing Symbols 5-15
5.3.3.2 Symbols Enabled for Preprocessing and Post-Processing 5-16
5.3.3.3 Executing Another SBK Batch Job After the Backup Operation 5-17
5.4 Defining the SLS System Backup Operation 5-18
5.4.1 The VMS BACKUP Command 5-18
5.4.1.1 Assignments to FILES_n 5-18
5.4.1.2 Assignments to QUALIFIERS and QUALIFIERS_n 5-18
5.4.1.3 Defining the Backup Privilege 5-24
5.4.1.4 Assignments to MNTFLAGS 5-24
5.4.1.5 Assigning Additional Mount Actions 5-24
5.4.1.6 Save Set Name Symbol Descriptions 5-25
5.4.1.7 Generating Save Set Names 5-27
5.4.1.8 Assigning the PROTECTION Symbols 5-27
5.4.2 System Backup Volume Characteristics 5-27
5.4.2.1 Indicating the Type of Media Used for the Backup Operation 5-28
5.4.2.2 Assigning the Volume Pool for the Backup Operation 5-28
5.4.2.3 Assigning Backup Volume Density 5-28
5.4.2.4 Assigning the Backup Volume Size 5-28
5.4.3 System Backup Operator Intervention Policy 5-29
5.4.3.1 Example: Attended System Backup Assignments with Restrictions 5-29
5.4.3.2 Example: Attended System Backup Assignments with Without Restrictions 5-29
5.4.3.3 Example: Unattended System Backup Assignments 5-29
5.4.3.4 Acknowledging Loaded Volumes 5-30
5.4.3.5 Allocating Volumes Prior to Running the System Backup Operation 5-30
5.4.3.6 Enabling SLS Software to Automatically Select Volumes 5-30
5.4.3.7 Allowable Values for AUTOSEL 5-30
5.4.3.8 Recommended Procedure for Handling Volumes 5-31
5.4.3.9 Handling Volume Label Mismatches During the System Backup Operation 5-31
5.4.3.10 Allowable CONTLOADOPT Values 5-32
5.4.4 System Backup Media Resource Allocation 5-32
5.4.4.1 Considerations for More Than One Save Set on One Volume 5-32
5.4.4.2 Assigning Strings to the CONTINUE Symbol 5-32
5.4.5 System Backup Volume Disposition 5-33
5.4.5.1 Specifying Symbols for SLS System History Files 5-33
5.4.5.2 Naming Your SLS System History Set 5-33
5.4.5.3 Naming the SLS System History Processing Queue 5-33
5.4.5.4 Setting the Number of Days for Volume Retention 5-34
5.4.5.5 Setting Volume Off-Site and On-Site Dates 5-34
5.4.5.6 Allowable OFFSITE_DATE and ONSITE_DATE Assignments 5-35
5.4.5.7 Printing Volume Labels 5-35
5.4.5.8 Allowable Assignments to TAPE_LABELS 5-36
5.4.5.9 Assigning a Note to a Volume 5-36
5.4.6 System Backup Device Control 5-36
5.4.6.1 Assigning the Backup Tape Device 5-36
5.4.6.2 Controlling the Number of Drives Used for a System Backup Operation 5-36
5.4.6.3 How SLS Software Implements N_DRIVES During a System Backup Operation 5-37
5.4.7 System Backup Status and Information Reporting 5-37
5.4.7.2 Progress Reporting by Mail 5-38
5.4.7.3 Naming the Backup Log File 5-38
5.4.7.4 Creating a Listing File Name 5-39
5.4.7.5 Controlling Listing File Format 5-39
5.4.7.6 Printing a Listing File 5-39
5.5 Files Created During a System Backup Operation 5-40
5.5.2 Allowable SUMMARY_FILE Values 5-41
5.5.3 System Backup Log Files 5-41
6.1 Preparing for Save Operations 6-1
6.1.1 How SLS Performs Save Operations 6-1
6.1.2 Types of Backup Operations 6-2
6.1.3 Controlling Data Saving Operations 6-2
6.1.3.1 Defining the Backup Operation Format 6-2
6.1.3.2 Restrictions Imposed by the ASCII and EBCDIC Formats 6-3
6.1.3.3 Operator Save Screen Option Defaults 6-3
6.1.3.4 Setting the Operator Save Screen Defaults 6-3
6.1.3.5 Setting the Default Volume Selection Method for User Save Operations 6-4
6.1.3.6 Defining the Backup Volume Protection 6-4
6.1.3.7 Defining the Batch Queue Name for SLS Backup Operations 6-5
6.1.3.8 Notification of Completed Backup Operations 6-5
6.1.3.9 Supplying Default Volume Size for the STORAGE SAVE Command 6-5
6.1.3.10 Save Operations with Nonlibrary Volumes 6-5
6.2 Performing Manual System Backups 6-7
6.2.1 Accessing the Manual System Backup Menu Option 6-7
6.2.2 Procedure For Using the Manual System Backup Option 6-7
6.3 Performing User Save Operations 6-18
6.3.2 Save Screen Diagram 6-18
6.3.3 Procedure For Using the Save Screen Option 6-20
6.4 Performing Unattended Backup Operations 6-27
6.4.1 How an Unattended System Backup Operation Works 6-27
6.4.2 Modifying System Backup Procedures 6-28
6.4.3 Performing Unattended System Backups 6-29
6.4.4 Performing Unattended System Backups Using Preallocated 6-30
7.1.1 Defining the Restore Operation Queue 7-1
7.1.2 Setting Operator Restore Screen Option Defaults 7-1
7.1.3 Notification when Restore Is Finished 7-2
7.1.4 Controlling Data Restore Operations 7-2
7.1.5 Restore Operations with Nonlibrary Volumes 7-2
7.3 Restoring a File or Group of Files 7-6
8.1 Overview of RMU Backup and Restore Support 8-1
8.2 Using RMU and SLS Together 8-1
8.2.1 Oracle Rdb Minimum Version 8-2
8.2.2 Types of System Backup Operations 8-2
8.3 Overview of Database System Backup Processing 8-2
8.4 Defining Database System Backup Operations 8-2
8.4.1 Identifying Database Backup History Sets in TAPESTART.COM 8-3
8.4.2 Locating the Database System Backup Command File 8-4
8.4.3 Identifying Backup Operation Type 8-4
8.4.4 Modifying Existing Symbols 8-5
8.4.6 Nullifying Existing Symbols 8-6
8.4.7 Compaction issue with RMU Backup on VMS 7.2-1 and 7.3 8-6
8.4.8 Specifying Oracle Rdb Software Version 8-7
8.5 Running Database System Backups 8-7
8.5.1 Running Database Backups Automatically 8-7
8.5.2 Running Database Backups Manually 8-7
8.5.2.1 Using the DCL Command Interface 8-7
8.5.2.2 Using the Operator Menu Interface 8-7
8.6 Using Volume Reports to Identify Database Backups 8-8
8.7.1 Before Restoring an Oracle Rdb Database 8-9
8.7.1.1 Designating an Oracle RMU Restore Operation 8-9
8.7.1.2 Specifying Oracle Rdb Software Version 8-9
8.7.1.3 Specifying RMU/RESTORE Qualifiers 8-10
8.7.1.4 Using an Options File 8-10
8.7.2 Example Oracle RMU Restore Scenarios 8-10
8.7.2.1 Full Restore of a Single File Database 8-10
8.7.2.2 Full Restore of Multiple File Database 8-11
8.7.2.3 Full Restore of an Area of a Multiple File Database 8-12
9.1.1 Preparing for Automatic Archiving 9-1
9.1.2 Setting File Retention and Expiration Times 9-1
9.1.2.1 How the File Retention Time Works 9-2
9.1.2.2 A Graphic Look at File Retention Times 9-2
9.1.2.3 Special Cases of File Access 9-2
9.1.2.4 Rules for Applying the File Retention Time with the SET VOLUME Command 9-3
9.1.2.5 How to Set the File Retention Time 9-3
9.1.2.6 How to Set Expiration Times for Files 9-4
9.1.2.7 How to Determine a File's Expiration Date 9-4
9.1.3 Controlling Automatic Archiving 9-4
9.2.1 Advantages of Standby Archiving 9-7
9.2.2 How Standby Archiving Works 9-7
9.2.3 How Standby Archiving Executes Save Requests 9-8
9.2.4 How Standby Archiving Uses .ARKIVE Files 9-8
9.2.5 Editing TAPESTART.COM for Standby Archiving 9-8
9.2.5.1 Defining Standby Archiving Log File Location 9-8
9.2.5.2 Setting the Standby Archiving Interval 9-8
9.2.5.3 Defining the Default Archive Class 9-9
9.2.5.4 Alternate Methods for Defining the Default Archive Class 9-9
9.2.6 Standby Archive Operator Menu Option 9-9
9.2.6.1 Standby Archive Menu Options 9-10
9.2.6.2 Starting Up and Shutting Down the Standby Archiving Process 9-11
9.2.6.4 Starting Up Standby Archive From the Operator Menu 9-12
9.2.6.5 Shutting Down Standby Archive From the Operator Menu 9-14
9.2.6.6 Inquire Pending Jobs From the Operator Menu 9-15
9.2.6.7 Aborting Standby Archive 9-16
9.2.6.8 How to Interrupt the Standby Archive Process 9-17
9.2.7 Establishing Archive Classes and Enabling User Access 9-17
9.2.7.1 Archive Class Naming Conventions 9-17
9.2.7.2 Authorizing Class Access For a User From The Operator Menu 9-18
9.2.8 Performing Save Operations Using Standby Archiving 9-21
9.2.8.1 Standby Archiving Performed From the User Menu Save Screen 9-21
10.1 Operator Menu: Inquire Pending Jobs 10-1
A.1 Symbols for System Backup Control A-1
A.2 Symbols for System Backup Type A-2
A.3 Symbols for System Backup Volume Characteristics A-3
A.4 Symbols for System Backup Operator Intervention A-4
A.5 Symbols for System Backup Resource Allocation A-5
A.6 Symbols for System Backup Volume Disposition A-5
11.2 Where MDMS Stores Information 11-2
12.1 Understanding TAPESTART.COM Symbols and Definitions 12-1
12.1.1 Basic MDMS Symbols 12-1
12.1.2.1 Guidelines for Media Triplet Assignments 12-4
12.1.2.2 Default Media Triplet 12-4
12.1.2.3 Creating Default Media Triplets 12-5
12.1.2.4 Inserting Media Triplets Into TAPESTART.COM 12-6
12.1.2.5 Media Triplets for Tape Jukebox Devices 12-7
12.1.3 Volume Management Symbols 12-7
12.1.3.1 Volume Management Privileges Symbols 12-9
12.1.3.2 Volume Loading Symbol 12-10
12.1.4 Operator Terminal Control Symbols 12-10
13.1 Working with Magnetic Tape Jukeboxes 13-1
13.1.1 Customizing TAPESTART.COM for Robotically Controlled Magnetic Tape Jukebox Devices 13-2
13.1.1.1 Required Naming Conventions 13-2
13.1.1.2 Required Media Triplets 13-3
13.1.2 Determining Your Hardware Configuration 13-3
13.1.3 Direct Connect DSSI Devices 13-4
13.1.3.1 Customizing TAPESTART.COM for Direct DSSI Devices 13-4
13.1.4 Direct Connect SCSI Devices 13-5
13.1.4.1 Creating a Tape Robot Unit 13-5
13.1.4.2 Customizing TAPESTART.COM Symbols for a Direct Connect SCSI Device 13-6
13.1.5 Controller-Connected SCSI Devices 13-6
13.1.5.1 Using SCSI Tape Jukeboxes Connected to an HSC Controller 13-7
13.1.5.2 Using A SCSI Tape Jukeboxes Connected to an HSD or HSJ Controller 13-7
13.1.5.3 Customizing TAPESTART.COM Symbols for a Controller-Connected SCSI Device 13-9
13.1.5.4 TL810- and TL820-Type Devices with Multiple Drives 13-9
13.1.6 Defining Multiple Tape Jukebox Symbols and Associated Media Triplets 13-10
13.1.7 Using a Cleaning Cartridge in a Managed Jukebox 13-11
13.2 Using TMSCP-Served Tape Devices 13-12
13.3 Using Magazines with Tape Jukeboxes in MDMS 13-12
13.3.1 Adding a Magazine 13-13
13.3.2 Manually Binding Volumes to a Magazine 13-14
13.3.3 Automatically Binding Volumes to a Magazine 13-16
13.3.4 Using Multiple Magazines in Single and Multitower Jukeboxes. 13-17
13.3.4.1 Bin Numbering Convention 13-17
13.3.4.2 How to Calculate the Slot Numbers When Using Multiple Magazines 13-17
13.3.5 Loading and Unloading Volumes in a Jukebox 13-18
13.3.6 Physically Removing a Magazine from a Jukebox 13-18
13.3.7 Removing Magazines from Use 13-18
13.3.8 Removing a Magazine from the MDMS Magazine Database 13-19
13.3.9 Showing Magazine Information 13-19
13.3.10 Showing Volumes in a Magazine 13-20
13.3.11 Using Magnetic Tape Jukeboxes with Individual Cartridges 13-20
13.3.11.1 Importing a Cartridge Into a TL810 Jukebox 13-21
13.4 Operating Tape Jukeboxes as Stack Loaders 13-22
13.5 Resolving Jukebox Problems 13-22
13.5.1 Separating Software and Hardware Tape Movement Requests 13-22
13.5.2 Identifying Unrecoverable Robotic Control Errors 13-23
13.6 Using a TL800 Class Jukebox 13-23
13.6.1 TL800 Jukebox Features and What They Mean 13-23
13.6.2 Recommended Hardware Settings 13-23
13.6.3 Using Uncataloged Media with a TL800 Class Jukebox 13-24
13.6.4 Using Cataloged Media with a TL800 Class Jukebox 13-25
13.7 Working with DCSC-Controlled Robotic Silos 13-26
13.7.1 Customizing TAPESTART.COM for DCSC-Controlled Silos 13-27
13.7.1.1 DCSC_DRIVES Symbol 13-27
13.7.1.2 Media Triplet for DCSC Tape Devices 13-27
13.7.1.3 DCSC_n_NODE Symbol 13-28
13.7.2 MDMS Functions Associated with DCSC-Controlled Silos 13-28
13.7.2.1 STORAGE Commands for Silos 13-28
13.7.3 Identifying the Volumes in a DCSC-Controlled Silo 13-28
13.7.4 13.7.4 Adding Volumes to a DCSC-Controlled Silo 13-28
13.7.5 Removing Volumes from a DCSC-Controlled Silo 13-28
13.7.6 ACS Management Menu 13-29
13.7.6.1 ACS Management Menu: Inventory Volume Series 13-29
13.7.6.2 Inventory Volume Series Screen Diagram 13-29
13.7.6.3 How To Use The Inventory Volumes Series Option 13-30
13.7.6.4 ACS Management Menu: Import Volume(s) 13-31
13.7.6.5 Import Volume(s) Screen Diagram 13-31
13.7.6.6 How To Use The Import Volume Option 13-32
13.7.6.7 ACS Management Menu: Initialize Volume Series 13-34
13.7.6.8 13.7.6.8 Initialize Volume Series Screen Diagram 13-34
13.7.6.9 How To Use The Initialize Volume Series Option 13-34
13.7.6.10 ACS Management Menu: Load Volume Onto Drive 13-37
13.7.6.11 Load Volume Onto Drive Screen Diagram 13-37
13.7.6.12 How To Use The Load Volume Onto Drive Option 13-37
13.7.6.13 ACS Management Menu: Unload Drive 13-38
13.7.6.14 Unload Drive Screen Diagram 13-38
13.7.6.15 How To Use The Unload Drive Option 13-39
13.7.6.16 ACS Management Menu: Unload Volume 13-40
13.7.6.17 Unload Volume Screen Diagram 13-40
13.7.6.18 How To Use The Unload Volume Option 13-40
13.7.6.19 ACS Management Menu: Export Volume(s) 13-41
14.1 The RDF Installation 14-1
14.2.1 Configuration Scenarios 14-4
14.2.1.1 Scenario 1-Single Remote Device 14-4
14.2.1.2 Scenario 2-Local Area Network 14-6
14.2.1.3 Scenario 3-Two-Way Remote Backup Operations 14-8
14.2.1.4 Scenario 4-Multiple Remote Nodes 14-11
14.3 Using RDF with MDMS 14-14
14.3.1 Restrictions: Using RDF with MDMS Software 14-14
14.3.2 Assignments to ALLDEV and SELDEV Symbols for Remote Operations 14-15
14.3.3 Starting Up and Shutting Down RDF Software 14-15
14.3.4 The RDSHOW Procedure 14-16
14.3.6 Showing Your Allocated Remote Devices 14-16
14.3.7 Showing Available Remote Devices on the Server Node 14-16
14.3.8 Showing All Remote Devices Allocated on the RDF Client Node 14-17
14.4 Monitoring and Tuning Network Performance 14-17
14.4.3 Changing Network Parameters 14-18
14.4.3.1 Changing Network Parameters for DECnet Phase IV 14-18
14.4.3.2 Changing Network Parameters for DECnet-Plus 14-19
14.4.4 Resource Considerations 14-20
14.4.5 Controlling RDF's Effect on the Network 14-22
14.4.6 Surviving Network Failures 14-22
14.5 Controlling Access to RDF Resources 14-23
14.5.1 Allow Specific RDF Clients Access to All Remote Devices 14-23
14.5.2 Allow Specific RDF Clients Access to a Specific Remote Device 14-24
14.5.3 Deny Specific RDF Clients Access to All Remote Devices 14-24
14.5.4 Deny Specific RDF Clients Access to a Specific Remote Device 14-24
15.2 Single-Sided and Double-Sided Media 15-3
15.3 The RV02K Optical Cartridge 15-3
15.4.1 Determining the State of a Volume 15-5
15.4.1.1 Determining the State of Deallocated Volumes 15-5
15.4.1.2 Defining the Transition Time of Volumes 15-6
15.4.2 Changing a Volume State 15-6
15.5 Adding Volumes to the MDMS Volume Database 15-7
15.5.1 Adding Volumes from DCL 15-7
15.5.2 Adding Volumes from Menus 15-7
15.5.3 Adding Double-Sided Volumes 15-8
15.6 Initializing Volumes 15-8
15.7 Managing Volumes With MDMS 15-8
15.7.1 Assigning the Volume Default Location 15-8
15.7.2 Making Volumes Available 15-9
15.7.2.1 Defining the Default Volume Scratch Time for Allocation 15-9
15.7.2.2 Defining the Maximum User-Set Scratch Date 15-9
15.7.2.3 Notifying Users of Scratch Date 15-10
15.7.2.4 Enabling User Notification of Volume Scratch Date 15-10
15.7.2.5 Notifying Other Users When a Volume Reaches Its Scratch Date 15-10
15.7.3 Reporting on Volume Usage 15-10
15.7.3.1 The Volume Usage Report 15-11
15.7.3.2 Volume Accounting Period 15-11
15.7.3.3 Customizing Your Volume Usage Report 15-11
15.7.3.4 Producing a Volume Usage Report on Demand 15-12
16.1 Managing Volume Privileges 16-1
16.1.1 Default MDMS Privilege Assignments 16-1
16.1.2 Privileges Required to Modify Volume Database Fields 16-3
16.2 Enabling Access to the MDMS Volume Database 16-3
16.2.1 MDMS Volume Database Access Authorization Screen 16-4
16.2.2 Database Access Authorization Screen Fields 16-4
16.2.3 How to Authorize MDMS Client Node Access to the MDMS Volume Database 16-4
16.2.4 How to Find a Node Name in the Database Access Authorization screen 16-5
16.2.5 How to Edit a Node Name in the Database Access Authorization Screen 16-6
16.2.6 How to Delete a Node Name in the Database Access Authorization Screen 16-6
16.3 Authorizing Access to Volume Pools 16-7
16.3.1 MDMS Volume Pool Authorization Screen 16-7
16.3.2 16.3.2 Volume Pool Authorization Screen Fields 16-8
16.3.3 How to Authorize Access to Volume Pools 16-8
16.3.4 How to Find a User Entry in the Volume Pool Authorization Screen 16-9
16.3.5 How to Edit a User Entry in the Volume Pool Authorization Screen 16-10
16.3.6 How to Delete a User Entry in the Volume Pool Authorization Screen 16-10
17.1 Vault Management Concepts 17-1
17.2 Scheduling Vault Transfers with MDMS Software 17-2
17.2.1 Scheduling Vault Dates 17-2
17.2.1.1 Explicit Schedule 17-2
17.2.1.2 Daily or Weekly Schedule 17-3
17.3 Updating A Volume's On-Site or Off-Site Location 17-5
17.3.1 Changing Volume Locations Using RACK and VAULT 17-5
17.3.2 Changing Volume Locations Using the Vault Management Menu 17-6
17.3.3 Vault Management Menu Screen 17-6
17.3.4 Vault Management Menu Options 17-6
17.3.4.1 Vault Management Menu: Change to On-site 17-7
17.3.4.2 Vault Management Menu: Change to Off-site 17-7
17.3.4.3 Vault Management Menu: Mass Movement 17-8
17.3.4.4 Vault Management Menu: Change On-site Date 17-8
17.3.4.5 Vault Management Menu: Change Off-site Date 17-9
17.3.4.6 Vault Management Menu: Change Name for Current Process 17-9
C.1 TAPESTART.COM Symbols for Configuration C-1
C.2 TAPESTART.COM Symbols for Standby Archiving C-3
C.3 TAPESTART.COM Symbols for Restore Operations C-4
Table 2-1 Operator Menu Options 2-3
Table 2-2 User Menu Options 2-5
Table 3-1 Establishing the Active Server Node 3-3
Table 3-2 Establishing a Client Connection on a OpenVMS Cluster 3-4
Table 3-3 How to Optimize a SLS Data File 3-11
Table 4-1 Values for SEPARATE_VERSION 4-5
Table 4-2 How to Change Pointer Values 4-7
Table 4-3 Values for NULL_NODE 4-8
Table 4-4 Transferring Existing Backup Files if no Listing Available 4-8
Table 4-5 Values for SLS$USRBAK Logical 4-10
Table 4-6 Accessing the SYSCLN Menu 4-13
Table 4-7 SYSCLN Menu Options Descriptions 4-13
Table 4-8 Start SYSCLN Processing 4-15
Table 4-9 Shutdown SYSCLN Processing 4-16
Table 4-10 Inquire SYSCLN status 4-16
Table 4-11 Abort SYSCLN Process 4-18
Table 4-12 Delete User Histories 4-19
Table 4-13 How to Restore the Volume or Magazine Database from a BACKUP Copy 4-20
Table 4-14 How to Restore the SLS System History Files from a BACKUP Copy 4-21
Table 4-15 How to Manually Update SLS System History Files 4-22
Table 4-16 How to Implement a Data Safety Policy Using the VMS Backup Utility with VAX RMS Journaling 4-23
Table 4-17 How to Respond to a VAX RMS Journal Device Failure 4-24
Table 5-1 How to specify the days to run system backup operations 5-12
Table 5-2 Execution Sequence for Pre- and Post-Processing Symbols 5-16
Table 5-3 Symbols Enabled for Pre- and Post-Processing 5-17
Table 5-4 When to use QUALIFIERS or QUALIFIERS_n 5-20
Table 5-5 When to use OUTPUT_QUAL or OUTPUT_QUAL_n 5-21
Table 5-6 Recommended QUALIFIERS or QUALIFIERS_n Assignments 5-22
Table 5-7 Mount Action Symbol Assignments 5-25
Table 5-8 Values for SAVESET_GEN 5-26
Table 5-9 How to Generate Save Set Names 5-27
Table 5-10 Values for AUTOSEL 5-31
Table 5-11 How to Handle System Backup Volumes 5-31
Table 5-12 Values for CONTLOADOPT 5-32
Table 5-13 Values for OFFSITE DATE and ONSITE DATE 5-35
Table 5-14 Values for TAPE LABELS 5-36
Table 5-15 Values for DRIVE TYPE 5-36
Table 5-16 SLS Implementation of N_DRIVES Symbol 5-37
Table 5-17 Values for PROGRESS Symbol 5-38
Table 5-18 Values for SUMMARY FILE 5-41
Table 6-1 Setting Save Screen Defaults using BAKOPT 6-3
Table 6-2 Values for BACKUP_DEFAULT_REEL 6-4
Table 6-3 How to define the Hexadecimal Protection Code 6-4
Table 6-4 Manual System Backup Procedure 6-8
Table 6-5 Keys Defined for User Save Operations 6-18
Table 6-7 How Unattended Backup Operations Work 6-27
Table 6-8 Performing an Unattended System Backup Operation 6-29
Table 6-9 Unattended System Backups Using Preallocated VolumeSets 6-30
Table 7-1 Values for RESOPT 7-2
Table 7-2 Full Disk Restore 7-3
Table 7-3 Ways to Restore a File or Group of Files 7-6
Table 7-4 Defined Keys for Restore Screen 7-7
Table 8-1 Process for Defining Database System Backup Operations 8-3
Table 8-2 Symbols with New Meanings 8-5
Table 8-3 Process for Restoring a Database 8-9
Table 9-1 Preparing for Automatic Archiving 9-1
Table 9-2 Automatic Archiving Symbols in ARCHIVE_SBK.COM 9-4
Table 9-3 The Standby Archiving Process 9-7
Table 9-4 How to Access the Standby Archive Menu 9-10
Table 9-5 Options for Standby Archive Menu 9-11
Table 9-6 Start Up Standby Archive 9-12
Table 9-7 Shutdown Standby Archive 9-15
Table 9-8 Inquire Pending Jobs 9-16
Table 9-9 Abort Standby Archive 9-17
Table 9-10 How to Authorize Class Access for a User 9-19
Table 9-11 Creating a User Save Request For Standby Archiving 9-21
Table 10-1 Inquire Pending Jobs 10-1
Table 10-2 Report of Files on User Backups 10-2
Table 10-3 Report of Files on System Backups 10-3
Table 11-1 MDMS Databases and Their Contents 11-2
Table 12-1 Creating Default Media Triplets 12-6
Table 12-2 Inserting Media Triplets into TAPESTART.COM 12-6
Table 13-1 Determining Your Hardware Configuation 13-4
Table 13-2 Creating A Tape Robot Unit 13-5
Table 13-3 Using a SCSI Loader on an HSC Controller 13-7
Table 13-4 Using a SCSI Loader on an HSD or HSJ Controller 13-7
Table 13-5 Using a TL810/820 SCSI Device Connected to an HSD or HSJ 13-8
Table 13-6 Process for Using Magazines with Tape Jukeboxes 13-13
Table 13-7 How to Manually Bind Volumes to a Magazine 13-14
Table 13-8 Calculating Slot Numbers 13-17
Table 13-9 Using Uncataloged Media with a TL800 Class Jukebox 13-24
Table 13-10 Using Cataloged Media with a TL800 Class Jukebox 13-25
Table 13-11 Inventorying Volume Series 13-30
Table 13-12 Importing Volumes 13-32
Table 13-13 Initializing Volume Series 13-34
Table 13-14 Loading Volumes Onto a Drive 13-37
Table 13-15 Unloading Drives 13-39
Table 13-16 Unloading Volumes 13-40
Table 13-17 Exporting Volumes 13-41
Table 14-1 How to Change Network Parameters 14-19
Table 15-2 Allowable Assignments for the FRESTA Symbol 15-5
Table 15-3 How to Change the Volume State 15-6
Table 15-4 Customizing Your Volume Usage Report 15-11
Table 16-1 Volume Management Privileges 16-2
Table 16-2 How to Authorize Client Node Access to the MDMS Volume Database 16-5
Table 16-3 How to Find a Node Name in the Database Access Authorization Screen 16-5
Table 16-4 How to Edit a Node Entry in the Database Access Authorization Screen 16-6
Table 16-5 How to Delete a Node Name Entry in the Database Access Authorization Screen 16-7
Table 16-6 How to Enable User Access to Volume Pools 16-8
Table 16-7 How to Find a User Entry in the Volume Pool Authorization Screen 16-9
Table 16-8 How to Edit a User Entry in the Volume Pool Authorization Screen 16-10
Table 16-9 How to Delete a User Entry in the Volume Pool Authorization Screen 16-11
Table 17-1 How to Establish a Daily or Weekly Vault Schedule 17-3
Table 17-2 Vault Management Menu Options 17-7
Figure 2-1 SLS Administrator Menu 2-2
Figure 3-1 SLS Server and Client Processes 3-2
Figure 3-2 Two-Node SLS Client-Server Process 3-5
Figure 3-3 Three-Node SLS Client-Server Process 3-6
Figure 3-4 Five-Node SLS Client-Server Process 3-8
Figure 4-2 Start SYSCLN Processing Screen 4-14
Figure 4-3 Shutdown SYSCLN Processing screen 4-15
Figure 4-4 Delete User Histories Screen Diagram 4-19
Figure 6-1 Manual System Backup 6-7
Figure 7-1 Full Disk Restore Screen 7-3
Figure 9-1 File Retention Times 9-2
Figure 9-2 illustrates the Standby Archive Menu. 9-10
Figure 9-3 Standby Archive Menu. 9-12
Figure 9-4 Shutdown Standby Archive 9-15
Figure 9-5 Inquire Pending Jobs 9-16
Figure 13-1 Determining a Magnetic Tape Jukebox Hardware Configuration 13-3
Figure 13-2 ACS Management Menu 13-29
Figure 13-3 Inventory Volume Series 13-30
Figure 13-4 Import Volumes(s) Screen 13-32
Figure 13-5 Initialize Volume Series Screen 13-34
Figure 13-6 Load Volume Onto Drive Screen 13-37
Figure 13-7 Unload Drive Screen 13-39
Figure 13-8 Unload Volume(s) Screen 13-40
Figure 13-9 Export Volume Screen 13-41
Figure 14-1 How RDF and MDMS Software Communicate 14-3
Figure 14-2 Single Remote Device 14-5
Figure 14-3 Local Area Network 14-7
Figure 14-4 Two-Way Remote Backup Operation 14-9
Figure 14-5 Backup Operation Among Multiple Remote Nodes 14-12
Figure 15-1 Volume State Cycling 15-4
Figure 16-1 Database Access Authorization 16-4
This document contains information about Storage Library System for OpenVMS? Version 2.9J software and its backup, archive, and restore functions. Use this document to define, configure, operate, and maintain your SLS environment.
Once SLS is installed on your system, the online release notes are available in:
This manual is intended for users of SLS software, including storage administrators, operators, and users.
This document is organized in the following manner and includes the following information:
The following documents are related to this documentation set or are mentioned in this manual:
The following conventions are used in this document:
The following related products are mentioned in this document:
If you encounter a problem while using SLS, report it to HP through your usual support channels.
Review the Software Product Description (SPD) and Warranty Addendum for an explanation of warranty. If you encounter a problem during the warranty period, report the problem as indicated above or follow alternate instructions provided by HP for reporting SPD nonconformance problems.
Because your data represents a substantial investment, it is important to safeguard it. The tasks of storage management are concerned with managing storage resources for data maintenance.
The following sections describe the fundamental concepts and principles of storage management and how SLS software can help you implement them.
SLS software manages the movement of data from online data storage to nearline and offline data storage.
There are two primary reasons for saving data:
A secondary reason for saving data is to manage online storage space. To meet cost and resource needs, data saved to nearline or offline storage can be deleted to make more storage space available.
The purpose of a backup copy is to be able to recover data after unexpected loss, including:
Your data safety policy must accommodate disaster recovery. It is important to quickly retrieve damaged or missing information to minimize your organization's down time.
Backup copies typically occur in cycles. They are created periodically and lose importance after some number of periods have passed.
An organization might make backup copies of user data every week and discard a saved copy when it becomes five weeks old.
The purpose of an archive copy is business oriented. An archive copy is made to preserve data to satisfy business requirements.
Archive copies are typically created at the close of a business-related event or process. After the archive copy is made, the original information may be deleted or retained for read-only access. Archive copies are typically kept forever, unless they are explicitly deleted by the storage administrator.
Because archive copies are not frequently accessed, nearline or offline storage is suitable for archived data.
The storage administrator decides which data to move from online to nearline and offline storage. This decision needs to maximize resource efficiency without sacrificing the ability to restore lost data.
SLS software allows you to implement decisions about saving and restoring data. The storage administrator is responsible for reviewing and responding to the needs for saving and restoring data as they change.
Ongoing policy administration includes responding to changes in:
There are three kinds of computer users that work with SLS:
In any given operating environment, these kinds of users may not be distinguishable. However, SLS provides menus and presumes particular responsibilities are appropriate for each. This section describes the responsibilities and SLS tasks for each of these users.
The storage administrator's responsibilities include formulating and implementing an organization's storage management policy.
The storage administrator's responsibilities include:
The storage administrator's tasks include:
The operator is primarily concerned with implementing the storage management policy defined by the storage administrator.
The operator's responsibilities include:
The user's responsibilities include:
SLS provides two ways for you to manage save and restore operations:
This chapter introduces the menu interfaces for managing save and restore operations. These menus also provide MDMS media and device management capabilities. Detailed information about how to perform specific menu-driven tasks are provided in later sections of this book and in the Media and Device Management Services for OpenVMS Guide to Operations.
For more information about the DCL STORAGE commands, see Storage Library System for OpenVMS Command Reference Guide and the DCL STORAGE commands chapter in the Media and Device Management Services for OpenVMS Guide to Operations.
SLS provides three menus by which you can control the operation of the software:
The Administrator Menu accesses the functions that control the following two functions:
These are the only two functions available from this menu. There are no equivalent DCL STORAGE commands.
Enter the following command to invoke the Administrator menu:
To access the Administrator Menu, you must have the OPER privilege.
See SLS Administrator Menu shows SLS Administrator Menu
The Operator Menu provides access to various functions from a menu. All the functions available through the Operator Menu are also available through the STORAGE commands.
To access the Operator Menu, enter the following command at the DCL prompt:
To access the Operator Menu, you must have the OPER privilege.
See Operator Menu Options describes the options on the Operator Menu.
Through a series of questions, defines the parameters for a manual system backup; this information can be stored in a .COM file for later execution. For more information about performing manual system backups, see See Performing Manual System Backups. |
|
Provides a screen for defining parameters for a user save operation; this same screen is accessible from the User menu. For more information about performing user save operations, see See Performing User Save Operations. |
|
Through a series of questions, supplies the requirements to restore an entire disk. For more information about restoring a disk, see See Restoring a Disk. |
|
Provides a screen for defining parameters for restoring files or groups of files; this same screen is accessible from the User menu. For more information about restoring files, see See Restoring a File or Group of Files. |
|
Asks for a volume name and changes the volume's state from transition to free. |
|
Sets the mount and error count fields to zero (0) for the specified volumes. |
|
Provides a DCL prompt at which you can enter any STORAGE command. Press RETURN from the DCL prompt to return to the Operator Menu. |
|
Deletes user history files for a specified user or for all users before a specified date. |
|
Initializes a series of volumes contained in a jukebox. For more information about working with tape jukeboxes, see the Media and Device Management Services for OpenVMS Guide to Operations. |
|
Brings up the Maintenance menu. For additional information, see the Media and Device Management Services for OpenVMS Guide to Operations. |
|
Brings up the Vault Management menu which allows you to access information about when volumes go to vaults and return. For additional information, see the Media and Device Management Services for OpenVMS Guide to Operations. |
|
Controls the SYSCLN program, which deletes old SLS history file records from each history set on the system. |
|
Provides commands to work with volumes contained in a StorageTek ACS 4400 or StorageTek WolfCreek silo. For additional information about working with ACS silos, see Media and Device Management Services for OpenVMS Guide to Operations. |
|
Searches the volume database and creates a listing of all volumes whose state is FREE. |
|
Searches the volume database and creates a listing of all volumes whose state is ALLOCATED. |
|
Searches the volume database and creates a listing of all volumes whose state is DOWN. |
|
Searches the volume database and creates a listing of all volumes whose state is TRANSITION. |
|
Searches the volume database and creates a listing of all volumes in sequential order for allocation. |
|
Searches the volume database and creates a listing of all volumes ready for cleaning. |
|
Searches the volume database and creates a volume usage report. |
The User Menu allows you to control user-initiated save and restore requests and provides various ways of viewing information about SLS-managed media.
See User Menu Options describes the options available on the User Menu.
Provides a screen for defining parameters for a user save operation; this same screen is accessible from the Operator menu. For more information about performing user save operations, see See Performing User Save Operations. |
|
Provides a screen for defining parameters for restoring files or groups of files; this same screen is accessible from the Operator menu. For more information about restoring files, see See Restoring a File or Group of Files. |
|
Changes the date for the volume to return to the scratch pool. |
|
Provides a DCL prompt at which you can enter any STORAGE command. Press RETURN from the DCL prompt to return to the User Menu. |
|
Searches the volume database and creates a listing of all volumes owned by this user. |
|
Searches the volume database and creates a listing of volumes and their scratch dates. |
|
Searches user history files to generate a listing of user backup operations on a specified file or set of files. |
|
Searches system history files to generate a listing of system backup operations on a specified file or set of files. |
SLS client and server processes ensure the volume and magazine databases are available when a data request is made. The software implements the server and client processes. These processes enable you to partition your work.
The SLS server process is executed on a node where you set policy for storage management and maintain information of files, media, and volumes.
The SLS client process is executed on a node where you create replicated files.
This section defines SLS's concepts of server and client. It is important that you understand what each provides for SLS functionality.
SLS server software gives users access to the full functionality of SLS software. SLS provides this access at the node or OpenVMScluster system where the SLS software is executing.
SLS server software manages the:
Similar to the SLS server software, SLS client software also maintains historyfiles in which it records information about user files backed up or archived locally under its control.
The node executing SLS client software communicates using DECnet software to a server node running SLS server software. The server node maintains the media database.
This diagram shows the SLS server and client processes in a two-node configuration.
1 The SLS client node. This node runs the client process only. At this node, data is copied to the local device for safekeeping and statutory requirements.
2 The SLS server node. This node executes both the SLS server and client processes. At this node, the SLS server process maintains the volume and magazine databases.
3 The volume and magazine databases. These databases maintain records of media used for operations at both the server and client nodes.
When the SLS server software is installed on a OpenVMS Cluster system, the SLS server process can be active on only one node at any time. The active server process is responsible for all requests issued by any SLS client processes, whether from within our outside the OpenVMS Cluster system.
A standby server process is any SLS server process in the OpenVMS Cluster system other than the one currently processing requests from an SLS client process. A standby server process waits and becomes active if the active server process fails.
See Establishing the Active Server Nodedescribes how the SLS server process remains active on at least one node in a OpenVMS Cluster system.
See Establishing the Active Server Node Establishing the Active Server Node
Regardless of its location in the system, the SLS client process performs the same functions:
SLS Processes and Database Management 3-3
See Establishing a Client Connection on a OpenVMS Cluster describes how the SLS client process establishes a connection with a SLS server process running on a OpenVMS Cluster system.
See Establishing a Client Connection on a OpenVMS Cluster Establishing a Client Connection on a OpenVMS Cluster
1 This node (VOLKS1) executes the standby SLS server process. Its SLS client process communicates with the active SLS server process on node VOLKS2. In the event of a failure of the active SLS server process on VOLKS2, VOLKS1 would become the active server node.
2 This node (VOLKS2) executes the active SLS server process. In the event of a failure of the SLS server process on this node, VOLKS1 would become the active server node.
3 The SLS databases are maintained on a VAX Volume Shadow set. The SLS volume database maintains information about volumes created in this OpenVMS Cluster system.
4 The devices are available for backing up or archiving data from the OpenVMS Cluster system.
See Three-Node SLS Client-Server Process describes a three-node configuration that includes a two-node OpenVMS Cluster system and an additional node connected to the OpenVMS Cluster system. The third node in this diagram is not part of the OpenVMS Cluster system and is connected either through a wide-area DECnet connection or a mixed-interconnect OpenVMS Cluster system connection.
1 This node (VOLKS1) executes the standby SLS server process. Its SLS client process communicates with the active SLS server process on node VOLKS2. In the event of a failure of the active SLS server process on VOLKS2, VOLKS1 would become the active server node.
2 This node (VOLKS2) executes the active SLS server process. In the event of a failure of the SLS server process on this node, VOLKS1 would become the active server node.
3 The SLS databases are maintained on a VAX Volume Shadow set. The SLS volume database maintains information about volumes created in this OpenVMS Cluster system.
4 The devices are available for backing up or archiving data from the OpenVMS Cluster system.
5 This node (MERKUR) is connected to the OpenVMS Cluster system by DECnet communications software. Only the SLS client process is required to run on node MERKUR. When a request is made from the SLS client process on MERKUR, a connection request is first made of the OpenVMS Cluster system alias name (WAGON). Next, the connection to the active SLS server process is made so the request can be served.
6 The information about the data copied and the volumes used for the backup operation is maintained in the SLS volume database, located on the OpenVMS Cluster system.
See Three-Node SLS Client-Server Process describes a five-node configuration that includes a three-node OpenVMS Cluster system plus an additional node connected to the OpenVMS Cluster system. This examples includes characteristics that apply to any configuration in which data is stored on a MSCP-served devices and RSM devices.
DFS (Distributed File Service) imposes restrictions on the use of the VMS Backup Utility. Therefore, any use of the SLS software in conjunction with DFS is subject to those restrictions. Refer to the Distributed File Service documentation for more information about those restrictions.
1 This node (VOLKS1) executes the standby SLS server process. Its SLS client process communicates with the active SLS server process on node VOLKS2. In the event of a failure of the active SLS server process on VOLKS2, VOLKS1 would become the active server node.
2 This node (VOLKS2) executes the active SLS server process. In the event of a failure of the SLS server process on this node, VOLKS1 would become the active server node.
3 The SLS databases are maintained on a VAX Volume Shadow set. The SLS volume database maintains information about volumes created in this OpenVMS Cluster system.
4 The devices are available for backing up or archiving data from the OpenVMS Cluster system. These devices can also be used for saving data from the DFS-served system (STEEND) and the MSCP-served device on VOLKS3.
5 The devices are available for backing up or archiving data from the OpenVMS Cluster system.
6 This node (MERKUR) is connected to the OpenVMS Cluster system by DECnet communications software. Only the SLS client process is required to run on node MERKUR. When a request is made from the SLS client process on MERKUR, a connection request is first made of the OpenVMS Cluster system alias name (WAGON). Next, the connection to the active SLS server process is made so the request can be served.
7 The information about volumes is maintained in the SLS volume database, located on the OpenVMS Cluster system.
8 The node VOLKS3 maintains data on a device that is MSCP-served to the OpenVMS Cluster system (WAGON). Data stored on the device connected to this node can be backed up onto the devices in the WAGON system.
9 The node STEEND maintains data that is DFS-served from the OpenVMS Cluster system (WAGON). Data stored on the device connected to this node can be copied onto media on the devices in the WAGON system.
To define the SLS server, assign the OpenVMS Cluster alias name to PRI symbol in the file SYS$MANAGER:TAPESTART.COM. If you assign a single node name to the symbol, you are dedicating that node as the server and disallowing any other nodes to act as standby servers.
To enable other members of the OpenVMS Cluster to act as server nodes, assign those node names to the DB_NODES symbol. If you are assigning more than one node, they must be entered in a comma-separated list.
Example: Assigning DB_NODES in TAPESTART.COM
$ DB_NODE := MERK1,MERK2,MERK3
See See Basic MDMS Symbols for additional information about defining the SLS server.
Assign a value, in seconds, to the symbol NET_REQUEST_TIMEOUT in the file TAPESTART.COM. This value determines how long the SLS client process will wait for a response from a SLS server process before it times out.
On slower SLS server systems, or when the SLS databases become large, operations may take more time. Make sure this value is set high enough to avoid SLS client time-outs.
The fault value is 120 seconds.
See See Basic MDMS Symbols for additional information about defining the SLS client time-out value.
Data files used by SLS software are constantly being updated. Over time, after many records are added and deleted, the internal organization of these files become less efficient. When this happens, the files take longer and longer to update.
By performing file optimization, the internal organization becomes more efficient and software performance is enhanced.
You can perform the recommended minimum file optimization by executing the DCL CONVERT command. This command creates a file with a version number one higher than that of the input file.
Because SLS software maintains the lock on its database files, you must shutdown the SLS process before doing the file optimization procedure.
To optimize the performance on the file TAPEMAST.DAT, enter the following command:
$ CONVERT TAPEMAST.DAT TAPEMAST.DAT
For additional information about using the CONVERT command, refer to the VMS Convert and Convert/Reclaim Utility Manual.
Once a data file has been in use for a significant number of updates, you can optimize the file based upon the statistics of its usage. To do this, edit the file's File Definition Language (FDL) specification.
Because SLS software maintains the lock on its database files, you must shutdown the SLS process before performing the file optimization procedure.
See How to Optimize a SLS Data File How to Optimize a SLS Data File
Just as your organization must keep its data safe, you must also protect the data in your volume and magazine databases. There are recommended methods to ensure SLS data safety. Each method has its own cost with regard to capital investment, personnel involvement, and the time required to make lost data available.
You can implement any one or combination of the following methods to ensure SLS data safety:
Comparison of SLS data safety methods:
Each data safety method described in the following table explains the cost of data loss in the event of a device failure, and lists the advantages and disadvantages of each method.
Consider data safety and availability when choosing the location of the volume database. Depending on the data safety methods you employ, you can set up your database on the system disk, or on some other device.
Assign the name of the device and directory in which SLS servers will find the volume database to the PRIMAST symbol in the SYS$MANAGER:TAPESTART.COM file.
The default device and directory for the volume database is:
SLS system history files contain information about files saved by SLS software. This enables you to locate the saved copy of the file you want to restore. SLS history files:
SLS history files contain the records of:
Considerations for History File Location
Next to the volume database, the most important files are the SLS system history files. There are many considerations you can make when determining where to place your SLS system history files. Some of them include:
There are two types of SLS history files depending upon the type of backup operation:
SLS history file sets can be created for different types of backups. They might include:
The SLS history is maintained as a set of two file types:
To create and update SLS system history files, you must identify the:
If You Do Not Want SLS System History Files:
If you do not want SLS system history files, do not make an assignment to the HISNAM_n or HISDIR_n symbols in the SYS$MANAGER:TAPESTART.COM file.
Assign your SLS system history set name to a HISNAM_n symbol. For each SLS history set name, assign one symbol beginning with HISNAM_1, continuing with HISNAM_2, and
HISNAM_3, for all assignments made.
For each HISNAM_n symbol assignment, there must be a corresponding HISDIR_n symbol assignment.
Maximum number of history file sets:
There is an absolute maximum of 124 SLS system history file sets that can be maintained. However, the combined length of all SLS system history set names, separated by commas, must not exceed 980 characters.
Assign a HISDIR_n symbol to your SLS system history file set directory. For each file set name, assign one symbol beginning with HISDIR_1, continuing with HISDIR_2, and HISDIR_3, for all assignments made.
For each HISDIR_n symbol assignment, there must be a corresponding HISNAM_n symbol assignment.
These rules apply to the specification of SLS system history file set names and directories:
The following example shows SLS system history file set name and directory assignments.
If you have a SLS system history set for image backup operations on a disk named LARGE_DISK_1, you could assign the following:
Each SLS system history file requires an SBATTR.COM file to characterize the amount of historical information that will be maintained. Refer to See Operator's Responsibilities for more information.
Defining the characteristics of SLS system history sets involves balancing the need for information about the copies of saved data with the amount of storage space consumed by that information.
SLS software uses the SBATTR.COM file to characterize the SLS system history sets. The default directory for SLS system history files is SLS$ROOT:[HIST], and is identified by HISNAM_1 and HISDIR_1 in the SYS$MANAGER:TAPESTART.COM file. This directory contains the SBATTR.COM file.
An SBATTR.COM file must reside in each directory identified by a HISDIR_n assignment. If an SBATTR.COM file does not exist, then the first time files are processed into that SLS system history set, the SBATTR.COM file from SLS$ROOT:[HIST] is copied into the directory.
You determine the amount of space required in the SLS system history file for each file saved with the SBATTR.COM command file. Consider the following items:
Do not delete any files in the SLS system history file directory, and do not edit any file other than SBATTR.COM.
You choose to maintain records for multiple versions or the most recent version of files saved by assigning either of the allowable values from See Values for SEPARATE_VERSION.
SLS uses the value assigned to the FILENAME_SIZE symbol as a key to determine the length of the file name stored in the SLS system history files.
Depending on the length of the key, the file name can include:
Considerations/Recommendations:
The storage administrator determines the length of the file name. Consider the following when making this decision:
Keep in mind that larger values consume more storage space.
The default value of 124 is recommended. Assigning a smaller value creates the potential for file names that are not unique.
If more than one copy of the same file is saved, the SLS system history file keeps track (with the use of pointers) of each separate volume on which a copy of the file resides.
The POINTERS symbol determines the number of versions SLS retains for each file. Once the number of pointers is exceeded, SLS overwrites the oldest version of the file.
The following example shows the default value for POINTERS.
Once you establish a number of pointers for your particular SLS system history file, you can change them only through a conversion process. Otherwise, changing the pointers to a lower or higher value causes errors.
Follow the steps in See How to Change Pointer Values to increase or decrease pointer values. To illustrate how this works, consider the following example:
Two history sets defined in SYS$MANAGER:TAPESTART.COM:
$ HISDIR_2 := SLS$ROOT:[HIST.MY_HIST]
The history set MY_HIST was created with the default POINTERS value of 4. Now, there is a need for 8 pointers.
Choose whether to save the node name in the Files file by assigning one of the allowable values to NULL_NODE from See Values for NULL_NODE.
You can put information about existing backup files into an SLS history file.
Information can be entered into an SLS history file about existing backup files, if the volumes:
There are two methods to use for transferring existing backup files to SLS history files.
Choose the one of the commands shown in See Transferring Existing Backup Files if no Listing Available:
is the name of the history file you want to update. is the label of the first volume in the volume set. is the name of the save set which can include the wildcard characters (*) or (%). |
|
$ SUBMIT/USER=SLS SLS$SYSTEM:SYSREADLIST.COM/-
_$ PARAMETER=(listing_file,first_reel,history_set)
is the name of the listing file, including device and directory. is the Volume ID of the first reel in which the save_set resides. |
SLS history files enable users to retrieve files from volumes that they own, and does not require intervention to search for the backup volume. If you enable user backup operations, then you must decide where the SLS user history files will be located.
Consider using the same amount of storage space for SLS user history files as you did for the SLS system backup history files.
The logical name SLS$USRBAK located in the file named SLS$PARAMS:ASNUSRBAK.COM, defines the location of the SLS user history file in the user's process logical name table. This command file executes when each user logs in.
To create and update SLS user history files, you must use one of the following methods:
See Values for SLS$USRBAK Logical describes the values allowed for the SLS$USRBAK logical in SLS$PARAMS:ASNUSRBAK.COM. This value determines the location of the SLS user history files.
The SYSCLN (system clean) program deletes old SLS history file records from each SLS system history set on the system. SYSCLN cleans up old entries in the SLS history files by:
The result is more efficient file access and the conservation of disk space.
You can enable the SYSCLN process to run automatically by defining the SYSCLN_RUN symbol in the file named SYS$MANAGER:TAPESTART.COM.
The CLEANUP process is a batch job that cleans up the SLS files by performing the following actions:
SYSCLN is a procedure that cleans up old entries in the SLS history files by:
The result is more efficient file access and the conservation of disk space.
SYSCLN can be started by CLEANUP on any day beginning at the time indicated in the CLEANUP_Q assignment. SYSCLN stops after the assigned number of hours have passed for the given day. The next time SYSCLN is started by CLEANUP, it starts cleaning from where it stopped.
The assignments to the CLEANUP_Q symbol specify the name of the batch queue that will run the CLEANUP process and the time of day the CLEANUP process will be run.
Allowed qualifiers: You can include any of the allowed qualifiers for the DCL SUBMIT command as part of the CLEANUP_Q assignment.
Restrictions: This table shows restrictions, reasons, and recommendations for the assignments to CLEANUP_Q.
Assign the days and durations which the SYSCLN process is permitted to run to the SYSCLN_RUN symbol.
The CLEANUP_Q default assignment selects the normal SLS batch queue and sets the time to run at 3:00 a.m. The default assignment is:
CLEANUP_Q := 'F$EXTRACT(0,F$LOCATE("/",BATN),BATN)'/AFTER=03:00
This example shows the CLEANUP_Q assignment and explains the SYSCLN_RUN assignments.
$ CLEANUP_Q := 'F$EXTRACT(0,F$LOCATE("/",BATN),BATN)'/AFTER=04:00
$ SYSCLN_RUN := WED=03,FRI=03,SAT=51
Use only the three letter abbreviation for the name of the day.
The SYSCLN Menu allows you to control the SYSCLN program. SYSCLN deletes old SLS history file records from each history set on the system. See SYSCLN Menu shows the options available on the SYSCLN Menu.
The SYSCLN Menu option displays a screen that allows you to:
Perform the steps described in See Accessing the SYSCLN Menu to access the SYSCLN Menu.
Enter the number next to the desired option and press Return. |
|
Enter Ctrl/Z, or enter Q and press Return, to exit the menu. |
See SYSCLN Menu shows the options available on the SYSCLN Menu.
See SYSCLN Menu Options Descriptions describes the SYSCLN Menu options.
Begins the SYSCLN program. Refer to See Start SYSCLN Processing for instructions about using this option. |
|
Shuts down the currently running SYSCLN process. Refer to See Shutdown SYSCLN Processing for instructions about using this option. |
|
Displays the current time and status of the running SYSCLN process. The software displays the name of the set being cleaned, the directory name, and the current process phase. Refer to See Inquire SYSCLN Status for instructions about using this option. |
|
Aborts an active SYSCLN process. If the program is terminated before it completes, when SYSCLN is restarted, cleaning can begin from where the previous job ended. Refer to See Abort SYSCLN Processing for instructions about using this option |
The Start SYSCLN Process option displays a screen that enables you to manually start the SYSCLN process.
Start SYSCLN Processing Screen Diagram
See Start SYSCLN Processing Screen illustrates the Start SYSCLN Processing screen.
Perform the steps described in See Start SYSCLN Processing to use the Start SYSCLN Processing menu option.
The Shutdown SYSCLN Processing option displays a screen that enables you to shutdown the current SYSCLN process.
Shutdown SYSCLN Processing screen diagram
See Shutdown SYSCLN Processing screen illustrates the Shutdown SYSCLN Processing screen.
Perform the steps described in See Shutdown SYSCLN Processing to use the Shutdown SYSCLN Processing menu option.
The Inquire SYSCLN Status option allows you to display the current time and status of the SYSCLN process.
Perform the steps shown in See Inquire SYSCLN status to use the Inquire SYSCLN Status option.
The Abort SYSCLN Processing option displays a screen that allows you to abort the currently running SYSCLN job.
Perform the steps described in See Abort SYSCLN Process to use the Abort SYSCLN Processing menu option.
The Delete User Histories option displays a screen that allows you to delete user history files for:
Delete User Histories Screen Diagram
See Delete User Histories Screen Diagram illustrates the Delete User Histories screen.
Perform the steps described in See Delete User Histories to use the Delete User Histories menu option.
This screen requires input. Pressing Return without entering any data displays the prompt "Press Return to continue". Pressing the Return key again brings you back to the main menu without submitting the batch job.
This section describes how to implement an SLS data safety policy using the VMS Backup utility.
Consider the following items when implementing a data safety policy using the VMS Backup utility:
Locations for the volume database and SLS history files:
To ensure the safety of the volume database and of the system history files, place the volume database on a different device than the SLS system history files.
Save operation recommendations:
The frequency of save operations has the following effect on the amount of time needed to restore data:
The procedure in See How to Restore the Volume or Magazine Database from a BACKUP Copy describes how to restore data in the event the device that contains the volume and magazine database fails. Completing this procedure returns the volume and magazine databases to their status at the time of the last save operation.
The procedure in See How to Restore the SLS System History Files from a BACKUP Copy describes how to restore data if the device that contains the SLS system history files fails. Completing this procedure returns the SLS system history files to their status at the time of the last save operation.
In the event of a device failure that occurs between the time of the system backup operation or a standby archive operation, and the automatic SLS system history file update, you can manually update the SLS system history files by following the steps in See How to Manually Update SLS System History Files.
This section describes how to implement a SLS data safety policy with VAX RMS Journaling software and the VMS Backup utility.
Consider the following items when implementing a data safety policy using VAX RMS Journaling software and the VMS Backup utility:
To avoid loss of all SLS data in the event of a device failure, the journal file should be located on a different device than the volume and magazine databases.
The frequency of save operations on the SLS data effects the size of the journal as follows:
The procedure in See How to Implement a Data Safety Policy Using the VMS Backup Utility with VAX RMS Journaling describes how to supplement the VMS Backup utility with VAX RMS Journaling to ensure SLS data safety.
The procedure in See How to Respond to a VAX RMS Journal Device Failure describes how to maintain SLS data safety if the VAX RMS Journal device fails. Completing this procedure ensures continuous safety of the volume and magazine databases.
With VAX Volume Shadowing software, you create a virtual device with two or more physical devices to protect against data loss. This requires an additional device, but provides for fewer service interruptions.
Establish a VAX Volume Shadow set for the device that will store the volume database, magazine database, and SLS system history files.
Although VAX Volume Shadowing provides a higher level of data security, it is recommended that you still maintain a data safety policy for data maintained on a VAX Volume Shadow set.
For more information, refer to the VAX Volume Shadowing Manual.
SLS system backup operations save copies of disk files onto tape or optical cartridges. In the event of lost data, these saved copies can be used to restore the original data.
System backup operations differ from user backup operations because system backup operations can save or restore any file, while user backup operations can only save or restore files owned by the user.
SLS system backup operations are invoked by system backup command files. One system backup operation corresponds with one system backup command file.
SLS system backup operations are usually done in batch mode and can be executed:
SLS Software Features for System Backup Operations
SLS software provides the following system backup operation features:
This section describes the requirements, conventions, and functional considerations that affect the use of system backup command files.
The system backup command file must:
System backup command files are typically named to reflect their role in your overall backup policy.
The following example file names would be used to identify the system backup files for daily incremental backup operations and a weekly backup operations that occurs on Sunday. No system backup operation is required for Saturday.
With the system backup command file, SLS software enables you to customize a wide range of aspects for any system backup operation. All these aspects have been organized into groups of symbols. They are:
The following methods enable you to create system backup command files:
The SLS$SYSBAK:SYSBAK.TEMPLATE file is a template that contains DCL symbols. Assignments made to these symbols control a system backup operation.
The SYSBAK.TEMPLATE file is your primary interface for setting up and executing system backup operations. The remainder of the discussion about system backup operations in this manual refers only to this system backup command file.
Example 1-1 shows you the file named SYSBAK.TEMPLATE. You can copy this file and edit the copied file to create a system backup command file.
$! COPYRIGHT (c) Helett-Packard Development Company, L.P 2005
$! This file contains parameters to run a system backup.
$! -------------------------------------------------------------------------
$! Automatic Scheduling Parameters
$! -------------------------------------------------------------------------
$! Disk File Selection Parameters
$! Backup Type Definition Parameter for this file only
$! -------------------------------------------------------------------------
$! Default Backup Type Definition Parameter
$ QUALIFIERS :== /RECO/IGNO=INTE/VERI
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$! Saveset Name Generation Parameter
$ SAVESET_GEN == "F$EXTRACT(0,15,DO_DISK) + "".BAK"""
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$ LISTING_GEN == """SLS$SYSBAK:"" + F$EXTRACT(0,15,P1) + NODE + F$EXTRACT(0,15,DO_DISK)"
$ PRINT_Q :== SYS$PRINT ! /DELE
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$! Reel / Saveset Protection Parameter
$ PROTECTION :== S:RW,O:RW,G:R,W:R
$! -------------------------------------------------------------------------
$! Tape Drive Selection Parameters
$! -------------------------------------------------------------------------
$ @SLS$DATAC:MNTDEF MNT$M_READCHECK MNT$M_MESSAGE -
MNT$M_WRITECHECK MNT$M_TAPE_DATA_WRITE
$ MNTFLAGS == MNT$M_MESSAGE .OR. MNT$M_TAPE_DATA_WRITE
$! -------------------------------------------------------------------------
$! ----------------------------------------------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$ REPLY_MSG :== REQUEST/TO=(TAPES)
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$ LOG_FILE :== !/[NO]PRINT/[NO]KEEP
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$! Pre- & Post- Processing DCL Commands
For detailed instructions about creating system backup command files for system backup operations, see See Symbols for System Backup Control.
This section describes the types of methods that system backup operations are executed:
These descriptions only provide an overall understanding. For more detailed information about automatic scheduling, refer to See How to Define Automatic Scheduling Days.
For a manual system backup operation, define the symbols in the system backup command file to reflect the characteristics of your required system backup operation. You are not required to make assignments to the scheduling symbols (DAYS_n, TIME_n, and NODE_n) for a manually executed system backup command file.
Enter the following command to manually execute a system backup command file:
$ STORAGE STARTUP SYSTEM_BACKUP filename_SBK.COM
There are three symbols that control the automatic scheduling of system backup operations:
Making assignments to each of these symbols defines the day, time, and node on which the system backup operation will run. Make more than one set of scheduling assignments to execute the same operation on different days.
How the automatic schedule works:
The following table describes how the automatically scheduled system backup operation occurs.
Before you can execute any SLS system backup operations, you must prepare SLS software:
Consider your SLS system backup policy when making assignments to the symbols in system backup command files. In particular, you must meet certain requirements and conventions. These are described in the following sections.
To control your SLS system backup operations, you must consider:
SLS software provides for automatic scheduling of various features such as system backup operations and volume usage reporting. This section describes the syntax in further detail and provides examples.
You may specify as many DAYS_n, TIME_n and NODE_n triplets as you need for any system backup operation. SLS software uses the triplet of the first DAYS_n symbol that matches the current day.
You may specify as many triplets as needed, but they must be numbered sequentially, beginning at the number one.
To specify a day of the week for automatic scheduling, use the name of the day in the assignment.
Do not abbreviate the name of the day.
To automatically schedule a volume usage report for each Tuesday, assign:
Multiple assignments are allowed when separated by commas.
Example: System backup operation:
To automatically schedule a system backup operation for Monday and Friday, assign to the DAYS_n symbol:
There might be a need to automatically schedule a process for the third day of the month, or two days before the end of the month.
The format of this assignment is:
Example: From the beginning of the month:
If you want to schedule generation of a volume usage report for the fourth day of the month, assign:
Example: From the end of the month:
If you want to schedule a system backup operation for the last day of the month, assign:
There might be a need to automatically schedule a process for the second Sunday of the month, or the next to last Tuesday of the month.
The format of this assignment is:
MONTH direction week_offset * day_of_week
Example: From the beginning of the month:
If you want to schedule generation of a volume usage report for the second Sunday of the month, assign:
Example: From the end of the month:
If you want to schedule a system backup operation for the next to last Thursday of the month, assign:
$ DAYS_1 :== MONTH - 2 * THURSDAY
Example: Day offset from a week offset:
If you want to schedule a system backup operation or generation of a volume report on the day before the third Saturday, or two days after the first Wednesday, you can add a day offset to the week offset assignment described in Week Offset Assignments.
If you want schedule a system backup operation two days after the first Wednesday, assign:
$ DAYS_1 :== MONTH + 1 * WEDNESDAY + 2
If you want to schedule generation of a volume report on the day before the third Saturday, assign:
Examine See How to specify the days to run system backup operations to determine how to specify the days to run system backup operations.
Refer to See How to Define Automatic Scheduling Days for more detailed information on specifying days for automatic scheduling.
Assign a time value to the following symbol using hours and minutes:
To run the backup at 4:00 p.m.:
Additionally, you may assign any allowable qualifiers of the DCL SUBMIT command.
The default queue is assigned to the BATN symbol in the SYS$MANAGER:TAPESTART.COM file. To override this
assignment, specify the queue name with the /QUEUE
Assign to the NODE_n symbol the node name of the node that will execute the DCL SUBMIT command. This node does not have to be the node that actually executes the backup job.
Specifying this node on an OpenVMScluster system:
Assign to the NODE_n symbol one of the nodes running the SLS server.
For a specific OpenVMScluster system node:
To ensure the job actually executes on the node assigned to NODE_n you must:
Specifying more than one node:
To specify more than one node for a NODE_n symbol, the job queued by one of those nodes is picked at random.
Assign the OpenVMScluster system queue to the BATN symbol in the SYS$MANGER:TAPESTART.COM file |
Specifying this node on a standalone system:
Assign the NODE_n symbol the name of the processor. If the processor is not part a network, then leave the NODE_n symbol blank.
The following example shows triplets defined for performing backups at one of two different times:
Automatic system backup operations are usually skipped on holidays because operators are not available to service SLS sof0tware mount requests. SLS software does not automatically reschedule the system backup operations for another day.
The SLS$PARAMS:HOLIDAYS.DAT file contains holiday definitions. Edit this file to include the holidays observed by your site. SLS uses the latest version of HOLIDAYS.DAT file.
Sometimes it is necessary to shut down an application before saving its data. The application must then be restarted after the save operation is complete. You might also have a need to run your own check on a backup operation after completion.
Such pre- and post-processing operations can be automatically enabled in the context of a system backup operation. The symbols for pre- and post-processing are:
Each symbol assignment must execute a DCL command file. That is, it must begin with an "@" sign and include a command file name.
See Execution Sequence for Pre- and Post-Processing Symbols shows the execution sequence of the preprocessing and post-processing symbols and shows the corresponding symbols.
Because pre- and post-processing operations are performed in the context of the system backup operation, certain symbols are available for the processes.
See Symbols Enabled for Pre- and Post-Processing lists the symbols that are defined and available for pre- and post-processing system backup operations and a description of the assignments.
The NEXT_JOB symbol is useful to perform an identical save operation of the disk or disks saved by the current job, or to execute a second batch job for another drive or set of drives.
Assign to the NEXT_JOB symbol the name of a batch job to be submitted. Qualifiers to the DCL SUBMIT command (such as /QUEUE) are allowed.
If you want to execute the job named INCREMENTAL immediately after this job, assign the following:
The type of SLS system backup operation is determined by the assignments that you make to the symbols in your SLS system backup command file (*_SBK.COM).
The system backup command file (*_SBK.COM) includes symbols that correspond to specific segments of a VMS BACKUP command.
$ BACKUP files_n /qualifiers /mntflags -
$_ saveset_gen /protection=protection
To select the files to be saved, assign the file name or disk name to the FILES_n symbol. To make the correct assignment, follow these rules:
For an image backup operation:
Specify only the device name. The contents of the entire disk will be saved.
The QUALIFIERS or QUALIFIERS_n symbol assignments are the same assignments used with the DCL BACKUP command and correspond to the FILES_n symbol:
The default BACKUP qualifiers assigned to FILES_n.
The QUALIFIERS symbol should not be changed in a system backup operation's preprocessing procedures.
$ QUALIFIERS :== /IMAGE/VERIFY
The BACKUP qualifiers associated with a corresponding FILES_n, where "n" is the same value.
$ QUALIFIERS_1 :== /IMAGE/VERIFY/RECORD
$ QUALIFIERS_2 :== /IMAGE/VERIFY
Deciding When to Use QUALIFIERS or QUALIFIERS_n:
See When to use QUALIFIERS or QUALIFIERS_n describes deciding when to use either QUALIFIERS or the QUALIFIERS_n symbols.
Deciding When to Use OUTPUT_QUAL or OUTPUT_QUAL_n:
See Keys Defined for User Save Operations describes deciding when to use either OUTPUT_QUAL or the OUTPUT_QUAL_n symbols.
Restriction: Qualifiers Not to Use
Do not use the following assignments in the QUALIFIERS or QUALIFIERS_n symbol:
Remove the /MEDIA_FORMAT qualifier if media compaction and record blocking were previously enabled or disabled by assigning this qualifier. Enable the desired characteristic by using the DENSITY symbol.
If a volume is a cartridge loaded on a TA90 or TA90E tape drive, and if the volume's density field is either ``COMP'' or ``NOCOMP,'' then the SLS software will automatically append the /MEDIA_FORMAT qualifier.
Recommended Assignments for the QUALIFIERS or QUALIFIERS_n Symbol:
See Recommended QUALIFIERS or QUALIFIERS_n Assignments lists recommended assignments to the QUALIFIERS or QUALIFIERS_n symbol. These assignments are identified and briefly described, but are listed in no particular order.
Set the block size for data records in a BACKUP save set. Acceptable range for n is 2048 through 65,534. If you do not use this qualifier, the default block sizes are: |
|
Using this assignment causes SLS software to use ONLY the device specification in the FILES_n symbol, implicitly selecting all files. This could possibly increase your system backup operation time. |
|
Record the backup date in file headers. This qualifier requires WRITE access to the files being backed up. |
|
Back up files currently open for write by other applications on the system. |
|
Back up files modified since the last backup was done with the /RECORD qualifier. |
|
Back up files that expired before today. Files without a defined expiration date are considered to have expired on 17-NOV-1858. Refer to See Setting File Retention and Expiration Times for more information on setting expiration_dates. |
Examples of Defining Backup Types:
The following examples show how to specify the backup type.
To perform an image backup (everything on the disk), record the backup date on the disk file headers, and to verify that the files were copied as specified, set the QUALIFIERS symbol as follows:
$ QUALIFIERS :== /IMAGE/RECORD/VERIFY
To perform an incremental backup (a backup of all files that were modified since the last backup that used the /RECORD qualifier), set the QUALIFIERS symbol as follows:
The privileges assigned to the PRIVS symbol determine if SLS software can access files that are to be saved, regardless of the file's individual protection. This assignment is equivalent to a VMS privilege assignment that is necessary to run a system backup operation.
The default assignment is BYPASS. This allows SLS to bypass individual file protection and save or restore any files on the device.
Users with the READALL privilege have access to file headers which enables them to modify files.
Assignments to the MNTFLAGS symbol specify the MOUNT qualifiers to use for the system backup operation. More than one assignment may be specified as a logical OR operation on the allowable assignments.
Do not modify @SLS$DATAC:MNTDEF (located immediately before the MNTFLAGS symbol in the SYSBAK.TEMPLATE file.
See Mount Action Symbol Assignments lists actions that can be enabled when the volume is mounted for the system backup operation, and the corresponding assignment for the MNTFLAGS symbol.
The string assignments made to the SAVESET_GEN symbol translates into the string used to generate save set names. The SAVESET_GEN symbol allows you to specify the format of the save set names that are written to tape.
The SLS software provides many symbol name string assignments that define the SAVESET_GEN symbol. They are grouped into the following classes:
See Values for SAVESET_GEN lists and describes the symbol assignments for the SAVESET_GEN symbol, describing both the file and device assignments, as well as time and sequence assignments.
The VMS Backup utility writes only the first 17 characters of a save set name on a volume and only responds to that length on restore operations. The SLS software truncates any name longer than 17 characters using the following criteria, in the presented order, until the name is short enough:
Follow the procedure in See How to Generate Save Set Names to generate save set names from the assignments made to the SAVESET_GEN symbol.
You need to assign volume protection to the volumes where SLS will write the save sets. Assign the PROTECTION symbol the same assignments you would make for the DCL SET FILE /PROTECTION command.
If the volume needs read and write protection only for system, owner, group, and world, then assign:
Consider the volume characteristics required for your system backup operation. They should include:
Make an assignment to the MEDIA_TYPE symbol that is the type of media to be used for the system backup operation.
You must use one of the media type (MTYPE_n) definitions from the SYS$MANAGER:TAPESTART.COM file.
If you want to write the save set to a 9-track magnetic tape and have an MTYPE_n definition of 9TRACK, you would make the following assignment:
Assign the volume pool name to the TAPE_POOL symbol. This name is the pools of volumes from where the volume for the system backup operation will be selected.
A volume pool named MONTH_IMAGE is used for monthly image backup operations. Assign the following:
This symbol is valid only when the PREALLOC or AUTOSEL symbols are also used.
Assign the volume recording density value to the DENSITY symbol.
The volumes for the backup operation are magnetic tape with a density of 6250 bpi (bits per inch). Assign the following:
Your site must have, at minimum, the amount of tape devices that support the density value assigned to the N_DRIVES symbol.
The system backup operation can be controlled with a range of operator intervention options. The options range between attended and unattended system backups.
Attended system backup operation:
Requires operator intervention at various stages of the system backup operation, from selecting and loading volumes in real time, to initializing volumes when they are ready for writing.
Unattended system backup operation:
SLS software will acknowledge volumes and write data without operator intervention. The operator can prepare the volumes and devices before the start time of the system backup operation.
The following example shows assignments that could be used to control a system backup with a policy of operator intervention, restricting the operator's decisions.
Backup policy might require the operator to make various decisions about the system backup operation. The following example shows assignments that would allow the operator to respond to these decisions:
The following example shows assignments that could be used to control an unattended system backup operation on a gravity-driven loader device (stacker). For more information about running unattended backup operations, see See Performing Unattended Backup Operations.
Use the following options for acknowledging loaded volumes before they are mounted:
Assign the number of reels to be allocated to the PREALLOC symbol. This allocation occurs before midnight on the day before the system backup operation is to be executed.
Doing this generates a printout of volumes allocated for the next day's backup operations. This allows the operator to prepare for the next day's system backup operations by gathering the allocated volumes.
If you want to allocate five reels of tape on the midnight before the backup is run, you would use this assignment:
Assign this value (number of reels) to zero if there are no volumes to be allocated ahead of time.
This symbol is ignored if the system backup operation is manually executed.
The AUTOSEL symbol is used by SLS when the system backup operation runs out of preallocated volumes. When appropriately assigned, this symbol enables SLS software to search the SLS volume database for volumes in the free state. Depending upon the assigned value, SLS will either prompt the operator to load these volumes, or automatically load them.
SLS searches for free volumes in the pool name assigned to the TAPE_POOL symbol.
There are two allowable values for AUTOSEL. See Values for AUTOSEL list these possible values and corresponding descriptions.
A significant distance from the drives: The operator has to consider obtaining additional volumes before the backup begins. These additional volumes would then be nearby when the backup begins. Set up a procedure that will dictate this situation. Refer to See Recommended Procedure for Handling Volumes. |
See How to Handle System Backup Volumes describes how to handle additional volumes that might be needed if all preallocated volumes are used before a backup job completes.
The CONTLOADOPT symbol specifies the action to take when a label mismatch occurs while loading a volume. Depending on the value assigned to CONTLOADOPT, the operator is prompted when a label mismatch occurs, to which the operator must reply CONT.
See Values for CONTLOADOPT describes the volume label processing criteria, the conditions for accepting or rejecting the volume, and the related CONTLOADOPT assignment.
Media resource allocation for system backup operations concerns the number of save sets that can be placed on a single volume.
If you want to write more than one save set to a single set of volumes, assign a string of at least one character to the CONTINUE symbol.
If you do not want to write more than one save set to a volume, assign a null string to the CONTINUE symbol.
The string assigned to CONTINUE is used by SLS as a file name without device, directory, file type, or version number. Therefore, this assignment must be compatible with VMS file naming conventions.
If the string assigned to the CONTINUE symbol in a specific _SBK.COM file is unique from all other strings in other _SBK.COM files, save sets generated by this _SBK.COM will be written on volumes or volume sets distinct from those volume or volume sets used by the other _SBK.COM files.
If more than one _SBK.COM file shares the same CONTINUE
symbol string, then the save sets created by those _SBK.COM files are written on the same volume or volume sets.
Two system backup operations run at different times on the same evening:
The source code and documentation both belong to the PET project. To write the save sets from each system backup operation to the same volume, assign the same string to the CONTINUE symbol in each *_SBK.COM file, such as:
Consider the following when determining the completion processing for volumes used for system backup operations:
The symbols in a *_SBK.COM file that control the creation and maintenance of SLS system history files are HISTORY_SET and SBUPDT_Q.
Disabling SLS system histories:
If you do not want a history file maintained for the backup operations executed with this file, set these symbols to null strings.
Assign the name of the SLS system history set to which the system backup operation belongs to the HISTORY_SET symbol.
If the system backup operation is a monthly image and you want to maintain the SLS system history file for it, you could use a SLS system history file set named MONTHLY:
The SLS system history set name must be defined in the TAPESTART.COM file with a HISNAM_n assignment. Refer to See Naming Your SLS System History File Sets for more information.
Assign the name of the queue where the system history processing jobs will be submitted to the SBUPDT_Q symbol. Include any batch qualifiers, such as /AFTER and /NOPRINT.
If you want your history database processed on the SYS$BATCH queue at 11:00 p.m., assign:
Assign the number of days to retain volumes to the SCRATCH_DAYS symbol. This determines when volumes are automatically released for reuse or placed in the transition state.
The action taken depends on the assignment of FRESTA in the SYS$MANAGER:TAPE TART.COM file. Refer to the Media and Device Management Services for Open VMS Guide to Operations for more information.
Supply an integer value greater than zero. If the tapes are to be retained indefinitely, assign a null string.
To set the volumes used for an image system backup operation of a data disk for one year, assign:
This value must be the same for all *_SBK.COM files with the same value for the CONTINUE symbol.
There are two symbols for controlling the off-site and on-site dates for volumes stored in an off-site vault: OFFSITE_DATE and ONSITE_DATE.
See Values for OFFSITE DATE and ONSITE DATE shows appropriate assignments to the OFFSITE_DATE and ONSITE_DATE symbols.
The TAPE_LABELS symbol determines when volume labels are printed. This symbol is meaningful only if the LBL symbol has an assignment in the SYS$MANAGER:TAPESTART.COM file.
See Values for TAPE LABELS describes the label printing capabilities provided by SLS and the assignments that enable them.
Considerations for backup device control include the type and number of tape devices to be used and are described in the following sections.
Use See Values for DRIVE TYPE to identify the tape device or tape device types you want to use for the system backup operation.
Assign a value indicating the number of drives to use for the backup job to the N_DRIVES symbol. SLS software prompts the operator to load this number of drives with volumes before any writing occurs.
Enabling SLS to prompt for drives:
If you want SLS software to prompt the operator for the number of drives when the backup begins, assign a value of zero.
You must assign a value between one and the number of drives you have that accommodates the density specified by the DENSITY symbol.
If you have 10 drives of the same density assigned to the DENSITY symbol, but the system backup operation requires only half of them, assign:
See SLS Implementation of N_DRIVES Symbol describes how SLS software implements the N_DRIVES assignment to a system backup.
Status and information reporting tasks include:
Enabling Operator Replies for System Backup Progress Assign a value to the PROGRESS symbol to enable progress reporting. Refer to See Values for PROGRESS Symbol:
Enable progress reporting to occur after a set number of files have been saved |
The number of files saved before generating a progress report. |
Controlling DCL REPLY Messages
The REPLY_MSG symbol specifies the command to send messages when system backup operations start and complete. Assign the DCL REPLY or REQUEST command and desired qualifiers to the REPLY_MSG symbol.
If you want to send messages and a beep to all user terminals that are logged in, assign:
$ REPLY_MSG :== REPLY/USER/BELL
If you want to send messages only to TAPES operators, assign:
Assign the account name of the account that will receive the message reporting status of the system backup operation to the STATUS_MAIL symbol.
If you want the mail sent to the system account, then use this assignment:
If you do not want mail sent to anyone, assign a null string to this symbol.
Assign the name for the log file produced by the system backup operation to the LOG_FILE symbol. You may include DCL PRINT command qualifiers.
Do not specify a disk name, directory name, or file extension.
Example: If you want to name your log file DAILY_INCREMENTAL.LOG, use this assignment:
$ LOG_FILE :== DAILY_INCREMENTAL
If do not make an assignment to the LOG_FILE symbol, then the file name defaults to SLS$SYSBAK:jobname.LOG.
Assign the /NOPRINT qualifier to the log file name to disable printing the log file.
Assign the format of the listing file name in the same manner you assigned the SAVESET_GEN symbol for save set names to the LISTING_GEN symbol.
All string assignments available for the SAVESET_GEN symbol are also available for the LISTING_GEN symbol. An additional string assignment, SAVESET, includes the save set file name. Refer to See Generating Save Set Names for examples of the string assignments.
Include the device and directory names in the LISTING_GEN assignment.
An assignment to the FULL symbol controls the listing file format. The following values are valid:
You have the option to print your listing file when the system backup operation is complete.
If you want to print the listing file, assign the name of the print queue you want to the PRINT_Q symbol. You may also include any allowable PRINT command qualifier.
If you want to print the listing file on the SYS$PRINT queue and delete the file upon completion of the print job, assign:
$ PRINT_Q :== SYS$PRINT/DELETE
If you do not want to print the listing file, assign a null string to this symbol.
SLS software allows you to distribute log and summary files produced by SLS maintenance and system backup operations. These files can be distributed into four separate directories.
The advantages of distributing these files are:
A summary file is created when a disk is saved. It is used by SLS to determine which volumes to use to restore a specified disk. Each system backup operation creates a summary file for each disk or set of files defined by the FILES_n symbol in the *_SBK.COM file. The summary file contains:
Summary files are used to determine:
Summary files are optional. The symbol SUMMARY_FILE, defined in the SBK file for the system backup operation, determines where these files are created and what they will contain.
<disk device name>.SUM_<date and time>_<system backup name>_<nodename>
See Values for SUMMARY FILE describes the different summary file generation capabilities and the corresponding assignments.
Each system backup operation is performed in a batch process and produces a log file that indicates the success or failure of the system backup operation.
SYSBAK_<process_id>_<number>.LOG (for other messages)
<system backup name>.LOG (for full trace of system backup job processing)
Specifying a logical name search list:
You can specify a logical name search list for this location if you wish. When specifying a search list the following conditions apply:
A system backup operation stores history data in a temporary history file. If system history files are updated, then temporary files are created.
Temporary history files are processed at a later time to update the system history files with records of the files backed up during the system backup operation. This process is done in two phases to allow the scheduling of the history file update (SBUPDT), a time-consuming process.
Temporary history files have the file name extension of .HST. When a system backup operation initiates a batch job to update the system history files, these temporary history files are renamed with the file name extension of .HST_DONE.
SLS software performs various maintenance operations, such as updating history files (SBUPDT) and cleanup operations. These maintenance operations are performed in batch, and as a result, produce log files.
Varies according to the maintenance function.
Saving copies of data through the SLS software helps to protect the integrity of the system software and prevents data from becoming lost or damaged. The most common backup operations include:
The two main SLS backup operations are saving and restoring files.
This chapter contains information about performing routine save operations with the SLS software. For information about performing restore operations, see Chapter 7.
If your site is set up to handle storage requests through standby archiving, you can perform save operations on preallocated media and without constant operator intervention. For information about standby archiving procedures, see Chapter 9.
SLS also supports saving and restoring Oracle Rdb databases through the Oracle RMU. For details on using SLS with Oracle RMU, see Chapter 8.
This section contains information about the tasks related to performing save operations using the SLS software.
Save operations are important because they safeguard against accidental data deletion and/or data loss due to disk corruption. There may be data on your system that is valuable to you and your department. Having one copy of this data centrally located may not be the best way to preserve it.
To perform save operations, the SLS software creates a batch job that stores the contents of selected:
Disk volume sets onto one or more tapes or optical cartridges for retrieval at a later time
By default, the VMS Backup utility is used to store data in save sets. With some SLS backup operations, other utilities such as the VMS Copy utility may be used instead.
There are two types of backup operations. They are:
System backups can be manually invoked or automatically scheduled depending upon your storage management policy.
User backups are manually invoked by using either the Operator or User Menu, or the DCL STORAGE commands.
The storage administrator manages operator and user capability to save data. There are a number of processing defaults you can configure in SYS$MANAGER:TAPESTART.COM to control the STORAGE SAVE command and Operator and User Save Screens.
Another consideration for controlling operator and user save operations is the location of SLS user history files.
This section describes the symbols in the SYS$MANAGER:TAPESTART.COM file that control the STORAGE SAVE command and the Operator and User Save Screens.
SLS software supports the following backup operation formats:
BACKUP is the default format for save and restore operations.
To save data using the VMS Backup utility, assign the string "BACKUP" to the BAKFMT symbol in the SYS$MANAGER:TAPESTART.COM file.
For ASCII formatted tapes, SLS software uses ANSI-labeled volumes and the VMS Files-11 Magnetic Tape ACP to interpret the volume formats.
To execute a DCL COPY command to an ASCII formatted volume, assign the string "ASCII" to the BAKFMT symbol in the SYS$MANAGER:TAPESTART.COM file.
For EBCDIC formatted volumes, SLS software runs an internal program that reads from or writes to EBCDIC tapes only.
Because there is no label on EBCDIC tapes, this program requires specifying the blocking factor and record length before starting the save operation.
To save files in EBCDIC format, assign the string "EBCDIC" to the BAKFMT symbol in the SYS$MANAGER:TAPESTART.COM file.
The following restrictions are imposed on the data saved by an ASCII or EBCDIC formatted backup operation:
Assign a string of six characters to the BAKOPT symbol to set Operator Save Screen option default assignments.
See Setting Save Screen Defaults using BAKOPT describes setting the default position in BAKOPT string, from the left to the right.
Assign the default volume selection method for user save operations as shown in See Values for BACKUP_DEFAULT_REEL:
Control their own volumes and you want to allocate a new volume for each save question |
|
Define the backup volume protection by assigning a hexadecimal value to the PROTECTION symbol in SYS$MANAGER:TAPESTART.COM.
Refer to the Guide to VMS System Security for more information about protection codes.
To define the batch queue name for SLS backup operations, assign batch queue name to the BAKQUE symbol in the SYS$MANAGER:TAPESTART.COM file.
You may append the qualifiers /NOSPOOL or /HOLD to the queue name assigned to the BAKQUE symbol. Any other qualifier appended to this symbol will cause a parse error.
To be notified when your backup operation is complete, assign one of the following strings to the BACKUP_FINISH symbol in the SYS$MANAGER:TAPESTART.COM file:
Assign the default volume size to the BACKUPSIZE symbol in the SYS$MANAGER:TAPESTART.COM file. This assignment defines the default volume size used for save operations performed with the STORAGE SAVE command.
There may be times when you need to save files from volumes that are not located in the volume database of your site library. For example, you might receive a tape from another SLS site with files you want to copy.
User backup operations permit the use of volumes that do not have an existing Volume ID record in the volume database. Identify these nonlibrary volumes by entering the keyword "FOREIGN" in the Volume ID field and by describing the volume in the Notes field.
Use the first six characters of the Notes field to store the volume's label. For example, to use a nonlibrary tape, volume labeled "XXYYZZ" and instructions to the operator to locate the volume when requested, store the label name and descriptive text in the Notes field.
/NOTES="XXYYZZ, located in the red box on the floor of the computer room."
The Manual System Backup option on the operator menu displays a screen of interactive dialogue prompts that allows you to perform manual system backups by:
This option can also be a method of creating a new *_ SBK.COM file for automatic backups.
To access the Manual System Backup option, enter 1 from the Operator Menu and press Return.
The software displays the Manual System Backup screen shown in See Manual System Backup.
Perform the steps described in See Manual System Backup Procedure to use the Manual System Backup menu option.
The Save Screen option on the Operator and User Menus displays a screen that allows you to save user files. The SLS software save process executes a batch job that uses the VMS BACKUP utility to save the specified files.
The Operator and User versions of the Save Screen are essentially the same. However, if you access the User version of the Save Screen and do not have the OPER privilege turned on, not all fields display. In See Procedure For Using the Save Screen Option, the items that do not appear on the non-privileged User Save Screen are identified.
Use the keys defined in See Keys Defined for User Save Operationswhile using the Save Screen menu option.
Perform the the steps described in the See Save Screen to use the Save Screen menu option.
Enter 2 from the Operator Menu or 1 from the User Menu and press <Return>. The software displays the Save Screen screen (See Save Screen). |
||||
The window display is limited to three lines. As you add new file names, previous lines will scroll out of the window. Use the up arrow key < ^ > to redisplay the file names that scroll out of the window. How to save more than 16 files: To save more than 16 files, re-enter the Save Screen option. Wildcard characters (* and %) can be used to specify groups of files. |
||||
IF you want to exclude any files that meet other specified criteria (for example: wildcard characters in the file names or date selection criteria), THEN enter any file names to be excluded from the backup operation. |
||||
Enter any BACKUP qualifiers not available through the STORAGE SAVE command. For example, /BLOCK and /BUFFER. |
||||
Select the volume that the backup operation will write the saved files to by using one of the following methods. |
||||
Enter ARCHIVE. This indicates the files are archived to the standby archive volume set. When you get to the Media Notes field, enter the archiving class name. (Check with your storage administrator for the class names). |
||||
Indicates the volume is not stored in the SLS site library. When you get to the Media Notes field, enter a note to identify the volume and to indicate its location. IF you entered Y in the /Init? field, THEN the first six characters of the Media Notes field become the label for the foreign volume. |
||||
Allocate a volume from the user's default pool or from a general default pool |
||||
Enter the new save set name over the displayed default: The save set name is limited to 17 characters which includes the file name, period and file extension. |
||||
Enter the new scratch date over the displayed default date. This date determines how long the volume is allocated to the user. |
||||
If you access the Save Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
The backup operation to start as soon as you exit from the screen (default) |
||||
Enter the new media type over the displayed default media type. |
||||
Enter the type of recording format for the backup operation by using one of the following values. |
||||
When you get to the blocking factor and record length fields, enter values for both fields. On-line user history recrods are not maintained for EBCDIC formatted volumes. |
||||
If you access the Save Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
IF you specified an EBCDIC format, THEN enter the number of records for each block of data. The blocking factor is used along with record length. 80 is the record length in bytes The data written is an 800 byte block. If you access the Save Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
IF you specified an EBCDIC format, THEN enter the length of the record in bytes. If you access the Save Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
1. Choose one of the following to specify additional criteria by date selection. |
||||
Disable the date selection file feature (none is the default) |
||||
Select files created, modified, expired or backed up earlier than the time specified |
||||
Select files created, modified, expired or backed up equal to or later than the specified time |
||||
2. Press <Tab> to move to the next field. IF you selected either 1 (/BEFORE) or 2 (/SINCE), THEN you must also select qualifiers from the following choices. |
||||
That have reached their expiration date before or since the selection date |
||||
That have been backed up before or since the selection date |
||||
3. Press <Tab> to move the cursor to the Date Selection field. |
||||
Enabling this field requires either: IF you want to save locked files, THEN enter Y to enable this filed. If you access the Save Screen from the User menu and do not have privileges enabled, this filed does not appear. |
||||
Files that contain error sensitive data, such as financial records. IF you want to verify that the backup volume is correct by comparing the backed up files against the original files, THEN enter Y to enable this field. If you access the Save Screen from the User menu and do not have privileges enabled, this filed does not appear. |
||||
IF you want to place a one-line entry into the batch log file for each target file handled, THEN enter Y to enable this filed. If you access the Save Screen from the User menu and do not have privileges enabled, this filed does not appear. |
||||
IF you want to perform a CRC to ensure that the backup volume is written properly, THEN enter Y to enable this field. If you access the Save Screen from the User menu and do not have privileges enabled, this filed does not appear. |
||||
IF you want to record any file you save in the on-line history files, THEN enter Y to enable this field. If you access the Save Screen from the User menu and do not have privileges enabled, this filed does not appear. |
||||
Do not initialize an optical media. For example, an RV02K optical cartridge. |
||||
You want to initialize the backup volume before the backup operation begins. |
||||
This is the first writing to a magnetic tape volume previously owned by another user. |
||||
If you access the Save Screen from the User menu and do not have privileges enabled, this field does nto appear. |
||||
The first word in the notes field must define the archive class. |
||||
The notes field uses the first six characters to define the volume label. |
||||
Press <Return> to submit the backup operation. The system responds with "Is it okay to send the BACKUP request"?. |
||||
The software displays the message that the backup operation will begin and which volume the backup operation will use. |
||||
Enter N, press <Return> and then keypad period <.> to exit the Save Screen Menu option. |
||||
With some planning, and the appropriate devices, you can run your system backup operations without an operator to attend to the loading of tape volumes. Under control of SLS software, the device loads media on an as-needed basis. SLS software can run several system backup operations in succession.
To perform unattended backup operations, you can use robotically-controlled jukebox devices (for example, TL820s) or multiple-volume stacker devices (for example, TA90s). For information about working with jukebox devices, see the <REFERENCE>(MDMS_guide). The general information provided here should explain enough additional information for you to run unattended system backup operations with either kind of loader.
Robotically controlled Jukebox Example:
If you have a TF857 (DLT) Digital Linear Tape loader, you can put seven volumes into the loader. SLS will use the volumes, then when all are full, you need to attend the loader to put in new tapes.
If you load six volumes into the device and only three are used for the system backup operation, the other three volumes wait until they are needed for the next system backup operation.
The following restrictions apply when performing unattended backups:
For stacker devices, volumes that are write-locked or that do not match the other selection criteria will be unloaded from the drive. SLS attempts to load the next available volume in the loading mechanism before continuing the backup operation.
See How Unattended Backup Operations Work describes how an unattended system backup operation takes place.
With SLS software and appropriate devices, you can perform completely unattended system backups. To do this, you need to set the appropriate symbols in your system backup command files, *_SBK.COM.
The following example shows how you might set certain system backup symbols to perform unattended system backups with a StorageTek silo.
1 An *_SBK.COM file that specifies TA90 or TF857 tape devices would set the AUTOSEL symbol to zero, if the devices are being used as stackers. This is because these types of tape devices cannot access preallocated volumes.
To perform an unattended system backup operation, refer to See Performing an Unattended System Backup Operation.
Follow the steps described in See Unattended System Backups Using Preallocated VolumeSets to perform unattended system backups using preallocated volumes.
This chapter contains information about restoring data saved through SLS. You can restore individual files, groups of files, or entire disks.
These tasks are performed by using one of the SLS Menu options and/or the DCL STORAGE commands. All DCL STORAGE commands are described in Storage Library System for OpenVMS Command Reference Guide.
The considerations for restoring data with SLS software include:
To control the options for restoring data, make assignments to symbols in the SYS$MANAGER:TAPESTART.COM file.
The following sections describe the symbols that control SLS restore operations.
Assign the queue for restore operations to the RESQUE symbol.
You may append the qualifiers /NOSPOOL or /HOLD to the queue name assigned to the RESQUE symbol. Any other qualifier added to this symbol will cause a parse error.
Assign a string of five characters to the RESOPT symbol. This sets the Operator Restore Screen menu option default characters.
There are only two acceptable characters:
The default string character assignment for the RESOPT symbol is:
These are not used, they must be left blank.
See Values for RESOPT describes setting the default string characters in the RESOPT string, from the left to the right.
Assign one of the following strings to the RESTORE_FINISH symbol:
The storage administrator manages operator and user capability to restore data. There are a number of processing defaults you can configure in SYS$MANAGER:TAPESTART.COM to control the STORAGE RESTORE command and Operator and User Restore Screens.
Another consideration for controlling operator and user restore operations is the location of SLS user history files.
There may be times when you need to restore files from volumes that are not located in the SLS database of your site library. For example, you may need to test new software and therefore, need to place the software on-line. Or, you might receive a tape from another SLS site with files you want to copy.
User backup and restore operations permit the use of volumes that do not have an existing Volume ID record in the SLS volume database. Identify these nonlibrary volumes by entering the keyword "FOREIGN" in the Volume ID field and by describing the volume in the Notes field.
Use the first six characters of the Notes field to store the volume's label. For example, to use a nonlibrary tape, volume labeled "XXYYZZ" and instructions to the operator to locate the volume when requested, store the label name and descriptive text in the Notes field.
/NOTES="XXYYZZ, located in the red box on the floor of the computer room."
The Full Disk Restore menu option is used to restore system files to a specified disk.
Full Disk Restore Screen Diagram
See Full Disk Restore Screen represents the Full Disk Restore screen.
Perform the steps described in the See Full Disk Restore to use the Full Disk Restore menu option.
Enter 3 from the Operator Menu and press Return. The software displays the Full Disk Restore screen shown in See Full Disk Restore Screen. |
|||
The software displays a list of system disks and reprompts for the disk name. |
|||
The software displays a summary report of system backups for the selected disk and includes: |
|||
An entry may consist of a range of line numbers such as "1-3" or "3-1" Separate each entry in the list with commas |
|||
Display the selected items in the order they will be restored |
|||
Enter the disk name onto which the system files are to be restored to. |
To restore a single file or a group of files, you must request the specific information to be restored.
A restore operation retrieves copies of previously saved files or save sets from their corresponding storage media or volumes. You must identify the volume on which the files or save sets are located and the location in which to place the restored files or save sets.
See Ways to Restore a File or Group of Files identifies the different ways you might go about restoring a file or group of files.
This section explains how to request a restore operation from the User or Operator Menu.
The Restore Screen option displays a screen that allows you to restore user files.
Use the keys defined in See Defined Keys for Restore Screen while using the Restore Screen option.
Move to the next field (forward) |
See Restore Screen represents the Restore Screen menu.
Perform the steps in See Restore Screen to use the Restore Screen option.
Enter 4 from the Operator Menu or 2 from the User Menu and press Return. The software displays the Restore Screen as shown in See Restore Screen. |
||||
Enter up to 16 file names using the following rules:
The window display is limited to three lines. As you add new file names, previous lines will scroll out of the window. Use the up arrow key to redisplay the file names that scroll out of the window. How to restore more than 16 files: To restore more than 16 files, re-enter the Restore Screen option. Wildcard characters (* and %) can be used to specify groups of files. |
||||
The software displays the current directory name, places the output file in that directory, and displays the output file name. Files are not restored in the original directory if you have not set default to the original directory. If you want the files restored to the original directory, then specify the directory in the output file line. |
||||
Enter the new directory and filename where the files should be restored. |
||||
Select the volume that contains the backed up files to be restored. |
||||
Know the name of the Volume ID of the volume that contains the saved files |
||||
Do not know the name of the Volume ID and want the software to search for it |
Enables the software to search on-line history files. The system then asks if you want to search the files. |
|||
Entered AUTO and you want the software to search the user history file for the record of a backup operation |
The software begins its search of the user history file for a saved copy of a file and replies with a message that it is searching the user backup files. All entries for your files are displayed in a numbered listing on your terminal screen. The software displays the values for the entry in the Restore Screen. |
|||
Entered AUTO and you do not want the software to search the user history file for the record of a backup operation: |
The software asks if you want to search the system history file for the record of the backup operation. All entries for your files are displayed in a numbered listing on your terminal screen. The software displays the values of the entry in the Restore Screen. IF you do not select a history set, THEN the software selects the latest entry in the history file and displays these values in the Restore Screen. |
|||
Enter the recording format of the volume that contains the files to be restored. |
||||
The cursor moves to the Blocking Factor field. User on-line history files are not maintained for this format. |
||||
If you access the Restore Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
IF you entered EBCDIC in the format field, THEN enter the number of records for each block of data. The blocking factor is used 10 is the common block factor, and 80 is the record length in bytes. The data written is an 800 byte block. If you access the Restore Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
IF you entered EBCDIC in the Format field, THEN enter the length of the record in bytes. Record length used in conjunction with the blocking factor to define the format of an EBCDIC tape. If you access the Restore Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
IF specified a foreign volume in the Volume ID field, THEN enter the recording density for the tape. |
||||
Enable this field if you want each file restored logged in a batch listing for the job. If you access the Restore Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
Enable this field if you want to verify the restore by comparing it with the original backup volume. If you access the Restore Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
Enable this field if you want the CRC to make an additional error check by reading the restored files to ensure they were written properly. If you access the Restore Screen from the User menu and do not have privileges enabled, this field does not appear. |
||||
This field cannot be modified. The position is marked by the number of tape marks between the beginning of the volume and the save set file. |
||||
Choose one of the following options for a file that already exists on the restored disk. |
||||
The software places a message in the batch log file indicating the file cannot be restored. |
||||
The software creates a new file with the version number one greater than the on-line duplicate file. |
||||
The software copies the the restored file onto the existing on-line file and extends it if necessary. The name and version number for the new file are the same as the original on-line file. |
||||
The software deletes the existing on-line file and creates a new file into which the restored file is copied. |
||||
Enter a short note or description about the volume (up to 64 characters). The note description should uniquely identify the IF you selected FOREIGN in the Volume ID field, THEN enter a note that identifies the volume to use for the restore. The SLS software sends this note to the operator with a load request. |
||||
The software returns you to the beginning of the Restore Screen. |
||||
The software submits the restore operation to batch. SLS software sends the operator a request message to load the appropriate volume. After the volume is loaded, the system begins the restore operation. When the restore operation is complete, SLS software sends the operator a message. The .LOG and .LIS files created during the restore operation are placed into the default directory. |
||||
This chapter describes how to integrate Oracle RMU backup and restore operations into SLS environment.
SLS provides the interface to media management services for the Oracle RMU, as well as the catalog for managed media. The Oracle RMU performs backup and restore operations. SLS passes control to Oracle RMU for backup and restore operations with qualifiers specified in the DBSBK files and STORAGE RESTORE command qualifiers.
The RMU backup and restore operations take place in a context created by SLS, but are still Oracle RMU operations. This chapter describes any minor differences between Oracle RMU operations that can take place inside SLS, and Oracle RMU operations that would be done without SLS. For additional information about Oracle RMU, see the Oracle RMU documentation.
SLS supports the following RMU capabilities:
SLS includes features that support Oracle Rdb Management Utility (RMU) backup (RMU/BACKUP) and restore (RMU/RESTORE) operations on Oracle Rdb databases. SLS integrates media and lifecycle management capabilities with RMU's ability to back up (RDB) relational database information.
What this means is that you can use SLS to back up the database information using RMU's data management capabilities. RMU maintains the relations among the data and backs up the data in a relational manner.
To use the integrated database backup and restore support features in SLS, you must use Oracle Rdb, version 4.2 or later. You cannot execute RMU/BACKUP and RMU/RESTORE operations under SLS control for earlier versions of Oracle Rdb.
SLS supports the RMU backup feature only for system backup operations that use the new database system backup command files described below. SLS does not support user backups of Rdb databases.
The system backup feature of SLS requires a system backup command file. Adding the RMU backup and restore features into SLS requires a new type of system backup command file. Therefore, we now differentiate between the OpenVMS system backup command file and the database system backup command file.
This term describes system backup command files and operations that use the OpenVMS Backup Utility software (VMSBUXXX.EXE) embedded in SLS software.
This term describes system backup command files and operations that use the RMU software resident on the systems on which SLS and Rdb software is installed and used.
Database system backup processing is similar to SLS processing for an OpenVMS system backup. The following steps occur for a database system backup:
SLS keeps log files of the backup in the locations used for OpenVMS system backups. SLS performs history updates to history files that are specifically designed for use as database system backup history files, because their internal format differs from that used by OpenVMS system backups. You can search these history files and restore database files using the STORAGE REPORT SYSTEM and STORAGE RESTORE commands.
This section describes the different types of database system backup operations and tells you the assignments to make in the database system backup command file. Because the database system backup command file is similar to the OpenVMS system backup command file, this section only describes symbol assignments that are specific for the database system backup command file.
See Process for Defining Database System Backup Operations lists the various things you need to do to define your database system backup operations.
Before you begin database system backup operations is to identify history sets for database backups in TAPESTART.COM. See See Identifying Database Backup History Sets in TAPESTART.COM. |
|
Before you can define your database backup operation, you need to locate the command file that controls this behavior. See See Locating the Database System Backup Command File. |
|
Define the BACKUP_TYPE symbol to identify a database system backup operation. See See Identifying Backup Operation Type. |
|
You may need to modify values for FILES_n and DRIVE_TYPE. See See Modifying Existing Symbols. |
|
To use RMU/BACKUP qualifiers, you need to modify the values for QUALIFIERS_n. See See Using QUALIFIERS_n. |
|
SLS requires that certain symbols be in the command file, although those symbols have no meaning for database system backup operations. You need to define these symbols to be null. See See Nullifying Existing Symbols. |
|
Before you actually run your database system backup operations, you need to be sure the version of Oracle Rdb software running on your systems is compatible with SLS. See See Specifying Oracle Rdb Software Version. |
|
At this point, you are ready to run your database system backup operations. See See Running Database System Backups. |
SLS maintains history files in directories that contain information about when specific files were backed up, what volume they are contained on, and so on. Similarly, database system backups write information to database history files describing the root file, areas, time of backup, the volume it is on, and other appropriate details.
A series of symbols assignments in the SYS$MANAGER:TAPESTART.COM file describes the history files. In previous versions of SLS, two values, name and directory, described the system backup history files, for example:
$ HISDIR_1 := SLS$ROOT:[GENERIC]
This definition for a history set is still valid. However, there is now a third value, HISTYP_n, that describes the type of history file that exists in the specified directory. You can use one of two values for the HISTYP_n symbol:
$ HISNAM_2 := GENERIC_RMU_HISTORY
$ HISDIR_2 := SLS$ROOT:[HIST.DATABASE_HISTORY]
The first history directory specification, without the HISTYP_n parameter, is still valid because SLS defaults the history type to BACKUP if you do not specify it. To specify a history set of type BACKUP, use the following form:
$ HISDIR_3 := SLS$ROOT:[HIST.SYSTEM_HISTORY_FILES]
Database System Backup File History Set Symbol
The database system backup file must include the name of the history set to be updated. For example, for a database system backup to update the history set described immediately above, put the following line in the database system backup file:
$ HISTORY_SET :== GENERIC_RMU_HISTORY
The database system backup command file template supplied with the SLS kit is located at:
The database system backup command file uses the following file naming convention:
name is a meaningful name to the administrator overseeing the backup policy.
The BACKUP_TYPE symbol specifies the type of backup operation. The symbol assignment identifies either an OpenVMS or a database system backup operation. This symbol appears in both the OpenVMS system backup command file (*_SBK.COM) and the database system backup command file (*_DBSBK.COM).
If you do not assign a value to the BACKUP_TYPE symbol, or if no symbol assignment is made (as is the case with existing system backup procedures), the backup operation defaults to an OpenVMS system backup operation.
You may need to change the values for three symbols in the database system backup command file. These symbols have a different meaning than they do for an OpenVMS system backup command file. See Symbols with New Meanings lists the symbols, their purposes, and example assignments in a database system backup file.
See Symbols with New Meanings Symbols with New Meanings
Name of the Oracle Rdb database to be saved. You must assign the name of the Oracle Rdb root file to the database name. |
|
Name of the tape drives to be used. The value assigned to this symbol accepts the /MASTER qualifier to identify master drives. For more information on using multiple tape devices, refer to the Oracle Rdb Guide to Database Maintenance and Performance. If you do not specify this symbol, the normal defaulting takes place; this means you cannot specify qualifiers such as /MASTER. This example shows a single tape device used for the database system backup operation: This example shows a master/slave arrangement in which the RMU backup treats the device named $1$MUA10 as the master and $1$MUA20 as the slave: $ DRIVE_TYPE :== $1$MUA10/MASTER, $1$MUA20 Note also that if the DRIVE_TYPE symbol specifies more than one drive, then you must set the N_DRIVES symbol in the database system backup file to the number of drives. In the example immediately above, you would make the following assignment: |
|
Qualifiers used by the RMU/BACKUP command. For more information on these qualifiers, refer to See Using QUALIFIERS_n, and to the Oracle Rdb Guide to Database Maintenance and Performance. |
|
You can use the QUALIFIERS_n symbol, where the digit ``n'' is replaced by the same digit as that in the FILES_n symbol, to put any valid RMU/BACKUP qualifier (see QUALIFIERS_n in See Symbols with New Meanings) on the command line. For example, you might want to do this to perform backups by specific area, or to perform incremental backups. For further details on these concepts in a, consult the appropriate Oracle Rdb documentation.
The following example backs up only the three specified areas of the Oracle Rdb database whose root file is specified in the FILES_1 parameter:
$ FILES_1 :== $27$DUA2:[DATABASE.RECORDS]MASTER.RDB
$ QUALIFIERS_1 :== /INCLUDE=(AREA_21,AREA_22,AREA_23)
This example shows how to eliminate four particular areas in a database system backup operation:
$ FILES_1 :== $11$DUA12:[X.Y]EMPLOYEES.RDB
$ QUALIFIERS_1 :== /EXCLUDE=(AA,BB,CC,DD)
Finally, here is an example of an incremental backup:
$ FILES_1 :== $1$DUA33:[TOP]DAILY.RDB
$ QUALIFIERS_1 :== /INCREMENTAL
You may specify any set of RMU/BACKUP qualifiers, except those listed in See Symbols with New Meanings, as the value of the QUALIFIERS_n symbol.
Although SLS requires certain symbols for the system backup process to operate successfully, some symbols do not apply to the database system backup operation. For the database system backup operation to be successful, you must assign a null value to symbols that are not meaningful for the database system backup operation.
You must assign null values to the following symbols in the database system backup command file:
With VMS 7.2-1 and above the RMU Backups do not happen in compaction mode for SCSI devices.To rectify this issue please set the 'DENSITY' symbol in DBSBK file to 1. For TA90 tape devices the density symbol should be set to COMP.
If you are using the Oracle Rdb software multiversion feature, you must ensure the database system backup operation takes place with the right version of Oracle Rdb software.
If the system wide default version is different than the version used to create the database, you must perform some preprocessing to set the proper version for the database system backup operation. Make the following assignment in the database system backup command file:
$ PRE_PROCESS_FIRST :== @SYS$LIBRARY:setver_cmd_file n.n /JOB DATE
setver_cmd_file is the name of the command file used to specify the appropriate version.
If you do not make this assignment, the database system backup operation will fail.
You can start a database backup operation automatically or manually.
To run a database system backup operation automatically, assign values to the following automatic scheduling symbols of the database system backup command file:
For more information on running automatic backup operations, refer to See Performing Unattended Backup Operations.
You can use either of the following methods to run database system backup operations manually:
You can determine which volumes contain database backups by examining the FORMAT field in a volume report. The FORMAT field indicates the type of backup used to write data to the tape volume. Backup formats cannot be mixed on a single tape volume. Example 8-1 shows a report on a tape volume database that contains volumes of several types, where the volumes DB_BK1 and DB_BK2 were written by RMU/BACKUP.
Run date 17-OCT-1993 13:47 Page 1
Volume Length Status Username Format
----------------------------------------------------------------------------
DB_BK1 Free DB_MEISTER RMUBACKUP
DB_BK2 Alloc DB_MEISTER RMUBACKUP
TST001 ****** Alloc JJONES BACKUP
MSTRPT/DIRECT VOLN/SORT/WIDT=8,LGTH/WIDT=6,FLAG/WIDT=6,USER/WIDT=12,FRMT/WIDT=16
SLS supports restore (RMU/RESTORE) operations on Oracle Rdb databases. SLS integrates media and lifecycle management capabilities with RMU's ability to restore (RDB) relational database information.
SLS allows you to control the operation with the /DB_CMDQUALS and /DB_FILQUALS qualifiers to the STORAGE RESTORE command. These command qualifiers pass information to the Oracle RMU which performs the actual file restoration.
You may specify only one database with the STORAGE RESTORE command. If you specify more than one, SLS restores only the first one.
Before you restore a database (or area of a database), you need to consider the following:
Choose to use either (or both) the /FORMAT or /HISTORY qualifiers, designating to SLS that the restore operation involves the Oracle RMU. See See Designating an Oracle RMU Restore Operation. |
|
Specify the version of Oracle Rdb under which the database files were created. See See Specifying Oracle Rdb Software Version. |
|
Determine the appropriate Oracle RMU file and command qualifiers. See See Specifying RMU/RESTORE Qualifiers. |
|
If necessary, create an options file to specify additional restore operation qualifiers. See See Using an Options File. |
You must use either (or both) the /FORMAT or /HISTORY qualifier on your STORAGE RESTORE command to restore Oracle Rdb files.
Use the /HISTORY qualifier with the name of a specific history set. The STORAGE RESTORE will be able to determine from the stored internal format of the history file which backup software to use to restore the requested file. The format of the /HISTORY qualifier is as follows: /HISTORY=history_name
history_name is the symbolic name given to the History set. Use the HISNAM_n symbol assignment in TAPESTART.COM.
The /HISTORY qualifier, because it explicitly names the history set to search, is more efficient than using the /FORMAT qualifier alone.
The /FORMAT qualifier accepts the value of RMUBACKUP. When you use /FORMAT=RMUBACKUP on the STORAGE RESTORE command line, only those history files that contain database system backup records are searched.
Similar to the requirement described in See Specifying Oracle Rdb Software Version, if you are using the Oracle Rdb software multiversion feature and the systemwide default is different than the version used to create the database, then you must include the following qualifier on a STORAGE RESTORE command:
/PRE_PROCESSING :== @SYS$LIBRARY:setver_cmd_file n.n /JOB DATE
setver_cmd_file is the name of the command file used to specify the appropriate version.
n.n is the version of Oracle Rdb the database was created.
If you do not make this assignment, the restore operation will fail.
RMU/RESTORE supports an extensive set of qualifiers, which are divided into command qualifiers, and file or area qualifiers. To specify any of these qualifiers to be used, include them as a quoted string value on the /DB_CMDQUALS or /DB_FILQUALS STORAGE RESTORE qualifiers.
For example, to include the /DIRECTORY and the /PAGE_BUFFERS command qualifiers on the RMU/RESTORE command, specify the following:
$ STORAGE RESTORE/DB_CMDQUALS="/DIRECTORY=[TOPLEVEL]/PAGE_BUFFERS=5" ...
In this example, the RMU/RESTORE command includes the /THRESHOLDS qualifier:
$ STORAGE RESTORE/DB_FILQUALS="/THRESHOLDS=(...)" ...
For a complete description of the RMU/RESTORE qualifiers, refer to the Oracle Rdb RMU Reference Manual.
When you need to declare a lengthy amount of information for an Oracle RMU command qualifier, you can create an options file. The options file consists of information you would include in the command for the operation. More information on the use and syntax of options files can be found in the RMU /RESTORE documentation, as this is an RMU feature.
Refer to See Full Restore of Multiple File Database and See Full Restore of an Area of a Multiple File Database for an example implementations of an options file.
This section shows example restore scenarios. They are a guideline for performing restore operations; each particular operation will require its own set of considerations.
This example shows a full restore of an Rdb V6.0 single file database. The restore will place the database in a different location.
DATABASE NAME: DISK$USER1:[RDB_DATABASES]SLS_SF.RDB HISTORY SET: GENERIC_RMU_HISTORY
$ STORAGE RESTORE/HISTORY=GENERIC_RMU_HISTORY -
_$ /PRE_PROCESS="@SYS$LIBRARY:RDBVMS_SETVER 6.0 /JOB DATE" -
_$ /DB_CMDQUALS="/DIRECTORY=DISK$USER1:[BACKUP_FILES]/NOCDD" -
This example shows a full restore of an Rdb V6.0 multi-file database. The restore will place the database in a different location. Because of the nature of this restore operation, much information is needed to be specific. An options file is used to specify the areas.
The database has the following distribution:
DATABASE NAME: DISK$USER1:[RDB_DATABASES]SLS_MF.RDB
HISTORY SET: GENERIC_RMU_HISTORY
The organization of the database is as follows:
For this database, the area name is the same as the .RDA filename. Because of the naming convention, the SLS_MF database contains areas SLS_DEV1_AREA1, SLS_DEV1_AREA2 and SLS_DEV1_AREA3.
The contents of the options file is as follows:
SLS_DEV1_AREA1/FILE=DISK$USER1:[BACKUP_FILES]/SNAP=(FILE=DISK$USER1:[BACKUP_FILES])
SLS_DEV1_AREA2/FILE=DISK$USER1:[BACKUP_FILES]/SNAP=(FILE=DISK$USER1:[BACKUP_FILES])
SLS_DEV1_AREA3/FILE=DISK$USER1:[BACKUP_FILES]/SNAP=(FILE=DISK$USER1:[BACKUP_FILES])
The following command executes the restore operation:
$ STORAGE RESTORE/HISTORY=GENERIC_RMU_HISTORY -
_$ /PRE_PROCESS="@SYS$LIBRARY:RDBVMS_SETVER 6.0 /JOB DATE" -
_$ "/DIRECTORY=DISK$USER1:[BACKUP_FILES]/NOCDD/OPTIONS=DISK$USER1:[RDB_DATABASES]MFREST.OPT" -
This example shows a restore of a single area, SLS_DEV1_AREA3, from the multi-file database used in example 2 (see above for further information). An options file must be used for this kind of restore since the syntax of the STORAGE RESTORE command does not allow the addition of a storage area name with the database name.
This example shows that the real control of the restore operations is in the use of the /DB_CMDQUALS and /DB_FILQUALS qualifiers and the the options file to pass parameters through SLS to the Oracle RMU.
The contents of the options file is as follows:
SLS_DEV1_AREA3/FILE=DISK$USER1:[BACKUP_FILES]/SNAP=(FILE=DISK$USER1:[BACKUP_FILES])
The following command executes the restore operation:
$ STORAGE RESTORE/HISTORY=GENERIC_RMU_HISTORY -
_$ /PRE_PROCESS="@SYS$LIBRARY:RDBVMS_SETVER 6.0 /JOB DATE"-
_$ /DB_CMDQUALS="/AREA/NOCDD/OPTIONS=DISK$USER1:[RDB_DATABASES]MF_AREA_REST.OPT"-
_$ DISK$USER1:[RDB_DATABASES]SLS_MF.RDB
This chapter describes the primary archiving features of SLS software.The following types of archiving methods are associated with SLS:
The following sections describe these types of archiving methods.
The SLS automatic archiving feature enables the storage administrator to move files that have remained inactive for a specified period of time from disk to near-line or off-line storage.
Before you can use the automatic archiving feature, you must make preparations that involve setting file retention and expiration times, and setting up the file that controls automatic archiving.
Automatic archiving moves files that have not been accessed for a specified period of time from disk to near-line or off-line storage. Before implementing automatic archiving, you must:
Definition: File Retention Time
The file retention time is a span of time assigned to a file that:
Files created on a volume for which volume retention times have been enabled are automatically assigned expiration dates. The initial expiration date assigned when the file is created is set to the current time plus the value of the MAX parameter (specified with the DCL command SET VOLUME /RETENTION.) If the file is never opened, the expiration time does not change. The file is considered to be expired if the current date is after the expiration date.
Each time the file is opened, the value of the MIN parameter (specified with the DCL command SET VOLUME /RETENTION) is added to the current time. If the sum of this value is greater than the current expiration date, the file is assigned this value as the new expiration date.
See File Retention Times shows the effect of file retention times on a file's expiration date.
File access may or may not affect the file retention time. Consider the following special cases:
Access affecting file retention:
Access not affecting file retention:
Saving or moving files with the VMS Backup utility does not change the expiration date.
Follow these rules for applying a file retention time with the DCL command SET VOLUME/RETENTION:
The file retention time requires two values representing a number of days. Set the file retention time with the following DCL command.
SET VOLUME/RETENTION=(min,max)
Specifies the minimum amount of time to determine the expiration date.
Specifies the maximum amount of time to determine the expiration date. When setting file retention, the max value is optional; if it is not entered, the maximum time used is the smaller value of either:
To set minimum and maximum values of 60 and 90 days on a volume named DUA1: that contains two files named HICORY.DOC and DICORY.DOC, enter the following command:
$ SET VOLUME/RETENTION=(60-,90-) DUA1:
The file HICORY.DOC is opened and read several times, but the expiration date remains unchanged.
The file HICORY.DOC is opened and read, but the expiration date is now changed and a new expiration date is computed based on the current day.
The file DICORY.DOC expires and is eligible for SLS automatic archiving. The file HICORY.DOC remains with a later expiration date.
On a disk volume where file retention is set for the first time, the existing files have no expiration date.
After invoking the SET VOLUME/RETENTION command, set the expiration dates on all existing files.
Existing files become candidates for automatic archiving 90 days after the following command is executed:
Automatic archiving is performed by SLS software as a system backup operation with a special system backup command file.
This section describes how to control automatic archiving with the SLS$SYSBAK:ARCHIVE_SBK.COM system backup command file.
See Automatic Archiving Symbols in ARCHIVE_SBK.COM lists the automatic archiving symbols, their default assignments and the purpose for each symbol.
The symbols used in the ARCHIVE_SBK.COM file for automatic archiving are the same found in the SYSBAK.TEMPLATE file. For detailed information about any of these symbols, refer to Appendix A.
The SLS standby archiving feature allows users to archive their own files. Standby archiving runs as a detached process called STANDBY_ARCHIVE. The process enables a user to write files to a private save set designated by the archive class. This save set is written to volumes mounted on drives dedicated to the standby archive process. Private save sets are owned by the users, but the volume is owned by SLS.
A standby archive process runs for a period of time during which the operator enables SLS software to write all user archive requests for a specified archive class to a SLS- owned volume. Standby archive processes are controlled by the storage administrator through the Operator Menu.
While a standby archive process is active it:
Standby archiving requires a dedicated drive for the duration of the current standby archiving process.
The following restrictions apply to standby archiving:
Use the following STORAGE SPLIT command to make a volume the last volume in a volume set:
Refer to the STORAGE SPLIT command in the Media and Device Management Services for OpenVMS Guide to Operations for complete instructions about using the STORAGE SPLIT command.
Standby archiving offers the following advantages:
You cannot perform a restore operation as a direct result of a standby archiving save request. That is, you cannot immediately restore a file that is saved on a drive dedicated to a standby archiving process. You can either wait until the volume receiving save requests fills to capacity and returns to the volume database, or contact your storage administrator to restore the specified file immediately.
The storage administrator assigns values to the symbols in the SYS$MANAGER:TAPESTART.COM file that control standby archiving. (See See Editing TAPESTART.COM for Standby Archiving). |
|
The storage administrator establishes archive classes and enables user access to these classes by modifying the B1C.TEMPLATE file (See Establishing Archive Classes and Enabling User Access): Use the Authorize Class Access for a User option of the Standby Archive option of the Operator Menu An Archive class defines the characteristics of the data that is archived in that archive class. |
|
The storage administrator establishes the standby archiving interval. (See See Setting the Standby Archiving Interval). Periodically, the SLS standby archive process runs and executes the save requests that users have created since the last standby archive operation was executed. |
|
Users specify files to save into the archive classes that they are allowed to access. (SeeSee Performing Save Operations Using Standby Archiving. |
The following steps take place when a user creates a save request and specifies an archive class name designated for standby archiving:
The standby archive process periodically checks the directory SLS$DATAC for any files with the extension of .ARKIVE. When the standby archive process locates a save request designated for the currently active archive class, it executes the save request.
The following process describes how .ARKIVE files are created and how the standby archive process uses them:
This section describes the symbols in the file SYS$MANAGER:TAPESTART.COM that control the standby archiving process.
Assign the location for the standby archiving job's log file to the SBARLOG symbol.
$ SBARLOG := SLS$DATA:STANDBY_ARCHIVE.LOG;
If you do not want to create log files, do not make an assignment to the symbol.
Determine the interval that SLS software checks for standby archiving requests. Assign a time value for the interval to the SBARINT symbol.
The format for the assignment must be in hours, minutes, and seconds separated by colons.
Assign the name of the default archive class to the SBACLAS symbol. The name used in this assignment is provided as the default in the User Menu Save Screen option.
SLS software equates the system-wide logical name SLS$DEFSBACLASS to the string assigned to the SBACLAS symbol.
To define the default archive class named FOREVER, assign the following:
The Standby Archive Menu provides a path for performing standby archiving tasks, such as starting up, shutting down, and controlling SLS standby archiving operations.
Standby Archive Menu Screen Display
Perform the steps in See How to Access the Standby Archive Menu to access the Standby Archive Menu.
Using the Standby Archive Menu option requires the following privileges:
Enter the number next to the desired option and press <Return>. |
|
See Options for Standby Archive Menu lists the Standby Archive Menu options.
Starts up standby archiving. Refer to See Starting Up Standby Archive From the Operator Menu for instructions about using this option |
|
Shuts down standby archiving when the current process has completed. Refer to See Shutting Down Standby Archive From the Operator Menu for instructions about using this option. |
|
Shows jobs waiting to be started in the standby archiving queue. Refer to See Inquire Pending Jobs From the Operator Menu for instructions about using this option. |
|
Shuts down the current active process of standby archiving. Refer to See Aborting Standby Archive for instructions about using this option. |
|
Displays the B1C.TEMPLATE used to define archive classes and the user names assigned to those classes. Refer to See Authorizing Class Access For a User From The Operator Menu for instructions about using this option. |
There are two ways to start and stop the standby archiving process:
The Standby Archive option on the Operator Menu provides a menu from which you can start up (See Starting Up Standby Archive From the Operator Menu) or shutdown (See Shutting Down Standby Archive From the Operator Menu) standby archiving.
The STORAGE STARTUP command can be entered at the VMS prompt or written into a DCL command procedure to start and stop standby archiving.
Use this command to startup standby archiving:
$ STORAGE STARTUP STANDBY_ARCHIVING vol_id init_option class_name
vol_id is the Volume ID of the volume to which the files will be written.
init_option is whether to initialize the volume. Use either:
class_name is the archive class name (which indicates save set to use)
Because the standby archive process is limited to running one process at a time, you must first determine:
For each archive class, the standby archive process must be started, completed, and stopped or aborted before starting the next class.
The Start Up Standby Archive option displays a screen that allows you to:
Standby Archive Screen Display
See Standby Archive Menu. illustrates the Standby Archive Menu.
Perform the steps described in See Start Up Standby Archive to use the Start Up Standby Archive menu option.
Enter 13 from the Operator Menu and press <Return>. The software displays the Standby Archive Menu (See illustrates the Standby Archive Menu.). |
||||||
Select option 1 from the Standby Archive menu and press <Return>. The software displays the Start Up Standby Archive screen (See illustrates the Standby Archive Menu.). |
||||||
Enter the archive class name for which you want to create an active standby archiving session: If you need to see a list of available archive classes, press < ? >. |
||||||
Volume to use for class archive-class (NEW = new volume, press Return for Volume ID). |
||||||
The Volume ID is displayed at the prompt. For example, if the last volume used was APR029, then the prompt displays: Volume to use for class archive class name (NEW = new volume, Press Return for APR029): |
||||||
Enter the Volume ID to use for this archiving session and go to Step 5. |
||||||
Enter the pool name from which this volume is to be allocated. |
||||||
If you entered a Volume ID, then respond to the following prompts. |
||||||
The volume should be initialized before starting standby archive |
||||||
Starts a process to scan for user requests in the specified archive class and returns you to the main Standby Archive Menu. |
The Shutdown Standby Archive option displays a screen that allows you to stop the current standby archive process after it completes.
Shutdown Standby Archive Screen Display
See Shutdown Standby Archive illustrates the screen diagram only if standby archive is not running.
Perform the steps described in See Shutdown Standby Archive to use the Shutdown Standby Archive menu option.
Enter 13 from the Operator Menu and press <Return>. The software displays the Standby Archive Menu (See illustrates the Standby Archive Menu.). |
||||
The SLS software initiates a batch process that shuts down the standby archive process in an orderly fashion. |
||||
The software displays a screen stating standby archive is not running (See Shutdown Standby Archive). |
The Inquire Pending Jobs option allows you to display the current save requests waiting to be executed by the standy archiving process.
Inquire Pending Jobs Screen Display
See Inquire Pending Jobs illustrates the Inquire Pending Jobs screen display.
Perform the steps described in See Inquire Pending Jobs to use the Inquire Pending Jobs Standby Archive menu option.
Enter 13 from the Operator Menu and press <Return>. The software displays the Standby Archive Menu (See illustrates the Standby Archive Menu.). |
|
Enter 3 from the Standby Archive Menu and press <Return>. The software displays a report about the current jobs waiting for standby archiving in the Inquire Pending Jobs screen (See Inquire Pending Jobs). |
The Abort Standby Archive option displays a screen that allows you to stop the current standby archive process without waiting for it to complete.
Perform the steps described in See Abort Standby Archive to use the Abort Standby Archive Menu option.
Enter 13 from the Operator Menu and press <Return>. The software displays the Standby Archive Menu (See illustrates the Standby Archive Menu.). |
|||
The software displays a screen stating standby archive is not running_(See Shutdown Standby Archive). |
Interrupting the standby archive process may sometimes be necessary. Use one of the following methods to interrupt the standby archive process:
SLS uses the SLS$PARAMS:B1C.TEMPLATE file to establish archive classes and enable user access to them. By understanding how this file is processed, you will be able to enable, assign, and disable archive classes and enable user access to those archive classes.
Because the B1C.TEMPLATE file is executed in sequence from top to bottom, the commands are used to enable, assign, then disable access to archive classes. The storage administrator is responsible for editing and maintaing the B1C.TEMPLATE file.
See See Authorizing Class Access For a User From The Operator Menu for instructions to create archive classes and enable user access.
There are two conventions recommended for naming archive classes. Names that indicate:
The Authorize Class Access for a User option displays a screen that allows you to:
The B1C.TEMPLATE file includes:
There are four standby archiving parameters located at the bottom of the B1C.TEMPLATE file. These parameters are used to create, add, remove, and authorize classes and user names. They are:
Refer to See How to Authorize Class Access for a User to implement these parameters.
Authorize Class Access For a User Screen Display
See B1C.TEMPLATE illustrates the B1C.TEMPLATE file used to establish archive classes and authorized user access to those archive classes.
Perform the steps described in See How to Authorize Class Access for a User to use the Authorize Class Access for a User menu option.
Enter 13 from the Operator Menu and press <Return>. The software displays the Standby Archive Menu (See illustrates the Standby Archive Menu.). |
||
Enter 5 from the Standby Archive Menu and press <Return>. The software displays the B1C.TEMPLATE file (See B1C.TEMPLATE). |
||
Enter the command: ADD_CLASS archive_ class_name Creates and adds an archive class to the database. This archive class becomes valid for all users identified with WRITE_USER user_name following this entry. |
||
Enter the command: REMOVE_CLASS Invalidates all user names following the REMOVE_CLASS archive_class. This class remains valid for user names that precede it in the list. |
||
Enter one or more archive classes to be allowed for all users on the system using the ADD_CLASS command, followed by the WRITE_DEFAULT command. If you have many people in your organization and most of them require access to an archive class, put that archive class at the top of the file and enable users with WRITE_DEFAULT. Then, assign the special cases with ADD_USER, DELETE_USER, and WRITE_CLASS as needed. |
||
Enter the command: WRITE_USERNAME user_name All archive classes that precede a user name are valid for that user unless the archive class is removed with REMOVE_CLASS. |
||
This example is taken from the supplied B1C.TEMPLATE file.
Users USER_C and USER_D do not have access to archive class CL_4, which was disabled in Step 5.
You can perform a save operation using standby archiving using one of two methods:
To perform a save operation through standby archiving using the menu and screen option, follow the procedure in See Creating a User Save Request For Standby Archiving.
To save a file or save set through standby archiving, use the following format at the DCL ($) prompt:
$ SAVE file-spec/VOLUME=ARCHIVE/NOTES="archive-class-name"
This chapter contains information about generating reports.
The tasks in the following sections are performed by using either the Operator Menu or the User Menu. There are other reports available on the various menus; however, they are not detailed here. In addition, you can obtain various reports using the STORAGE REPORT command. For more information, see Storage Library System for OpenVMS Command Reference Guide.
The Inquire Pending Jobs option displays a screen that allows you to display any archive requests waiting in the queue. This display includes:
Perform the steps described in See Inquire Pending Jobs to use the Inquire Pending Jobs menu option.
The software displays the message: "No pending archive jobs." |
||
There are jobs currently waiting in the standby archive queue. |
||
The Report of Files on User Backups option displays a report on one or more files, save sets, or volumes for the user making the request.
When this screen is first entered, only one prompt line is displayed. Additional prompt lines are displayed after data is entered for the first prompt.
Perform the following steps in See Report of Files on User Backups to use the Report of Files on User Backups option.
The Report of Files on System Backups option displays a report on one or more files saved during system backups for the user making the request.
When this screen is first entered, only one prompt line is displayed. Additional prompt lines are displayed after data is entered for the first prompt.
Perform the following steps in See Report of Files on System Backups to use the Report of Files on System Backups option.
See Symbols for System Backup Control lists the symbols in the SYSBAK.TEMPLATE and DBSYSBAK.TEMPLATE files for system backup control, descriptions of their allowable assignments, and document references.
See Specifying the Time of Day to Run System Backup Operations |
||
The name of a batch job you want to execute once at the start of the system backup operation. |
See Execution Sequence for Preprocessing and Post-Processing Symbols |
|
The name of a batch job you want to execute once for each FILES_n symbol defined. |
See Execution Sequence for Preprocessing and Post-Processing Symbols |
|
The name of a batch job you want to execute at the completion of the system backup operation for each FILES_n symbol defined. |
See Execution Sequence for Preprocessing and Post-Processing Symbols |
|
The name of a batch job you want to execute after all FILES_n backup operations have completed. |
See Execution Sequence for Preprocessing and Post-Processing Symbols |
|
The name of a batch job you want to execute immediately following this operation. |
See Executing Another SBK Batch Job After the Backup Operation |
|
See Symbols for System Backup Type lists the symbols in the SYSBAK.TEMPLATE file for system backup type, descriptions of their allowable assignments, and document references.
See Symbols for System Backup Volume Characteristics lists the symbols in the SYSBAK.TEMPLATE file for system backup volume characteristics, descriptions of their allowable assignments, and document references.
The media type supported by the drive or drive type assigned to the DRIVE_TYPE symbol. |
See Indicating the Type of Media Used for the Backup Operation |
|
The density supported by the drives identified by drive type. |
||
See Symbols for System Backup Operator Intervention lists the symbols in the SYSBAK.TEMPLATE file for system backup operator intervention, descriptions of their allowable assignments, and document references.
The number of volumes that are allocated the midnight before running the system backup operation. |
See Allocating Volumes Prior to Running the System Backup Operation |
|
Specifies to enable or disable automatic selection of volumes by SLS software: |
||
Handles volume label inconsistencies:
|
See Handling Volume Label Mismatches During the System Backup Operation |
|
See Symbols for System Backup Resource Allocation lists the symbols in the SYSBAK.TEMPLATE file for system backup resource allocation, descriptions of their allowable assignments, and document references.
A file name shared by certain other system backup command files that enable them to save data contiguously on the volume. |
See Symbols for System Backup Volume Disposition lists the symbols in the SYSBAK.TEMPLATE file for system backup volume disposition, descriptions of their allowable assignments, and document references.
See Symbols for System Backup Device Control lists the symbols in the SYSBAK.TEMPLATE file for system backup device control, descriptions of their allowable assignments, and document references.
The list of drives you want to devote to the system backup operation: |
||
See Controlling the Number of Drives Used for a System Backup Operation |
See Symbols for System Backup Status and Information lists the symbols in the SYSBAK.TEMPLATE file for system backup status and information, descriptions of their allowable assignments, and document references.
Use this worksheet to determine the configuration for your system. This worksheet associates a backup operation (or_SBK.COM file) with the corresponding nodes, media types and tape devices. Use the columns as follows:
This chapter introduces Media and Device Management Services for OpenVMS (MDMS) and suggests ways to make managing your media and devices as efficient as possible. Throughout this document, Media and Device Management Services is referred to as MDMS.
MDMS serves as an information repository for media and device configurations. MDMS reflects the physical and logical design of your storage devices (tape and optical drives) and the volumes on which you store data.
It is important to note that MDMS provides media and device management services. Storage management tasks, such as backup and restore activities, are managed by the layered applications you use with this product.
MDMS provides the following services:
For a complete list of MDMS-supported devices, see the SLS Software Product Description.
Because MDMS serves as an information repository for media and device information, you can benefit by understanding how this information is stored. MDMS stores site-specific information in the databases described in See MDMS Databases and Their Contents.
You can issue commands to MDMS through the Digital Command Language (DCL?) interface or through forms-driven menus. The Storage Library System for OpenVMS Command Reference Guide describes STORAGE commands.
The storage administrator's responsibilities may include:
MDMS requires various symbols to be defined in a file called SYS$MANAGER:TAPESTART.COM. This section describes the symbols that you need to modify for your environment. After modifying TAPESTART.COM, you must restart MDMS to invoke the changes. See Media and Device Management Services for OpenVMS Installation Guide for instructions about starting the MDMS software.
The TAPESTART.COM symbols explained in this section are separated into the following categories:
The file TAPESTART.COM contains a series of symbols that define the basic configuration of your MDMS software. These include:
Any of the nodes assigned to the symbol DB_NODES are allowed to be the server node. |
Example 12-1 shows some sample definitions for these symbols.
$! -------------------------------------------------------------------------
$! MDMS Base Configuration Symbols
$! -------------------------------------------------------------------------
$! Device and directory for SLS databases
$ PRIMAST := SLS$ROOT:[PRIMAST]
$! Timeout interval (in seconds) for client-server connection response
$! Batch queue for SLS processing
$ IF NODE .NES. "" .AND. F$GETSYI("CLUSTER_MEMBER","''NODE'") .EQ. "TRUE"
$! Execution priority for SLS server and client processes
$! Enable or Disable broadcast of network state changes to operators
MDMS uses a concept called a media triplet to identify a media type and its associated drives. A media triplet defines the media and drives that the MDMS software is allowed to use. You can define up to 32 media triplets for your MDMS environment. Each media triplet identifies:
In addition, you can define a fourth item, CAPACITY_n, that identifies the amount of storage space available in megabytes on one piece of this type of media. The CAPACITY_n symbol is not required for basic MDMS functionality, but it may be needed for a particular MDMS client, such as POLYCENTER Sequential Media Filesystem for OpenVMS (SMF).
The following restrictions apply to magnetic tape and optical disk media types assigned to a media triplet:
The file TAPESTART.COM provides one default media triplet. The first media type, density, and drive assignment is a default assignment supplied by MDMS during the installation procedure. The following example shows the default media triplet created for a 9TRACK media type and supporting drive:
$ DRIVES_1 := NODE01$MF,NODE01$MU
Examples of Media Triplets in TAPESTART.COM
In the file TAPESTART.COM on this node, the default media type is 9TRACK. The default density for 9-track tape is 6250 bits per inch (bpi). The 9-track drives on this system that handle 6250 bpi tape are MFA2: and MUA3:.
$ DRIVES_1 := NODE01$MFA2:,NODE01$MUA3:
This media triplet assignment is for 9-track drives that support an 800 bpi density. There are three drives: MSA1:, MSA2:, and MTA1:.
$ DRIVES_2 := NODE01$MSA1:,NODE01$MSA2:,NODE01$MTA1:
This media triplet assignment is for a TK50 named MUA1:. Because there is no density associated with the TK50 media, the density symbol is left blank.
This media triplet assignment is for an RV02 named MUA2:. Because there is no density associated with the RV02K media, the density symbol is left blank.
This media triplet assignment is for a TA90E controller named MUA3:, with data compaction enabled.
MDMS provides an autoconfiguration utility that creates default media triplets. For each tape device on the system from which you run the autoconfiguration utility, the utility creates a media triplet. Note that these are defaults, and you can choose to change the suggested triplets.
Refer to See Creating Default Media Triplets for instructions about creating default media triplets.
You are installing MDMS for the first time and you do not have a pre-existing TAPESTART.COM file |
The installation procedure automatically creates the file SYS$MANAGER:TAPESTART.COM and runs the autoconfiguration utility and creates your default media triplets. Insert the media triplets into TAPESTART.COM as shown in See Inserting Media Triplets into TAPESTART.COM. |
You are upgrading MDMS and you have an existing TAPESTART.COM file |
Use the autoconfiguration utility to create media triplets for any new devices on your system.
To create new media triplets, enter the following command at the DCL system prompt: $ RUN SLS$SYSTEM:SLS$AUTOCONFIGURE_MEDIA_TRIPLETS MDMS creates a file located in SLS$DATAC and named
SLS$AUTOCONFIGURE_MEDIA_TRIPLETS.TXT 1. Insert the media triplets into TAPESTART.COM as shown in See Inserting Media Triplets into TAPESTART.COM. |
1 If MDMS is not running, the logical name SLS$DATAC is not defined. This causes an error if you try to run the autoconfiguration utility. Define SLS$DATAC to be any location and run the autoconfiguration utility again.
To insert default media triplets into the file TAPESTART.COM, use the procdure in See Inserting Media Triplets into TAPESTART.COM.
There are several symbols MDMS requires to control volume behavior:
Example 12-2 shows default definitions for the volume management symbols.
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$! Name of media library location
$! Default protection of volumes
$! Default reel size for STORAGE ALLOCATE command
$! Name of file or device to which volume labels are written
$! State to put deallocated volumes into
$! Time that a volume stays in transition state
$! Default time that the scratch date is set with a STORAGE ALLOCATE
$! Maximum scratch time (for a non-OPER privileged user)
$! Notify by mail when volumes have reached the scratch date
$! If notifying by mail, assign additional recipients of message
$! Default name for the offsite vault
MDMS volume management privileges enable users to perform volume management functions using MDMS. These privileges are defined to correspond to OpenVMS privileges. Volume management privileges include the following:
Example 12-3 shows how these privileges are typically defined.
You can define operator terminal control sequences to use for OPCOM messages in MDMS. The default definitions are set to work for VT100-, VT200-, and VT300-series terminals.
Example 12-5 shows the default definitions typically used for operator terminal control symbols.
$! -------------------------------------------------------------------------
$! -------------------------------------------------------------------------
$ ESC_LOAD_BOLD = ESC + "[1m" + ESC + "[7w"
$ ESC_LOAD_BLNK = ESC + "[5m" + ESC + "[7w"
$ ESC_LOAD_NORM = ESC + "[m" + ESC + "[w"
$ ESC_ALLOC_BOLD = ESC + "[1m"
$! Volume mount label and ring verification
$ ESC_MOUNT_OPER = CRLF + ESC + "[1m" + ESC + "#6 OPERATOR:"
$ ESC_MOUNT_BOLD = ESC + "[1m"
$! -------------------------------------------------------------------------
The following symbols control how MDMS deals with specific drives:
Any drive specified in the SELDEV symbol also must be specified in the ALLDEV symbol.
Example 12-6 shows the typical assignments for the drive control symbols.
There are several other symbol assignments in the file TAPESTART.COM that the MDMS software requires to run.
Example 12-7 shows the default assignments for these symbols.
$! Default time that the scratch date is set with a STORAGE SAVE command
$ CLEANUP_Q := 'F$EXTRACT(0,F$LOCATE("/",BATN),BATN)'/AFTER=03:00
$!---------------------------------------------------------------------
$! Controlling Standby archiving
$!---------------------------------------------------------------------
$! Log file for standby archiving
$ SBARLOG := SLS$DATA:STANDBY_ARCHIVE.LOG;
$! Default archive class for backup screen
$ SBACLAS = "FOREVER <- insert archive class here"
$!---------------------------------------------------------------------
MDMS provides support for the following devices as robotically controlled jukeboxes:
MDMS enables you to perform the following tasks for these devices:
For each type of jukebox, MDMS provides unique, specific commands to perform these functions.
MDMS provides support for the following varieties of magnetic tape jukeboxes:
For these groups of magnetic tape jukeboxes, MDMS provides the following commands:
In addition, for the TL810 and TL820 devices, MDMS provides the following additional commands:
All magnetic tape jukeboxes use the same approach to configuration and interact with the MDMS magazine or volume databases.
To use magnetic tape jukebox devices as robotically controlled devices, you must perform the following steps:
To define the symbol TAPE_JUKEBOXES in the file TAPESTART.COM, review See Required Naming Conventions and See Required Media Triplets and then see See Determining Your Hardware Configuation to identify the type of hardware device that you want MDMS to recognize. See Determining Your Hardware Configuation references the correct section determined by the hardware configuration.
When defining tape jukebox names, the following requirements are imposed by MDMS:
For each drive you want MDMS to use, the drive must also be assigned to the DRIVES_n symbols in a media triplet to associate it with a media type. These drive names must contain an allocation class or NODE$ prefix string. MDMS selects only those drives defined in a media triplet. See Media Triplets describes how to define media triplets.
If the tape device is remote, you must also include the NODE:: node name prefix in the tape device name.
See Determining a Magnetic Tape Jukebox Hardware Configuration illustrates the possible types of hardware configurations for magnetic tape jukeboxes.
The important information to know when using See Determining a Magnetic Tape Jukebox Hardware Configuration is determining whether your hardware configuration is:
Typically, a hardware configuration contains a combination of device types. To determine how to define the symbol TAPE_JUKEBOXES and its associated symbols in the file TAPESTART.COM, refere to See Determining Your Hardware Configuation. This table identifies the type of device, the type of connection, and provides a reference to the appropriate section.
A direct-connect DSSI device is a device that is connected directly to the VAX or Alpha system, such as a TF867. It uses a standard OpenVMS installed device driver and does not required you to install a separate device driver for this type of hardware configuration.
To define the TAPESTART.COM symbols for a direct-connect DSSI device, assume that JUKEBOX1 is a TF867 whose physical device name is MIA5:, and is connected to node NODE01::.
Example 13-1 shows the TAPESTART.COM symbol definitions for JUKEBOX1.
$ TAPE_JUKEBOXES := "JUKEBOX1"1
$ JUKEBOX1 := "NODE01::$1$MIA5:2 ,NODE01::$1$MIA5:3 "
1 JUKEBOX1 is the name of the tape jukebox.
2 NODE01::$1$MIA5: is the NODE:: node name and name of the robot device (including the allocation class).
3 NODE01::$1$MIA5: is the NODE:: node name and name of the tape drive controlled by the robot device. The tape drive name must be prefixed by an allocation class or a NODE$ prefix string.
A direct-connect SCSI device is a SCSI device that is connected directly to the VAX or Alpha system and uses the GK Driver software. GK Driver is a standard OpenVMS device driver and does not require a separate installation.
However, you must first create a tape robot unit to use the robotic features on tape jukeboxes directly connected through a SCSI bus.
MDMS directs the robotic control commands to a tape robot unit which then passes the commands to the actual hardware robot device.
To create a tape robot unit, follow the procedure in See Creating A Tape Robot Unit.
In the case of tape jukeboxes connected to a local SCSI bus (connected directly to the VAX or Alpha system instead of through a controller, such as an HSC, HSD, or HSJ), a separately addressable device is used as the robot device. Assume that JUKEBOX2 is a TZ877 device, whose tape drive name is $3$MKA300:. The name of the robot that controls this device would be GKA301:. The robot device name is incremented by one from the drive name.
Example 13-2 shows how the definition for JUKEBOX2 on node NODE02:: would then be required.
$ TAPE_JUKEBOXES := "JUKEBOX2"1
$ JUKEBOX2 := "NODE02::GKA301:2 ,NODE02::$3$MKA300:3 "
1 JUKEBOX2 is the name of the tape jukebox.
2 NODE02::GKA301: is the NODE:: node name and name of the robot device.
3 NODE02::$3$MKA300: is the NODE:: node name and drive name controlled by the robot device (NODE02::GKA301:). The tape drive must be prefixed by a NODE$ node name or an allocation class.
If your device is connected to a VAX or Alpha system through an HSC controller, you must have A K.SCSI channel card.
The folloiwng sections describe how to configure tape jukeboxes connected through an HSC, HSD, or HSJ controller.
For devices connected in a OpenVMS Cluster environment through an HSC controller, use a K.SCSI channel card.
The procedure in See Using a SCSI Loader on an HSD or HSJ Controller shows how to use a SCSI device on an HSD or HSJ controller. The procedure in See Using a TL810/820 SCSI Device Connected to an HSD or HSJ shows how to use a TL820 SCSI device on an HSD or HSJ controller.
The same procedure is used for TL810 devices, except there may be four drives instead of three.
In the case of tape jukeboxes connected through a controller (such as an HSC, HSD, or HSJ) to a SCSI device, the robot device name is the physical device name. Assume that JUKEBOX3 is a TZ877 device, is available to node NODE03::, and $1$DUA877 is the name of the robot device.
Example 13-3 shows how the definition for JUKEBOX3 would then be required.
$ TAPE_JUKEBOXES := "JUKEBOX3"1
$ JUKEBOX3 := "NODE03::$1$DUA877:2 ,NODE03::$1$MUA25:3 "
1 JUKEBOX3 is the name of the tape jukebox.
2 NODE03::$1$DUA877 is the NODE:: node name and robot device name.
3 NODE03::$1$MUA25 is the NODE:: node name and tape drive name. The tape drive name must be prefixed with an allocation class or a NODE$ prefix.
For nodes in a OpenVMS Cluster system, set up the TAPESTART.COM on each node as shown in Example 13-4.
TAPSTART.COM on node NODE03:: is defined as follows:
$ TAPE_JUKEBOXES := "JUKEBOX3"1
$ JUKEBOX3 := "NODE03::$1$DUA877:2 ,NODE03::$1$MUA25:3 "
TAPESTART.COM on node DAY:: is defined as follows:
$ JUKEBOX3 := "DAY::$1$DUA877, DAY::$1$MUA25:"
If a RDF client node needs access to a robotic device in a OpenVMS Cluster system, do not assign the cluster alias name. Instead, assign the node name of the server node serving the robotic device.
The TL810- and TL820-type devices contain more than one drive. You can allow MDMS to use one or more of them. The physical device numbers used for a TL820 device are sequential, with the lowest number being the drive physically located in the lowest position in the robot device.
The tape drive names must be presented in the order in which they are connected in the tape jukebox. If any of the drive slots are empty, you must assign a dummy drive name as a placeholder. Do not assign the dummy drive name in the DRIVE_n symbol in media triplet. This prevents MDMS from selecting the dummy drive.
When MDMS selects drives for use, MDMS uses the index values within the list, not the actual drive names, to communicate with the drives. For any drives that you want MDMS to use, you must also identify those drives in a DRIVES_n symbol of a media triplet, where the order is not important.
For a TL820 jukebox with a symbol name of JUKEBOX4 on node NODE01:: and connected through a DSA controller such as an HSC, the symbol definitions in the file TAPESTART.COM might resemble the example shown in Example 13-5.
$ TAPE_JUKEBOXES := "JUKEBOX4"1
$ JUKEBOX4 := "NODE01::$2$DUA820:2 ,NODE01::$2$MUA25:3 ,NODE01::$2$MUA26:3 ,NODE01::$2$MUA27:3 "
1 JUKEBOX4 is the name of the tape jukebox.
2 NODE01::$2$DUA820: is the NODE:: node name and robot device name.
3 NODE01::$2$MUA25:, NODE01::$2$MUA26:, and NODE01:$2$MUA27: are the three tape drives controlled by the robot device (NODE01::$2$DUA820:), with $2$MUA25: physically located on the bottom, $2$MUA26: next, and $2$MUA27: on top.
The following example shows how to define a media triplet so that MDMS selects the drives in the tape jukebox named JUKEBOX4:
$ DRIVES_2 := NODE01::$2$MUA25:,NODE01::$2$MUA26:,NODE01::$2$MUA27:
Example 13-6 shows the tape jukebox symbols and media triplet assignments for the examples described in the previous sections. The assignments are made in the file TAPESTART.COM on node NODE01::.
$ TAPE_JUKEBOXES := "JUKEBOX1, JUKEBOX2, JUKEBOX3, JUKEBOX4, GONK01, CLUST01"
$ JUKEBOX1 := "NODE01::$1$MIA5:,NODE01::$1$MIA5:"
$ JUKEBOX2 := "NODE02::MKA301:,NODE02::$3$MKA300:"
$ JUKEBOX3 := "NODE03::$1$DUA877:,NODE03::$1$MUA25:"
$ JUKEBOX4 := "NODE01::$2$DUA820:,NODE01::$2$MUA25:,NODE01::$2$MUA26:,NODE01::$2$MUA27:"
$ GONK01 := "NODE04::MKA200,NODE04::NODE04$MKA300:,NODE04::NODE04$MKA400:"
$ CLUST01 := "NODE02::GKB101,NODE01::NODE02$MKB100:"
$ DENS_1 := COMP ! Separate media triplets needed if both COMP and NOCOMP used
$ DRIVES_1 := $1$MIA5: ! local tape drive
$ DENS_2 := COMP ! Separate media triplets needed if both COMP and NOCOMP used
$ DRIVES_2 := NODE01::$2$MUA25:,NODE01::$2$MUA26:,NODE01::$2$MUA27: ! RDF served from NODE01::
$ DENS_3 := COMP ! Separate media triplets needed if both COMP and NOCOMP used
$ DRIVES_3 := NODE02::$3$MKA300: ! RDF served from node NODE02::
$ DENS_4 := COMP ! Separate media triplets needed if both COMP and NOCOMP used
$ DRIVES_4 := NODE03::$1$MUA25: ! RDF served from node NODE02::
$ DENS_5 := COMP ! Separate media triplets needed if both COMP and NOCOMP used
$ DRIVES_5 := NODE04::NODE04$MKA300:,NODE04::NODE04$MKA400: !RDF served from node NODE04::
$ DENS_6 := COMP ! Separate media triplets needed if both COMP and NOCOMP used
If you inventory a jukebox which includes cleaning cartridges, SLS MDMS will create records in the volume database that represent them. If your site operations include using the cleaning tapes, you must make them unavailble for allocation to a storage management application.
To avoid having SLS MDMS allocate a cleaning cartridge, use the STORAGE ALLOCATE command to allocate the cartridge to the SYSTEM or other suitable process for a distant time.
$ STORAGE ALLOCATE /VOLUME=vol_id /USER_NAME=user /SCRATCH_DATE=date
vol_id is the volume name of the cleaning cartridge. For example, CLN001.
date is the future date you determine.
user is the user name of the process that owns the cleaning cartridge. For example, SYSTEM.
Due to restrictions in the underlying device support and device drivers, DSA-type robotic devices cannot be TMSCP-served to the OpenVMS Cluster. If you want to access magnetic tape jukeboxes from nodes other than the node that is connected either directly to the device or through a controller, you must access the device using a NODE:: assignment. The NODE:: specified must be the node name where the device is directly connected.
This is not true for the TL810- or TL820-type robotic devices. Those devices may be TMSCP-served to the OpenVMS Cluster system.
Just as the MDMS volume database contains information about volumes, the MDMS magazine database contains information about magazines, the cartridges in those magazines, the number of slots in the magazine, and the state of the magazines (whether they are imported into a jukebox and, if so, where).
A magazine is a container with n slots (numbered 0 through n-1) that hold cartridges. You have to determine the number of slots in the magazine when you add it to the magazine database. The maximum number of slots allowed is 40.
The magazine database contains the following information:
The magazine database file is located at:
SLS$MASTER:SLS$MAGAZINE_MASTER_FILE.DAT
If the magazine database file does not already exist, the SLS$TAPMGRDB process automatically creates it when a magazine is added.
To use magazines, an operator places individual cartridge volumes into the magazine slots. The operator then places the magazine into the tape jukebox or, for seven-slot devices, into the receiver of the tape jukebox and closes the receiver. Once the magazine is in place and information is in the MDMS magazine database, MDMS can load and unload individual volumes from the magazine as needed using the robotics.
See Process for Using Magazines with Tape Jukeboxes describes the process for using magazines in an MDMS environment.
Verify the hardware and software will work together. See the SLS Software Product Description (SPD) for a list of supported devices and software requirements. |
||
Add magazines to the magazine database. See See Adding a Magazine. |
||
|
|
|
At this point, your system is prepared to work with MDMS for robotic loader functions. MDMS loads and unloads volumes from the magazine as needed. |
||
To place a different magazine into the jukebox, or to physically remove the magazine, use the STORAGE EXPORT command to export the magazine. See See Physically Removing a Magazine from a Jukebox. |
||
If a magazine is no longer needed by MDMS, delete the magazine from the MDMS database. To do this, first export the magazine, unbind the volumes from the magazine, and then remove the magazine record from the MDMS volume database. See See Removing Magazines from Use. |
Before MDMS can load and unload volumes contained in a magazine, MDMS must know the magazine exists. To add a magazine to the magazine database, enter the STORAGE ADD MAGAZINE command in the following format:
$ STORAGE ADD MAGAZINE magazine_name /SLOTS=n
This command adds a magazine name with the specified number of slots to the magazine database. MDMS now has a placeholder for storing information about that magazine.
For MDMS to recognize and use volumes associated with a magazine, you first must add the volumes to the volume database (if they do not already exist) and then bind them to the magazine. Binding is the process by which you identify that a particular labeled volume resides in a particular slot of a particular magazine.
The bind operation updates the record in the magazine database with the volume IDs that are bound to the magazine.
See How to Manually Bind Volumes to a Magazine explains how to bind volumes to a magazine.
Once you have bound the volumes to the magazine, you use the STORAGE IMPORT MAGAZINE command to place the magazine into the jukebox. The default behavior for a STORAGE IMPORT MAGAZINE command is for MDMS to send an OPCOM request to physically place the magazine in the jukebox. MDMS waits for 2 minutes for a reply to this message, during which time the SLS$TAPMGRRQ process is unable to process any new requests. The following example shows the import request and responses you see:
$ STORAGE IMPORT MAGA JMSMAG1 JUKEBOX1
%%%%%%%%%%% OPCOM 22-DEC-1994 09:48:13.83 %%%%%%%%%%%
Request 130, from user SLS on REST
Place Magazine JMSMAG1 into Tape Jukebox JUKEBOX1; REPLY when DONE
09:48:22.53, request 130 was completed by operator _REST$RTA1:
%SLS-S-MAGVOLIMP, magazine volume JMS3 imported into tape jukebox
%SLS-S-MAGVOLIMP, magazine volume JMS1 imported into tape jukebox
If you add the /NOASSIST qualifier to the STORAGE IMPORT MAGAZINE command, MDMS assumes the magazine is already in the jukebox and does not wait for it to be placed. MDMS displays messages indicating which volumes are in the magazine so you know the magazine has been imported, as illustrated in the following example:
$ STORAGE IMPORT MAGA JMSMAG1 JUKEBOX1 /NOASSIST
%SLS-S-MAGVOLIMP, magazine volume JMS3 imported into tape jukebox
%SLS-S-MAGVOLIMP, magazine volume JMS1 imported into tape jukebox
MDMS can automate the bind process by obtaining the volume label of each cartridge in a tape jukebox and by mounting each individual cartridge in a magazine. The volume label is obtained by either mounting each cartridge or, if the tape jukebox has a VISION system, obtaining label information from each cartrdige's bar-code. MDMS updates the magazine and volume databases as appropriate. This process is called an inventory.
To use the STORAGE INVENTORY JUKEBOX command, the magazine must exist in the magazine database and be physically accessible to MDMS through the STORAGE IMPORT MAGAZINE command.
This is not true for TL810 devices. With the TL810 device, you can only use the STORAGE IMPORT CARTRDIGE and STORAGE EXPORT CARTRIDGE commands instead of a STORAGE IMPORT MAGAZINE command.
Assuming the magazine is created and has labeled cartridges loaded in it, enter the STORAGE IMPORT MAGAZINE and STORAGE INVENTORY JUKEBOX commands in the following format:
$ STORAGE IMPORT MAGAZINE magazine_name jukebox_name
$ STORAGE INVENTORY JUKEBOX jukebox_name
The STORAGE IMPORT MAGAZINE command imports the magazine magazine_name into jukebox jukebox_name.
The STORAGE INVENTORY JUKEBOX command does the following:
· Binds the volumes located in the magazine to the magazine
· Assigns the magazine slot numbers to the volumes bound to the magazine
· Updates the magazine and volume databases
Refer to the for additional information and restrictions for the STORAGE INVENTORY JUKEBOX command.
If you use a TL82n automated tape library or if you use a multitower TL82n configuration, and use the bin packs as magazines, you must follow specific bin and slot numbering conventions.
The bin numbering convention is necessary for importing magazines. The slot numbering convention is used by MDMS when you inventory the jukebox, or if you have a need to address a particular cartridge by its slot number.
The bin numbering convention requires three pieces of information:
The syntax for the expression is as follows:
For example, the location of the bottom bin on the third face of a TL820 automated tape library would be described as:
Follow the steps in See Calculating Slot Numbers to determine slot numbers for cartridges in multiple magazine implementations.
Once you have added volumes, added magazines, and bound the volumes and magazines together, MDMS recognizes the volumes are contained in the appropriate jukebox. MDMS loads and unloads volumes as needed. Whether a
given volume is in a magazine becomes invisible to the MDMS user application. The only time human interaction is required is when MDMS needs a volume to be physically removed from or placed into the tape jukebox.
It may become necessary for you to remove a magazine from a jukebox. To request that MDMS allow you to remove a magazine from a jukebox, enter the STORAGE EXPORT MAGAZINE command in the following format:
$ STORAGE EXPORT MAGAZINE magazine_name
MDMS sends an OPCOM request to physically remove the magazine from the jukebox. No reply is needed.
The following example shows an export message:
%%%%%%%%%%% OPCOM 22-DEC-1994 09:50:00.38 %%%%%%%%%%%
Remove Magazine JMSMAG1 from Tape Jukebox JUKEBOX1
%SLS-S-MAGVOLEXP, magazine volume JMS3 exported from tape jukebox
%SLS-S-MAGVOLEXP, magazine volume JMS1 exported from tape jukebox
For any number of reasons, you may need to stop MDMS from using a particular magazine. To do this, perform the following steps:
Unbinding volumes from a magazine
To unbind volumes from the magazine database, enter the STORAGE UNBIND command in the following format:
$ STORAGE UNBIND volume_name magazine_name
This command unbinds volume volume_name from magazine magazine_name in the magazine database. The volume IDs remain in the volume database. After the magazine is physically removed from the jukebox, the operator physically removes the volumes from the magazine. You should physically remove the cartridges from the magazine slots to keep the physical contents of the magazine consistent with that described by the magazine database.
To remove the magazine name from the MDMS magazine database, enter the STORAGE REMOVE MAGAZINE command in the following format:
To find out what magazines are in the MDMS magazine database, enter the following command:
MDMS displays all magazines in the MDMS magazine database and identifies those magazines currently located in a tape jukebox:
To show volumes bound to a magazine, use the STORAGE SHOW MAGAZINE command. In the following example, the magazine name is JMSMAG1.
$ STORAGE SHOW MAGAZINE JMSMAG1
MDMS shows all volumes associated with the specified magazine:
Note that empty slots are listed as well as any non-MDMS volumes contained in the magazine.
As mentioned previously, for the TL810 and TL820 jukeboxes, you can work with individual cartridges also. The following sections explain how to physically move individual cartridges in and out of these jukeboxes.
To import individual cartridges into a TL820 jukebox, use the STORAGE IMPORT CARTRIDGE command in the following format:
$ STORAGE IMPORT CARTRIDGE volume_name jukebox_name
Once you have issued this command, MDMS displays an OPCOM message and illuminates the tape jukebox's import slot door button.
The following restrictions apply when importing cartridges into the tape jukebox:
Use the following procedure to import a cartridge into the TL810:
To export individual cartridges from a TL820 jukebox, enter the STORAGE EXPORT CARTRIDGE command in the following format:
$ STORAGE EXPORT CARTRIDGE volume_name jukebox_name
Once you have issued this command, the jukebox exports the cartridge to an export area. Remove the cartridge from the export area.
Although the information in this chapter focuses on operating your tape jukeboxes as robotic devices, MDMS allows you to operate these devices as stack loaders as well. Whether your tape jukebox functions as a robotic device or a stack loader depends entirely on how you configure the device in the file TAPESTART.COM:
A TL810 class or Tl820 class device cannot be operated as a stack loader.
The following sections describe two areas in which working with jukeboxes requires some special attention.
You can move cartridges in a loader from the loader into the drive using other mechanisms besides MDMS. This is not a problem if the tape jukebox is being used as a stack loader. In this case, MDMS does not issue any robotic load commands to the drive.
However, if a loader has been configured for MDMS to use as a robotic device, then you must be careful to avoid moving cartridges in and out of the magazines outside of MDMS.
Moving cartridges should be restricted to MDMS commands such as STORAGE LOAD and STORAGE UNLOAD. This restriction exists because, on some drives, the tape firmware will stop accepting MDMS robotic cartridge movement commands after hardware-oriented cartridge movement commands have been executed.
Hardware-oriented cartridge movement commands occur when:
The robotic control software reports several errors that are caused by device conditions from which MDMS cannot recover. The most common cause of these conditions is the execution of hardware cartridge movement commands when a tape jukebox was intended to be used under robotic control. MDMS commands such as STORAGE LOAD, STORAGE UNLOAD, or system backup operations can return one of the following errors when this occurs:
%SLS-F-MRD_xxx_FAIL, media robot driver xxx failure
%SYSTEM-F-ILLIOFUNC, illegal I/O function code
%SYSTEM-F-CTRLERR, fatal controller error
%SYSTEM-F-DRVERR, fatal drive error
To correct these conditions, turn off the power to the tape jukebox, wait approximately 5 seconds, and then reapply power to the drive. If the problem persists, report the problem through your usual support channels.
For a TL810 or TL820 device, do not power the device off or on until you have first determined the cause of the problem.
The TL800 class jukeboxes incorporate features of a library and features of a loader. Because of this, HP recommends that you follow prescribed procedures for using a TL800 class jukebox for operations using MDMS.
Using the TL800 class jukeboxes requires that you first make sure front panelsettings are consistent with MDMS requirements. Refer to the hardware documentation for information describing how to manipulate the front panel controls.
You must use a magazine to import and store the cartridges while they are available to the drive in the jukebox. You will be required to register the magazine in the MDMS database before you can use the jukebox for MDMS assisted operations. You will also be required.
The TL800 class jukebox incorporates a vision system capable of reading bar code labels on the cartridges. This capability allows you to inventory its contents more rapidly than a jukebox that doesn't have a vision system.
The media handling procedures in this document were qualified on a TL891
jukebox with the following hardware settings. Other hardware settings relating to SCSI addressing are not considered.
Refer to the hardware documentation for details on defining or validating these settings.
The process described here gives the steps involved with using uncataloged media into a TL800 class jukebox, such as the TL891.
If you acquire or purchase media and prepare it ahead of time, this process could apply to you. This process outlines the general steps for moving media into the jukebox for use. Because MDMS can automatically enter records in the database for each cartridge during the inventory operation, preparations for this process are minimal, and can be performed on large numbers of cartridges at one time.
This process description assumes you are beginning with cartridges that have labels attached and that have been initialized, but are not yet cataloged in the MDMS database.
Refer to See Using Uncataloged Media with a TL800 Class Jukebox for the process describing how to add uncataloged media while importing it for use in a TL800 class jukebox.
At this point, you can unbind the cartridges from the magazine or leave them bound to the magazine; depending on your operational requirements.
The process described here gives the steps involved with using cataloged media with a TL800 class jukebox, such as the TL891.
When you use cartridges that are already cataloged in the MDMS database, you must do some things differently to use them with the jukebox. The INVENTORY operation will not automatically bind the cartridges to the magazine, so you will have to do that manually.
Refer to See Using Cataloged Media with a TL800 Class Jukebox for the process describing how to incorporate cataloged media
MDMS, combined with the Digital Cartridge Server Component (DCSC) software, provides automated storage management. By setting up user authorization to volume pools within the MDMS software, you can have an automated storage management system using MDMS, the DCSC software, and the StorageTek Automated Cartridge System (ACS) 4400 or StorageTek WolfCreek silo.
The StorageTek ACS 4400 is a combined hardware and software entity that provides storage and access for up to 6,000 cartridges. Command-oriented access to the ACS is provided by DCSC software. MDMS uses the DCSC software to provide automated storage management.
For more information about DCSC, see the following documentation:
To enable MDMS to operate with DCSC software, you must modify the following symbols in the file TAPESTART.COM:
You must assign all tape devices managed by the DCSC software to the DCSC_DRIVES symbol.
For example, if the tape devices $1$MUA0, $1$MUA1, $1$MUA2, and $1$MUA3 are managed by the DCSC software, then assign:
$ DCSC_DRIVES := $1$MUA0,$1$MUA1,$1$MUA2,$1$MUA3
This symbol assignment allows MDMS to determine which tape devices to automatically load. If the drives are remote, you must include the node name.
(DCSC tape devices appear to the OpenVMS operating system as TA90 or TA90E tape devices.)
MDMS has to determine which tape devices can service a given media type.
Define a media triplet for tape devices managed by the DCSC software. The following media triplet format is recommended:
$ DRIVES_n1 := list_of_drives3
For example, tape devices managed by the DCSC software are defined in the symbol DCSC_DRIVES. The media triplet number 6 is unused. Define a DCSC media triplet as follows:
$ DRIVES_6 := $1$MUA0,$1$MUA1,$1$MUA2,$1$MUA3
Assigning more than one DCSC-controlled silo:
If your system accesses more than one DCSC-controlled silo, then assign separate media triplets for each silo.
If the silo is on a remote node, you must to enable MDMS to locate the node where the DCSC-controlled silo resides. You must assign the node name to the DSCS_n_NODE symbol. The nth value is the same as the nth value assigned to the DCSC_n symbol in the media triplet.
The following example assigns the media type DCSC_1 to the node MERKUR.
MDMS uses DCSC to perform functions in DCSC-controlled silos. You can use STORAGE commands or the ACS Management Menu to access MDMS functions for the silos.
The following STORAGE commands provide special functionality for DCSCcontrolled silos:
To verify that a volume or range of volumes is in a silo, use the STORAGE INVENTORY ACS command. The INVENTORY ACS command adds volumes found in the silo to the MDMS volume database.
To physically bring volumes from the silo's cartridge access port to a slot inside the silo, use the STORAGE IMPORT ACS command. This causes the MDMS volume database to be updated. If the you specify the /ADD qualifier, any new volumes not already in the MDMS database are added.
To physically remove volumes from the silo through the cartridge access port, use the STORAGE EXPORT ACS command.
The ACS Management Menu provides options that let you control the behaviors of DCSC-controlled robotic silos from MDMS. See ACS Management Menu shows the options available on the ACS Management Menu.
The following functions are available on the ACS Management Menu:
If volumes were previously imported into the ACS with the /NOADD qualifier, MDMS will not be able to use them. To enable MDMS software to use these volumes, you must inventory them. To inventory volumes that already exist in the ACS, use either the STORAGE INVENTORY command or the Inventory Volume Series option.
The Inventory Volume Series option displays a screen that enables you to inventory a series of volumes in the ACS.
See Inventory Volume Series illustrates the Inventory Volume Series screen.
Perform the steps described in See Inventorying Volume Series to use the Inventory Volume Series option.
Enter option 1 from the ACS Management Menu and press The software displays the Inventory Volume Series screen (See Inventory Volume Series). |
||
Enter the name of the ending volume in the series. The starting and ending volume names must have the same number of characters and the ending volume must be later in the sequence (greater than or equal to) the starting volume. |
||
Enter YES or NO and press Return . Default is YES. Volumes found will be updated. If YES is entered, then if a volume is not found in the MDMS volume database, it will be automatically entered; else, a warning is issued. |
||
Enter 0 to accept the default library or enter the correct library |
||
Enter QUIT to select the default. Enter EXPORT to change the location of the missing volumes, or enter REMOVE to remove the missing volumes' record from the ACS library. |
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Starting volume> sq0800 Return 1
Ending volume> sq0801 Return 2
Automatically add volumes to MDMS database if not found? [YES] Return 3
Calling MDMS to inventory SQ0800 through SQ0801... 4
%SLS-S-VOLINVENTORIED, volume SQ0800 inventoried 5
%SLS-S-VOLADDED, volume SQ0800 added to MDMS database 6
%SLS-S-VOLINVENTORIED, volume SQ0801 inventoried 7
%SLS-S-VOLADDED, volume SQ0801 added to MDMS database 8
1 The operator specifies the starting volume name of SQ0800.
2 The operator specifies the ending volume name of SQ0801.
3 The operator wants volumes that are unknown to MDMS to be automatically
added to the MDMS volume database.
4 MDMS software is called to perform the inventory.
5 Volume SQ0800 was found in the ACS.
6 SQ0800 was added to the MDMS volume database.
7 Volume SQ0801 was found in the ACS.
The Import Volume(s) option displays a screen that enables you to physically import one or more volumes into the ACS. ACS reports the labels to the MDMS software, and optionally allows you to add the volume record to the MDMS volume database.
See Import Volumes(s) Screen illustrates the Import Volume(s) screen.
Perform the steps described in See Importing Volumes to use the Import Volume(s) option.
Enter option 2 from the ACS Management Menu and press The software displays the Import Volume(s) screen. (See Import Volumes(s) Screen). |
||
Enter the correct library ID or press Return to select the default library ID of 0. |
||
Enter the ID of the ACS or press Return to select the default ID of 0. |
||
Enter YES or NO and press Return . Default is YES. Volumes found will be updated. If YES is entered, then if a volume is not found in the MDMS volume database, it will be automatically entered; else a warning is issued. |
||
Open the CAP door when instructed to do so by the CAP access lights. Refer to the DCSC documentation for more information about CAP. |
||
The cartridges will be entered into the VAX DCSC system. The volumes will be updated (or added to, depending on the response to step 5) in the MDMS volume database. |
----------------------------------------------------------------
----------------------------------------------------------------
LIBRARY-ID of library [default]> Return 1
ACS ID where CAP resides [0]> Return 2
LSM ID where CAP resides [0]> Return 3
Automatically add volumes to MDMS database if not found? [YES]> Return 4
Calling MDMS to import the volumes... 5
%SLS-S-VOLENTACS, volume SQ0801 entered into ACS 6
%SLS-S-VOLUPDATED, volume SQ0801 updated in MDMS database 7
%SLS-S-VOLENTACS, volume SQ0802 entered into ACS 8
%SLS-S-VOLADDED, volume SQ0802 added to MDMS database 9
1 The operator specifies the default library (assigned to the JUKEBOX symbol in the file TAPESTART.COM)
2 The operator specifies the default ACS ID of 0.
3 The operator specifies the default LSM ID of 0.
4 The operator specifies that MDMS should automatically add volumes with
defaults to its database if volumes entered in the CAP are not found in the
5 The MDMS software is called to import the volumes. The CAP ``Enter'' light
illuminates and the CAP door unlocks. The operator places the cartridges in
6 Volume SQ0801 is found in the CAP and entered into the ACS.
7 SQ0801 is found and updated in the MDMS volume database.
8 Volume SQ0802 is found in the CAP and entered into the ACS.
9 SQ0802 is not found in the MDMS volume database. It is subsequently added with default values to the MDMS volume database.
After a set of new volumes have been imported into the ACS, it may be necessary to initialize them. To do this, use the Initialize Volume Series option on the ACS Management Menu.
The Initialize Volume Series option displays a screen that enables you to automatically initialize existing volumes in the ACS.
See Initialize Volume Series Screen illustrates the Initialize Volume Series screen diagram.
Perform the steps described in See Initializing Volume Series to use the Initialize Volume Series option.
Enter option 3 of the ACS Management Menu and press Return . The software displays the Initialize Volume Series screen (See Initialize Volume Series Screen). |
||
Enter the name of the ending volume in the series. The starting and ending volume names must have the same number of characters and the ending volume must be later in the sequence (greater than or equal to) the starting volume. |
||
Enter either YES or NO. Default is YES. The procedure will check if the volume has already been initialized and query the user before reinitializing the volume. |
||
Enter either YES or NO. Default is NO. The user has specified YES to step 5 and a volume was found to already be initialized. Answer YES to reinitialize, NO to continue on to next volume. |
----------------------------------------------------------------
----------------------------------------------------------------
Starting volume> sq0800 Return 1
Ending volume> SQ0802 Return 2
Confirm if volume has already been initialized? [YES] Return 3
Getting volume SQ0800 attributes... 4
Calling MDMS to load volume SQ0800... 5
%DCSC-I-MOUNTED, SQ0800 mounted on _$2$MUA7:, ACS Library 1
Mounting volume to see if previously initialized... 6
%MOUNT-I-MOUNTED, SQ0800 mounted on _$2$MUA7: (HSC003)
Volume preinitialized with name of SQ0800. Reinitialize it? [NO] Return 7
Calling MDMS to unload volume SQ0800 from drive _$2$MUA7:... 8
Getting volume SQ0801 attributes...
Calling MDMS to load volume SQ0801...
%DCSC-I-MOUNTED, SQ0801 mounted on _$2$MUA3:, ACS Library 1
Mounting volume to see if previously initialized...
%MOUNT-I-MOUNTED, SQ0801 mounted on _$2$MUA3: (HSC003)
Volume preinitialized with name of SQ0801. Reinitialize it? [NO] Y Return 9
Calling MDMS to unload volume SQ0801 from drive _$2$MUA3:...
Getting volume SQ0802 attributes...
Calling MDMS to load volume SQ0802...
%DCSC-I-MOUNTED, SQ0802 mounted on _$2$MUA7:, ACS Library 1
Mounting volume to see if previously initialized...
%MOUNT-I-MOUNTED, mounted on _$2$MUA7: (HSC003) 10
Calling MDMS to unload volume SQ0802 from drive _$2$MUA7:...
1 The operator specifies the starting volume to be SQ0800.
2 The operator specifies the ending volume to be SQ0802.
3 The operator asks to be queried to reinitialize a volume that has already been
4 The MDMS software is called to find if the volume exists and is in an ACS.
5 MDMS is called to load the volume in a drive.
6 The volume is mounted to determine if it has been already initialized.
7 The volume is found to have already been initialized. The operator is queried
whether the volume should be reinitialized. The operator specifies NO, so the
volume is dismounted without being reinitialized.
8 MDMS is called to unload the volume from the drive.
9 The second volume, SQ0801, has also been preinitialized. However, the operator specifies that it should be reinitialized.
10 The final volume, SQ0802, has not been preinitialized, so it is automatically
Refer to the for information on how to use the STORAGE LOAD command.
The Load Volume Onto Drive option displays a screen that enables you to automatically load an ACS volume onto an ACS drive.
See Load Volume Onto Drive Screen illustrates the Load Volume Onto Drive screen.
Perform the steps described in See Loading Volumes Onto a Drive to use the Load Volume Onto Drive option.
Enter option 4 from the ACS Management Menu and press Return . The software displays the Load Volume Onto Drive screen (See Load Volume Onto Drive Screen). |
||
Specify which drive (physical name or a logical name) to load the volume onto. |
||
Specify if write access to the volume is required. Default is NO. Answering NO will cause the volume to be loaded with write protection. Answering YES results in the volume loaded without write protection. |
----------------------------------------------------------------
-----------------------------------------------------------------
Volume to load> SQ0800 Return 1
Drive on which to load volume> $2$MUA0 Return 2
Is write access to the volume required? [NO]> YES Return 3
Calling MDMS to load SQ0800 onto $2$MUA0... 4
1 The operator specifies to load volume SQ0800.
2 Specifies the drive $2$MUA0.
3 Write access is required (no write protect).
After a volume has been loaded on a drive and used, it must be unloaded. The Unload Drive option displays a screen that enables you to unload a volume from a specific drive.
See Unload Drive Screen illustrates the Unload Drive screen.
Perform the steps described inSee Unloading Drives to use the Unload Drive option.
Enter option 5 of the ACS Management Menu and press Return . The software displays the Unload Drive screen (See Unload Drive Screen). |
||
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Drive to unload> $2$MUA1 Return 1
Calling MDMS to unload $2$MUA1... 2
1 The operator specifies that the volume in $2$MUA1 should be unloaded.
The Unload Volume option displays a screen that enables unloading a specific volume from a drive.
See Unload Volume(s) Screen illustrates the Unload Volume(s) screen diagram.
Perform the steps described in See Unloading Volumes to use the Unload Volume option.
Enter option 6 from the ACS Management Menu and press Return . The software displays the Unload Volume screen (See Unload Volume(s) Screen). |
||
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Volume to unload> SQ0800 Return 1
Calling MDMS to unload SQ0800... 2
1 The operator specifies that SQ0800 is to be unloaded.
The Export Volume(s) option displays a screen that enables you to to export a volume from the ACS.
See Export Volume Screen illustrates the Export Volume screen.
Perform the steps described in See Exporting Volumes to use the Export Volume(s) option.
Enter option 7 from the ACS Management Menu and press Return . The software displays the Export Volume screen (See Export Volume Screen). |
||
Enter the ID of the ACS or press Return to select the default ID of 0. |
||
Open the CAP door when instructed to do so by the CAP access lights. Refer to the DCSC documentation for more information |
||
Exports the volume from the ACS and modifies fields in the MDMS volume record to indicate the volume is outside the ACS. |
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Volume to export> sq0800 Return 1
ACS ID where CAP resides [0]> Return 2
LSM ID where CAP resides [0]> Return 3
Calling MDMS to export SQ0800... 4
1 The operator specifies volume SQ0800 to export.
2 The operator specifies the default ACS ID of 0.
3 The operator specifies the default LSM ID of 0.
4 MDMS software is called to export the volume from the ACS.
When you installed the RDF software with MDMS , you placed the RDF clint software on the nodes with disks you want to backup.
You placed the RDF server software on the systems to which the tape backup devices are conected.
This means that when using RDF, you serve the tape backup device to the systems with the clint disks.
The two files used to configure access to remote tape or optical devices are:
When specifying more than one device, separte the device names with commas.
Check this file to make sure that all RDF characteristic names are unique to this node. Multiple devices can be assigned to a single RDF characteristic name. However, it is strongly recomended to set the characteristic names equal to the physical device names in order to simplify device name identification in TAPESTART.COM files on client/server nodes.
Any time you modify the TTI_RDEV:CONFIG_nodename.DAT file, restart MDMS so the changes take effect.
See How to Change Network Parametersshows how to configure the file SYS$MANAGER$TAPESTART.COM on both the RDF server and RDF client nodes, the file TTI_RDEV_CONFIG_nodename.DAT on the RDF client node, and the relationship among these files.
In See How RDF and MDMS Software Communicate, the following definitions are assigned:
RDF server node (destination node):
In See How RDF and MDMS Software Communicate, the media triplet defines:
Do not assign a node name to a local device.
The device available for remote operations is defined with both:
Check this file to make sure that all RDF characteristic names are unique to this node. Multiple devices can be assigned to a single RDF characteristic name. However, it is highly recommended to set the characteristic name equal to the physical device name in order to simplify device naming across nodes.
Define the same device in a media triplet:
This definition contains the node name (where the device is attached) plus the RDF characeristic name.
Do not assign a node name to a local device.
The following system configuration scenarios are provided to show the relationship between the RDF and MDMS software configuration files. Examples showing how to modify files to implement each scenario are included. The scenarios progress in complexity.
In each of the scenarios, Omaha is the business headquarters. Node names are presented in all uppercase letters, while the physical location name is presented with an initial capital letter. This is done for clarity.
Listed respectively below each device is:
See Single Remote Device describes how a backup operation invoked on node DENVER, using the media type TF857, is written to volumes loaded on remote devices on node OMAHA. Denver does not have a local device.
Modifying the appropriate files:
In this scenario, modify the following files as shown:
This information defines which devices are available to the MDMS software and defines the media type associated with each of those devices.
This associates the physical device name with an RDF characteristic name. In this case, a TF857 device is located in Omaha at the business headquarters.
This associates the host node name plus the RDF characteristic name and directs backup operations using the media type TF857 to the correct device.
See Local Area Network shows that both nodes are located in a local area network in Omaha. These nodes can share the same devices. The media is kept in a common area accessible to the operations staff. There is no distinction between local and remote drive selection in this example.
Modifying the appropriate files
In this scenario, modify the following files as shown:
$ DRIVES_1 := $1$MIA1, OMAHA2::TF857
This information defines which devices are available to the MDMS software and defines the
media type associated with each of those devices. In this case, the drives in the first media triplet
(the TF857 devices on both OMAHA1:: and OMAHA2::) are interchangeable.
This file associates the physical device names with RDF characteristic names. Remote nodes (OMAHA2::) refer to the destination node using the destination node name (OMAHA1::) followed by either the physical name ($1$MUA1) or the RDF characteristic name (HQTF857).
$ DRIVES_1 := $1$MIA1, OMAHA1::HQTF857
This information defines which devices are available to the MDMS software and defines the media type associated with those devices. In this case, the drives in the first media triplet (the TF857 devices on both OMAHA1:: and OMAHA2::) are interchangeable.
This associates physical device names of the two local devices ($1$MIA1 and $1$MUA3) with RDF characteristic names (TF857 and TK50).
In this scenario, the physical media is not shared between locations. Therefore, the location of the media is reflected in a site-specific media type. MDMS software interprets the site-specific media type and directs the backup operation to the correct device.
See Two-Way Remote Backup Operation shows how local backup operations can be directed to Omaha, which has a TA90 device, and how both local and remote backup operations are available from either Miami or Omaha using the TF857 devices.
Media-type names and RDF characteristic names do not have to be different, but have been in these scenarios to illustrate that they serve two different purposes.
Modifying the appropriate files
In this scenario, modify the following files as shown:
This information defines which devices are available to the MDMS software and defines the media type associated with each of those devices. Note the media type names differ for media types located at different nodes. This is done to ensure MDMS software associates commonly located media and drives.
This data associates the physical device names with RDF characteristic names. In this case, both the local TF857 device and a TA90 device located at the business headquarters in Omaha can be used from Miami.
This information defines which devices are available to the MDMS software and defines the media type associated with those devices.
This associates the host node name of a remote device plus the RDF characteristic name and directs the backup operation to the correct location of the device. Note the RDF characteristic name differs from the media-type name for the TF857 physical device $1$MIA1.
See Backup Operation Among Multiple Remote Nodes shows three nodes in different locations connected by DECnet software. In this scenario, some devices, but not all, are available for RDF use.
The three nodes are geographically separated; therefore they do not share a common set of media, but they do share the MDMS volume database (on OMAHA). Because there is a single MDMS volume database, site-specific media types must be used to ensure MDMS software associates commonly located media and drives.
The following example shows the use of site-specific media types for destination as well as local drives. To illustrate this, the system manager in this scenario has implemented the following rules:
Modifying the appropriate files
In this scenario, modify the following files as shown:
This information defines which device is available to the MDMS software and defines the media
type associated with the device.
This associates the physical device name with an RDF characteristic name, enabling remote access to the device on OMAHA::.
$ DRIVES_1 := $1$MIA1, $1$MIA2
This information defines which devices are available to the MDMS software and defines the media associated with those devices.
This associates the host node name plus the RDF characteristic name and directs the backup operation to the correct device, enabling remote access to $1$MIA1 on the node DENVER::. Note the absence of the TK50 and the second TF857, which are not available to the RDF software.
This information defines which devices are available to the MDMS software and defines the media associated with those devices.
Using RDF imposes the following restrictions:
$ STORAGE SELECT MYDRIVE VOL001
ALLDEV and SELDEV symbol assignments control MDMS use of a listed device.
These assignments are made in the SYS$MANAGER:TAPESTART.COM file on the node to which the device is physically connected.
If you are performing remote MDMS operations, then the following guidelines apply:
If the source node does not want any local drives in ALLDEV, the remote devices do not need to be included in ALLDEV because allocation of these devices is controlled by the node to which they are physically connected.
RDF software is automatically started up along with MDMS software when you enter the following command:
The following privileges are required to execute the RDSHOW procedure: NETMBX, TMPMBX.
In addition, the following privileges are required to show information on remote devices allocated by other processes: SYSPRV, WORLD.
You can run the RDSHOW procedure any time after the MDMS software has been started. RDF software is automatically started at this time.
node_name is the node name of any node on which the RDF server software is running.
To show remote devices that you have allocated, enter the following command from the RDF client node:
RDALLOCATED devices for pid 20200294, user DJ, on node OMAHA::
DJ is the user name and OMAHA is the current RDF client node.
The RDSHOW SERVER procedure shows the available devices on a specific SERVER node. To execute this procedure, enter the following command from any RDF client or RDF server node:
$ @TTI_RDEV:RDSHOW SERVER MIAMI
MIAMI is the name of the server node whose devices you want shown.
Available devices on node MIAMI::
This RDSHOW SERVER command shows any available devices on the server node MIAMI, including any device characteristics. In addition, each allocated device shows the process PID, username, and RDF client node name.
The text (local) is shown if the device is locally allocated.
To show all allocated remote devices on an RDF client node, enter the following command from the RDF client node:
Devices RDALLOCATED on node OMAHA::
This command shows all allocated devices on the RDF client node OMAHA. Use this command to determine which devices are allocated on which nodes.
This section describes network issues that are especially important when working with remote devices.
The Network Control Program (NCP) is used to change various network parameters. RDF (and the rest of your network as a whole) benefits from changing two NCP parameters on all nodes in your network. These parameters are:
The pipeline quota is used to send data packets at an even rate. It can be tuned for specific network configurations. For example, in an Ethernet network, the number of packet buffers represented by the pipeline quota can be calculated as approximately:
buffers = pipeline_quota / 1498
The default pipeline quota is 10000. At this value, only six packets can be sent before acknowledgment of a packet from the receiving node is required. The sending node stops after the sixth packet is sent if an acknowledgment is not received.
The PIPELINE QUOTA can be increased to 45,000 allowing 30 packets to be sent before a packet is acknowledged (in an Ethernet network). However, performance improvements have not been verified for values higher than 23,000. It is important to know that increasing the value of PIPELINE QUOTA improves the performance of RDF, but may negatively impact performance of other applications running concurrently with RDF.
Similar to the pipeline quota, line receive buffers are used to receive data at a constant rate.
The default setting for the number of line receive buffers is 6.
The number of line receive buffers can be increased to 30 allowing 30 packets to be received at a time. However, performance improvements have not been verified for values greater than 15 and as stated above, tuning changes may improve RDF performance while negatively impacting other applications running on the system.
As stated in DECnet-Plus (DECnet/OSI V6.1) Release Notes, a pipeline quota isn't used directly. Users may influence packet transmission rates by adjusting the values for Transport's characteristics MAXIMUM TRANSPORT CONNECTIONS, MAXIMUM RECEIVE BUFFERS, and MAXIMUM WINDOW. The value for the transmit quota is determined by MAXIMUM RECEIVE BUFFERS divided by Actual TRANSPORT CONNECTIONS. This will be used for the transmit window, unless MAXIMUM WINDOW is less than this quota. In that case, MAXIMUM WINDOW will be used for the transmitter window.
The DECnet-Plus defaults (MAXIMUM TRANSPORT CONNECTIONS = 200 and MAXIUM RECEIVE BUFFERS = 4000) produce a MAXIMUM WINDOW of 20. Decreasing MAXIUM TRANSPORT CONNECTIONS with a corresponding increase of MAXIMUM WINDO may improve RDF performance, but also may negatively impact other applications running on the system.
This sections describes how to change the network parameters for DECnet Phase IV and DECnet-PLUS.
The pipeline quota is an NCP executor parameter. The line receive buffers setting is an NCP line parameter.
The following procedure shows how to display and change these parameters in the permanent DECnet database. These changes should be made on each node of the network.
For the changed parameters to take effect, the node must be rebooted or DECnet must be shut down.
The Network Control Language (NCL) is used to change DECnet-Plus network parameters. The transport parameters MAXIMUM RECEIVE BUFFERS, MAXIMUM TRANSPORT CONNECTIONS, and MAXIMUM WINDOW can be adjusted by using NCL's SET OSI TRANSPORT command. For example:
NCL> SET OSI TRANSPORT MAXIMUM RECEIVE BUFFERS = 4000 !default value
NCL> SET OSI TRANSPORT MAXIMUM TRANSPORT CONNECTIONS = 200 !defaultvalue
NCL> SET OSI TRANSPORT MAXIMUM WINDOWS = 20 !default value
The make the parameter change permanent, add the NCL command(s) to the SYS$MANAGER:NET$OSI_TRANSPORT_STARTUP.NCL file. Refer to the DENET-Plus (DECnet/OSI) Network Management manual for detailed information.
Changing the default values of line receive buffers and the pipeline quota to the values of 30 and 45000 consumes less than 140 pages of nonpaged dynamic memory.
In addition, you may need to increase the number of large request packets (LRPs) and raise the default value of NETACP BYTLM.
LRPs are used by DECnet to send and receive messages. The number of LRPs is governed by the SYSGEN parameters LRPCOUNT and LRPCOUNTV.
A minimum of 30 free LRPs is recommended during peak times. Show these parameters and the number of free LRPs by entering the following DCL command:
System Memory Resources on 24-JUN-1991 08:13:57.66
In the LRP lookaside list, this system has:
The SYSGEN parameter LRPCOUNT (LRP Count) has been set to 25. The Current Size is not the same as the the Initial Size. This means that OpenVMS software has to allocate more LRPs. This causes system performance degradation while OpenVMS is expanding the LRP lookaside list.
The LRPCOUNT should have been raised to at least 36 so OpenVMS does not have to allocate more LRPs.
Raise the LRPCOUNT parameter to a minimum of 50. Because the LRPCOUNT parameter is set to only 25, the LRPCOUNT parameter is raised on this system even if the current size was also 25.
This is below the recommended free space amount of 30. This also indicates that LRPCOUNT should be raised. Raising LRPCOUNT to 50 (when there are currently 36 LRPs) has the effect of adding 14 LRPs. Fourteen plus the 20 free space equals over 30. This means that the recommended value of 30 free space LRPs is met after LRPCOUNT is set to 50.
The LRPCOUNTV parameter should be at least four times LRPCOUNT. Raising LRPCOUNT may mean that LRPCOUNTV has to be raised. In this case, LRPCOUNTV does not have to be raised because 200 is exactly four times 50 (the new LRPCOUNT value).
Make changes to LRPCOUNT or LRPCOUNTV in both:
Example: Changing LRPCOUNT to 50 in SYSGEN
Password: (the system password)
Parameter Name Current Default Minimum Maximum
Parameter Name Current Default Minimum Maximum
After making changes to SYSGEN, reboot your system so the changes take effect.
Example: Changing the LRPCOUNT for AUTOGEN
Add the following line to MODPARAMS.DAT:
$ MIN_LRPCOUNT = 50 ! ADDED {the date} {your initials}
This ensures that when AUTOGEN runs, LRPCOUNT is not set below 50.
The default value of NETACP is a BYTLM setting of 65,535. Including overhead, this is enough for only 25 to 30 line receive buffers. This default BYTLM may not be enough.
Increase the value of NETACP BYTLM to 110,000.
Before starting DECnet, define the logical NETACP$BUFFER_LIMIT by entering:
By default, RDF tries to perform I/O requests as fast as possible. In some cases, this can cause the network to slow down. Reducing the network bandwidth used by RDF allows more of the network to become available to other processes.
The RDF logical names that control this are:
The default values for these logical names is zero.
The following example shows how to define these logical names on the RDF client node:
$ DEFINE/SYSTEM RDEV_WRITE_GROUP_SIZE 30
$ DEFINE/SYSTEM RDEV_WRITE_GROUP_DELAY 1
To further reduce bandwidth, the RDEV_WRITE_GROUP_DELAY logical can be increased to two (2) or three (3).
Remote Device Facility can survive network failures of up to 15 minutes long. If the network comes back within the 15 minutes allotted time, the RDCLIENT continues processing WITHOUT ANY INTERRUPTION OR DATA LOSS. When a network link drops while RDF is active, after 10 seconds, RDF creates a new network link, synchronizes I/Os between the RDCLIENT and RDSERVER, and continues processing.
The following example shows how you can test the Remote Device Facility's ability to survive a network failure. (This example assumes that you have both the RDSERVER and RDCLIENT processes running.)
$ @tti_rdev:rdallocate tti::mua0:
RDF - Remote Device Facility (Version 4.1) - RDALLOCATE Procedure
Copyright (c) 1990, 1996 Touch Technologies, Inc.
Device TTI::TTI$MUA0 ALLOCATED, use TAPE01 to reference it
$ backup/rewind/log/ignore=label sys$library:*.* tape01:test
Known Link Volatile Summary as of 13-MAR-1996 14:07:38
Backup pauses momentarily before resuming. Sensing the network
disconnect, RDF creates a new -rdclient- link. Verify
this by entering the following command:
Known Link Volatile Summary as of 13-MAR-1996 16:07:00
The RDF Security Access feature allows storage administrators to control which remote devices are allowed to be accessed by RDF client nodes.
You can allow specific RDF client nodes access to all remote devices.
For example, if the server node is MIAMI and access to all remote devices is granted only to RDF client nodes OMAHA and DENVER, then do the following:
Edit TTI_RDEV:CONFIG_MIAMI.DAT
OMAHA and DENVER (the specific RDF CLIENT nodes) are allowed access to all remote devices (MUA0, TU80) on the server node MIAMI.
If there is more than one RDF client node being allowed access, separate the node names by commas.
You can allow specific RDF client nodes access to a specific remote device.
If the server node is MIAMI and access to MUA0 is allowed by RDF client nodes OMAHA and DENVER, then do the following:
$ Edit TTI_RDEV:CONFIG_MIAMI.DAT
DEVICE $1$MUA0: MUA0, TK50/ALLOW=(OMAHA,DENVER)
OMAHA and DENVER (the specific RDF client nodes ) are allowed access only to device MUA0. In this situation, OMAHA is not allowed to access device TU80.
You can deny access from specific RDF client nodes to all remote devices.
For example, if the server node is MIAMI and you want to deny access to all remote devices from RDF client nodes OMAHA and DENVER, do the following:
$ Edit TTI_RDEV:CONFIG_MIAMI.DAT
OMAHA and DENVER are the specific RDF client nodes denied access to all the remote devices (MUA0, TU80) on the server node MIAMI.
You can deny specific client nodes access to a specific remote device.
If the server node is MIAMI and you want deny access to MUA0 from RDF client nodes OMAHA and DENVER, do the following:
$ Edit TTI_RDEV:CONFIG_MIAMI.DAT
DEVICE $1$MUA0: MUA0, TK50/DENY=(OMAHA,DENVER)
OMAHA and DENVER RDF client nodes are denied access to device MUA0 on the server node MIAMI.
One of the features of RDF is the RDserver Inactivity Timer. This feature gives system managers more control over rdallocated devices.
The purpose of the RDserver Inactivity Timer is to rddeallocate any rdallocated device if NO I/O activity to the rdallocated device has occurred within a predetermined length of time. When the RDserver Inactivity Timer expires, the server process drops the link to the client node and deallocates the physical device on the server node. On the client side, the client process deallocates the RDEVn0 device.
The default value for the RDserver Inactivity Timer is 3 hours.
The RDserver Inactivity Timer default value can be manually set by defining a system wide logical on the RDserver node prior to rdallocating on the rdclient node. The logical name is RDEV_SERVER_INACTIVITY_TIMEOUT.
To manually set the timeout value:
$ DEFINE/SYSTEM RDEV_SERVER_INACTIVITY_TIMEOUT seconds
For example, to set the RDserver Inactivity Timer to 10 hours, you would execute the following command on the RDserver node:
This chapter provides the following information:
MDMS manages the physical media (volumes) on which information is stored. The MDMS software enables you to add new volumes to the MDMS volume database, control access to volumes throughout their lifecycle, remove volumes from the MDMS volume database, and report on various aspects of the MDMS volume database.
The following definitions should help you become familiar with terms associated with volume management and the related tasks.
A volume is a physical piece of media that contains information, such as:
The physical media can be any of the following:
The volume ID is a unique name assigned to a volume to distinguish it from other volumes in the database.
Each time the MDMS software loads a volume onto a drive, it checks the volume label to ensure that the correct volume has been loaded. If the volume label is different than the volume ID, MDMS cannot manage media effectively because it cannot validate loaded volumes.
When a volume is introduced into the MDMS database, it is placed into the FREE state (described in See Volume States). As the volume cycles through the volume database, the state of the volume is changed according to the function the volume is providing. The volume lifecycle is the amount of time that a volume is entered into the MDMS database, is cycled through its various states, and is removed from the MDMS volume database.
A volume pool is a group of volumes that can be accessed by authorized users.
The MDMS software allows any number of volume pools.
The storage administrator determines:
By doing so, a storage administrator can restrict the usage of specific volumes to specific groups of users.
Example of using volume pools:
If a department purchases 75 volumes, the storage administrator could assign three pools and place 25 volumes into each pool by project: PROJECT1, PROJECT2, and PROJECT3.
The storage administrator would then authorize individual team members (users) from each project to be able to access the appropriate volume pool.
The users would be able to allocate volumes only from their assigned pools.
A volume set is a group of two or more related volumes. Each volume in the volume set (except the last) has a ``next volume,'' and each volume (except the first) has a ``previous volume.''
The volume retention period is the number of days that a volume is allowed to remain in the TRAN state before it is released to the FREE state by the TAPEPURGE process.
The volume retention period is:
A slot is the physical storage location for a volume that is not stored in an off-site vault.
In a library room used to store volumes, there could be shelves that consist of numbered slots. Some slots could be empty, while other slots could be occupied by volumes. If a volume is stored in a particular slot, the exact volume location could be HEADQUARTERS, SLOT 23.
The jukebox is the name of the tape jukebox in which a volume currently resides.
The jukebox slot is the slot in the tape jukebox where the volume is currently located.
Volumes can be either single-sided or double-sided media.
A volume that is single-sided media can be:
A volume that is double-sided media is an optical cartridge that has two physical sides (Side A and Side B) on which information can be written. Each side of the volume:
The RV02K cartridge is a double-sided, 12-inch optical disk placed inside a protective plastic case. The case loads directly into an RV60 optical drive.
RV02K optical cartridges are write-once, read-many (WORM) media. Once data is written to the disk area, it cannot be altered or rewritten. The data, however, can be read an unlimited number of times.
Initialize the RV02K only once before writing to it. If you initialize the RV02K any other time, all prior data is lost.
The same user should allocate both sides of an RV02K optical cartridge. If two users own the opposite sides of the same cartridge, the user who is currently using the cartridge prevents the other from accessing the volume on the opposite side.
To understand the concept of volume management, you must first understand the state of a volume during the volume's lifecycle in the MDMS volume database.
MDMS software manages volumes by assigning volumes to users and associating each volume with a state. The state of the volume identifies the volume's current state of use and its availability.
A volume can be in any one of the following states:
See Volume Statesshows the relationships between the volume states. The arrows represent the path that a volume can travel during its lifecycle in the MDMS volume database.
See Volume States shows the volume state assignments and provides a brief description of each.
Each time a volume is allocated, a scratch date is assigned automatically to it. A scratch date is the date that the volume is scheduled to be deallocated after being assigned to a user.
Usually, the scratch date is set one year from the date the volume is allocated, but it can be set to any period of time based on an absolute time value. See Defining the Default Volume Scratch Time for Allocation provides information about setting scratch dates.
A volume state is determined by the assignment in the STATUS FLAG field. When a volume is added to the database, the STATUS FLAG field is set to the FREE state.
At each step of the lifecycle, the MDMS software automatically changes the state of a volume. As the volume passes through its lifecycle, the STATUS FLAG field assignment in the volume database record is changed from FREE to ALLOCATED to TRAN and back to FREE again.
The FRESTA symbol in the file SYS$MANAGER:TAPESTART.COM determines if volumes are placed in the FREE or TRAN state when they have reached their scratch date, or when an explicit STORAGE DEALLOCATE command is issued against the volume.
See Allowable Assignments for the FRESTA Symbol shows the allowable assignments to the FRESTA symbol.
1 The default retention period is 14 days. However, the storage administrator determines the amount of time for the retention period.
The value assigned to the TRANS_AGE symbol represents the interval that the volume is allowed to stay in the TRAN state. The TRANS_AGE symbol allows volumes to stay in the TRAN state indefinitely if this symbol does not have an assigned value.
The assignment must include days, hours, minutes, and seconds:
See How to Change the Volume State describes how to change the state of a volume state.
Before MDMS can load or unload volumes, MDMS first must recognize the volumes. Information about volumes is stored in the MDMS volume database. You can add volumes to the MDMS volume database by using one of the following methods:
To add a volume record to the MDMS volume database, use the STORAGE ADD VOLUME command. This command allows you to add single-sided media, individual sides of double-sided media, or both sides of double-sided media.
For more information about adding double-sided media, see See Adding Double-Sided Volumes. For details of the syntax and qualifiers available for the STORAGE ADD VOLUME command, see the
The following example adds a single-sided volume named MYVOL1 to the MDMS volume database:
You can use the ADD VOLUME or the ADD VOLUME SERIES option from the MDMS Operator Menu/Maintenance Menu option to add individual volumes or a series of volumes to the MDMS database.
Note that the menu options allow you to enter up to eight alphanumeric characters for the volume ID. We recommend, however, that you limit volume IDs to six characters that match the volume label to maintain ANSI compliance.
You can add volumes on double-sided media to the database individually or at the same time. If you choose to add the volumes separately, you must add Side A first and Side B later.
The following example adds both sides (volumes) of a double-sided medium to the MDMS volume database:
$ STORAGE ADD VOL/SIDE=DOUBLE MYVOLA MYVOLB
Note that the /SIDE=DOUBLE qualifier is required and must be placed before the volume names.
You must intitialize volumes once you have added them to the MDMS volume database. You can do this by selecting the Initialize Volumes option (3) on the Operator Menu.
Using MDMS, you can control the availability and use of volumes in your organization. Many of the symbols that control volume states are determined to be part of the MDMS environment.
The following sections describe how to set up default values for volume management using the MDMS software. The symbols described in these sections are contained in the file SYS$MANAGER:TAPESTART.COM.
When you save data, it is important to know the following:
Assign the default site location of the volume to the LOC symbol. This assignment appears in the LOCATION field for each volume record that uses the default assignment.
The assignment to the LOC symbol is used by the STORAGE ALLOCATE command.
The default assignment for LOC is:
Example: LOC Symbol Assignments
Consider the following examples when assigning the default location to the LOC symbol.
This assignment uses the local node name for the default location. (The local node name is determined by the file and is assigned to the symbol NODE.)
This assignment shows that the default location assigned to the LOC symbol varies from node to node.
$ IF NODE .EQS. "BLD1" THEN LOC := MAIN_OFFICE
You manage the availability of volumes by controlling the time that volumes are allowed to be allocated. The following symbols are defined in the file SYS$MANAGER:TAPESTART.COM and are used to manage the availability of volumes:
The ALLOCSCRATCH symbol defines the default interval for determining the scratch date applied to an allocated volume.
The assignment must include days, hours, minutes, and seconds as shown:
This symbol assignment specifies the maximum scratch date a user without operator privileges is allowed to apply to a volume.
The assignment must include days, hours, minutes, and seconds as shown:
0:0:0 = Hours : Minutes : Seconds
Users can change the scratch date of volumes allocated to them if they have the following privileges enabled:
The default assignment for MAXSCRATCH is a null string. Therefore, users who do not have the previously described privileges enabled cannot set scratch dates.
The TAPEPURGE_WORK and TAPEPURGE_MAIL symbols work together to notify MDMS users when volumes reach their scratch dates.
When volumes have reached their scratch dates, they are moved into the state defined by the FRESTA symbol. If TAPEPURGE_WORK is set to mail, a volume's owner is notified. If this notification is enabled, additional users also can receive notification by specifying them with the TAPEPURGE_MAIL symbol.
The TAPEPURGE_WORK symbol controls whether the owner of a volume is notified when one of his volumes has reached its scratch date.
There are only two assignments that you can make to the TAPEPURGE_WORK symbol:
The TAPEPURGE_MAIL symbol allows you to notify other users when a volume reaches its scratch date, and not just the owner of the volume.
Leaving this symbol blank ensures no one else is copied when mail is sent.
The default assignment notifies the SYSTEM when a volume reaches its scratch date:
MDMS software regularly reports on all volumes allocated at any time. This feature is useful if you are in any of the following situations:
MDMS software automatically generates a report showing volume usage. The report is found in SLS$ROOT:[DATA.node_name]TAPEUSE.RPT.
The system accounts for volume usage through units known as volume-days. A volume-day unit is one volume allocated for one day.
A user who has five volumes allocated over the course of one week (seven days) accumulates 35 volume-days.
TAPEUSE.RPT is a report of all volumes allocated over a user-specified span of time. This report provides the following information:
The default time span used to create TAPEUSE.RPT is from the first day of the previous month to the first day of the current month.
Refer to See Customizing Your Volume Usage Report for the volume usage reporting attributes you can customize in the SLS$SYSTEM:TAPEUSERUN.COM file.
Sometimes it is necessary to produce a report of volume usage on demand. You can manually submit the TAPEUSE.COM file. You might want to change some of the report attributes described in See Customizing Your Volume Usage Report to suit your needs.
You must be logged in to an account in which you can be granted the CMKRNL privilege and read and write access to the user authorization file.
Enter the following DCL command:
$ SUBMIT/USER=SLS/NOPRINT/KEEP/PARAM=EXECUTE SLS$SYSTEM:TAPEUSERUN.COM
You can create a command file for the purpose of doing demand accounting. Copy the TAPEUSERUN.COM file to SLS$ROOT:[CUSTOM] and rename the file so it does not automatically execute.
The TAPEUSE.RPT report contains information that spans the interval starting with STIME and ending at ETIME.
Many sites require paper labels to be attached to the volumes. MDMS provides the ability to print these labels.
The symbol LBL specifies the name of the printer on which to print the volume labels, or specifies a file name in which to write the printed volume labels.
Where file_name is the full file specification in which to store the label information. |
|
Where printer_name: is the name of the printer where you want to print the labels. |
You can modify the infomation that appears on the internal volume label by editing the file named SLS$SYSTEM:PRINTED_LABEL_V21.TEMPLATE. The following example shows the contents of this file:
You can modify this template and change the order of the fields on the volume label, or remove fields from the volume label. The top portion of the template file (above the hyphen (-)) describes the field placement in the bottom portion of the file (below the hyphen (-)). You can change the order of the fields in the bottom portion of the file, or remove a field altogether. You should also modify the top portion of the file to match the lower portion.
Remove volumes from the MDMS volume database when:
Volumes must be in the DOWN, FREE, or TRAN state before they can be removed from the MDMS volume database.
Because the MDMS volume database contains information about the volumes where data is stored, it is necessary to restrict the casual user from seeing or modifying that information.
The volume management privileges enable users to perform certain volume management functions and are catagorized in the following manner:
The default MDMS privileges and OpenVMS privileges are defined in the file SYS$MANAGER:TAPESTART.COM:
$ PRIV_SEEANY := OPER
$ PRIV_MODANY := OPER
$ PRIV_MAXSCR := OPER
$ PRIV_LABEL := OPER
$ PRIV_CLEAN := OPER
$ PRIV_MODOWN := TMPMBX
Certain MDMS privileges are granted automatically to users who have the OpenVMS OPER privilege enabled. For PRIV_MODOWN, any user who has the OpenVMS TMPMBX privilege enabled is granted this MDMS privilege.
The following example shows how to enable PRIV_SEEANY to any user authorized with the VOLPRO OpenVMS privilege. The assignment is made in the file TAPESTART.COM.
See Volume Management Privileges lists the MDMS privileges that enable volume management privileges, and the functions enabled by each of those privileges.
The user with this privilege can inquire about any volume. This privilege has an effect on the: |
|
The user with this privilege can add or modify volumes and perform slot management tasks. This privilege has an effect on the:
See See Privileges Required to Modify Volume Database Fields for the volume database fields that a user can modify when this privilege is enabled. |
|
The user with this privilege can override the MAXSCRATCH symbol defined in the file SYS$MANAGER:TAPESTART.COM. This privilege has an effect on the STORAGE ALLOCATE/SCRATCH_DATE |
|
The user with this privilege can execute the STORAGE CREATE LABEL command. |
|
The user with this privilege can modify certain volume attributes and free volumes in transition. This privilege has an effect on the: |
|
Users with this privilege can modify their own volumes using the STORAGE SET VOLUME command. This function is required with other volume management privileges for various other functions as previously described. Normally, all users have this MDMS privilege. The following rules apply to the PRIV_MODOWN privilege:
|
Because the MDMS volume database is the repository for all information about MDMS volumes, you must make the database available to those MDMS client nodes need access to the volume information.
The following sections describe the tasks needed to control access to the MDMS database:
The Database Access Authorization option of the MDMS Storage Administrator Menu enables MDMS client nodes access to the MDMS volume database.
The following diagram illustrates the Database Access Authorization screen.
There are two fields for data on the Database Access Authorization screen:
Follow the steps in See How to Authorize Client Node Access to the MDMS Volume Database to allow MDMS client node access to the database.
Access the MDMS Administrator Menu by entering the DCL command: |
|
Select the Database Access Authorization function from the numeric keypad as follows: The software displays the Database Access Authorization screen (See MDMS Volume Database Access Authorization Screen). |
|
Place the cursor on the line that the new node name precedes. Invoke the record insertion feature from the numeric keypad as follows: |
|
Enter the client node name(s) and press Tab between each entry. When you have no more node names to enter, press Return . Save the changed version of the file (Y/N)? |
Follow the steps in See How to Find a Node Name in the Database Access Authorization Screen to find a node name in the Database Access Authorization screen.
Access the MDMS Administrator Menu by entering the following DCL command: |
|||
Select the Database Access Authorization function from the numeric keypad as follows: The software displays the Database Access Authorization screen (See MDMS Volume Database Access Authorization Screen). |
|||
Move the cursor to the node field with the arrow keys, then type your search string. |
|||
Press the Find key to find the first occurrence of the matching record. |
|||
Press the Do key to find successive occurrences of matching records. |
|||
Select key or the keypad 7 key. |
|||
Follow the steps in See How to Edit a Node Entry in the Database Access Authorization Screen to edit a node name in the Database Access Authorization screen.
Access the MDMS Administrator Menu by entering the DCL command: |
|
Select the Database Access Authorization function from the numeric keypad as follows: Press keypad 3 , then press Return . The software displays the Database Access Authorization screen (See MDMS Volume Database Access Authorization Screen). |
|
Press the Select key or the keypad 7 key to begin editing. The cursor moves to the first position of the current record. |
|
To replace text in a field, type over the existing text. If the new text is shorter than the previous, use the space bar to remove the extra spaces. To delete the character to the left of the cursor, press the F10 or F12 key. To delete the word to the left of the cursor, press Ctrl J. |
|
If you want to edit another node name, repeat from Step 4; otherwise, press Return . |
|
Before you exit the screen, MDMS software prompts: Save the changed version of the file (Y/N)? |
Follow the steps in See How to Delete a Node Name Entry in the Database Access Authorization Screen to delete a node name entry in the Database Access Authorization screen.
Access the MDMS Administrator Menu by entering the DCL command: |
|
Select the Database Access Authorization function from the numeric keypad as follows: The software displays the Database Access Authorization screen (See MDMS Volume Database Access Authorization Screen). |
|
Press the Remove key or the keypad PF4 key to select the record for deletion. The N changes to Y in the Delete field, or the Y changes to N. |
|
If you want to delete another record, repeat from Step 3; otherwise, press Return . |
|
Before you exit the screen, MDMS software prompts the following: Save the changed version of the file (Y/N)? |
Volume pools allow particular groups of MDMS users to access particular media. You can enable user access to volume pools by using the MDMS Administrator Menu/Volume Pool Authorization option.
The Volume Pool Authorization option of the MDMS Administrator Menu enables you to authorize access to volume pools by MDMS users. See Volume Pool Authorization illustrates the Volume Pool Authorization screen.
There are four fields for data on the Volume Pool Authorization screen as follows:
Follow the steps in See How to Enable User Access to Volume Pools to allow users access to volume pools.
Follow the steps in See How to Find a User Entry in the Volume Pool Authorization Screen to find a user entry in the Volume Pool Authorization screen.
Follow the steps in See How to Edit a User Entry in the Volume Pool Authorization Screen to edit a user entry in the Volume Pool Authorization screen.
Access the MDMS Administrator Menu with the following DCL command: |
|
Select the Volume Pool Authorization function from the numeric keypad as follows: |
|
Locate the record you want by: The procedure in See How to Find a User Entry in the Volume Pool Authorization Screen describes the search steps. |
|
Press the Select key or the keypad 7 key to begin editing. The cursor moves to the first position of the current record. |
|
Press the Tab key to move the cursor to the field you want to edit. |
|
To replace text in a field, type over the existing text. If the new text is shorter than the previous, use the space bar to remove the extra characters. To delete the character to the left of the cursor, press the Backspace or F12 key. |
|
If you want to edit another field, repeat from Step 4; otherwise, press Return . |
|
Before you exit the screen, MDMS software prompts: Save the changed version of the file (Y/N)? [N] |
Follow the steps in See How to Delete a User Entry in the Volume Pool Authorization Screen to delete a user entry in the Volume Pool Authorization screen.
Access the MDMS Administrator Menu by entering the DCL command: |
|
Select the Volume Pool Authorization function from the numeric keypad as follows: |
|
Locate the record you want by: The procedure in See How to Find a User Entry in the Volume Pool Authorization Screen describes the search steps. |
|
Press the Remove key or the keypad PF4 key to select the record for deletion. In the Delete? field, the N changes to Y, or the Y changes to N. |
|
If you want to delete another record, repeat from Step 3; otherwise, press Return . |
|
Before you exit the screen, MDMS software prompts: Save the changed version of the file (Y/N)? [N] |
|
This chapter describes how to manage moving volumes to and from off-site vault storage locations and includes the following information:
MDMS software provides a feature for tracking volumes when they are transferred to an off-site location. If you move volumes to an off-site location and you need to restore data located on those volumes, the volume record indicates the volume is off site. If this is true, then the volume must be returned to its on-site location before you can restore the data.
It is common practice for large data centers to transfer archival volumes to off-site storage locations. This practice prevents the total loss of data in the event of a major disaster.
MDMS software provides the ability to track volumes as they move to and from an off-site storage location, known as a vault.
Volumes are considered to be on site when the location field in their Volume ID record contains the name of the default site location. This name is defined by the storage administrator with the LOC symbol in the
SYS$MANAGER:TAPESTART.COM file.
Volume ID records that contain any other value in the location field are considered to be off site. The storage administrator defines a default name for the off-site storage location with the VLT symbol in the TAPESTART.COM file.
Assign the name of your off-site storage vault to the VLT symbol.
The following example shows the off-site vault name as CASTLE:
When you save data, you have the option of specifying when the volume is scheduled to be transferred to its off-site location, and scheduling when it is to be returned to the default on-site location. These dates are recorded in the volume record.
The MDMS software makes on-site and off-site dates available through two logicals:
These logicals are read daily by the file SLS$SYSTEM:SET_ VAULT_DATES.COM. You can use these logicals to define the on-site and off-site date for your system backup operations.
You may choose one of the following methods to assign the values to SLS$ONSITE_DATE and SLS$OFFSITE_DATE:
The explicit schedule method requires you to edit the file SLS$SYSTEM:VAULT_DATES.DAT to specify the following dates:
An organization has contracted for the transportation of volumes between an off-site storage vault and the on-site storage location on the 15th and 30th of each month.
Volumes taken off site on the 15th of the month are scheduled to return on the 30th, and volumes taken off site on the 30th of each month are scheduled to return on the 15th of the following month. The cutoff dates are set for the 14th and 29th to make sure the volumes are ready for transfer when the transportation service arrives.
See How to Establish a Daily or Weekly Vault Schedule explains how to implement a daily or weekly schedule for on-site and off-site vault scheduling.
The following sections describe the operational tasks related to moving volumes to and from off-site storage locations and updating the volume's ID record. These tasks are performed by using either the Operator Menu or DCL STORAGE commands.
As volumes are transferred between on-site and off-site storage locations, the volume database needs to be updated by changing the location field in the Volume ID record. To do this, use one of the following methods:
The RACK command defines the volume as being on-site.
The VAULT command defines the volume as being in an off- site storage vault. See See Changing Volume Locations Using RACK and VAULT for instructions.
Use the VAULT and RACK commands or the Vault Management Menu options to ensure the use of the correct location names to distinguish between on-site and off-site volumes. It is recommended that you use one of these methods instead of using the STORAGE SET/VOLUME command.
The DCL commands VAULT and RACK change the location field of a single Volume ID record.
The Vault Management Menu option on the Operator Menu enables you to schedule volumes to be transferred between on-site and off-site storage locations, and to report on volumes that are due to transfer either on site or off site. The volume database is updated when these transfers occur.
To access the Vault Management Menu, use the following procedure:
See Vault Management Menu shows an example of the Vault Management Menu screen.
See Vault Management Menu Optionsdescribes the options available on the Vault Management Menu.
To exit or abort any of the Vault Management Menu screens, do one of the following:
The Change to On-site option displays a screen that allows you to change the location field of a Volume ID record from off site to on site.
The Change to Off-site option displays a screen that allows you to change the location field of a Volume ID record from on site to off site.
To use the Change to Off-site option:
The Mass Movement option displays a screen that allows you to change the location field of the Volume ID records going off site or returning on site, including identifying exceptions.
To use the Mass Movement menu option:
The Change Onsite Date option displays a screen that allows you to modify the on-site date field of the Volume ID record, one volume at a time.
The Change Offsite Date option displays a screen that allows you to modify the off-site date field of a Volume ID record, one volume at a time.
There are several reports you can generate to track volumes that are transferring to or from off-site storage locations.
You can generate the following reports from the Vault Management Menu:
These reports are self-explanatory so are not explained here in detail. For information about generating reports using the STORAGE REPORT command, see the See System Backup Command File QuickReference.
SLS 2.9G onwards supports new devices without modifying the SLS code by using LOADER.COM. In earlier versions of SLS it was mandated that SLS verifies a hard-coded string and compares it with the device identification string returned when the device is polled. For Example, if SLS has to support ESL9000 series devices then SLS code had to explicitly check for ESL9000 string in the identification string returned from ESL9000 media changer. With the new code this hard-coded string is not required anymore. Now the definitions can be changed in LOADER.COM which will help the users to test new devices with SLS.
Currently the way SLS is designed it requires to know the following 5 characteristics of the Library under consideration
1. Whether the drive requires the volumes to be dismounted before an unload is issued ( Called as UBM)
2. Whether the device supports magazine ( Called as MAG)
3. Whether the device supports multiple magazines ( called as MMR)
4. Whether the device will act as a loader
5. What is the identification string for the media changer.
In view of the above we need to ascertain the above characteristics. Following are the ways to find each of those.
Lets take UBM characteristic. To check whether the drive associated with the media changer is having UBM bit set we need to do the following experiment.
If the unload is successful then the UBM bit is not set. In case unload fails then perform following operations to ascertain whether UBM bit is really set.
Now the unload should be done and this indicates that UBM bit is set.
For the 2nd and 3rd characteristics, find from Library support manual whether the library supports magazines. In case it does then check whether Multiple magazines are supported.
For finding the 4th characteristic we need to know the default behaviour for the device. When you load a volume , mount it and then unload it will the volume in next slot get loaded automatically. If yes then this is a loader. The devices like TZ887, TLZ9L belong to this category. Please keep in mind that this mode is different than stacker. In stacker the media changer is not present and is not required to be defined on the system.
The next thing to do would be to find out what the device identifies itself as, the last characteristic. You can use MRU to find that out. A "robot show robot" command will provide you with the device identification string. Let this identification string be ident_string
Once we know all the above characteristics we need to define the following 4 logicals
Let us take an example of MSL5000 series device.
Herein the drive is of type UBM and the device supports multiple magazines. Further it is not a loader. In view of this for MSL5000 series device in random mode following logicals need to be defined as below:
This will be defined in LOADER.COM present in SLS$SYSTEM and following lines need to be
In case MSL5000 is operating in sequential mode then you need not define any of those logicals. Please comment out the above lines in LOADER.COM and SLS will treat the device to work as stacker. The TAPESTART.COM also should not associate the drive of this MSL device with any Jukebox in case the operation is sequential.
This appendix contains a series of tables that list the SYS$MANAGER:TAPESTART.COM file symbols for each major task. For additional information about symbols that relate to media and device management, see Configuring TAPESTART.COM in Media and Device Management Services for OpenVMS Guide to Operations.
See TAPESTART.COM Symbols for Configuration lists the symbols in the SYS$MANAGER:TAPESTART.COM file for configuration and descriptions of their allowable assignments.
The name of the database node or OpenVMScluster system alias. |
|
The names of all OpenVMScluster system members running the SLS server software. |
|
The timeout value, in seconds, for client-server connections. |
|
The device and directory containing the SLS volume database. For more information, see See Volume Database Location. |
|
The name of the nth SLS system history file. For more information, see See Naming Your SLS System History File Sets |
|
The directory for the nth SLS system history file. For more information, see See Defining SLS System History File Set Directories |
|
The node on which the SLS volume database server software runs. |
|
The name of the batch queue on the OpenVMScluster system nodes used by SLS software. |
|
Escape sequence that displays OPCOM LOAD request messages in bold format. |
|
Escape sequence that displays OPCOM LOAD requests in a blinking format. |
|
Escape sequence that displays OPCOM LOAD requests in a normal format. |
|
Escape sequence that displays OPCOM ALLOCATE requests in a bold format. |
|
Escape sequence that displays OPCOM ALLOCATE requests in a normal format. |
|
Escape sequence that displays OPCOM MOUNT requests in a bold format. |
|
Escape sequence that displays OPCOM MOUNT requests in a normal format. |
|
Enables or disables broadcast. Notifies operators of system backup operation start and completion. |
|
All devices that can be selected by SLS software without operator intervention. |
|
The lowest numbered slot in the nth jukebox that is for use by SLS software. |
|
The highest numbered slot in the nth jukebox that is for use by SLS software. |
|
The batch queue and time of day for the cleanup process to run. |
|
The days on which the SLS system history file cleanup process will run and the duration of each run. For more information, see See Deleting Old SLS History Files. |
|
For more information, see See Defining the Backup Operation Format. |
|
The default options for the Operator Save Screen. For more information, see See Operator Save Screen Option Defaults. |
|
The default allocation method for user backup operations. For more information, seeSee Setting the Default Volume Selection Method for User Save Operations. |
|
The default queue for system backup operations. For more information, see See Defining the Batch Queue Name for SLS Backup Operations. |
|
Notifies when system backup operations finish. For more information, see See Notification of Completed Backup Operations. |
See TAPESTART.COM Symbols for Standby Archiving lists the symbols in the SYS$MANAGER:TAPESTART.COM file for
standby archiving and descriptions of their allowable assignments.
The location for the standby archiving log. For more information, see See Defining Standby Archiving Log File Location. |
|
The interval for SLS software to check for standby archiving requests. For more information, see See Setting the Standby Archiving Interval. |
|
The default standby archiving class. For more information, see See Defining the Default Archive Class. |
The location for the standby archiving log. For more information, see See Defining Standby Archiving Log File Location. |
|
---|---|
The interval for SLS software to check for standby archiving requests. For more information, see See Setting the Standby Archiving Interval. |
|
The default standby archiving class. For more information, see See Defining the Default Archive Class. |
See TAPESTART.COM Symbols for Standby Archiving lists the symbols in the SYS$MANAGER:TAPESTART.COM file for restore operations and descriptions of their allowable assignments.
Queue for restore operations. For more information, see See Defining the Restore Operation Queue. |
|
---|---|
Default options for the Operator Restore Screen. For more information, see See Setting Operator Restore Screen Option Defaults. |
|
Notification when restore operations finish. For more information, see See Notification when Restore Is Finished. |
This glossary contains definitions of commonly used terms in the Storage Library System for OpenVMS Version 2.9J documents.
A data entry format for specifying the date or time of day. The format for absolute time is [dd-mmm-yyyy[:]][hh:mm:ss.cc]. You can specify a specific date and time, or use the keywords TODAY, TOMORROW, or YESTERDAY.
The SMF server process that is currently active. The active server process responds to requests issued from an SMF client process.
To reserve something for private use. In SLS software, a user is able to allocate media sets for backup operations.
One of four volume states. Volumes that are reserved for exclusive use by a user are placed in the allocated state. Allocated volumes are available only to the user name assigned to that volume.
The abbreviation for the American National Standards Institute, an organization that publishes computer industry standards.
An ANSI-labeled volume is a magnetic tape that complies with the ANSI standards for label, data, and record formats. The format of VMS ANSI-labeled magnetic tape volumes is based on Level 3 of the ANSI standard for magnetic tape labels and file structure.
A repository of data that consists of :
Used to define the logical characteristics of the output of an archive request. Specify the archive class when initiating an archive request.
The type of backup engine that is allowed to use SLS. For example, archive clients of SLS are VMS BACKUP and Oracle RMU BACKUP.
A request to move data into the archive. This can be done by using either the DCL command interface or the SLS window interface.
The abbreviation for the American Standard Code for Information Interchange. This code is a set of 8-bit binary numbers representing the alphabet, punctuation, numerals, and other special symbols used in text representation and communications protocols.
To make duplicate copies of one or more files, usually onto different media than the original media. This provides the availability to restore the original data if it is lost or corrupted.
The backup engine is used to move data to and from the archive. Examples: VMS BACKUP and Oracle RMU BACKUP.
Standard VMS BACKUP format. The BACKUP format is the recording format used by the VMS Backup utility to back up data to save sets.
The duplication of files. The SLS software uses the VMS Backup utility to perform backup operations on BACKUP formatted volumes.
Backup operations can copy standard VMS files on a Files-11 structured system disk or create BACKUP save sets to magnetic tape, a system disk, or an optical cartridge.
Backup operations can also restore save sets to standard the VMS file format, restoring them from the save set volume to a Files-11 structured disk.
A process where the operating system executes commands that are placed in a file. The file is submitted to the system for execution.
The act of logically binding volumes into a magazine. This makes the volumes a logical unit that cannot be separated unless an UNBIND operation is done on the volumes.
The number of records in a physical tape block. The length of a physical block written to magnetic tape is determined by multiplying the record length by the blocking factor. For example, if a record length of 132 and a blocking factor of 20 are specified, the length of each physical block written to tape will be 2640 bytes (or characters).
The blocking factor is only used when SLS software is writing an EBCDIC tape.
Allows users to read, write, execute and delete all files on the system. Refer to the Guide to VMS System Security for more information.
The place where data resides when applications are using the data. The client file system is a unique, on-disk structure that contains customer data and its associated metadata. The client file system normally consists of one or more disk drives connected to a node, but it may also be a specialized subset of a disk, such as an Oracle Rdb database.
The information that the client file system associates with an object to manage the object within the client file system.
The nodes that do not have direct access to the SLS database. These nodes send database requests to the server node.
A data entry format for specifying date and time. Combination time consists of an absolute time value plus or minus a delta time value.
"TODAY+7-" indicates current date plus seven days
An instruction, generally an English word, entered by the user at a terminal. The command requests the software to perform a predefined function.
A list of business units, named object sets, and simple object sets. Allows you to group related data for treatment and a single entity.
The acronym for cyclic redundancy check. It is a verification process used to ensure data is correct.
Either an archive or restore request initiated through either the DCL command interface or the SLS window interface.
A value or operation automatically included in a command or field unless the user specifies differently. In all SLS documents, default settings are indicated within enclosed brackets ``[ ]''.
The number of bits per inch (bpi) on magnetic tape. Typical values are 6250 bpi and 1600 bpi.
Media that has two sides on which data can be written. For example: An optical cartridge contains two recording surfaces, one on each side of the optical cartridge.
A volume state. Volumes that are either damaged, lost, or temporarily removed for cleaning are placed in the down state.
The acronym for Extended Binary Coded Decimal Interchange Code. EBCDIC is an unlabeled IBM recording format. Volumes in EBCDIC format do not have records in the SLS volume database.
The enviroment in which a data movement request is executed. It defines the attributes of the system, network, and backup engine to be used to move data.
Specify the name of the execution environment when creating an archive or restore request.
In the context of SLS software and operations, the word foreign indicates that the volume does not exist in the SLS volume database.
A jukebox component that enables an operator to manually insert and retrieve cartridges. The I/O station consists of an I/O station door on the outside of the jukebox, and an I/O station slot on the inside. See also I/O station door and I/O station slot.
A process where the user and the operating system communicate by displayed messages and replies. In an interactive process, the operating system acknowledges and acts upon commands that are entered at a terminal by the user.
A shared physical or logical boundary between computing system components.
Interfaces are used for sending and/or accepting information and control between programs, machines, and people.
The act of automatically updating the MDMS database. MDMS can mount each volume located in a magazine and update the MDMS volume database through this process.
The library storage module (LSM) is a cylindrical shaped storage unit that houses up to 6000 tape cartridges. LSMs within the same ACS can exchange tape cartridges using pass through ports (PTPs).
Any file into which status and error messages are written to reflect the progress of a process. In SLS software, a log file is used to record the status and errors of save operations.
A physcial container that holds from 5 to 11 tape cartridges (volumes). The magazine contains a set of logically bound volumes that reside in the MDMS database.
The MDMS database that contains the magazine name and the volume names associated with that magazine.
A mass storage unit. Media provides a physical surface on which data is recorded.
Examples are magnetic tape, tape cartridge, and optical cartridge.
In SLS software, a sequence of alphanumeric characters that helps provide information about a volume. When performing a save operation using standby archiving, the first word in the note string is used to specify the archive class for that job.
For foreign volumes, SLS uses the first six characters of the note string for the recorded label.
An individual entry stored within the client file system. An object may be a single VMS file, an Oracle Rdb database area, a Kelso file, or a U*X file.
History record files. There are two types of history files: user and system. Both record save operations information that includes the names of the files and the volume used. Users who want a user save operations recorded in the on-line history files use the STORAGE SAVE/RECORD command.
The VMS Operator Communication Manager is an on-line communication tool that provides a method for users or batch jobs to request assistance from the operator, and allows the operator to send messages to interactive users.
The level of privilege required by a system operator to suspend a SLS operation and to perform a variety of maintenance procedures on volumes, as well as archive files and saved system files.
A file that contains the results of a processing operation (for example, a file that contains the results of a restore).
A pass through port (PTP) is a set of physical openings in adjacent LSMs which are used to exchange tape cartridges between LSMs belonging to the same ACS.
Allows users read and header access to all files on the system. Refer to the Guide to VMS System Security for more information.
A set of related data treated as a unit of information. For example, in SLS software, each volume that is added to the SLS database has a record created that contains information on that volume.
The unique arrangement of data on a volume according to a predetermined standard. Examples of recording format are BACKUP, EBCDIC and ANSI.
The method by which the contents of a file are recovered from a volume or volumes that contain the saved file. SLS software will restore file contents by reading BACKUP save sets from one or more volumes, extracting the file contents from those save sets, and placing the information onto a Files-11 structured disk where the restored file can be accessed by a user.
A request to restore data from the archive to the client file system initiated either through the DCL command interface or the SLS window interface.
A tape or optical device that provides automatic loading of volumes, such as a TF867 or a TL820.
The Storage Library System for OpenVMS software is a VMS layered software product that helps you to implement save and restore operations. SLS schedules immediate or periodic archive requests and maintains a directory of all archived files.
The method by which copies of files are made on magnetic or optical cartridges for later recovery or for transfer to another site.
For BACKUP formatted volumes, a SLS save operation creates BACKUP save sets on magnetic tape, a system disk, or optical cartridge.
For foreign or EBCDIC formatted tapes, a SLS save operation creates copies of the original files and does not create history files.
A file created by the VMS Backup utility on a volume. When the VMS Backup utility saves files, it creates a file in BACKUP format called a save set on the specified output volume. A single BACKUP save set can contain numerous Files-11 files. Only BACKUP can interpret save sets and restore the files stored in the save set.
In SLS software, the day on which an allocated storage volume is scheduled to go into the transition state or the free state.
The node to which all SLS database requests are sent to be serviced. In a highavailability
configuration, when the active server node fails, another node in the OpenVMScluster system becomes the active server node.
A list of included objects (files), an excluded list of objects, and object selection criteria. The simple object set is the simplest way of specifying objects to be moved in a data movement request.
A vertical storage space for storing a cartridge. The storage racks and cabinets used in data centers contain multirow slots that are labeled to easily locate stored media.
A method that consolidates files interactively saved by users on a single volume or volume set.
A specific request issued by the user to archive specified files in a standby archive class.
A period of time during which the operator allows the detached process handling standby archive requests from users for a particular archive class to run. Only one standby archiving process can run at a time, therefore the operator must start archiving for one archive class, allow it to run for a period of time (or to completion), shut down that standby archive session, and start the session for the next archive class.
Any server process that is not currently active. The standby server process waits and becomes active if the active server process fails.
The level of privilege required to install the SLS software and add user names to the system.
SLS system backup procedure. The system backup procedure usually uses the VMS Backup utility to save system files. Using DECscheduler, the [text] can direct SLS software to perform automatic save operations on a predetermined schedule.
A mechanism for implementing table driven command gerneration and message parsing. The tag template consists of a string of characters with embedded tags that identify either:
A volume state. Volumes in the transition state are in the process of being deallocated, but are not yet fully deallocated. The transition state provides a grace period during which a volume can be reallocated to the original owner if necessary.
The abbreviation for user identification code. UIC is the pair of numbers assigned to users, files, pools, global sections, common event flag clusters, and mailboxes. The UIC determines the owner of an object. UIC-based protection determines the type of access available to the object for its owner, members of the same UIC group, system accounts, and other (world) users.
A backup operation that uses the VMS Backup utility to save user files. A user backup operation is initiated by an individual user when they would like to make copies of a file or set of files on volumes for later recovery or for transfer to another site.
A command file that searches the user history files for information on one or more files and generates a report. This report will display the volumes that contain copies of a particular file or set of files.
A VMS Operating System utility that performs save and restore operations on files, directories, and disks using the BACKUP recording format.
A logical unit of data that is stored on media. A volume can be stored on a single magnetic tape or disk, or as in the case of an optical cartridge, can refer to one side of double-sided media. A volume assigns a logical name to a piece of media, or to a side of double-sided media.
One volume allocated for one day. MDMS enables you to measure volume usage by using a volume-days unit.
The volume identification used to verify that the correct volume has been selected. The volume label should be the same as the volume ID.
One or more volumes logically connected in a sequence to form a single set. Volume sets are usually created when a single logical unit of data needs to be stored on more than one physical medium.
A volume status flag. In SLS software, volumes are placed in one of the following states:
A nonnumeric or nonalphanumeric character such as an asterisk ( * ) or percent sign (%) that is used in a file specification to indicate ``ALL'' for a given field or portion of a field. Wildcard characters can replace all or part of the file name, file type, directory name or version number.
Export Volume example of screen diagram 13-41
Export Volume(s) Screen Diagram 13-41
Load Volume Onto Drive Screen Diagram 13-37
Change Name for Current Process 17-9