SG 244409
SG 244409
SG 244409
Guide to Sharing and Partitioning IBM Tape Library Dataservers November 1996
IBML
International Technical Support Organization Guide to Sharing and Partitioning IBM Tape Library Dataservers November 1996
SG24-4409-02
Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix C, Special Notices on page 235.
Contents
Figures Tables
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface . . . . . . . . . . . . . . . . . How This Redbook Is Organized The Team That Wrote This Redbook . . . . . . . . Comments Welcome Chapter 1. Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 2. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 Basic Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 New IBM 3590 High Performance Tape Subsystem . . . 2.1.2 Library Manager . . . . . . . . . . . . . . . . . . . . . . . . 2.1.3 Control Information and Data . . . . . . . . . . . . . . . . 2.1.4 Tape Cartridge Labeling . . . . . . . . . . . . . . . . . . . 2.2 IBM 3494 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Control Unit Frames 2.2.2 Drive Unit Frames . . . . . . . . . . . . . . . . . . . . . . . 2.2.3 Storage Unit Frame . . . . . . . . . . . . . . . . . . . . . . 2.2.4 Virtual Tape Server Unit Frame . . . . . . . . . . . . . . . 2.2.5 Mixed Tape Drive Configurations . . . . . . . . . . . . . . 2.2.6 Host Systems and Connections . . . . . . . . . . . . . . . 2.2.7 Configuration Goals . . . . . . . . . . . . . . . . . . . . . . 2.2.8 Tape Drive Configurations and Cartridge Capacities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.9 Features 2.3 IBM 3495 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Supported Tape Subsystems . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Host Systems . . . . . . . . . . . . . . . . . 2.3.3 Connection to Host System . . . . . . . . . . . . . . . . . 2.3.4 Configuration and Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.5 Features 2.4 IBM 3494 and 3495 Tape Library Dataservers: A Comparison 2.5 Configuration Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 PR/SM and EMIF 2.5.2 ESCON Considerations . . . . . . . . . . . . . . . . . . . . 2.5.3 Multiple Tape Libraries . . . . . . . . . . . . . . . . . . . . 2.5.4 Number of Tape Drives and Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.5 Availability Chapter 3. Software Environments . . . . . . . . . 3.1 MVS/ESA and System-Managed Tape . . . . . . . . . . . . . . . . . 3.1.1 Overview 3.1.2 Library Manager Interface . . . . . . . 3.1.3 Control Data Sets . . . . . . . . . . . . 3.1.4 Considerations . . . . . . . . . . . . . . 3.2 MVS/ESA and Basic Tape Library Support . . . . . . . . . . . . . . . . . 3.2.1 Overview 3.2.2 Library Manager Interface . . . . . . . 3.2.3 Control Data Sets . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iii
3.2.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.3 VM/ESA Native Support Using DFSMS/VM . . . . . . . . . . . . . . . . . . . 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.3.1 Overview 3.3.2 Library Manager Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.3.3 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.3.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 . . . . . . . . . . . . . . . . . . . . . . . . 49 3.4 MVS/ESA As a Guest of VM/ESA 3.5 VSE/ESA As a VM/ESA Guest Using VSE Guest Server . . . . . . . . . . . 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.5.1 Overview 3.5.2 Library Manager Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 51 3.5.3 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 3.5.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 3.6 VSE/ESA Native Support Using Library Control Device Driver for VSE/ESA 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 3.6.1 Overview 3.6.2 Library Manager Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 54 3.6.3 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 3.6.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 3.7 AIX/6000 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 3.7.1 Overview 3.7.2 Library Manager Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.7.3 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.7.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 3.8 OS/400 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 3.8.1 Overview 3.8.2 Library Manager Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 59 3.8.3 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 3.8.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 3.9 Transaction Processing Facility (TPF) . . . . . . . . . . . . . . . . . . . . . . 61 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.9.1 Overview 3.9.2 Library Manager Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.9.3 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.9.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Chapter 4. Multisystem Access . . . . . . . . . . . 4.1 Mapping Volume Categories to Host Systems 4.1.1 Volume Category Usage . . . . . . . . . . . 4.1.2 Assigning a Volume to a Specific Host 4.2 Basic Concepts of Partitioning and Sharing . 4.2.1 Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.2 Tape Data Sets . . . . . . . . . . . 4.2.3 Scratch Volume Pools 4.2.4 Private Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Partitioning 4.3.1 Planning Considerations . . . . . . . . . . 4.3.2 Drive Assignment and Cartridge Loading 4.3.3 Volume Assignment . . . . . . . . . . . . . 4.3.4 Volume Transfer . . . . . . . . . . . . . . . 4.3.5 Tape Management Systems . . . . . . . . 4.4 Sharing . . . . . . . . . . . . . . . . . . . . . . . 4.4.1 Planning Considerations . . . . . . . . . . . . . . . . . . . . . . . 4.4.2 MVS Environments 4.4.3 VM Environments . . . . . . . . . . . . . . 4.4.4 VSE Environments . . . . . . . . . . . . . . 4.4.5 AIX/6000 Environments . . . . . . . . . . . 4.4.6 OS/400 Environments . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63 63 63 68 70 72 72 73 73 73 73 73 74 74 74 74 75 75 76 77 77 77
iv
4.4.7 TPF Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5 Tape Drive Assignment . . . . . . . . . . 4.5.1 MVS/ESA Environments 4.5.2 VM/ESA Environments . . . . . . . . . . . 4.5.3 VSE/ESA Environments . . . . . . . . . . . 4.5.4 OS/400 Environments . . . . . . . . . . . . 4.5.5 AIX/6000 Environments . . . . . . . . . . . 4.5.6 ADSM/6000 and ADSM/400 Environments 4.6 Summary . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
78 78 79 80 81 82 83 84 85
Chapter 5. Implementation in a DFSMS/MVS Environment . . . . . . . . . . . . . . . . . . . . . . . . 5.1 Basic Implementation Steps 5.1.1 Inventory IBM Automated Tape Library Dataserver . . . . 5.1.2 Update SYS1.PARMLIB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.3 Allocate Tape Configuration Database . . . . . . . . . . . 5.1.4 Define Library and DFSMS Constructs 5.1.5 Install Installationwide Exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.6 Define Volumes to DFSMSrmm 5.1.7 Validate and Activate SMS Configuration and Start OAM . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.8 Initialize JES3 5.2 Implementing Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.1 Sharing within an SMSplex 5.2.2 Sharing with Other SMSplexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 Partitioning between Multiple SMSplexes 5.3.1 Implementation Considerations . . . . . . . . . . . . . . . . 5.3.2 DFSMSrmm Considerations . . . . . . . . . . . . . . . . . . 5.3.3 Operational Considerations . . . . . . . . . . . . . . . . . . 5.4 Partitioning between DFSMS/MVS and Non-SMS Environments 5.4.1 DFSMS/MVS and VM/ESA . . . . . . . . . . . . . . . . . . . 5.4.2 DFSMS/MVS and BTLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.3 DFSMS/MVS and Other Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 Volume Transfer 5.5.1 Transferring Volumes to Another System . . . . . . . . . . . . . . . . 5.5.2 Receiving Volumes from Another Host System
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87 87 . 88 . 88 . 89 . 89 . 91 . 91 . 92 . 92 . 93 . 93 . 97 . 98 . 99 104 104 106 107 110 111 111 111 112 113 113 113 114 120 121 122 122 123 124 125 125 125 125 125 125 126 127 127
Chapter 6. Implementation in a Basic Tape Library Support Environment 6.1 Implementation Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.1 Control Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.2 Installation Tasks 6.1.3 Installation Exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.4 JES3 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Partitioning 6.2.1 Two BTLS Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 BTLS System and Another System . . . . . . . . . . . . . . . . . . 6.3 Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 Sharing Volumes among Multiple BTLS Systems . . . . . . . . . . . . . . . . . . . 6.3.2 Sharing Drives among Multiple BTLS Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Volume Transfer . . . . . . . . 6.4.1 From One BTLS System to Another BTLS System . . . . . . . . . . . . 6.4.2 From One BTLS System to Another System . . . . . . . . . . . . . . . 6.5 Tape Management System Considerations 6.6 Recovery Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 7. Implementation in a DFSMS/VM Environment . . . . . 7.1 Basics of DFSMS/VM RMS Implementation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Contents
7.1.1 Installation Steps . . . . . . . . . . . . 7.1.2 Control Data Sets . . . . . . . . . . . . 7.1.3 Exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.4 Insert Processing . . . . . . . . . . . 7.1.5 Scratch Categories . . . . . . . . . . . . . . . . . . 7.2 Partitioning . . . . . . . . . . . . . . . 7.2.1 Tape Drives 7.2.2 Volumes . . . . . . . . . . . . . . . . . . 7.3 Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.1 Tape Drives 7.3.2 Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4 Volume Transfer 7.5 Guest Support . . . . . . . . . . . . . . . . . 7.6 VSE Guest Server Considerations . . . . . . . . . . . . . . . . . . 7.6.1 Implementation 7.6.2 Exits . . . . . . . . . . . . . . . . . . . . 7.6.3 Files . . . . . . . . . . . . . . . . . . . . 7.6.4 Usage . . . . . . . . . . . . . . . . . . . 7.6.5 Partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . 7.6.6 Sharing Tape Drives 7.6.7 Volume Transfer . . . . . . . . . . . . . 7.7 Tape Management System Considerations 7.8 Recovery Considerations . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
127 127 128 130 131 131 131 131 132 132 134 135 136 136 136 141 141 142 142 143 143 143 144 145 145 145 148 149 149 149 149 150 150 151 153 153 153 154 156 156 157 157 158 159 159 159 162 167 167 167 167 167 168
Chapter 8. Implementation in a VSE/ESA Environment . . . . . . . . . . . . . . . . 8.1 Basic Implementation . . . . . . . . . . . . . . . . . . . . 8.1.1 Installation 8.1.2 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2 Partitioning . . . . . . . . . . . . . . . 8.2.1 Partitioning Drives 8.2.2 Partitioning Volumes . . . . . . . . . . . . . . 8.3 Sharing . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.1 Sharing Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.2 Sharing Volumes . . . . . . . . . . . . . . . . . . . 8.4 Volume Transfer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 9. Implementation in an AIX/6000 Environment . . . . . . . . . . . . . . . . . . . . . . . . 9.1 Basic Implementation 9.1.1 Device Drivers for Tape Devices . . . . . . . . . . . . 9.1.2 Device Driver for Library Manager of Tape Library . . . . . . . . . . . . . . . . . . . . . . . . 9.1.3 AIX Daemons 9.2 Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3 Tape Drive Assignment 9.3.1 Sample Commands: Tape Drive outside Tape Library 9.3.2 Sample Commands: Tape Drive inside Tape Library 9.3.3 ADSM/6000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4 Partitioning . . . . . . . . . . . . . . . . 9.4.1 Non-ADSM Environments 9.4.2 ADSM/6000 Environments . . . . . . . . . . . . . . . . 9.5 Sharing Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.1 Non-ADSM Environments . . . . . . . . . . . . . . . . . . . 9.5.2 ADSM Environments . . . . . . . . . . . . . . . . . . . . . . . . 9.6 Volume Transfer . . . . . . . . . . . . . . . . 9.6.1 Non-ADSM Environments . . . . . . . . . . . . . . . . . . . 9.6.2 ADSM Environments
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
168 168 169 171 171 171 172 172 173 174 175 175 175 176 177 185 186 186 187 188 188 189 189 191 191 192 193 194 195 195 196 196 197 198 198 199 201 201 202 202 203 203 203 204 205 205 205 206 206 206 207 207
Chapter 10. Implementation in Other Environments . . . . . . . . . . . . . . . 10.1 AS/400 Environment 10.1.1 Basic Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1.2 Control Data Sets . . . . . . . . . . . . . . . . . . 10.1.3 Partitioning . . . . . . . . . . . . . . . . . . . . 10.1.4 Sharing 10.1.5 Volume Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2 TPF Environment . . . . . . . . . . . . . . . . . . 10.2.1 Partitioning . . . . . . . . . . . . . . . . . . . . 10.2.2 Sharing 10.2.3 Volume Transfer . . . . . . . . . . . . . . . Appendix A. Library Manager Volume Categories
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Appendix B. The IBM Magstar Virtual Tape Server . . . . . . . . . . . . B.1 Now Announced the IBM Magstar Virtual Tape Server . . . . . . . B.1.1 Virtual Tape Server for IBM 3494 Tape Library . . . . . . . . . B.1.2 Virtual Tape Server for IBM 3495 Tape Library . . . . . . . . . B.2 Introduction to the IBM Magstar Virtual Tape Server . . . . . . . . B.2.1 Transparent Capacity Exploitation and Management . . . . . . B.2.2 Fully Integrated in IBM 3494 and IBM 3495 Tape Libraries . . B.2.3 Integration of Proven IBM Technologies . . . . . . . . . . . . . B.3 Virtual Tape Server Key Attributes . . . . . . . . . . . . . . . . . . . B.3.1 One VTS Subsystem per IBM 3494 or IBM 3495 . . . . . . . . . B.3.2 Defined Physical Configurations . . . . . . . . . . . . . . . . . . B.3.3 Up to 40 TB of Tape Data per Virtual Tape Server Subsystem B.4 Virtual Tape Server Key Concepts . . . . . . . . . . . . . . . . . . . B.4.1 Virtual Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.4.2 Virtual Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.4.3 Logical Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . B.4.4 Physical Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . B.4.5 Physical Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . B.5 Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.5.1 IBM 3494 Tape Library . . . . . . . . . . . . . . . . . . . . . . . . B.5.2 IBM 3495 Tape Library Models L20, L30, L40, L50 . . . . . . . B.6 IBM Magstar Virtual Tape Server Host Software Support . . . . . B.6.1 MVS/ESA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.6.2 VM/ESA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.6.3 VSE/ESA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.7 IBM 3494 Host and Library Manager Attachment . . . . . . . . . . . B.7.1 ESCON Host Attachment . . . . . . . . . . . . . . . . . . . . . . . B.7.2 Library Manager Attachment . . . . . . . . . . . . . . . . . . . . B.7.3 IBM 3494-D12 and IBM 3494-B16 Frame Connections . . . . . B.8 IBM 3494 Virtual Tape Server Configuration Guidelines . . . . . . . B.8.1 The L12/L14 Frame Can Be Without Drives . . . . . . . . . . . B.8.2 The D12/B16 Frame Must Be Within The First Eight Frames . B.8.3 The D12 Frame Must Always Be to the Left of the B16 Frame B.8.4 The D12 and B16 Frames Must Directly Attach to One Another B.8.5 A Modem Must Be Supplied for the IBM 3494-B16 Frame . . . B.9 New IBM 3494 Features, Their Codes and Model Upgrades . . . . B.9.1 Features and Their Codes . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
vii
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
B.9.2 Model Upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.10 IBM 3494 Environmental Requirements . . . . . . . . . . . . . . . . . B.11 IBM 3495 Virtual Tape Server Configuration Guidelines . . . . . . . B.11.1 One IBM 3495-B16 Must Be Installed . . . . . . . . . . . . . . . B.11.2 One IBM 3590-A14 Frame Must Be Installed . . . . . . . . . . . B.11.3 Library Manager Attachment . . . . . . . . . . . . . . . . . . . . B.11.4 IBM 3495-B16 and IBM 3590-A14 Must Be Installed Side by Side B.11.5 Reduction of IBM 3495 Storage Cells when a VTS is Installed B.11.6 A Modem Must Be Supplied for The IBM 3495-B16 . . . . . . . B.12 IBM 3495 Virtual Tape Server Frame Placement . . . . . . . . . . . B.13 IBM 3495 Virtual Tape Server Models and Features . . . . . . . . . B.13.1 IBM 3590 tape subsystem Model A14 Plus Feature 9010 . . . . B.13.2 IBM 3495 Model B16 Feature Codes . . . . . . . . . . . . . . . . B.13.3 Feature Codes For IBM 3495 Model L20, L30, L40 and L50 . . . B.14 IBM 3495 Environmental Requirements . . . . . . . . . . . . . . . . . B.15 Logical Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.16 Scratch Mount Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . B.17 Specific Mount Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . B.17.1 Volume in Tape Volume Cache . . . . . . . . . . . . . . . . . . . B.17.2 Volume not in Tape Volume Cache . . . . . . . . . . . . . . . . B.18 Virtual to Real Volume Comparisons . . . . . . . . . . . . . . . . . . B.18.1 Virtual Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.18.2 Physical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.18.3 Virtual Volume Advantages . . . . . . . . . . . . . . . . . . . . . B.19 Real and Virtual 3490E Device Coexistence . . . . . . . . . . . . . . B.19.1 Physical Installation . . . . . . . . . . . . . . . . . . . . . . . . . . B.19.2 Library Manager View . . . . . . . . . . . . . . . . . . . . . . . . B.19.3 Host View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.20 Virtual Tape Server Installation Tasks . . . . . . . . . . . . . . . . . B.20.1 Physical Installation and Checkout . . . . . . . . . . . . . . . . . B.20.2 Logical Partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . B.20.3 Teach and Inventory . . . . . . . . . . . . . . . . . . . . . . . . . B.20.4 Hardware Configuration Definition (HCD) Required For Library Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.20.5 Define the New Library to the Host . . . . . . . . . . . . . . . . . B.20.6 Define Volume Serial Number Ranges . . . . . . . . . . . . . . B.20.7 Add Magstar Cartridges . . . . . . . . . . . . . . . . . . . . . . . B.20.8 Define Fast-Ready Categories . . . . . . . . . . . . . . . . . . . . B.20.9 Define Reclamation Schedule . . . . . . . . . . . . . . . . . . . . B.21 Implementing the Virtual Tape Server . . . . . . . . . . . . . . . . . B.21.1 MVS/ESA Environments . . . . . . . . . . . . . . . . . . . . . . . B.21.2 VM/ESA Environments . . . . . . . . . . . . . . . . . . . . . . . . B.21.3 VSE/ESA Guests . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix C. Special Notices
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
208 210 211 211 211 212 212 212 212 213 215 215 215 216 217 218 219 222 222 222 223 223 224 224 226 226 226 227 228 228 228 228 229 229 229 230 230 230 231 231 232 233 235 237 237 237 237 239 239 240 241
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix D. Related Publications . . . . . . . . . . . . . . . . D.1 International Technical Support Organization Publications D.2 Redbooks on CD-ROMs . . . . . . . . . . . . . . . . . . . . D.3 Other Publications . . . . . . . . . . . . . . . . . . . . . . . How To Get ITSO Redbooks . . . . . . . . . . How IBM Employees Can Get ITSO Redbooks How Customers Can Get ITSO Redbooks . . . . . . . . . . . . . IBM Redbook Order Form
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
viii
Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243
Contents
ix
Figures
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. Automated Tape Libraries Hardware Components . . . . . . . . . . . . . 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Software Structure Sharing DASD and Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 IBM 3494 and 3495 Tape Library Dataservers . . . . . . . . . . . . . . . . 5 . 6 Basic Building Blocks of an IBM Automated Tape Library Dataserver Host Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 . . . . . . . . . . . . . . 11 IBM 3494 Tape Library Dataserver Components . . . . . . . . . . . . . 11 IBM 3494 Tape Library Dataserver Configurations . . . . . . . . . . . . . . . . . . . . . . . 17 Sample Configurations: IBM 3494 . . . . . . . . . . . . . . . 25 IBM 3495 Automated Tape Library Dataserver MVS/ESA and System-Managed Tape . . . . . . . . . . . . . . . . . . . . . 38 MVS/ESA and Basic Tape Library Support . . . . . . . . . . . . . . . . . . 42 . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 VM/ESA Using DFSMS/VM . . . . . . . . . . . . . . . . . . 50 VSE/ESA As a VM/ESA Guest Using VGS . . . . . . . . . . . . . . 51 VSE Guest Support: Detail for Inventory Support VSE/ESA and LCDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 AIX/6000 and IBM 3494/3495 IBM Automated Tape Library: . . . . . . . . . . . . . . . . . . . . . 56 ESCON/Parallel Channel Attachment AIX/6000 and IBM 3494 IBM Automated Tape Library: SCSI Attachment 56 OS/400 Using MLDD and BRMS/400 . . . . . . . . . . . . . . . . . . . . . . 59 Using Volume Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 . . . . . . . . . 71 Partitioning an IBM Automated Tape Library Dataserver . . . . . . . . . . . 72 Sharing an IBM Automated Tape Library Dataserver MVS/ESA VARY ON and OFF Operator Commands . . . . . . . . . . . . . 79 CP VARY ON or OFF commands . . . . . . . . . . . . . . . . . . . . . . . . 80 CP ATTACH and DETACH Commands . . . . . . . . . . . . . . . . . . . . . 80 . . . . . . . . . . . . . . . . . . . 81 VSE/ESA Commands to Control a Drive A Sample Command Language Procedure for Dynamic Tape Sharing in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 OS/400 . . . . . . . . . . . . . 84 AIX Commands to Add or Remove a Tape Device . . . . . . . . . . . 84 AIX Commands to Dedicate or Release a Tape Drive Adding or Removing a Tape Device in ADSM . . . . . . . . . . . . . . . . 84 Relationship between Control Data Sets and Address Spaces . . . . . . 87 Create a General SYS1.VOLCAT.VGENERAL . . . . . . . . . . . . . . . . . 89 Sharing within an SMSplex . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Import the SYS1.VOLCAT.VGENERAL . . . . . . . . . . . . . . . . . . . . . 94 SMS Storage Group Alter Panel . . . . . . . . . . . . . . . . . . . . . . . . 95 . . 96 Sample SECCLS Command in SYS1.PARMLIB Member EDGRMMxx . . . . . . . . . . . . . . . . . . . 99 Partitioning between Two SMS Systems . . . . . . . . . . . . . . . . . . . . . . . 101 Hard Partitioning Using UMODs Sample UMOD for All Systems of PLEX1 (for DFSMS/MVS 1.1) . . . . . 101 Sample UMOD for All Systems of PLEX2 (for DFSMS/MVS 1.1) . . . . . 102 Sample IDCAMS Job to Create a TCDB Volume Record . . . . . . . . . 105 Reassigning Tape Drives to a Different SMSplex . . . . . . . . . . . . . 106 . . . . 107 Sample REJECT Commands in PARMLIB Member EDGRMMxx . . . . 109 Sharing Tape Drives between VM/ESA and MVS/ESA Systems . . . . 110 Sharing Tape Drives between VM/ESA and MVS/ESA Systems . . . . . . . . . . . . . . . . . . . . . . . 114 BTLS Catalog Record Structure Sample JCL to Define AMS Command, LIBRARY, As a TSO Command 114 . . . . . . . . . . . . . . . . . . . 115 Sample JCL to Define Library Devices Sample Command to Define Three Logical Libraries . . . . . . . . . . . 115
xi
50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71.
| | | | | | | | | | | | | | | | | | | | | xii
Sample Command to Define the User Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample JCL to Obtain a Volume List . . . . . . . . . . . . . . Sample JCL to Assign Volumes to a Category . . . . . . . . . . . . . . . . . . Sample JCL to Create Volume Records . . . . . . . . . . . . . . . . . . . . Sample JCL to Define BTLS Options Sample JCL to Define Job Names . . . . . . . . . . . . . . . . . . . . . . Sample Command to Define IDCLI01 to RACF . . . . . . . . . . . . . . . Partitioning between Two BTLS Systems . . . . . . . . . . . . . . . . . . . . . . . . . Partitioning between a BTLS System and Another System Sharing among Multiple BTLS Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample STDEVOPT Control Statement for RMSMASTR VM/ESA and Other Systems Sharing a Tape Drive . . . . . . . . . . . . VSE Guest Support on VM/ESA . . . . . . . . . . . . . . . . . . . . . . . . Sample CP Directory Entry for VGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample VGS PROFILE EXEC . . . . . . . . Sample CP Directory Entry for Inventory Support Server Sample Inventory Support Server PROFILE EXEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample LIBCONFG LIST File . . . . . . . . . . . . . . . . . . . . . Sample LIBRCMS SRVNAMES File . . . . . . . . . . . . . . . . . . . . . . . . . . Sample Job to Start LCDD AIX/6000 and IBM 3494 IBM Automated Tape Library: SCSI Attachment AIX/6000 and IBM 3494/3495 IBM Automated Tape Library: . . . . . . . . . . . . . . . . . . . . ESCON/Parallel Channel Attachment 72. Example of Using MTLIB to Automate TAR Backup . . . . . . . . . . . . . . . . . . . . . . . 73. Partitioning between AIX/6000 and Another System . . . . . . . . . . . . . . . . 74. Automate Partitioning among AIX Systems 75. Partitioning between an ADSM/6000 Server and Another System . . . 76. Partitioning between ADSM/6000 and an AIX or OS/400 ADSM Server. 77. AIX and AIX or OS/400 ADSM Servers: Partitioning of Drives . . . . . . 78. Partitioning between ADSM/6000 and an MVS, VM or VSE ADSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . server. 79. AIX and MVS, VM or VSE ADSM Servers: Partitioning of Drives . . . . . . . . . . . . . . 80. Partitioning between BRMS/400 and Another System 81. Sharing among Multiple AS/400s with BRMS/400 . . . . . . . . . . . . . 82. Now Announced the IBM Magstar Virtual Tape Server . . . . . . . . . 83. Introduction to the IBM Magstar Virtual Tape Server . . . . . . . . . . . 84. Virtual Tape Server Key Attributes . . . . . . . . . . . . . . . . . . . . . 85. Virtual Tape Server Key Concepts. . . . . . . . . . . . . . . . . . . . . . 86. Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87. IBM Magstar Virtual Tape Server Host Software Support . . . . . . . . 88. IBM 3494 Host and Library Manager Attachment . . . . . . . . . . . . . 89. IBM 3494: VTS Configuration Guidelines . . . . . . . . . . . . . . . . . . 90. New IBM 3494 Features, Their Codes and Model Upgrades . . . . . . . 91. IBM 3494 Environmental Requirements . . . . . . . . . . . . . . . . . . . 92. IBM 3495 Virtual Tape Server Configuration Guidelines . . . . . . . . . 93. IBM 3495 Virtual Tape Server Frame Placement . . . . . . . . . . . . . 94. IBM 3495 Virtual Tape Server Models and Features . . . . . . . . . . . 95. IBM 3495 Environmental Requirements . . . . . . . . . . . . . . . . . . . 96. Logical Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97. Scratch Mount Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98. Specific Mount Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99. Comparison of Virtual to Real Volumes . . . . . . . . . . . . . . . . . . . 100. Real and Virtual 3490E Device Coexistence . . . . . . . . . . . . . . . . 101. Virtual Tape Server Installation Tasks . . . . . . . . . . . . . . . . . . . . 102. Implementing the Virtual Tape Server . . . . . . . . . . . . . . . . . . . .
Guide to Sharing and Partitioning IBM ATL
118 118 119 119 119 120 120 122 123 124 127 133 136 137 138 139 139 141 142 147 155 156 158 160 162 162 165 165 166 166 173 174 186 188 191 194 198 201 203 205 207 210 211 213 215 217 218 219 222 223 226 228 231
Tables
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. Sharing and Partitioning Summary . . . . . . . . . . . . . . . . . . . . . . 4 Tape Drive and Cartridge Compatibility . . . . . . . . . . . . . . . . . . . . 7 Host System Connections: IBM 3494 . . . . . . . . . . . . . . . . . . . . . . 16 Tape Subsystem Host Attachment Options for IBM 3494 Maxi mum Number of Tape Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Tape Subsystem Host Attachment Options for IBM 3494 Four RS-422 Connections Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Tape Subsystem Host Attachment Options for IBM 3494 Seven RS-422 Connections Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 . . . . . . . . . . . . . . . . . . . . . . . . . . 22 IBM 3494 Cartridge Capacity Supported Tape Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Ma x i mu m Attachment Configurations . . . . . . . . . . . . . . . . . . . . . 28 Host System Connections: IBM 3495 . . . . . . . . . . . . . . . . . . . . . . 28 . . . . . . . . . . . . . . 29 Configuration Summary for IBM 3490 and 3490E Configuration Summary for IBM 3590 . . . . . . . . . . . . . . . . . . . . . 29 IBM 3495 Drive and Cartridge Capacity . . . . . . . . . . . . . . . . . . . . 29 IBM 3494 and 3495 Tape Library Dataservers . . . . . . . . . . . . . . . . 33 . . . . . . . . . . . . . . . . . . . . . . 85 Sharing and Partitioning Summary BTLS Catalog Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 . . . . . . . . . . . . . . . . . . . . 177 Library Manager Volume Categories
| | | | | |
xiii
xiv
Preface
This document is unique in its detailed coverage of sharing and partitioning IBM 3494 and 3495 tape libraries in multiple host system environments. It provides the following:
Introduction to sharing and partitioning an IBM Automated Tape Library Overview of IBM Automated Tape Library including the IBM Magstar Virtual Tape Server Description of software environments that support IBM IBM Automated Tape Library Discussion of the basic concepts of sharing and partitioning Implementation steps required to share and partition IBM Automated Tape Library on the MVS/ESA, VM/ESA, VSE/ESA, AIX/6000, OS/400, and TPF platforms.
| |
This document is written for storage system specialists. Some knowledge of tape library systems is assumed.
Chapter 1, Introduction This chapter gives an overview of implementing multisystem access to IBM 3494 and 3495 Automated Tape Library Dataservers.
Chapter 2, Overview This chapter describes the basic concepts and features of the IBM 3494 and 3495 tape libraries. It presents configuration guidelines for sharing and partitioning the tape libraries, and discusses the capabilities and connectivity of each hardware model. The IBM 3590 High Performance Tape subsystem is also introduced.
Chapter 3, Software Environments This chapter describes the various software that supports IBM 3494 and 3495 tape libraries. The MVS/ESA, VM/ESA, VSE/ESA, AIX/6000, and OS/400 The MVS/ESA, VM/ESA, VSE/ESA, AIX/6000, OS/400, and TPF environments are discussed.
Chapter 4, Multisystem Access This chapter describes the basic concepts of sharing and partitioning. We explain the terms sharing and partitioning along with the requirements for using a single tape library or multiple tape libraries in either shared or partitioned mode.
Chapter 5, Implementation in a DFSMS/MVS Environment This chapter describes partitioning and sharing a tape library for an MVS/ESA system that controls the tape library using DFSMS/MVS. We discuss the basic implementation steps and the steps to be performed to share or partition the tape library between DFSMS/MVS and other SMSplexes or other platforms.
xv
Chapter 6, Implementation in a Basic Tape Library Support Environment This chapter describes the basic implementation steps of Basic Tape Library Support on MVS/ESA systems and examines the general considerations for sharing and partitioning a tape library with BTLS.
Chapter 7, Implementation in a DFSMS/VM Environment This chapter describes the basic implementation of DFSMS/VM RMS and explains how to partition and share the tape library between DFSMS/VM RMS and other systems with respect to tape drives and volumes. In addition we cover the use of DFSMS/VM RMS with VGS.
Chapter 8, Implementation in a VSE/ESA Environment This chapter describes the VSE/ESA Library Control Application that supports IBM 3494.
Chapter 9, Implementation in an AIX/6000 Environment This chapter describes the basic implementation of sharing and partitioning the tape library in AIX/6000 environment.
Chapter 10, Implementation in Other Environments This chapter describes the basic implementation of sharing and partitioning the tape library in other environments, such as OS/400 with BRMS/400, and TPF environments.
Appendix A, Library Manager Volume Categories This appendix contains a list of all Library Manager volume categories. The list indicates on which platforms they are used and their meaning.
| | | |
Appendix B, The IBM Magstar Virtual Tape Server This chapter describes the basic concepts of the IBM Magstar Virtual Tape Server (also called tape volume stacking) and provides configuration guidelines.
xvi
The authors of this document are: Babette Huer Felicity Markham Taisei Takai Marc Chapel Patrick Keyes Minoru Massaki IBM Germany IBM United Kingdom IBM Japan IBM France IBM United Kingdom ITSO San Jose IBM Germany IBM Australia
| |
Thanks to the following people for their invaluable contributions to this project: Christina Coutts Kathy Eldred Nadine Hart Savur Rao Douglas Tally Craig Tamlin Maggie Cutler Shirley Hentzell IBM United Kingdom SSD Tucson SSD San Jose SSD San Jose Storage Systems National Technical Support ITSO Rochester ITSO Technical Editor ITSO Technical Editor
This publication is the result of a residency conducted at the International Technical Support Organization, San Jose Center.
Comments Welcome
We want our redbooks to be as helpful as possible. Should you have any comments about this or other redbooks, please send us a note at the following address: redbook@vnet.ibm.com Your comments are important to us!
Preface
xvii
xviii
Chapter 1. Introduction
In this book, we discuss the implementation of multisystem access to IBM 3494 and 3495 tape libraries. Because there is no manual intervention such as by a human operator, it is much more important to explicitly define the proper environments and drive assignment to a specific host system. In a manually operated environment, the tape operator can easily find out which volumes belong to which system and which volumes can be mounted on which tape drives by means of, for example, different volume locations, different volume label colors, other operational procedures, or experience. In an automated tape library environment, the Library Manager who controls both the operation of an IBM Automated Tape Library and the host software needs to make these decisions. Therefore, in this book we focus only on IBM Automated Tape Library. You can also use the recommendations and guidelines in this book for a manual tape library such as the IBM 3495 M10 Manual Tape Library Dataserver as far as sharing within a single platform is concerned. However, we do not intend to discuss the sharing and partitioning of such a manual tape library in detail in this book. To operate an IBM Automated Tape Library, you need to have specific hardware and Licensed Internal Code (LIC) as well as the supporting software installed. Figure 1 on page 2 gives an overview of the required hardware components and the attachment possibilities of the IBM Automated Tape Library. We show an AS/400 system, a RISC/6000, a POWERparallel SP2 system, an ES/9000 system, a S/390 Parallel Server system, and an ESA-capable processor system sharing a 3494. The 3495 is shared between a RISC/6000, a POWERparallel SP2 system, an ES/9000 system, a S/390 Parallel Server system, and an ESA-capable processor system.
The Library Manager is the central component that manages all movements inside an IBM Automated Tape Library and communicates with all attached hosts. In the RISC/6000 with ESCON or parallel channel attachment, POWERparallel SP2, ES/9000, System/390 Parallel Server, and ESA-capable processor environment, communication is done through the channel attachment of the tape drives residing inside the IBM Automated Tape Library. In the AS/400, RISC/6000 with Small Computer System Interface (SCSI) attachment, and native VSE/ESA system environment, the Library Manager is separately attached to the host system through an RS-232 or local area network (LAN) connection. For more information on the required hardware components, please refer to Chapter 2, Overview on page 5. In addition to the hardware components, several layers of software support the automated tape operation of an IBM Automated Tape Library. Figure 2 shows the different software layers and some examples for each layer.
For more information on the different software environments please refer to Chapter 3, Software Environments on page 37. Sharing in a tape environment is different from sharing in a DASD environment. You can simultaneously access a DASD volume from different users at a single point in time. Different users may access the same data set, and the DASD volume can be online to several systems. Figure 3 outlines the differences between sharing in a DASD and in a tape environment.
In a tape environment, a tape drive can be attached to only one system and one user at a time. Thus, only one user has access to a tape data set at a single point in time. However, multiple users can access a tape volume or tape drive one after another. Therefore, we cover sharing of data and tape volumes in detail in this book. We talk about dynamic reassignment of tape drives where applicable. An IBM Automated Tape Library can be shared by different systems in two ways: by logically dividing it into different partitions (partitioning ) or by allowing all attached systems to sequentially access the tape volumes in the library ( sharing ). We explain the concepts of both alternatives in Chapter 4, Multisystem Access on page 63.
Chapter 1. Introduction
Attaching multiple hosts of different platforms to an IBM Automated Tape Library requires special consideration because the different platforms might handle differently such aspects of tape processing as:
Tape management Allocation control Host control data sets Code in which data is written to tape Data format Internal tape volume label Security.
We discuss special considerations for multihost access to an IBM Automated Tape Library for every platform in Chapter 5, Implementation in a DFSMS/MVS Environment on page 87 to Chapter 10, Implementation in Other Environments on page 171 for the following environments:
MVS/ESA (DFSMS/MVS and Basic Tape Library Support BTLS) VM/ESA (DFSMS/VM and VSE Guest support) VSE/ESA AIX/6000 OS/400 TPF.
Table 1 summarizes the multihost access options for the environments covered in this book.
Table 1. Sharing and Partitioning Summary
Platform DFSMS/MVS BTLS DFSMS/VM VSE/VGS VSE/LCDD AIX/6000 OS/400 TPF Notes: P indicates partitioning of the IBM Automated Tape Library. S indicates sharing of all tape volumes. D indicates dynamic sharing of tape drives. C indicates cross-platform sharing of private volumes. DFSMS/MVS P S D P C D P C P P P C P P C BTLS P S D P C P C P C P C P C P C DFSMS/VM P S D P C D P C P C P C P C VSE/VGS P S D P P C P P C VSE/LCDD P S D P C P C P C AIX/6000 P S D P C D P C OS/400 P S P C TPF P S
Chapter 2. Overview
In this chapter, we describe the basic concepts of the IBM 3494 and 3495 Tape Library Dataservers and explain and compare the unique features of each. At the end of the chapter we present configuration guidelines for sharing and partitioning IBM Automated Tape Library.
The IBM Automated Tape Library are self-contained, fully enclosed products that can be installed on a solid or raised floor. Both IBM Automated Tape Library have:
A cartridge accessor for mounting and demounting cartridges Cartridge storage cells for storing cartridges IBM 3490 (in the IBM 3495 only), along with IBM 3490E or IBM 3590 tape subsystems, or both. A Library Manager for communicating with the host systems and controlling all activities within the IBM Automated Tape Library.
Figure 5 on page 6 shows the basic building blocks of an IBM Automated Tape Library.
Standard Cartridge System Tapes (CSTs), two-tone Enhanced Capacity Cartridge System Tapes (ECCSTs) and IBM 3590 Cartridges can be intermixed in the IBM Automated Tape Library. If a cartridge accessor failure occurs, the IBM Automated Tape Library can operate in manual mode. This mode allows continuous, nonautomated operation, with the operator performing the actions that are typically performed by mechanical devices.
| | | | |
Fulfilling this statement of direction, IBM now announces the IBM Magstar Virtual Tape Server (VTS) for IBM 3494 and 3495 Tape Libraries. For detailed information about Virtual Tape Server, please see Appendix B, The IBM Magstar Virtual Tape Server on page 185 or Redbook, The IBM Magstar Virtual Tape Server and Enhancements to Magstar: New Era in Tape .
The tape itself is 0.5 inch (1.27 cm) wide and 300 m (984 ft) long, which is similar to the 320-m (1050-ft) IBM 3490E ECCST. Thus, the time it takes to access the data, do high-speed searches, and rewind will be little changed from that of the current ECCST, despite the considerable increase in capacity. A new metal-particle medium is used in the IBM 3590 High Performance Tape Cartridge. The new medium permits a much higher data recording density, and hence the ability to write 128 tracks. The recording style is linear serpentine, and prerecorded servo tracks are used to position the 16 read/write heads accurately. The IBM 3590 tape drive has a data rate of 9 MB/s; this is three times faster than the IBM 3480, 3490 or 3490E tape drive. It has built-in and improved compression, as well as built in control function. Subsequent sections explain which IBM 3590 models can be used within the IBM 3494 and 3495 tape libraries, and also which hosts support the IBM 3590 tape subsystem. The tape cartridge and the media used with the IBM 3590 tape drivethe IBM 3590 High Performance Tape Cartridgeare completely new; they are not compatible with any other IBM tape subsystems. You cannot read from or write to this tape using IBM 3480, 3490, or 3490E tape subsystems. Note: The IBM 3590 tape drive can neither read from nor write to earlier IBM tape cartridge formatsthat is, neither 18-track nor 36-track format. You do not need to worry about accidentally inserting a non-3590 cartridge into an IBM 3590 tape drive, or an IBM 3590 cartridge into a non-IBM 3590 tape drive: the cartridge would not be accepted into the drive. (IBM 3590 cartridges do not fit into IBM 3480/3490/3490E drives because the IBM 3590 cartridge leader block has been modified; the IBM 3590 drive can detect a non-IBM 3590 cartridge by the absence of the new plastic inserts built into the new 3590 cartridges) Table 2 illustrates which cartridge types can be processed on which devices. A cartridge written in 18-track mode can be read on an IBM 3490E drive but cannot be modified. The IBM 3480 tape technology is shown for completeness only; IBM 3480 tape drives are not supported in either IBM 3494 or 3495 tape library. Also, IBM 3490 (18 track) tape drives are not supported in the IBM 3494. The data compression feature, the Improved Data Recording Capability (IDRC), is standard for both the IBM 3490E and 3490 but is optional for the IBM 3480. The IBM 3590 uses a new compression algorithm called IBMLZ1, which is not compatible with the IDRC.
Table 2. Tape Drive and Cartridge Compatibility
Cartridge Type and Recording Technology Tape D r ive I B M 3590 I B M 3490E IBM 3490 or 3480 with IDRC N/A I B M 3480 without I D R C N/A
IBM 3590 Cartridge 128-track ECCST 36-track CST 36-track CST 18-track
Read/write
N/A
N/A
Read/write
N/A
N/A
N/A
Read/write
N/A
N/A
N/A
Read o n l y
Read/write
Read/write
Chapter 2. O v e r v i e w
| | | | | | | | | | | | | | | | | | | | |
IBM 3590-B11
SCSI-attached tape drive with Automated Cartridge Facility (ACF). Has its own integrated control unit function. The IBM 3590-B11, housed in a IBM 3590-A14 rack together with the IBM 3590-A00 control unit, can only be used outside the IBM 3494 and 3495 Tape Libraries.
IBM 3590-B1A SCSI-attached tape drive without ACF. Has its own integrated control unit function. It is specifically designed to reside in the IBM 3494, either in native mode or under the control of the IBM 3590-A00, or in the IBM 3495 only under control of the IBM 3590-A00. IBM 3590-A00 This ESCON-attached controller can control up to four IBM 3590 tape drives. The IBM 3590-A00 counts as one control unit function even when it is controlling multiple 3590 tape drives. Rack that houses an IBM 3590-A00 control unit with the attached IBM 3590-B1A tape drives (without ACFs). This counts as a complete subsystem and can be installed in the IBM 3495. When it is installed in the there, it must be configured with the maximum four IBM 3590-B1A tape drives. The IBM 3590 subsystem configured in an IBM 3590-A14 rack can be used outside the IBM 3495 tape library as a stand-alone subsystem using IBM 3590-B11 tape drives.
IBM 3590-A14
For further information on IBM 3590, please see the following: IBM 3590 High Performance Tape Subsystem User s Guide , Magstar and IBM 3590 High Performance Tape Subsystem Technical Guide , and Magstar and IBM 3590 High Performance Tape Subsystem: Multiplatform Implementation .
Chapter 2. O v e r v i e w
Note: As we explain later, the IBM 3494 can also support unlabeled cartridges if necessary. There also needs to be some mechanism to let the Library Manager know the cartridge type of all cartridges in the Library. This is achieved by adding a seventh character as a media type indicator on the external cartridge label: 1 for a CST, E for an ECCST, and J for an IBM 3590 cartridge. If the tape library has only one type of cartridge, you can set this type as the default within the Library Manager, so that no additional seventh character is needed on any cartridges. This applies to both IBM 3494 and 3495 tape libraries. In a IBM 3494, the barcode reader cannot distinguish between the monotone (CST), two-tone (ECCST), and IBM 3590 cartridges, so the seventh character is needed if you have mixed cartridge types. If you mix CST with ECCST, the ECCST cartridges will need the E media indicators. If you mix IBM 3590 cartridges with any other type, every cartridge (including CST) must have a seventh character as a media type indicator. In a IBM 3495, the vision system can distinguish between the monotone (CST) and two-tone (ECCST) cartridges, but it cannot identify IBM 3590 cartridges, making the seventh character J a necessary addition to IBM 3590 cartridges.
| | | | |
A given configuration consists of one to sixteen frames (one control unit frame and any combination of storage and drive unit frames up to a total of sixteen). A variety of frame types are available to customize the library capabilities. Three basic models of the IBM 3494 Tape Library Dataserver combine to make up the library:
Control unit frame (also referred to as the library unit ), which contains one IBM 3490E-C1A or C2A, or one or two IBM 3590-B1A drives Zero to fifteen optional storage unit frames Zero to eleven optional drive unit frames, which can contain one IBM 3490E-C1A or C2A, or up to six IBM 3590-B1A drives. IBM 3490-C1A or C2A can be housed only within the first eight frames.
| | | | | | | | | |
The IBM 3494 Tape Library Dataserver will support a maximum of sixteen tape control unit connections: each IBM 3590-B1A (when attached without an IBM 3590-A00) use one control unit connection, as does each IBM 3590-A00 (with any number of IBM 3590-B1As attached) and each IBM 3490-C1A or C2A. Thus the maximum number of tape drives supported in a single library depends on the mixture of tape drive models installed. Figure 7 on page 11 shows the major hardware components of the IBM 3494: 1. Control unit frame
10
2. Drive unit frame 3. Storage unit frame 4. Convenience I/O station 5. Cartridge storage 6. Library Manager.
Chapter 2. O v e r v i e w
11
12
IBM 3494-D14
(ESCON only) Contains zero or one IBM 3590-A00 tape control unit, a minimum of zero and a maximum of four IBM 3590-B1A tape devices, and cartridge storage cells. The IBM 3590-A00 is required if an IBM 3590-B1A is installed in the frame.
| | | | | |
One path for each IBM 3490E-C1A or 3490E-C2A One path for each IBM 3590-A00 (including its attached drives) One path for each direct-SCSI-attached IBM 3590-B1A.
In the past, with the IBM 3490-CxA, it was not possible to exceed the supported number of control units, because no more than eight control units could be installed in the maximum eight IBM 3494 frames. Now, a single drive unit frame can accommodate six native SCSI-attached IBM 3590-B1A drives, each with its own integrated control unit.
| | | | | |
As a result, using only IBM 3490-CxAs or direct-SCSI-attached IBM 3590-B1A drives, for example, the maximum number of drives that can be installed in an IBM 3494 library is 16. Using ESCON-attached IBM 3590-B1A drives through the IBM 3590-A00, however, up to 46 drives can be installed. Many mixed configurations are possible, provided that the total number of paths to the Library Manager does not exceed sixteen. It is easy to see that with different hosts and platforms sharing a mixed configuration of IBM 3490-CxA and IBM 3590-B1A, it is necessary to exercise care in planning the IBM 3494 configuration. An individual IBM 3590-B1A can have only one type of channel attachment, either two ESCON adapters (using the IBM 3590-A00) or two SCSI adapters, but not one of each. This may be important when sharing tape drives between different platforms using different channel protocols. IBM 3490-CxA models can be configured with any combination of channel adapters (two in total for any one IBM 3490-CxA), ESCON, parallel, or SCSI. So, although a tape drive can only be online to one host at a time, and any one host must see a control unit as either ESCON, parallel, or SCSI attached, it is possible to attach one model CxA control unit to two different hosts using different channel interfaces and then switch the
Chapter 2. O v e r v i e w
13
tape drives between the two hosts as required. However, this scenario is not possible with an IBM 3590-B1A tape drive. For further information on issues regarding the configuration of tape subsystems, please see the following: IBM 3494 Introduction and Planning Guide , Magstar and IBM 3590 High Performance Tape Subsystem Technical Guide , Magstar and IBM 3590 High Performance Tape Subsystem: Multiplatform Implementation .
AS/400 9404/9406, all models RISC System/6000 models that support the S/390 ESCON Channel Emulator System/370 Channel Emulator/A IBM SCSI-2 Differential High Performance Controller IBM SCSI-2 Differential Fast/Wide Adapter/A
POWERparallel SP2 All ESA-capable S/370 and S/390 systems IBM 9672 System/390 Parallel Server ES/9000 models that support ESA/390 ES/3090-9000T models that support ESA/370 ES/3090 (Models E, S, J, JH, and T that support ESA/370) ES/4381 (Models 90E, 91E, and 92E that support ESA/370) SUN processors that support the SPARC operating system.
In terms of connecting to the host, the 3490E models C1A and C2A support the attachment of one or two channel adapters. The channel adapter types are:
Any adapter combinations (up to two) of ESCON channel, parallel channel, or SCSI-2 adapters are allowed. One ESCON channel adapter provides one physical path or 16 logical paths with an ESCON Director, EMIF, or both. In terms of connecting to the host, the IBM 3590-A00 is attached to the host using one or two ESCON adapters. Each of its two ESCON channel adapters provides 64 logical paths with an ESCON Director, EMIF, or both. We discuss ESCON considerations later in this chapter. The IBM 3590-B1A is attached to the host using one or two SCSI-2 adapters. The maximum SCSI channel distance supported is 25 m. This is a standard SCSI limitation rather than a limitation of the IBM 3590-B1A. Host system software also communicates with the Library Manager for controlling the IBM 3494. This communication is done through an ESCON channel, parallel channel, RS-232, or LAN attachment.
14
MVS/ESA, VM/ESA, AIX/6000 (non-SCSI), AIX/ESA, and TPF send and receive library control information through their system-attached ESCON or parallel channels to the tape control unit, which passes the information to the Library Manager. An OS/400 with a parallel or SCSI-2 data attachment, and an AIX/6000 with a SCSI-2 differential data attachment require an RS-232 or LAN link to pass library control information. VSE/ESA uses a LAN link to pass library control information and ESCON or parallel channels to transfer data. The LAN networks supported by the Library Manager are Token-Ring and Ethernet, using either APPC or TCP/IP. We discuss the attachments for each host system in more detail later in this book. Table 3 on page 16 summarizes the IBM 3494 connections to the host systems.
Chapter 2. O v e r v i e w
15
16
| | | | | | | | | | | | | |
Chapter 2. O v e r v i e w
17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 18
Table 4 (Page 2 of 2). Tape Subsystem Host Attachment Options for I B M 3494 Maximum Number of Tape Drives
3490-CxA (All) 0 0 0 0 0 0 8 8 8 8 8 Notes: The IBM 3490 Model C1A has one drive, the Model C2A has two drives. If an IBM 3590 tape subsystem-B1A is installed in the Control Unit Frame, only two tape drives are supported. Reduce the maximum number to two only for configurations marked with an *. If an IBM 3590 tape subsystem is installed in the Control Unit Frame, only two tape drives are supported. Reduce the maximum number by two except for configurations marked with an *. The maximum number must be reduced by two, if one IBM 3590-A00 is installed in the Control Unit Frame. This has been taken into account where the maximum number is marked with an *. 3590-B1A (SCSI) 11 12 13 14 15 16 0 5 6 7 8 3590-A00 (ESCON) 5 4 3 2 1 0 4 3 2 1 0 3490 Drives 0 0 0 0 0 0 2 2 2 2 2 3590 SCSI Drives 11 12 13 14 15 16 0 5 6 7 8 3590 ESCON Drives 20 16 12 8 4 0 16* 12* 8* 4* 0* Total No. of Drives 31 28 25 22 19 16 32* 33* 30* 27* 24*
Inside a single IBM 3494, you can install only one IBM 3494-B16 Virtual Tape Server. When you install the IBM 3494-B16 into an IBM 3494, because IBM 3494-B16 needs one RS-232 connection, the maximum configuration in a IBM 3494 is 4 RS-232 connections and 12 RS-422 connections. The IBM 3494-B16 also needs two RS-422 connections. And each IBM 3590-B1A drive attached to IBM 3494-B16 needs one RS-422 connection. Depending on whether three or six tape drives are installed in the IBM 3590-D12 frame attached to the Virtual Tape Server, four or seven additional RS-422 connections are available. In case of the Virtual Tape Server with six tape drives installed, four additional RS-422 connections are available. Table 5 lists all possible combinations and the maximum number of tape drives for a maximum of four RS-422 connections.
Table 5 (Page 1 of 3). Tape Subsystem Host Attachment Options for I B M 3494 Four RS-422 Connections Available
3490-CxA (All) 0 0 0 0 3590-B1A (SCSI) 0 1 2 3 3590-A00 (ESCON) 4 3 2 1 3490 Drives 0 0 0 0 3590 SCSI Drives 0 1 2 3 3590 ESCON Drives 4 1 6 3 1 2 2 8 1 4 Total No. of Drives 4 1 6 4 1 3 4 1 0 4 7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 5 (Page 2 of 3). Tape Subsystem Host Attachment Options for I B M 3494 Four RS-422 Connections Available
3490-CxA (All) 0 1 1 1 1 2 2 2 3 3 1 1 1 2 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 7 3590-B1A (SCSI) 4 0 1 2 3 0 1 2 0 1 5 6 7 0 1 2 3 4 5 6 0 1 2 3 4 5 0 1 2 3 0 1 2 3 0 1 2 0 3590-A00 (ESCON) 0 3 2 1 0 2 1 0 1 0 2 1 0 6 5 4 3 2 1 0 5 4 3 2 1 0 4 3 2 1 3 2 1 0 2 1 0 1 3490 Drives 0 1 2 1 2 1 2 1 2 2 4 2 4 2 4 3 6 3 6 1 2 1 2 1 2 2 4 2 4 2 4 2 4 2 4 2 4 2 4 3 6 3 6 3 6 3 6 3 6 3 6 4 8 4 8 4 8 4 8 5 1 0 5 1 0 5 1 0 5 1 0 6 1 2 6 1 2 6 1 2 7 1 4 3590 SCSI Drives 4 0 1 2 3 0 1 2 0 1 5 6 7 0 1 2 3 4 5 6 0 1 2 3 4 5 0 1 2 3 0 1 2 3 0 1 2 0 3590 ESCON Drives 0 3 1 2 2 8 1 4 0 2 8 1 4 0 1 4 0 2 8 1 4 0 6 2 4 5 2 0 4 1 6 3 1 2 2 8 1 4 0 5 2 0 4 1 6 3 1 2 2 8 1 4 0 4 1 6 3 1 2 2 8 1 4 3 1 2 2 8 1 4 0 2 8 1 4 0 1 4 Total No. of Drives 4 4 1 2 4 1 1 4 8 4 5 4 1 2 6 9 4 6 4 1 0 4 7 8 1 5 8 1 2 8 9 8 2 8 8 2 5 8 2 2 8 1 9 8 1 6 8 1 3 8 1 0 8 2 6 8 2 3 8 2 0 8 1 7 8 1 4 8 1 1 8 2 4 8 2 1 8 1 8 8 2 3 8 2 2 8 1 9 8 1 6 8 1 3 8 2 0 8 1 7 8 1 4 8 1 8
Chapter 2. O v e r v i e w
19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20
Table 5 (Page 3 of 3). Tape Subsystem Host Attachment Options for I B M 3494 Four RS-422 Connections Available
3490-CxA (All) 7 8 Notes: 1. The IBM 3490-C1A has one drive; the IBM 3490-C2A has two drives. 2. If an IBM 3590 tape subsystem is installed in the Control Unit Frame, only two tape drives are supported. 3. The m ax im um nu m b e r m u s t be reduced by two, if one IBM 3590-A00 is installed in the Control Unit Frame. 3590-B1A (SCSI) 1 0 3590-A00 (ESCON) 0 0 3490 Drives 7 1 4 8 1 6 3590 SCSI Drives 1 0 3590 ESCON Drives 0 0 Total No. of Drives 8 1 5 8 1 6
In case of the Virtual Tape Server with three tape drives installed, seven additional control unit connections are available. Table 6 lists all possible combinations and the maximum number of tape drives for a maximum of seven RS-422 connections.
Table 6 (Page 1 of 2). Tape Subsystem Host Attachment Options for I B M 3494 Seven RS-422 Connections Available
3490-CxA (All) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3590-B1A (SCSI) 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 0 1 2 3 4 5 0 3590-A00 (ESCON) 7 6 5 4 3 2 1 0 6 5 4 3 2 1 0 5 4 3 2 1 0 4 3490 Drives 0 0 0 0 0 0 0 0 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 4 2 4 2 4 2 4 2 4 2 4 3 6 3590 SCSI Drives 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 0 1 2 3 4 5 0 3590 ESCON Drives 7 3 8 6 2 4 5 2 0 4 1 6 3 1 2 2 8 1 4 0 4 2 4 5 2 0 4 1 6 3 2 2 8 1 4 0 5 2 0 4 1 6 3 1 2 2 8 1 4 0 4 1 6 Total No. of Drives 7 2 8 7 2 5 7 2 2 7 1 9 7 1 6 7 1 3 7 1 0 7 7 2 6 7 2 3 7 2 0 7 1 7 7 1 4 1 1 1 7 7 7 2 4 7 2 1 7 1 8 7 1 5 7 1 2 7 9 7 2 2
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 6 (Page 2 of 2). Tape Subsystem Host Attachment Options for I B M 3494 Seven RS-422 Connections Available
3490-CxA (All) 3 3 3 3 4 4 4 4 4 5 5 5 6 6 7 Notes: 1. The IBM 3490-C1A has one drive; the IBM 3490-C2A has two drives. 2. If an IBM 3590 tape subsystem is installed in the Control Unit Frame, only two tape drives are supported. 3. If one IBM 3590-A00 is installed in the Control Unit Frame, the m a x i m u m number must be reduced by two. 3590-B1A (SCSI) 1 2 3 4 0 1 2 3 3 0 1 2 0 1 0 3590-A00 (ESCON) 3 2 1 0 3 2 1 0 1 2 1 0 1 0 0 3490 Drives 3 6 3 6 3 6 3 6 4 8 4 8 4 8 4 8 4 8 5 1 0 5 1 0 5 1 0 6 1 2 6 1 2 14 3590 SCSI Drives 1 2 3 4 0 1 2 3 3 0 1 2 0 1 0 0 3590 ESCON Drives 3 1 2 2 8 1 4 0 3 1 2 2 8 1 4 0 1 4 2 8 1 4 0 1 4 0 Total No. of Drives 7 1 9 7 1 6 7 1 3 7 1 0 7 2 0 7 1 7 7 1 4 7 1 1 8 2 3 7 1 8 7 1 5 7 1 2 7 1 6 7 1 3 14
The number of storage cells available in an IBM 3494 for storage of tape cartridges depends on the number and type of frames, and on whether the Convenience I/O station or the Dual Gripper Feature is installed. Table 7 on page 22 shows the storage capacity of each storage frame.
Chapter 2. O v e r v i e w
21
2.2.9 Features
Some special features of the IBM 3494 are:
Convenience I/O station (optional) The basic Convenience I/O station allows up to 10 cartridges to be added or removed from the library without interrupting library operations. The Convenience I/O station is located in the front door of the library control unit, and its installation reduces the number of cartridges that can be stored in the library control unit by 30. The enhanced-capacity Convenience I/O station allows up to 30 cartridges to be added or removed from the library without interrupting library operations. The Convenience I/O station is located in the front door of the library control unit, and its installation reduces the number of cartridges that can be stored in the library control unit by 80. If neither a convenience I/O station nor a high capacity output station is installed, the IBM 3494 sets aside a single cell for input/output processing.
High-capacity output station (optional) The high-capacity output station allows you to remove large numbers of cartridges from the library. Use of this facility does affect library operations. The high-capacity output station is defined by the IBM Service Representative and its capacity can range from 10 to 160 cartridges. The maximum number depends on whether you have the Dual Gripper function, and on how large your convenience I/O station is.
Cartridge accessor The cartridge accessor is the device that selects and transports cartridges from their storage areas and I/O stations to the tape drives. The cartridge accessor moves on the horizontal and vertical axis along the length of the IBM 3494. It uses a rail system comprising two horizontal rails, one at the top, the other at the bottom of the IBM 3494. The part of the cartridge accessor which holds the cartridges is called the gripper. A vision system
22
(barcode reader) sits on top of the gripper and is designed to read the barcodes off the cartridge labels.
Dual cartridge grippers (optional) A second gripper can be mounted on the cartridge accessor. The dual gripper enhances performance of the accessor in the IBM 3494 by eliminating the time required to return a demounted cartridge to the storage cell before mounting the next cartridge. This enhanced performance raises the overall performance of the IBM 3494. When you have the dual gripper installed, the IBM Service Representative can place the IBM 3494 in floating home-cell mode. This mode allows the accessor to store a cartridge in any empty cell instead of returning the cartridge to its original, or fixed home-cell, position. The redundancy of the dual gripper hardware also improves data availability. Note: Cartridge storage capacity is reduced by 10 percent when the dual gripper feature is installed.
Second disk drive for the Library Manager (optional) The second disk drive allows for a second copy of the Library Manager database and system files to be kept. All the data and statistics can be mirrored on the second disk drive. This feature will reduce the time required to recover should the primary disk drive fail. We strongly recommend that this feature be installed.
Externally unlabeled tape support This function allows the operator to enter externally unlabeled tapes into the IBM 3494. The externally unlabeled tape must enter the library through the Convenience I/O station. The operator assigns an external label number and media type (standard, enhanced or 3590), via the Library Manager console. The library then accepts this tape as if it were externally labeled. All library functions are now available to the externally unlabeled tape. The Library Manager keeps track of such cartridges by their location only, with no barcode verification. Extreme care must be taken not to move an externally unlabeled tape during any open-door or manual activities. It is recommended that the externally unlabeled tape be ejected as soon as the job is completed.
Stand-alone device function The stand-alone device function enables a transient mount operation that moves cartridges from the convenience I/O station directly to a specified drive without host intervention. This operation is called mount-from-input-station. Mount-from-input-station is designed to be used with stand-alone software that does not issue mount commands, for example, stand-alone dump or initial program load (IPL) from a tape address. This function cannot be utilized with MVS or similar operating systems because the operating system picks the drive to be used and sends mount commands for the tape. Also, tapes processed using mount-from-input-station are not put in the Insert category, so operating systems like MVS will not be informed that the new cartridge is in the library.
Remote Library Manager console The remote Library Manager console feature enables a customer to control or monitor the operations and status of up to eight Library Managers from a remote location. The remote Library Manager console can be located
Chapter 2. O v e r v i e w
23
anywhere on the customer-supplied LAN. Connection to the remote Library Manager console is password controlled. The customer also supplies the programmable workstation and software (for example, PS/2 and OS/2 with CM/2) required at the remote terminal location. A separate feature is required for each Library Manager that is to be connected to the LAN.
Remote power sequencing for AS/400 (optional) The remote power sequencing feature permits power on/off sequencing by attached AS/400 host processors.
For further information on IBM 3494 features, please see IBM 3494 Introduction and Planning Guide .
24
Note: The IBM 3495 M10 Manual Tape Library Dataserver does not support IBM 3590 tape subsystems. Figure 10 shows the major hardware components of the IBM 3495: 1. IBM 3490E, 3490, or 3590 tape subsystems 2. Cartridge accessor controller 3. Manual mode terminal 4. Library Manager 5. Convenience I/O station 6. Cartridge accessor 7. Cartridge storage.
Chapter 2. O v e r v i e w
25
| | | | | | | | | | | | |
The IBM 3590 tape subsystem can be installed in the IBM 3495. An IBM 3590-A00 control unit and four IBM 3590-B1A drive units must be packaged within an IBM 3590-A14 frame as an IBM 3590 tape subsystem. One IBM Magstar Virtual Tape Server subsystem can be installed into an IBM 3495. The 3495-B16 frame houses the Virtual Tape Server controller and the Tape Volume Cache. Adjacent to the IBM 3495-B16 frame, there must be one IBM 3590-A14 frame containing four IBM 3690-B1A drives. The IBM 3590-A14 used by an IBM Magstar Virtual Tape Server does not require an IBM 3590-A00 control unit. Note: For further information about the IBM Magstar Virtual Tape Server, please see Appendix B, The IBM Magstar Virtual Tape Server on page 185 or Redbook, The IBM Magstar Virtual Tape Server and Enhancements to Magstar: New Era in Tape . The number of tape drives that can be installed in an IBM 3495 library is model dependent, as shown above, but can also be limited by the number of internal communication paths with the Library Manager. A total of eight paths are available and the different subsystems have different requirements:
One path for each IBM 3490-A01 or 3490-A10 Two paths for each IBM 3490-A02 or 3490-A20 One path for each IBM 3590-A00.
So, for example, using only IBM 3490 or 3490E subsystems, the maximum number of drives that can be installed in an IBM 3495 library is 64, whereas using only IBM 3590 subsystems, the maximum number of drives is 32. Mixed configurations are possible, provided that the total number of paths to the Library Manager does not exceed eight. Table 8 shows the number of control unit functions (CUFs) and drives, the supporting recording technology, and data compression.
Table 8. Supported Tape Models
| |
Tape Subsystem Model Number of CUFs Number of drives Recording technology Data compression
IDRC
IDRC
IDRC
IDRC
IBMLZ1
26
RISC System/6000 models that support the S/390 ESCON Channel Emulator RISC System/6000 models that support the System/370 Channel Emulator/A POWERparallel SP2 All ESA-capable System/370 and System/390 processors. IBM 9672 System/390 Parallel Server ES/9000 (all models that support ESA/390) ES/3090-9000T (all models that support ESA/370) ES/3090 (Models E, S, J, JH, and T that support ESA/370) ES/4381 (Models 90E, 91E, and 92E that support ESA/370).
Chapter 2. O v e r v i e w
27
| |
For the IBM 3490 models A01 and A02, one ESCON adapter replaces two parallel adapters. The IBM 3490 models A02 and A20 contain two control unit functions (CUFs), and the ESCON and parallel adapters in these CUFs must be identical. For example, if CUF 0 has one ESCON adapter and three parallel adapters, CUF 1 must have one ESCON adapter and three parallel adapters. One ESCON adapter to IBM 3490 and 3490E tape subsystems provides one physical path or 16 logical channels with an ESCON Director and/or ESCON Multiple Image Facility (EMIF). One ESCON adapter to IBM 3590 tape subsystems provides one physical path or 64 logical channels with an ESCON Director and/or ESCON Multiple Image Facility (EMIF).
AS/400 -----
1. The IBM 3590 cannot be attached through ESCON channels. 2. The IBM 3590 does not have parallel attachment.
28
| | |
Table 12 shows the maximum number of IBM 3590 subsystems for each model of the IBM 3495. An IBM 3590-A14 within an IBM 3495 consists of an IBM 3590-A00 controlling four 3590-B1A drives.
Table 12. Configuration Summary for I B M 3590
3495-L20 Maximum CUFs for the IBM 3495 model Maximum number of IBM 3590 Subsystems Maximum number of drives 4 4 16 3495-L30 8 8 32 3495-L40 8 8 32 3495-L50 8 8 32
Table 13 shows the maximum number of cartridges and the number of drives for each model of the IBM 3495.
Table 13. IBM 3495 Drive and Cartridge Capacity
Maximum Number of Cartridges Model IBM 3495-L20 IBM 3495-L30 IBM 3495-L40 IBM 3495-L50 Note: 1. The number of tape drives ranges from 4 to 32 if all drives are IBM 3590s. With Maximum Number of Drives 5660 8460 11280 14100 With Minimum Number of Drives 6480 10620 14780 18940 Number of Tape Drives 2 to 16 2 to 32 2 to 52 2 to 64
In 2.3, IBM 3495 on page 25, we described the maximum capacity of the four IBM 3495 models in terms of tape drives (64) and cartridges (18940). The maximum number of cartridges that can be stored in the IBM 3495 decreases as additional tape control and tape drive boxes are installed. The maximum number of cartridges that can be stored will also decrease if your IBM 3495 is configured with either an internal or external high-capacity I/O station.
Chapter 2. O v e r v i e w
29
When planning your configuration, you must take these factors into account and reach an acceptable balance between the number of channels, number of tape drives, and number of cartridges. For further information on configuring the IBM 3495, please see the IBM 3495 Introduction and Planning Guide .
2.3.5 Features
The IBM 3495 has some special features:
Convenience I/O stations There are two Convenience I/O stations: a 20-cartridge input and a 20-cartridge output station. They allow you to add or remove cartridges from the library without interrupting the operations of the IBM 3495.
High-Capacity I/O stations (optional) These can be specified at installation time. They support the insertion of up to 260 cartridges and the ejection of up to 240 cartridges. Use of these stations does affect library operations: configuring your IBM 3495 with High-Capacity I/O stations reduces the number of cartridges that can be stored in the IBM 3495 by 500.
External High-Capacity I/O station (optional) The external High-Capacity I/O station provides 240 I/O cells, which can be used either to insert or eject cartridges without interrupting the operation of your IBM 3495. All I/O cells can be used in either input mode or output mode at any one time. The High-Capacity I/O station cannot be activated when this feature is installed. Configuring your IBM 3495 with an External High-Capacity I/O station reduces the number of cartridges that can be stored in the IBM 3495 by 500.
Dual Library Manager The Dual Library Manager feature provides a redundant library manager, which consists of a system unit, keyboard, and display. This feature improves availability to the data in the IBM Automated Tape Library. If the primary Library Manager fails, the second active library manager automatically takes control of the IBM Automated Tape Library.
Remote Library Manager console The remote Library Manager console feature enables a customer to control or monitor the operations and status of up to eight Library Managers from a remote location. The remote Library Manager console can be located anywhere on the customer-supplied LAN. Connection to the remote Library Manager console is password-controlled. The customer also supplies the programmable workstation and software (for example, PS/2 and OS/2 with CM/2) required at the remote terminal location. A separate console is required for each Library Manager that is to be connected to the LAN. For example, if Dual Library Manager is installed, two Remote Library Manager consoles are required to monitor and control both Library Managers.
Built-in manual mode terminal A terminal is provided inside the enclosure to assist the operator when the IBM 3495 is in manual mode. The manual mode terminal tells the operator which volumes to retrieve, the location of the volumes, and on which drives to mount the volumes.
30
Use of ICL and ACF For scratch mounts, the IBM 3495 can use the IBM 3490 or 3490E tape subsystem Integrated Cartridge Loaders (ICL), or the IBM 3590 tape subsystem Automated Cartridge Facility devices (ACF). These can load scratch tapes in the tape drive in less than 7 seconds.
Cartridge accessor The cartridge accessor is the device that selects and transports cartridges from their storage areas to the tape drive(s). The cartridge accessor in the IBM 3495 is a six-axis robotic arm that travels on a two-rail system along the length of the Library. The part of the cartridge accessor that holds the cartridges is called the grippers. A vision system (camera and lamp) that sits on top of the grippers is designed to read the barcodes off the cartridge labels, and is able to distinguish the two-tone ECCST cartridges from the monotone CST cartridges.
Second camera and lamp (optional) A second camera and lamp can be provided for the vision system. This feature allows the vision system to continue operation if the primary camera or lamp assembly fails.
Dual cartridge grippers Two cartridge grippers are mounted on the cartridge accessor. The dual gripper enhances performance of the accessor in the IBM 3495 by eliminating the time required to return a demounted cartridge to the storage cell before mounting the next cartridge. This enhanced performance raises the overall performance of the IBM 3495. The redundancy of the dual gripper hardware also improves data availability.
Floating home-cell mode The IBM 3495 operates in floating home-cell mode during normal operations. Tape volumes are not preassigned, nor are they locked into specific, fixed storage cells. Therefore, the cartridge accessor spends less time moving from storage cell to drive or from drive to storage cell. This feature improves accessor performance.
Note: The IBM 3495 does not support externally unlabeled tapes, nor stand-alone device functions that are supported by IBM 3494. However, work-arounds are available if necessary: Putting the IBM 3495 into Manual mode lets you mount unlabeled tapes, and lets you use stand-alone functions. In Manual mode, the human operator becomes the vision system and cartridge accessor. Therefore, any externally unlabeled tape can be carried into the IBM 3495 and mounted in response to a host mount request. Unlabeled tapes must be removed from the IBM 3495 prior to resuming automatic mode. Please be aware that PC barcode print programs are available, and temporary barcoding of an unlabeled tape is less disruptive than putting the IBM 3495 into Manual Mode. For further information on IBM 3495 features, please see the following: IBM 3495 Introduction and Planning Guide , IBM 3495 Operator s Guide .
Chapter 2. O v e r v i e w
31
32
| | |
Supported 3590 models Number of tape drives Convenience I/O station High-capacity I/O facility External high-capacity I/O station Attachment (data path) Attachment (library control)
3590-B1A, 3590-A00 1 to 46 Yes Output only No Parallel , ESCON, SCSI-2 Parallel, ESCON, RS-232, LAN 24
| | |
AS/400, ES/9000, ESA-capable, S/390 Parallel Server, RISC System/6000, POWERparallel SP2, SUN No Yes Yes No No Yes Yes Yes Yes
ICL support Floating home cell mode Dual cartridge grippers Built-in manual mode terminal Dual Library Manager Remote Library Manager console Externally unlabeled tape support Stand-alone device function Remote power sequencing for AS/400 Notes:
1. Cartridge storage capacity is reduced by 1 0 % when the dual gripper feature is installed. 2. Parallel attachment is not supported for the IBM 3590. 3. Token-Ring and/or Ethernet 4. Only if dual cartridge gripper feature is installed 5. The Library Manager of the IBM 3494 can be used as a manual mode terminal in manual mode.
Chapter 2. O v e r v i e w
33
Supported distances The supported distance between a subsystem control unit and a host is limited by the communication protocols and the timing of the signals passed between the host and control unit. The IBM 3590 Tape Control Unit is designed to support a maximum ESCON channel distance of 60 km. However, with the current ESCON implementations a distance of only 43 km is possible (with an ESCON extended distance facility (XDF) channel, using a 20-km single-mode link to a director; a second 20-km single-mode link to a second director; and a final 3 km multimode LED link to the tape subsystem).
Logical paths An IBM 3590-A00 has two ESCON physical paths to an ES/9000 or S/390 Parallel Server host, each of which can have 64 logical paths, a total of 128 logical paths defined for the control unit. Only two of these paths can be concurrently active. Compare this with the IBM 3490-A20, for example, which has a maximum of eight ESCON physical paths to an ES/9000 host or hosts, each of which can have 16 logical paths giving a total of 128 logical paths defined for the control unit. Again, only two of these paths can be concurrently active. Note: Do not confuse the number of logical paths supported by an ESCON control unit with the number of paths that can be defined from a system image to a single device. The processor complex channel subsystem (CSS) determines the number of paths that can be defined between a system image and a single device. The number of paths to a device depends on the processor type and model. ES/9000 711-based processors, 520-based processors, and 511-based processors can define up to eight physical channel paths to a device. All other ES/9000 and ES/3090 processors can define up to four paths to a device. This limit is enforced by the I/O configuration program (IOCP) and the hardware configuration definition (HCD).
34
| |
| | | |
The IBM 3494 can contain up to sixteen control unit functions whereas the IBM 3495 currently can have no more than eight control unit functions. However, the IBM 3495 can be configured with more physical data channels (32) than the IBM 3494 (24).
2.5.5 Availability
If you are sharing and partitioning one IBM Automated Tape Library used by two or more host systems, higher availability is required, and some general configuration guidelines for disaster recovery apply. The Library Manager controls all activity within the IBM Automated Tape Library and manages the actual physical location of the volumes in the library. If the Library Manager is down, the IBM Automated Tape Library is not available, and all host systems cannot use its volumes. Therefore, we recommend that you install the dual Library Manager feature for the IBM 3495 and/or the second disk drive for Library Manager feature for the IBM 3494. These features provide higher availability of the Library Manager. The host system can use only those tape drives that are connected through the tape control unit. In each tape subsystem, if the control unit function fails, all attached tape drives become unavailable. We recommend that you configure the IBM 3494 or IBM 3495 to have two or more tape subsystems, and that each host system be attached to a minimum of two tape control units.
Chapter 2. O v e r v i e w
35
36
MVS/ESA using system-managed tape MVS/ESA using Basic Tape Library Support VM/ESA using DFSMS/VM MVS/ESA as a guest of VM/ESA VSE/ESA using VSE Guest support under VM/ESA VSE/ESA using Library Control Device Driver for VSE/ESA AIX/6000 and optionally using ADSM/6000 OS/400 and optionally using Backup Recovery and Media Services/400 Transaction Processing Facility (TPF).
We give brief information here on each environment and direct you to other publications for more information. We highlight the areas that may affect the sharing, or the partitioning (or both) of IBM Automated Tape Librarys. AIX/ESA Version 2 Release 2.0 and later releases, and SUN operating system (SunOS 5.x, Solaris 2.2 or later releases) can also support the IBM 3494, but we do not describe them in this book. If you are already familiar with the software environments in your situation, you may want to skip this chapter.
3.1.1 Overview
System-managed tape allows you to manage tape volumes and IBM Automated Tape Librarys using a set of policies that determine the kind of service that is to be given to the data sets on the volume. The automatic class selection (ACS) routines process every new tape allocation in the system-managed storage (SMS) address space. The production ACS routines are stored in the ACDS (active control data set). These routines allocate a set of classes to each volume that reflect your installation s policies for the data on that volume. The ACS routines also direct the volume to a storage group. The storage class routine determines whether or not a request is SMS-managed. If a storage class is not assigned, the request is not SMS-managed. For SMS-managed requests, the storage group routine assigns the request to a storage group. This determines which IBM Automated Tape Library are to be used. A tape storage group is a collection of tape drives that are located within
Copyright IBM Corp. 1996
37
one or more tape libraries. One to eight library names can be associated with the tape storage group. Tape storage groups can be associated with one or more tape libraries, but all volumes of a multivolume data set must be contained within a single library and a single storage group. For example, with system-managed tape you could:
Direct all of your offsite backup volume allocations to an IBM Automated Tape Library in an offsite protected location for disaster recovery. Ensure that all volumes for a particular application are written on 18-track tape drives without compaction.
The ACS routines are invoked for every allocation. Tape allocations are passed to Object Access Method (OAM), which uses its Library Control System (LCS) component to communicate with the Library Manager. See Figure 11.
38
Interactive Storage Management Facility (ISMF) to work with the tape libraries and library resident volumes, and alter the tape configuration database (TCDB) entries. The following are typical functions: Defining and Redefining tape libraries Displaying tape library attributes Altering tape library definitions Copying tape library definitions Deleting tape library definitions Listing tape libraries and volumes Displaying tape volumes Auditing tape volumes and libraries Altering tape volumes and libraries Ejecting tape volumes.
Note: Because Access Method Services (AMS) commands cannot change the Library Manager inventory in an IBM Automated Tape Library, ISMF should be used for normal tape library functions. The AMS CREATE, ALTER and DELETE commands should be used only to recover from volume catalog errors.
MVS operator command, LIBRARY, to reenable exits, eject volumes, query and set ICLs or ACFs, and display the status of tape drives. MVS operator command, DISPLAY SMS, to display library information or data about a volume DFSMSrmm RMM TSO subcommand to manage tape volumes in the tape library The programming interface provided by the LCS External Services macro, CBRXLCS, for example, to query the name and type of the tape library in which a volume resides The installationwide exits (CBRUXENT, CBRUXEJC, CBRUXCUA, CBRUXVNL) to manage entry, exit, change use attribute, and volume-not-in-tape-library handling. Use of these exits is optional, depending on how your tape management system implements its IBM Automated Tape Library support. The functions of these exits that are pertinent to sharing and/or partitioning are: Approving the entry of a volume entered into the IBM Automated Tape Library for this system s TCDB (CBRUXENT). Disapproving the entry of a volume entered into the IBM Automated Tape Library (CBRUXENT).
39
volume serial numbers in a separate VOLCATthat is, a specific volume catalogaids performance in accessing the TCDB. For a full description of setting up system-managed tape for an IBM Automated Tape Library see IBM 3495 Implementation Primer for MVS and MVS/ESA Storage Management Library: Implementing System-Managed Storage .
3.1.4 Considerations
Here are some points to consider when you use an IBM Automated Tape Library in a system-managed tape environment:
To use system-managed tape, DFSMS/MVS must be installed with the MVS/ESA operating system at level 4.3 or higher. MVS hardware configuration definition (HCD) uses the LIBRARY parameter to define drives configured to a tape library. A set of SMS systems can be grouped together by sharing SMS control data sets. This group is called an SMSplex. Up to eight SMS systems can be grouped together into an SMSplex when using DFSMS/MVS Version 1.1. DFSMS/MVS Version 1.2 introduced SMS system group name support to remove the eight-system limit in an SMSplex and allows up to 32 systems in a JES2 SMSplex. But that level of system group name support has some limitations, for example, it cannot be used in JES3 environments. DFSMS/MVS Version 1.3 introduced SMS 32-Name Support to remove the above limitations. SMS 32-Name Support requires JES3 Version 5.2.1 plus PTF (APAR OW12573).
| | | | | | |
There is no limit to the number of libraries that can be attached to one system-managed tape system, but a Tape Storage Group can span only eight libraries. Note: If your IBM Automated Tape Library Dataserver does have a IBM Magstar Virtual Tape Server installed, the Tape Storage Group which refers to the IBM Magstar Virtual Tape Server must not span any other library.
The TCDB is a control data set for SMS and must be shared in an SMSplex. Thus it is possible to allow access to a volume by more than one system in the SMSplex. All volumes should be SL (standard label) or AL (ANSI label) tapes. APARs OW01530 and OW02211 are available to support NL (nonlabeled) and BLP (bypass label processing) volumes for input processing and APARs OW05934 and OW06305 are available for output processing. These APARs have now been integrated into DFSMS/MVS V1.3. The following provide IBM 3590 Tape Technology software support: (The following are the minimum releases of software) MVS/ESA SP 4.3 + SPE MVS/ESA SP 5.1.0 + SPE MVS/ESA SP 5.2.0 + SPE JES3 4.2.1 + SPE JES3 5.1.1 + SPE JES3 5.2.1 + SPE DFSMS/MVS 1.2.0 or higher + SPE EREP 3.5.0 + PTF ADSM for MVS in a future release
40
Note: Toleration PTFs will be required for DFSMS/MVS 1.1.0 and DFSMS/MVS 1.2.0 without the IBM 3590 Support SPE when sharing an IBM 3494 or 3495 Automated Tape Library Dataserver with DFSMS/MVS 1.2.0 that has the IBM 3590 SPE installed. DFDSS V2.5 does not support the IBM 3590 but DFSMSdss 1.2.0 does.
The IBM tape management system DFSMSrmm (Removable Media Manager) interfaces fully with the Library Manager. DFSMSrmm is IBM s tape management system and is an optional feature of DFSMS/MVS. DFSMSrmm records all tape data set and volume information and provides utilities to perform expiration processing and vaulting; it retains information about volumes whether or not they are in a library, part of system-managed tape, onsite, or offsite. The program offering DFRMM is not supported by the system-managed tape environment. DFRMM is an IBM tape management system provided for MVS/DFP Version 3 users as an interim capability to allow migration to system-managed tape and DFSMSrmm. Many other vendors tape management system products also have exits that support the IBM Automated Tape Library. If you are using such a product, you should contact the relevant vendor and check which release provides this support.
3.2.1 Overview
BTLS offers support for IBM Automated Tape Librarys in MVS/ESA environments where system-managed tape is not available. System-managed tape may not be available for one of the following reasons:
The level of MVS/ESA is not high enough to support DFSMS/MVS (that is, lower than MVS/ESA Version 4.3). DFSMS/MVS is installed, but you do not want to implement system-managed tape at present. DFSMS/MVS is installed, but you do not want to migrate to HCD at present. DFSMS/MVS is installed, but you want to use more scratch pools at a level other than media type. (BTLS supports up to eight scratch pools.)
You must use BTLS for IBM Automated Tape Library support if you do not have system-managed tape implemented even though you may be using SMS to manage disks, to redirect tape data sets to disk (Tape Mount Management), or both. Please note that only system-managed tape provides the complete integrated support to fully manage the IBM Automated Tape Library. Should you choose to migrate to DFSMS/MVS system-managed tape environment from BTLS
Chapter 3. Software Environments
41
environment, please refer to Appendix D Migration to DFSMS/MVS in the Basic Tape Library Support Version 1 Release 1 User s Guide and Reference manual. BTLS provides the LIBRARY command for AMS to manage the interface to the Library Manager. There are other modifications to MVS/DFP to support IBM Automated Tape Librarys; for example, Dynamic Device Reconfiguration (DDR) ensures that when a drive is reallocated, the second drive is within the same library. See Figure 12 for an overview.
BTLS for MVS/DFP (JES2 Environments): DFP 3.1.1 + MVS/SP 2.2.3, MVS/SP 3.1.3 DFP 3.2.0 + MVS/SP 3.1.3, MVS/ESA 4.1.0, MVS/ESA 4.2.0 DFP 3.2.1 + MVS/SP 3.1.3, MVS/ESA 4.1.0, MVS/ESA 4.2.0 DFP 3.3.0 + MVS/ESA 4.2.0, MVS/ESA 4.2.2, MVS/ESA 4.3.0, MVS/ESA 5.1.0, MVS/ESA 5.2.0, DFP 3.3.1 + MVS/ESA 4.2.0, MVS/ESA 4.2.2, MVS/ESA 4.3.0, MVS/ESA 5.1.0, MVS/ESA 5.2.0 DFP 3.3.2 + MVS/ESA 4.2.0, MVS/ESA 4.2.2, MVS/ESA 4.3.0, MVS/ESA 5.1.0, MVS/ESA 5.2.0
BTLS for MVS/DFP 5655-057 (JES3 Environments): DFP 3.3.0 4.2.1 DFP 3.3.1 with JES3 DFP 3.3.2 with JES3 + MVS/ESA 4.2.0 with JES3 4.2.1, MVS/ESA 4.2.2 with JES3 (HDP3331) + MVS/ESA 4.2.0 with JES3 4.2.1, MVS/ESA 4.2.2 4.2.1 (HDP3332) + MVS/ESA 4.2.0 with JES3 4.2.1, MVS/ESA 4.2.2 4.2.1
42
DFSMS 1.1 + MVS/ESA 4.3.0, MVS/ESA 5.1.0, MVS/ESA 5.2.0 DFSMS 1.2 + MVS/ESA 4.3.0, MVS/ESA 5.1.0, MVS/ESA 5.2.0
BTLS for DFSMS/MVS (JES3 Environments): None. BTLS for DFSMS/MVS is not supported with JES3.
Notes:
BTLS requires PTF UW02439 when running under MVS/SP Version 2. BTLS requires the PTF for APAR OY63009 when running under MVS/SP Version 3 and MVS/ESA Version 4. BTLS for MVS/DFP (5655-057) requires the PTF for APAR OW11086 when running under MVS/ESA Version 4.3 or MVS/ESA Version 5.1. BTLS for DFSMS/MVS Release 1.1 (5655-056, BTLS FMID JDZ111S) requires the PTF for APAR OW11087 when running under MVS/ESA Version 4.3 or MVS/ESA Version 5.1. This PTF is included in the BTLS for DFSMS/MVS Release 1.2 base product (5655-056, BTLS FMID JDZ11BS). New functions introduced with the June 1995 release of BTLS for DFSMS/MVS 1.2 are supported on previous offerings of BTLS when the PTFs for APAR OW12877 (DFSMS/MVS 1.1) or APAR OW12886 (MVS/DFP 3.3) are applied. These PTFs also provide support for MVS/ESA Version 5.2.
Load the ICL/ACF with volumes from a particular category, or unload the ICL/ACF. Associate a particular scratch category of volumes with a particular tape device (so that only that category can be used on that unit), or reset the device to be associated with the installation s default category Assign a volume, or a set of volumes, to a particular category, by either direct command or using the IDCLI04 exit.
Allow communication with the Library Manager Support the new AMS LIBRARY command, which is used to perform operations that manage tape volumes Ensure that when a device is allocated for a volume mount, both the volume and device reside in the same library (in case of DDR). Ensure that reallocation of a device (for example, because of an unusable drive) is made within the same library.
BTLS provides exits that are documented in the Basic Tape Library Support Version 1 Release 1 User s Guide and Reference .
43
3.2.4 Considerations
Here are some considerations pertinent to sharing or partitioning an IBM Automated Tape Library managed by BTLS:
For additional information about JES3 support of BTLS, refer to 6.1.4, JES3 Considerations on page 121 and Washington Systems Center Flash #9525. Duplicate external volume serial numbers are now permitted: The new library option EXPDT9800 allows a duplicate of a BTLS library volume to be mounted on a drive outside the library. This allows you to allocate a drive outside the library for a volume serial that is defined as a library volume. When this option is used, and a JCL DD statement includes EXPDT=98000, BTLS will neither validate nor interfere with the allocation. Internal and external volume serial numbers must match. BTLS does not check that there is an internal label on the volume so nonlabeled (NL) tapes and bypass label processing (BLP) are supported. The IBM Automated Tape Library requires every volume to have an external volume serial number that is unique to that library. However, because all volume records are stored in the BTLS catalog, each volume serial number within the system must be unique. One BTLS system supports up to eight libraries, which must be called LIBn, where n is 1 to 8. There is no interface to allow the automatic update of BTLS records during the housekeeping functions of DFRMM or DFSMSrmm. Therefore you must update the BTLS catalog accordingly using the AMS LIBRARY command.
44
3.3.1 Overview
The removable media services (RMS) function of DFSMS/VM FL221 provides the IBM Automated Tape Library support in VM/ESA environments at Version 1, Release 2 and all higher levels. The RMS support code runs in a service virtual machine called the removable media services master (the default name is RMSMASTR). Based on requests from a user s virtual machine (the mount requestor will typically be your Tape Management system), RMSMASTR provides the following services:
Mounts a specific volume or a volume from a scratch category to a library tape device. Demounts a volume currently mounted on a specific device. Queries information about the IBM Automated Tape Library Dataserver resources, including volumes, devices, categories, and overall inventory. Associates a specific scratch pool with a library tape device and resets that association. Assigns a category to a specific volume.
In practice, when a user wants to use a volume inside the tape library the following sequence of steps (see Figure 13) is required:
1. A user sends a request (such as mount a volume) for a library function to RMSMASTR. 2. RMSMASTR uses the 3490 device specified on the request or attempts to find an available device if one was not specified. Notes:
If a specific device is requested and the device is not available, the request fails. If a specific device is not requested but an available device cannot be found, the request fails.
45
In a VM/ESA environment, communication between the host system control program (RMSMASTR) and the Library Manager uses the channel path of the tape drives inside the tape library. For processing the requests to the Library Manager, RMSMASTR requires the real tape device. If a real tape device is not specified, the RMSMASTR chooses a free real address of the tape drive. If no free drive is currently available, the request cannot be processed and must be tried again later. 3. If the specified device is available (or if one is free for a non-device-specific request), the device is attached to RMSMASTR, and the library control command is issued to the Library Manager through the device path. 4. Status is returned to RMSMASTR when the command completes. 5. If a free device was used and no mount request was issued, the device is detached. If it was a mount request, the device is detached from RMSMASTR with the LEAVE option to avoid rewind and unload and is attached to the requester. 6. The requester of the tape library device does its own data transfer. RMSMASTR is not involved. Access to the IBM Automated Tape Library is provided by an interface that includes both RMS commands (DFSMSRM) for interactive control and Callable Services Library (CSL) routines for program control. You can call RMS CSL routines (FSMRMxxx) from a program that is written in any of these programming languages:
REXX C Assembler COBOL (IBM COBOL II and OS/VS COBOL Program Products) PL/I VS FORTRAN VS Pascal.
RMS functions do not include tape management system services such as maintaining a removable-media inventory, performing tape-label verification, performing authorization access checks at the volume level, or managing and selecting tape drives. RMS functions are designed to interface with a tape management system. For systems without a tape management system, tape management system-like functions can be added by means of tailoring installation-wide exits.
Assign volumes to categories (either one volume or a list of volumes)DFSMSRM SET VOLCAT.
46
Assign a particular category of volumes to a tape driveDFSMSRM SET DEVCAT. You would usually use the SET DEVCAT to assign a category of scratch volumes to a tape drive equipped with an ICL/ACF. The idea is that scratch performance is increased by getting the scratch tapes preloaded into the ICL/ACF. In a IBM 3494, which has no ICL/ACF, the command still worksthe tape drive simply becomes reserved for use by only that category. (By default, at the end of this command the tape drive is not attached to any user; however a command option can attach the tape drive to the command issuer or another user ID.) Query the library s inventoryDFSMSRM Query LIBrary (potentially this could be all volumes in a library). Assign a volume to a category. Perform security checking by means of a supplied exit.
For more information on RMS see the VM/ESA DFSMS/VM FL221 Removable Media Services User s Guide and Reference .
3.3.4 Considerations
Here are some points to consider when you use the IBM Automated Tape Library in a VM/ESA environment.
DFSMS/VM must be at Function Level 221. VM/ESA must be at Version 1 Release 2 or higher. RMS does not check that the internal label of a volume matches the external label. An installation-wide exit, FSMRMSHR, provides the facility to check that a request is for a volume or category that the requester is allowed to use. This exit should be used when you are sharing the library between more than one system.
47
Automatic insert processing does not immediately occur when a volume is put into the input station because RMSMASTR cannot receive unsolicited interruptions of cartridge insertion without a tape drive attached. RMSMASTR periodically queries the insert category to find out whether there are volumes in it. Automatic insert processing occurs when the insert category is not empty and The RMSMASTR service machine is initially started. The RMSMASTR service machine is restarted. A valid MOUNT command is received by the RMSMASTR. A valid SET DEVCAT command is received by the RMSMASTR.
In the last two cases above, automatic insert processing is totally independent of the actual command issued except that the command must be valid. Automatic insert processing itself uses a different tape device address which is selected by the RMSMASTR. If an unused tape device address is not available when insert processing starts, it will not continue. Because insert processing will most likely start before the MOUNT (or SET DEVCAT) finishes with its tape device, another device must be available for this insert processing. If a device is not free, the user can move volumes from the insert category to the category of choice by using the SET VOLCAT BULK command. Note: You can disable automatic insert processing simply by not having an automatic-insert file of the name RMBxxxxx DATA. You may want to disable automatic insert processing on a particular VM/ESA system when you share your IBM Automated Tape Library Dataserver with multiple VM/ESA systems.
It is not possible to create an SMSplex between a VM/ESA system and an MVS/ESA system. RMS does not provide tape management functions. (There are a number of software vendor products that provide VM tape management functions.) But it is possible to use the Programmable Operator (PROP) facility of VM to intercept commands to the operator interface originating from a tape management system. PROP can then redirect the commands to RMS for processing. Additional information can be found in Lights Out! Advanced Tape Automation Using VM/ESA . The following provide IBM 3590 software support: VM/ESA Version 2 EREP 3.5.0 + PTF DITTO/ESA Release 1 ADSM for VM in a future release.
48
3.5.1 Overview
When a VSE/ESA guest machine uses a tape drive in the tape library, the tape drive must be attached to that machine and the tape volume must be mounted on the drive. Because VSE/ESA as a virtual machine cannot communicate with the Library Manager to request a tape mount, RMSMASTR must attach the tape drive and mount the volume. VSE/ESA cannot use RMSMASTR directly, however, because RMS functions run only in CMS mode. Therefore the VSE/ESA guest typically uses the CMS service machine called the VSE Guest Server (VGS) to communicate with RMSMASTR. Some vendor tape management support scenarios do not use VGS. VGS uses the standard facilities of RMS to interact with the IBM Automated Tape Library. VSE/ESA communicates with VGS through an application programming interface (API) provided by the LBSERV macro of VSE/ESA. The library control API uses VSE s cross-partition communication (XPCC) capability to invoke APPC/VM to communicate with VGS. RMSMASTR handles all requests to the Library Manager. VSE/ESA uses tape drives inside the library in the same way it uses drives outside the library. This operation is the same as in VM/ESA native support. To enable VSE/ESA guest support on VM/ESA, PTFs to both VSE/ESA and VM/ESA provide an API in VSE/ESA and the VGS. Please note that the VGS is only a way of communicating between RMSMASTR and the VSE/ESA guest machine. There is no direct interface from the VGS to the IBM Automated Tape Library and the tape drive inside the library. Figure 14 on page 50 shows the VSE/ESA guest support of the IBM Automated Tape Library. Although only a single VSE/ESA guest machine is shown in the figure, you can have multiple VSE/ESA guests sharing one VGS machine.
49
VGS supports a full set of library functions, including inventory functions, which entail reading and updating inventory lists that reside on VSE/ESA as Librarian members. Because the interactions required for processing the inventory functions are elaborate and may be long-running, a secondary VGS service machine for inventory support is required to exploit these functions on the CMS side. In addition, a Librarian Server runs in a VSE/ESA partition. Figure 15 on page 51 shows the flow of an inventory request. 1. The inventory request is sent by means of the LBSERV macro API from the VSE/ESA guest to the VGS. 2. The VGS presents the inventory request to the Inventory Support Server machine. 3. The Inventory Support Server requests the Librarian Server on VSE/ESA to read a Librarian-managed file in the VSE/ESA Librarian files and gets the result. 4. The Inventory Support Server sends the request to RMSMASTR. 5. RMSMASTR sends the request to the Library Manager and gets the result. 6. RMSMASTR returns the result (inventory list for query, result for changing volume category) to the Inventory Support Server. 7. The Inventory Support Server sends the result to the Librarian Server on VSE/ESA, and the Librarian Server writes a new copy of the Librarian file. 8. The Inventory Support Server notifies the VGS that processing is complete. 9. The VGS replies to the LBSERV macro request.
50
Query a volume, checking a single library Query a volume, checking all attached libraries Query a category count Query status of the IBM Automated Tape Library Query status of a drive Mount a volume Mount from category Release a drive Cancel a mount
51
Eject a volume Set a volume category Query the inventory Manage the inventory.
Note: VGS uses the Inventory Support Server as a secondary VGS when processing the above Query/Manage Inventory requests. An interface for explicit demount is intentionally not provided. The IBM Automated Tape Library automatically queues demount operations at rewind-unload time. The VGS is given privilege class B in order to perform these functions and to attach and detach tape drives to and from VSE/ESA.
3.5.4 Considerations
Here are some points to consider when you use VGS:
The API support in VSE/ESA is provided by PTFs associated with APAR DY43306 on top of VSE/ESA Version 1.3.5. The VGS support in VM/ESA is provided by PTFs associated with APAR VM58436 and VM58787 for DFSMS/VM FL221. It is possible to have multiple VSE/ESA guests sharing one VGS machine. A VGS machine can manage more than one IBM Automated Tape Library. VSE/ESA guests have access to the same set of scratch pools that RMS uses. VSE/ESA can cause volumes to be ejected from the library by direct command and can change the category of volumes in the insert category. However, a VSE/ESA guest lacks the capability to be automatically notified that new volumes are being inserted, and there is no IBM-provided mechanism to check whether new volumes are inserted.
52
IBM-supplied tape management system products are not available for VSE/ESA.
3.6 VSE/ESA Native Support Using Library Control Device Driver for VSE/ESA
In this section we describe the support for the IBM 3494 provided in a native VSE/ESA environment using the Library Control Device Driver (LCDD) for VSE/ESA.
3.6.1 Overview
Unlike the IBM Automated Tape Library support of VSE/ESA as a VM/ESA guest machine, the VSE/ESA native support requires the LAN attachment feature of the IBM 3494 to communicate with the Library Manager. The token-ring or Ethernet can be used for the LAN. In this environment, the VSE/ESA host uses tape drives inside the tape library in the usual way through ESCON or parallel channels. The VSE/ESA program uses this channel path for normal tape device operations. For library control, the LCDD for VSE/ESA is required. LCDD runs an application program in a VSE/ESA partition and communicates with the Library Manager by using VTAM APPC (LU6.2) through a LAN. The LBSERV macro API is provided in VSE/ESA to communicate with the Library Manager through the LCDD. See Figure 16 on page 54. There are five interfaces to the LCDD:
LIBSERV ARs LIBSERV JCL statements LBSERV API MSG operator command Batch program LCABAT.
The LCDD interfaces enable the mounting of cartridges, managing the inventory, and retrieving IBM 3494 information. For mount services, specific volume (PRIVATE) mounts and 32 scratch pools (SCRTCH00 to SCRTCH31) are supported. Users can set a default scratch pool by specifying an LCDD control statement. Automatic insert processing is optional and can be specified by an LCDD control statement with a target category. Users can also dynamically change the automatic insert processing through an MSG operator command. In addition to this, disposition of inserted volumes can be handled by the tape management system product through the LBSERV API, or by LCABAT batch jobs that specify a list of volumes. Ejecting or changing the category of cartridges can be handled on an individual volume basis or by specifying the file name of a list of volumes to be processed. Query functions return status information about IBM 3494 tape units and cartridges and the IBM 3494 Library Manager. Library member files of a VSE/ESA Librarian facility are created when inventory lists are requested. The library member files can be used, in turn, as volume lists for other processing requests. An inventory list for the entire IBM 3494 serves as a point in time host backup of the IBM 3494 status of tape processing. This list is potentially useful for recovery purposes because there is no permanent tape inventory data set on VSE/ESA as there is in DFSMS/MVS and BTLS systems.
53
When jobs running on VSE/ESA are to use the 3494, typically the tape management system product gets control at data set OPEN time and requests the tape mount. Depending on the sophistication of the tape management system support of the 3494, the mount is requested by means of the LBSERV API. A tape management system may help this operation, but IBM does not provide a tape management system for VSE/ESA. Therefore you should ask the software vendors who offer tape management systems for VSE/ESA products.
54
The tape units and library names are held in the LCDD initialization deck.
3.6.4 Considerations
Here are some points to consider when you use the LCDD for VSE/ESA:
Native VSE/ESA supports the IBM 3494 only. VSE/ESA Version 1.3.5 with relevant PTFs is required (please see the Preventive Service Planning bucket for such information). The LCDD for VSE/ESA is provided by the no-charge feature code 9203 on the IBM 3494. One of the LAN adapter features is required for the IBM 3494the choice is Ethernet (5220) or token ring (5219). It is possible to mount volumes in any of the scratch categories. All volumes in a library are potentially accessible by VSE/ESA. In a shared environment the tape management system on the VSE system must provide protection to prevent erroneous access of another system s volumes. IBM does not provide a tape management system for VSE/ESA. Any other vendor s tape management system must be able to use the LBSERV API of the LCDD. VSE/ESA with the LCDD can be run as a guest of VM/ESA. DFSMS/VM is not required in this environment. The batch program interface, LCABAT, should not be used to mount a volume. The following provide IBM 3590 software support: VSE/ESA Version 2 EREP 3.5.0 + PTF ADSM for VSE in a future release DITTO/ESA Release 1.
3.7.1 Overview
In a RISC/6000 environment there are three types of supported channel attachments for the 3490 tape subsystems: ESCON, parallel, and SCSI. If using parallel or ESCON channels, the RISC/6000 uses the same path for library control commands and data transfer (see Figure 17 on page 56).
55
Figure 17. AIX/6000 and I B M 3494/3495 I B M Automated Tape Library: ESCON/Parallel Channel Attachment
If the tape drive is attached using SCSI channels, the data is sent via the SCSI path but the library control commands are sent via an RS-232 or LAN connection to the Library Manager (see Figure 18). The LAN physical link is token-ring or Ethernet.
Figure 18. AIX/6000 and I B M 3494 I B M Automated Tape Library: SCSI Attachment
56
For ESCON attachment, the ESCON Channel Tape Attachment/6000 is required on the RISC/6000 to provide device drivers for both the tape device and Library Manager. These device drivers are available as the feature code 2754 (S/390 ESCON Channel Emulator) of the RISC/6000. For parallel channel support, the Parallel Channel Tape Attachment/6000 is required on AIX/6000. This program is available as PRPQ 5799-QDA or as feature code 5224 (AIX Parallel Channel Tape Attachment/6000) of the 3494. In the case of SCSI, feature code 5212 (RS-232 RISC/6000 Host Attachment) of the 3494 is required. This feature contains the AIX Enhanced SCSI device driver (for the data path) and the RS-232/LAN device drivers (for the library manager command path) in addition to the hardware feature on the 3494. Although all of the above device drivers differ, the APIs are same. Communication with the Library Manager is achieved using either the AIX system calls provided or ADSM/6000. RISC/6000s can be networked together to share the IBM Automated Tape Library functions through one machine. This approach could be used, for example, to provide a common backup and restore function. The machines could use basic support or ADSM/6000.
Change the category of a specified volumeMTIOCLSVC Reserve a category for a specified hostMTIOCLRSC Release a category for a specified hostMTIOCLRC.
An easy-to-use AIX command is provided with the tape library device driver to control the tape library, tape drive, and the tape volumes. This command is called by MTLIB. The full syntax of these and other library device driver commands can be found in the IBM SCSI Tape Drive and Library Device Drivers Installation and User s Guide and AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide . ADSM/6000 provides various functions to manage the IBM Automated Tape Library. Of most interest here is UPDATE LIBVOLUME, which allows the change of a volume s category (from PRIVATE to SCRATCH or SCRATCH to PRIVATE).
57
3.7.4 Considerations
Here are some points to consider when you use AIX/6000 with the IBM Automated Tape Library:
The basic level of support is provided in AIX Version 3 Release 2.0 for AIX/6000. There are various dependencies of software levels and hardware; each situation must be checked individually. In an ADSM/6000 environment, Release 2 is required. Using the library device driver, it is possible to use as many volume categories as desired. The volume categories can be assigned by specifying a Library Manager number, and not by a generic name such as SCRATCHx. The library device driver is not written to use a particular range of volume categories. With ADSM/6000 you explicitly state which volume categories are assigned for it to access in the IBM Automated Tape Library. Once you have done that, it uses two: SCRATCH and PRIVATE. It provides management functions to return volumes to scratch once they are empty of unexpired data. In both the library device driver and ADSM/6000 environments, securing the commands is vital to avoid erroneously mounting a volume that belongs to another system. The following provide IBM 3590 software support. AIX/6000 3.2.5 AIX/6000 4.1.1 ADSM for AIX/6000 Version 1.2.1 or later IBM Client Input Output/Sockets (CLIO/S) Remote Tape Application Interface (RTAPI) service offering REELlibrarian Release 4.2 NSL UniTree Release 2.1
3.8.1 Overview
The AS/400 attaches to a IBM 3494 with one connection for the Library Manager and one or more connections for the tape drives. The Library Manager connection, for routing library control commands, uses a communications line. This connection can be either RS-232 or LAN, the LAN physical link is either token-ring or Ethernet, the protocol on the LAN can be APPC only. The tape drive connection could be a parallel channel or SCSI attachment.
58
The term for an IBM Automated Tape Library in this environment is a Media Library Device. Thus the basic driver is called the Media Library Device Driver (MLDD). In this environment it is probable (and desirable) that there will be some sort of tape management system, such as BRMS/400. See Figure 19.
59
If more than one AS/400 is sharing an IBM 3494, these systems can be defined in BRMS/400 as being in a network group . The network group enables a common scratch pool to be used by all AS/400s in the group. This means for instance that a request for a scratch volume on system A will be fulfilled by BRMS/400 by issuing the MLDD command to mount a volume. As BRMS/400 knows which volumes are in scratch status, it decides which volume is to be mounted to fulfill the request. For example, system TUC400A could use a special category of volumes called *SHARE400 (which is defined upon installation of MLDD). A second system (for example, TUC400B) could also access this same category. Each system is notified of any changes to the IBM 3494 s contents by another system in the network group. With BRMS/400, the systems share a common media inventory.
3.8.4 Considerations
Here are some points to consider when you use the IBM Automated Tape Library in OS/400 environment:
There is no IBM 3495 support for AS/400, because you cannot connect anything to a IBM 3495 that requires a library control path to the Library Manager. Up to 16 AS/400s can share an IBM 3494. An explanation: The maximum number of data path connections to the IBM 3494 is 16 (two per the eight control unit functions). The maximum number of Library Manager connections is: eight if all are RS-232 connections 256 if all are LAN connections four RS-232 and 256 LAN connections if mixed. This is because the maximum number of RS-232 connections is reduced from eight to four when the Library Manager has a LAN card installed.
So the limiting number is the 16 data path connections. Using an IBM 3490E tape configuration could get you 16 tape drives, one for each of the attached AS/400s. Using an IBM 3590 tape configuration, you would get only eight tape drives, which would have to be manually switched for the 16 attached AS/400s to share them.
You can usually daisy-chain multiple processors from a SCSI channel on the IBM 3590-B1A tape drive. AS/400 systems are the exception: an AS/400 cannot be on a SCSI bus with any other processor. A single AS/400 system can be connected to multiple tape drive controllers. However, a single AS/400 system cannot be connected twice to the same tape drive controller, as this creates a serial number conflict and results in nonfunctional drives. Such a scenario would be evident during an IPL. You must not use the Electronic Communications Adapter on the AS/400 system as a connection to the Library Manager in the IBM 3494. It is reserved for obtaining electronic customer support. The number of IBM 3494s that can attach to one AS/400 is determined by the hardware attachment capability of the AS/400 (for example, tape and communications I/O processors). OS/400 Version 2 Release 3.1 or later is required to support the IBM 3494. MLDD is shipped with the IBM 3494. BRMS/400 is available as a separate product. IBM recommends that you use this or an equivalent product to manage the volumes in an IBM 3494.
60
BRMS/400 Version 2 Release 3 or later supports the IBM 3494. It must be installed on all systems in a group of multiple AS/400s in order to be able to synchronize the common media inventory. More information about the use of BRMS/400 can be found in the Backup Recovery and Media Services/400 Implementation Tips and Techniques , which includes a chapter on setting up an IBM 3494 with BRMS/400. The following provide IBM 3590 software support: OS/400 Version 3 Release 1 with PTF and subsequent releases BRMS/400 Version 3.1 with PTF ADSM for OS/400 Version 1.2 with PTF Report/Data Archive and Retrieval System (R/DARS) Version 1.3 for OS/400.
3.9.1 Overview
The TPF Control Program as well as a number of new and modified TPF E-type programs support the IBM 3494 and 3495 tape libraries. The support is limited to a command-based interface. There is currently no IBM tape management system for TPF.
Fill
Note: The TPF system handles all subsequent LOAD requests without additional operator intervention, so although continual library requests are being issued, there is only one ZTPLF command.
61
More information about the use of ZTPLF functions can be found in the Transaction Processing Facility Operations Guide . For more information on TPF in general, please see Transaction Processing Facility General Information .
3.9.4 Considerations
Here are some points to consider when you use the IBM Automated Tape Library in a TPF environment:
Reserving a tape category does not prevent another host from using that category. It is the users responsibility to monitor the use of reserved categories. There is currently no IBM Tape Management System for TPF. There is no Automatic Insert Processing provided within TPF. To attach the IBM 3494 or 3495 tape library, TPF3.1 must be upgraded using PTF20. The software requires the TPF C feature so this must be present in the system. TPF4.1 will require PUT01 which will be available later. TPF4.1 contains the C support as standard.
Support for the IBM 3590-A00 attached to an IBM 3495 is provided in TPF via ESCON channel attachment. TPF 4.1 plus PTFs is required
62
Sharing a single library or multiple libraries by sharing volumes and, in specific environments, drives Partitioning a single library or multiple libraries by logically dedicating volumes and drives to a system or a system complex.
We explain both alternatives in Section 4.3, Partitioning on page 73 and Section 4.4, Sharing on page 74. Before we explain sharing and partitioning in detail, however, we want you to understand how the different host volume groups are mapped to the unique Library Manager volume categories.
63
X FFFA
X FFFB
X FFFC X FFFD
X FFFE
All other categories between X FF00 and X FFFE are reserved categories for use by the Library Manager. Categories between X 0001 and X FEFF are for general programming use and can be assigned by the hosts.
4.1.1.2 DFSMS/MVS
DFSMS/MVS categorizes its volumes in five different groups. MEDIA1 Scratch cartridge system tape (CST) Library Manager volume category: X 0001 MEDIA2 Scratch enhanced-capacity cartridge system tape (ECCST) Library Manager volume category: X 0002 MEDIA3 3590 technology scratch tape Library Manager volume category: X 0003 ERROR Scratch volumes for which the software detected an error during processing Library Manager volume category: X 000 E
64
PRIVATE
Private volumes that contain data or are assigned to a specific user Library Manager volume category: X 000 F
4.1.1.4 DFSMS/VM
DFSMS/VM uses the following volume categories: SCRTCH0 to SCRTCHF Volumes residing in 1 of 16 scratch volume categories Library Manager volume category: X 0080 to X 008 F VOLSPECIFIC Private volumes that contain data or are assigned to a specific user Library Manager volume category: X FFFF
65
PRIVATE
Private volumes that contain data or are assigned to a specific user Library Manager volume category: X FFFF
4.1.1.6 AIX/6000
Within AIX/6000 there are no predefined volume categories. You can use the MTLIB program to reserve or release a specific volume category. Several categories may be reserved for the same host: Example Example mtlib -l /dev/lmcp0 -r -#XXXX -hhostid, to reserve, where XXXX is the category to be reserved for the specified hostid. mtlib -l /dev/lmcp0 -R -#XXXX -hhostid, to release For an overview of mtlib commands, please refer to AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide , and IBM SCSI Tape Drive, Medium Changer, and Library Device Drivers Installation and User s Guide . However, if you want to access your IBM Automated Tape Library from other platforms, we recommend not using volume categories you know are used by other platforms. For an overview of volume categories please refer to Appendix A, Library Manager Volume Categories on page 177. If you are using ADSM/6000, default categories are automatically assigned to scratch and private volumes. These categories are: PRIVATECAT 300 (equals X 012 C) This category is used for both IBM 3490 and 3590 ADSM private volumes. SCRATCHCAT 301 (equals X 012 D) This category is used for IBM 3490 ADSM scratch volumes. (implicit) 302 (equals X 012 E) This category is used for IBM 3590 ADSM scratch volumes. These default values may be changed at the installation of the library using the DEFINE LIBRARY command. They cannot be updated once the library is defined. Example DEFINE LIBRARY library_name LIBT=library_type DEVI=/dev/lmcp0 SCRATCHCAT=xxx PRIVATECAT=yyy
The volume categories specified in the DEFINE LIBRARY command (xxx and yyy) are decimal. Only one scratch volume category for the IBM 3490 can be specified in the DEFINE LIBRARY command. The scratch volume category for IBM 3590 is automatically assigned the category whose number is one number higher than the IBM 3490 scratch volume category. For authorized categories and use of ADSM commands, please refer to Appendix A, Library Manager Volume Categories on page 177 and ADSTAR Distributed Storage Manager for AIX Administrator s Reference Version 2 .
66
4.1.1.7 OS/400
OS/400 categorizes its volumes in the following groups: *SHARE400 Volumes that can be shared by all AS/400 systems attached to the IBM Automated Tape Library Library Manager volume category X 0100 *NOSHARE Volumes that can be mounted only by the owning AS/400 system Library Manager volume category: X 0101 userdefined Volumes assigned to dynamically created volume categories in order to group them logically. When using BRMS/400 to manage the 3494, these would typically not be used. Library Manager volume category: above X 0101.
4.1.1.8 TPF
Within TPF there are no predefined volume categories. You can use the ZTPLF Reserve function to obtain and reserve a general-purpose volume category from the Library Manager that is not already being used. You can then use the ZTPLF Move function to assign cartridges to that category, or to any other general purpose or host-specific category.
67
An MVS host would reject the first request, because it is a specific request for a scratch tape. The second request (mount a scratch CST) is correct. MVS does not use the third request because it is a nonspecific request for a private volume. When a request to change a volume s category is issued, the library manager only verifies whether the source category of the volume matches, if the volume is currently assigned to the insert category.
MVS with DFSMS/MVS The Library Control System (LCS), part of the OAM, assigns a status of either PRIVATE or SCRATCH, depending on the definitions in the default data class or the DFSMSrmm control data set. If a status of SCRATCH is assigned, the volume is placed in the MEDIA1, MEDIA2 or MEDIA3 category based on the media type.
68
During insert processing, the CBRUXENT installation exit is invoked to finally determine whether a volume is ignored, rejected, or inserted. If you use a vendor s tape management system that provides its own CBRUXENT installation exit routine, you should check that the routine can change the insert processing as described above. You can change a volume category from SCRATCH to PRIVATE and vice versa through DFSMSrmm, ISMF, or the external macro interface, CBRUXLCS.
MVS with BTLS There is no automatic processing in a BTLS environment. The AMS LIBRARY command must be used to assign a status of PRIVATE or to direct the volume into one of eight scratch pools.
DFSMS/VM The volumes can be assigned to a scratch or volume-specific category in one of two ways: Manually, by invoking an RMS interface function Automatically, by using automatic bulk processing, which is initiated without human intervention when volumes are detected in the insert category.
Processing is performed on the basis of an on-request bulk processing file for manual category assignment or an automatic-insert bulk processing file for automatic category assignment. These files list the volume labels or ranges of volume labels, the categories to which the labels are to be assigned, and an optional source category.
VSE/ESA Library Control Device Driver As in a DFSMS/VM environment, insert processing in a VSE/ESA environment can be performed manually or automatically. You can use the Set Volume Category request to transfer a specified volume from the insert category to either the PRIVATE or any scratch category. On native VSE systems, automatic insert processing can be defined during startup of the VSE library control application together with volume labels and their target categories of PRIVATE or one of the 32 scratch categories. On VSE guest systems, the automatic insert processing is carried out by the VM host.
AIX/6000 The INSERT (X FF00) category is automatically assigned to a newly inserted cartridge. This assignment is maintained until a host command changes the category. Under AIX, you can easily assign a new volume category to a cartridge with the following command : Example mtlib -l /dev/lmcp0 -Vvolser -ttarget_category For a list of volume categories, please refer to Appendix A, Library Manager Volume Categories on page 177. For an overview of mtlib command, please refer to AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide , and IBM SCSI Tape Drive, Medium Changer, and Library Device Drivers Installation and User s Guide .
69
If you decided to reserve a specific category for your cartridges to be used by the AIX host, then you have to change the category manually, using the command described above, after the cartridge has been inserted in the library. If you insert an ADSM cartridge in the IBM Automated Tape Library, the CHECKIN process will ask you to assign to the cartridge the category (SCRATCH or PRIVATE) associated with this volume serial number in the ADSM database. Any mistake in this CHECKIN operation, will be corrected by an AUDIT DB command.
OS/400 BRMS/400 provides facilities to enroll newly inserted volumes into the BRMS/400 media inventory. Enrolling the volume will change its category from *INSERT to *SHARE400 or *NOSHARE, depending on the share attribute of the new media class that BRMS will assign to the volume. You must use the ADDMLMBRM command to enroll newly inserted volumes; there is no automatic insert processing. If you do not use BRMS/400, you need to issue an ADDTAPCTG command for each cartridge to change the category from *INSERT to a usable category. You can also use the work-with-tape-cartridge display (WRKTAPCTG command) to change the category of a cartridge. The relevant MLDD commands are INSMEDMLD for insert, and CHGMEDMLD to change the media. There is no automatic insert processing in the MLDD.
TPF There is no automatic insert processing in a TPF environment. The ZTPLF Move function must be used to assign a usable category to cartridges in the insert category.
70
The Library Manager database contains one record per volume that resides in the IBM Automated Tape Library. The information listed in Figure 21 is not the complete information contained in the Library Manager database. We show only volume serial number and volume category. The host inventories contain only those volume serial numbers that belong to the volume categories that each host uses. Notice volume C11411, which resides in the insert category. Because it does not belong to the volume serial numbers used by one of the hosts, it has not yet been processed by a host. At a later time, one of the host systems must assign the volume C11411 to a volume category that allows the volume to be used on the host system. The term sharing refers to different hosts accessing a common set of volumes and, potentially, drives. Figure 22 on page 72 shows the sharing of an IBM Automated Tape Library between two MVS systems.
71
The two MVS systems share an IBM Automated Tape Library by means of a shared host inventory. Both systems have access to the same set of information and volumes. Volume C11411 is still in the insert category because it has not yet been processed by any attached system.
4.2.1 Drives
The IBM 3490, 3490E, and 3590 tape drives included in the IBM 3494 and 3495 Tape Libraries are attached to the different hosts just like other nonlibrary tape drives. Because only one host system at a time can use a drive, the drive needs to be dedicated to that host during processing. Sharing of drives can be seen as the dynamic assignment of tape drives to different hosts.
72
Process the internal tape labels on the sharing hosts Read the code in which data is written onto tape Ensure that only one host at a time will access a particular cartridge Ensure that the other host s control data set is updated in case its status or location is changed by another host system.
We discuss sharing of private volumes in more detail in 4.4, Sharing on page 74.
4.3 Partitioning
Dividing one or more libraries into logical libraries is the easiest way to allow different hosts to access them. Each host or complex owns its own set of drives and volumes, which another system or complex cannot access without manual intervention. Each system knows only about its part of the library. Below we discuss general considerations regarding partitioning.
73
In a partitioned library, you can dynamically switch drives only within the same partition. If you manually reassign a drive to a different system, special attention has to be given to drives equipped with Integrated Cartridge Loaders (ICL) or IBM 3590 Automatic Cartridge Facility devices (ACF). Until you assign a new category to a drive, the Library Manager does not know about it. After you set the drive online to the new system, you need to assign a new volume category to that drive in order to have the Library Manager load the ICL or ACF with the volumes of the appropriate category.
4.4 Sharing
True sharing of an IBM Automated Tape Library means that the attached hosts have the same access to all volumes in the tape library. You can achieve sharing by sharing the host control data set, tape management system inventory, and usually the catalogs between the attached hosts. In general, these requirements can be met only in a single-platform environment. Under special circumstances, you can share private volumes. We explain sharing of private volumes in Chapter 5, Implementation in a DFSMS/MVS Environment on page 87 through Chapter 10, Implementation in Other Environments on page 171.
74
Do all sharing systems share the host inventory? If all systems sharing volumes in a library share the host inventory, they have access to the same information, and most of the questions that follow are inapplicable. If they do not share the inventory, you will need to introduce additional rules and procedures.
Do all systems have access to the catalogs? If you are keeping tape data sets based on catalog entries, all systems sharing volumes need to have access to the system s catalog structure.
Who is the volume owner? When a volume is accessible by different systems, one of those systems is the owner of a volume (usually the system that created the volume). Only the owning system should initiate any status or location changes for a particular volume.
Who does insert processing? When a volume is inserted into a library, all attached hosts are informed about one or more volumes in the insert category. Only one host can do the insert processing for a particular volume. After the volume has been assigned a new category, subsequent requests to assign a category will fail, because the volume s source category is no longer the insert category. Therefore, it is essential that insert processing follow a common logic for all sharing hosts by assigning identical target categories.
Do all systems share the tape management system s control data set? If you are not sharing the control data set of your tape management system, or if you are using different tape management systems on different systems, you will need to communicate changes to other systems.
Who does expiration processing? The tape management system usually does expiration processing. You need to ensure that a host does not return another host s private tapes to scratch. If multiple systems are sharing a tape management system s inventory, it might be a good idea to have only one host do the housekeeping.
How are the other hosts informed about status changes of a volume? In cases where you are sharing volumes without actually sharing the same host inventory, it is essential to inform other hosts about status changes of a volume. Status or location changesfor example, ejecting a volume from the librarymade by one host will usually be reflected only in the Library Manager s database.
75
The same considerations apply for sharing among multiple BTLS systems. If you want to share your volumes, you need to share the BTLS catalog so that all attached BTLS systems have identical information about volume status.
4.4.2.1 Drive
Drive sharing is the same for library-resident and stand-alone drives. You can share tape drives in an MVS/JES3 environment. To share tape drives in an MVS/JES2 environment, use MVS/ESA Version 5 Release 2 switchable tape-device support in a parallel sysplex. This shared tape support requires a coupling facility to share global allocation status and serialize device selections. Tape drives must have the Assign/Unassign hardware feature to be automatically switchable; the IBM 3490, 3490E, and 3590 tape subsystems have this feature, the IBM 3420 tape subsystem does not. Assign/Unassign processing is different for automatically switchable tape devices: a tape drive can be online but not assigned to a system. The drive becomes assigned only when it is allocated. This MVS/ESA Version 5 Release 2 switchable tape-device support is also applicable to MVS/JES3 installations that do not use JES3 to manage tapes. To reassign tape drives to another system, the same considerations apply as discussed in 4.3.2, Drive Assignment and Cartridge Loading on page 73.
4.4.3 VM Environments
Sharing in a DFSMS/VM environment is provided by means of an installation exit and a control file listing the volumes that are accessible by a single system and by all systems. DFSMS/VM also allows sharing of tape drives among multiple systems.
76
By assigning a category to a drive, you can preload cartridges of the assigned scratch pool in the ICL/ACF cartridge loader of that device in the IBM 3495. When the tape drive is detached, the association of device category and tape drive is lost.
77
78
To dedicate a tape drive to a specific host system in a multihost system environment, use the host system commands that control tape drive assignment. In the case of MVS, the user must use the VARY operator command. For AIX, the user can use several commands to control the tape drives: mkdev , rmdev , assign, and tapeutil. In MVS and VM, the VARY ONLINE operator command internally issues the ASSIGN I/O command (CCW) to the tape drive. The VARY OFFLINE operator command internally issues the UNASSIGN CCW to the tape drive. The mainframe systems, MVS, VM, and VSE, use only the ESCON or parallel channel interface. AIX, however, can use the tape drives through both SCSI and ESCON or parallel channel interfaces. The AIX tapeutil command is for SCSI-attached tape drives, and the assign command is for ESCON- or parallel-channel-attached tape drives. Therefore, the assign command issues the ASSIGN and UNASSIGN CCWs, and the tapeutil command issues RESERVE and RELEASE SCSI I/O commands. In the next section, we describe the commands that control tape drive assignment. Please check the jobs running on the host system before changing the status of a tape drive.
| |
V {(device_number(,device_number)...)},{ONLINE} {OFFLINE}
Figure 23. MVS/ESA VARY ON and OFF Operator Commands
device_number A device number is three or four hexadecimal digits, optionally preceded by a slash (/). You can precede the device number with a slash to prevent ambiguity between the device number and a console name. ONLINE The system is to bring the specified device or ranges of devices online, that is, make the devices or ranges of devices available for users on the system. In a system-managed tape library, if the tape drives within the library were placed offline with both the VARY device and VARY SMS commands, then you must issue both commands to place those devices online. The system offline, that unavailable currently in terminate. is to take the specified device(s) or range(s) of devices is, make the device(s) or range(s) of devices for users. The system takes offline any device that is use only after all the users to which it is allocated
OFFLINE
Examples
To make devices 282, 283, and 287 available for system use, enter: V (282,283,287),ONline
79
To take offline any devices in the range 283 through 287 and the range 130 through 135, enter: V (283-287,130-135),OFFline Please refer to MVS/ESA SP V5 System Commands for a detailed review of all VARY operator command parameters.
Enable or disable a device for the VM control program (CP). Enable or disable a device for the user.
ONline or OFFline enables or disables the logical connection. rdev is the number of the real device to be varied online or offline.You may specify a list or range of devices. If you specify a range of real device numbers, all valid devices in the range, including the first and last devices you specify, are varied online or offline. The maximum number of devices allowed in a range is 256.
Attach real devices to your virtual machine. Detach real devices from the virtual machine.
ATTACH rdev (TO) userid (AS) vdev DETACH rdev (FRom) userid (UNLoad|LEave)
Figure 25. CP ATTACH and DETACH Commands
rdev
is a real device number, a list of real device numbers, or a range of real device numbers to be detached from the indicated user or from the system. On a single command line, you may combine device numbers, lists of device numbers, and ranges of device numbers. Specify a real device number as one to four hexadecimal digits. is a virtual device number, a list of virtual device numbers, or a range of virtual device numbers to be attached to or detached from the indicated user. On a single command line, you may combine device numbers, lists of device numbers, and ranges of device numbers.
vdev
80
userid
identifies the virtual machine to which the device is currently attached or from which it is to be detached. The specified user must be logged on. detaches the tape device and automatically rewinds and unloads it. UNLOAD is the default unless the tape device was ATTACHed with the NOASSIGN option. detaches the tape device without rewinding and unloading the tape volume. The tape remains positioned as it was before issuing DETACH. Tape devices are automatically UNASSIGNED when you enter the DETACH command unless you have specified the LEAVE option or unless the tape device you are detaching was ATTACHed with the NOASSIGN option. The ATTACH command automatically issues the ASSIGN CCW to the tape drive unless it was ATTACHed with the NOASSIGN option. The CP DETACH command will not remove the assignment of a tape drive that is ATTACHed with NOASSIGN, even if the tape is currently assigned by a guest. In other words, when a tape drive is ATTACHed with NOASSIGN, CP DETACH command will NOT change the ASSIGNED/UNASSIGNED status of the drive. It is the responsibility of the guest to issue the ASSIGN CCW when it needs the tape drive and to issue the UNASSIGN CCW when it is finished using the drive.
UNload
LEave
Remarks
Please refer to VM/ESA CP Command and Utility Reference for more details.
cuu
device number
Please refer to VSE/ESA System Control Statements for a detailed review of these commands. It is effective to execute both ONLINE and DVCUP (or OFFLINE and DVCDN) when partitioning library drives.
81
82
/***********************************************************/ /* */ /* PROGRAM NAME : WAITFREE */ /* LANGUAGE : CLP */ /* FUNCTION : This program will WAIT FOR THE DEVICE TO BE*/ /* FREE D FROM ANOTHER SYSTEM. */ /* PGMS CALLED BY : None. */ /* PGMS CALLED : NONE. */ /* PARAMETERS : None. */ /* INPUTS : Device DESCRIPTION */ /* OUTPUTS : None. */ /* FILES USED : None. */ /* DATA AREAS : None. */ /* MESSAGES USED : None. */ /* NOTES : None. */ /* CHANGE ACTIVITY : */ /* FLAG&REASON DATE PGMR COMMENTS */ /***********************************************************/ PGM PARM(&DEV) DCL VAR(&DEV) TYPE(*CHAR) LEN(10) DCL VAR(&STSCODE) TYPE(*DEC) LEN(5) MONMSG CPF0000 /* STRDBG PGM(WAITFREE) */ /***********************************************************/ /***********************************************************/ /* VARY ON THE TAPE DRIVE */ /***********************************************************/ LOOP: VRYCFG CFGOBJ(&DEV) CFGTYPE(*DEV) STATUS(*ON) /* SNDPGMMSG MSG( VARY SENT ) MSGTYPE(*COMP) */ RTVCFGSTS CFGD(&DEV) CFGTYPE(*DEV) STSCDE(&STSCODE) DSPPGMVAR PGMVAR(&STSCODE ) IF (&STSCODE=30) THEN(DO) /*SNDPGMMSG MSG( VARY COMPLETED SUCESSFULLY) + */ /*MSGTYPE(*COMP) */ ENDDO ELSE DO /*SNDPGMMSG MSG( VARY DID NOT COMPLETE SUCCESSFULLY) + */ /*MSGTYPE(*COMP) */ DLYJOB DLY(30) GOTO LOOP ENDDO /* ENDDBG */ ENDPGM
Figure 27. A Sample Command Language Procedure for Dynamic Tape Sharing in OS/400
83
-l Name Warning
specifies the logical device, indicated by the Name variable in the Customized Devices object class. to protect the Configuration database, the rmdev/mkdev commands are not interruptible. Stopping these commands before execution is complete could result in a corrupted database.
The tapeutil and assign commands are used to dedicate (reserve or assign) and undedicate (release or unassign) a tape drive from a AIX system that issued these commands. The tapeutil command is used for the tape drive that is attached to the host system through a SCSI interface. The assign command is used for the tape drive that is attached to the host system through ESCON or parallel channels. In these command descriptions, the words reserve and assign have the same meaning, and release means the same as unassign. These words come from hardware I/O commands in both SCSI and ESCON or parallel interface.
tapeutil -f/dev/ldev reserve assign -af/dev/ldev tapeutil -f/dev/ldev release assign -uf/dev/ldev
/* for SCSI /* for ESCON or Parallel /* for SCSI /* for ESCON or Parallel
reserve release -a -u
Dedicate (reserve) the device to this host. The command uses SCSI Reserve Unit I/O command. Undedicate (release) the device from this host. The command uses SCSI Release Unit I/O command. Dedicate (assign) the device to this host. The command uses ASSIGN CCW. Undedicate (unassign) the device from this host. The command uses UNASSIGN CCW.
84
libname
specifies the name of the library to which the drive is to be assigned. This parameter is required for all drives, including stand-alone drives. The specified library must have been previously defined using the DEFINE LIBRARY command. specifies the name assigned to the drive. This parameter is required. The maximum length of this name is 30 characters.
drivename
DEVIce=devicename specifies the name of the device that corresponds to the drive. For example, you might specify tap04. This parameter is required. Examples To define a drive to an ADSM/6000 server DEFine DRive manlib tapedrive3 DEVIce=/dev/rmt3 To delete a drive from an ADSM/6000 server DELete DRive manlib tapedrive3 To define a drive to an ADSM/400 server DEFine DRive manlib tapedrive3 DEVIce=tap04
4.6 Summary
You can always share a tape library or tape libraries by partitioning between different host systems of a single platform or multiple platforms. You can arrange that all tape volumes be shared between different hosts within a single platform (that is, like operating systems). Cross-platform access to private volumes is sometimes possible. Dynamic sharing of tape drives is sometimes possible. Table 15 summarizes the sharing and partitioning options.
Table 15. Sharing and Partitioning Summary
Platform DFSMS/MVS BTLS DFSMS/VM VSE/VGS VSE/LCDD AIX/6000 OS/400 TPF Notes: P indicates partitioning of the IBM Automated Tape Library. S indicates sharing of all tape volumes. D indicates dynamic sharing of tape drives. C indicates cross-platform sharing of private volumes. DFSMS/MVS P S D P C D P C P P P C P P C BTLS P S D P C P C P C P C P C P C DFSMS/VM P S D P C D P C P C P C P C VSE/VGS P S D P P C P P C VSE/LCDD P S D P C P C P C AIX/6000 P S D P C D P C OS/400 P S P C TPF P S
85
When sharing or partitioning an IBM Automated Tape Library, you need to consider the following points for every environment to identify the operational and organizational requirements:
The host inventory used and the external interfaces. You need this information if you want to transfer volumes from one system to another in a partitioned library. The number of scratch pools used in different environments The Library Manager categories used in different environments The label type restrictions on the different platforms The data format (for example, EBCDIC or ASCII) used on different platforms The application-dependent data format of the tape data, for example, used by ADSM or DFSMShsm How your tape management system communicates with the library-controlling host software regarding inventory updates.
Which host has to do the insert processing for a particular volume or a group of volumes How and by whom volumes should be expired Procedures for eject processing Procedures to initialize volumes (if you are not in a pure system-managed tape MVS environment) Access authorization checking and security requirements.
86
Figure 31. Relationship between Control Data Sets and Address Spaces
Please refer to the DFSMS/MVS V1R3 Storage Management Library for more information on implementation and activation of SMS. We cover only those steps necessary to implement system-managed tape.
87
The steps are: 1. Inventory the IBM Automated Tape Library. 2. Update SYS1.PARMLIB. 3. Allocate the tape configuration database. 4. Define the library and the DFSMS constructs. 5. Install the installationwide exits. 6. Define volumes to DFSMSrmm. 7. Validate and activate the SMS configuration and start OAM. 8. Initialize JES3. Step 8 is applicable only to JES3 users.
SCHEDxx : Add the OAM initialization module, CBROAM, to the system program properties table. IGDSMSxx : Add the OAMPROC and OAMTASK optional parameters if you want the OAM address space to start automatically as part of the SMS initialization. If you use a vendor s tape management system, it may require that the OAM address space be started after the tape-management system initialization. In such a case, do not start the OAM automatically. Please check with the vendor of the tape-management system product. IEFSSNxx : Add or update the OAM1 entry with the name of the initialization module (CBRINT) executed at IPL. CONSOLxx : Update the CONSOLxx member referenced by IEASYSxx if you want to receive library messages at a specific console. You must also define this console name during ISMF library definition to SMS. DEVSUPxx : Update the DEVSUPxx member if you are using 3490 and 3490E devices within the same IBM 3495. The VOLNSNS=YES parameter allows you to relabel volumes for use in 18-track mode after they have been used in
88
| | |
36-track mode. If you use volume partitioning (hard partitioning), you can specify volume category codes in this member. See 5.3.1.1, Setting Default Volume Categories on page 99 for detail. COMMNDxx : Add the VARY SMS,LIBRARY command if you want the IBM Automated Tape Library Dataserver to be brought online automatically after IPL processing. LOADxx : Update columns 64-71 of the SYSCAT statement high-level qualifier of your TCDB, if you do not want to use the default (SYS1). Note: The LOADxx member can reside in SYS1.PARMLIB or SYSn.IPLPARM. When used, SYSn.IPLPARM must reside on the input/output definition file (IODF) volume. You also need to update PROCLIB by running the CBRAPROC SAMPLIB member.
//DEVCAT JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE USERCATALOG (NAME(SYS1.VOLCAT.VGENERAL) VOLCATALOG VOLUME(volser)CYLINDERS (1 1)) /*
Figure 32. Create a General SYS1.VOLCAT.VGENERAL
Note: Instead of SYS1 you can use a different high-level qualifier. To do so you need to update the LOADxx member in PARMLIB. Optionally, you can define a specific VOLCAT SYS1.VOLCAT.Vx, where x represents the first character of the volume serial number to be stored in this specific volume catalog.
| | | | |
Note: If your IBM Automated Tape Library Dataserver does have an IBM Magstar Virtual Tape Server installed, each physical IBM 3494 or 3495 Tape Library is partitioned into two logical libraries:
One contains the IBM Magstar Virtual Tape Server subsystem One contains all real IBM 3490 and all native IBM 3590 subsytems.
89
| |
Two library IDs are provided and two libraries must be defined via ISMF library application. During library define, you specify:
Library ID : the five-character hardware ID associated with the IBM Automated Tape Library Console name : the optional MVS console name if you have defined one in SYS1.PARMLIB member CONSOLxx Entry default data class : the name of the data class that you want as the default for tape cartridges entered into the IBM Automated Tape Library being defined Entry default use attribute: the use attribute for cartridges entered into the library (SCRATCH or PRIVATE) Eject default: the default action for the TCDB volume record when a tape cartridge is ejected from the library (PURGE or KEEP) Scratch threshold for MEDIA1, MEDIA2, and MEDIA3: the threshold below which a message is issued to the operator requesting that scratch volumes of the specified media type be entered into the library. Initial online status : specifies whether the IBM Automated Tape Library will be online, offline, or not connected to the systems or system groups in the SMSplex each time the source control data set (SCDS) is activated. Note: When you connect an IBM Automated Tape Library to a system group rather than a system, you lose the ability to vary that library online or offline to the individual system in the group. We strongly recommend that the IBM Automated Tape Library be connected to individual systems only.
In addition, you need to define data classes in order to specify the media type, the recording technology, and whether to use hardware compaction when allocating a system-managed tape data set. You do not have to specify new storage classes ; you can use existing ones. The storage class is used only to indicate that this is an allocation to a system-managed tape library. There are no new parameters for system-managed tape. As for system-managed DASD allocations, the management class is optional. System-managed tape uses only the expiration attributes and retention limit parameters. If you are using a tape-management system, you should specify a retention limit of NOLIMIT. You need to define a tape storage group and specify which IBM Automated Tape Library belong to that storage group. You also define the storage group status here. Although a blank storage group is allowed for system-managed tape volumes, we strongly recommend assigning a storage group to private volumes when they are entered into the IBM Automated Tape Library. The blank storage group is always enabled to all attached systems. You can specify the storage group during definition of an existing private volume to DFSMSrmm or during cartridge insert processing.
90
To direct new tape allocations to an IBM Automated Tape Library, you need to update your ACS routines . As for system-managed DASD, new data sets that have a storage class assigned are allocated on system-managed devices.
CBRUXENT : The cartridge entry installation exit routine is called during cartridge entry processing to approve or disapprove entry of a cartridge into the library and to determine the TCDB volume record contents for each volume entered into the library. If you need to code this exit routine, you can use the SYS1.SAMPLIB member CBRSPUXE as a model. CBRUXCUA : The change use attribute installation exit routine is called before the TCDB volume record is updated when you issue the CBRXLCS macro or the ISMF line operator ALTER to change a volume s use attributes. If you need to code this exit routine, you can use the SYS1.PARMLIB member CBRSPUXC as a model. CBRUXEJC : The cartridge eject installation exit routine is called to approve or disapprove ejecting a cartridge from a library and to determine the TCDB volume disposition and contents for each volume to be ejected. If you need to code this exit routine, you can use the SYS1.SAMPLIB member CBRSPUXJ as a model. CBRUXVNL : The volume not in library installation exit routine is invoked when there is a request to process tape volumes that are not resident in a library but need to be resident for processing to continue. This exit routine is invoked to give you the opportunity to insert a volume into an IBM Automated Tape Library to prevent job failures. If you need to code this exit routine, you can use the SYS1.SAMPLIB member CBRSPUXV as a model.
For detailed information on the exit routines please refer to the DFSMS/MVS V1R3 Object Access Method Planning, Installation and Storage Administration Guide for Tape Libraries .
5.1.6
91
inventory processing by using the CHANGEVOLUME command with the HOME parameter specified. You can also use the CHANGEVOLUME command to specify a storage group name for private volumes. This enables DFSMSrmm to provide the storage group name during cartridge entry processing. Although a blank storage group name is valid in system-managed tape environments, you should group your private volumes according to the policies specified in the ACS routines. For further information please refer to the DFSMS/MVS V1R3 DFSMSrmm Implementation and Customization Guide .
Define all devices in the IBM Automated Tape Library through DEVICE statements. Set JES3 device names through the SETNAME statement. Define which device names are subsets of other device names through the HWSNAME statement.
For more information, please refer to the IBM 3495 Implementation Primer for MVS . The information related to JES installation is also valid for IBM 3494 Tape Library with the exception that there are no special ICL considerations.
92
93
//IMPVCAT JOB .... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * IMPORT CONNECT OBJECTS((SYS1.VOLCAT.VGENERAL DEVICETYPE(devtype) VOLSER(volser))) /*
Figure 34. Import the SYS1.VOLCAT.VGENERAL
Note: You must run the job on all systems that attach to the IBM Automated Tape Library. If you have specific VOLCATs defined, you must IMPORT CONNECT those as well.
RACF TAPEVOL and TAPEDSN profiles DFSMSrmm REJECT parameter in EDGRMMxx member Denying access for certain systems to specific storage groups.
Figure 35 on page 95 shows the ISMF Storage Group Alter Panel where you can assign a storage group status.
94
SMS STORAGE GROUP STATUS DEFINE COMMAND ===> SCDS NAME: SMS.SCDS1.SCDS STORAGE GROUP NAME: TAPE01 STORAGE GROUP TYPE: TAPE TO DEFINE STORAGE GROUP SYSTEM/SYS GROUP STATUS, SPECIFY: SYSTEM/SYS GROUP NAME ---------------SYS1A ===> SYS1B ===> SYS1C ===> SYS1D ===> *XPLEX1 ===> ===> ===> ===> SMS SG STATUS -----ENABLE ENABLE DISALL DISNEW NOTCON ( Possible SMS SG Status values for each system or system group: - Pool SG Type NOTCON, ENABLE, DISALL, DISNEW, QUIALL, or QUINEW - Tape SG Type NOTCON, ENABLE, DISALL, or DISNEW ) * SYS GROUP = sysplex minus systems in the sysplex explicitly defined in the SCDS
USE ENTER TO PERFORM VERIFICATION; USE END COMMAND TO VIEW PREVIOUS PANEL; USE HELP COMMAND FOR HELP; USE CANCEL COMMAND TO EXIT.
In Figure 35 systems SYS1A and SYS1B are allowed to read and create tape volumes residing in storage group TAPE01. System SYS1C cannot access tape volumes residing in storage group TAPE01 at all. System SYS1D cannot assign volumes to storage group TAPE01 but can access existing volumes in that storage group. Sysplex XPLEX1 is not connected to the library according to the library definition. If you connect an IBM Automated Tape Library to a system group rather than a single system, an MVS VARY command will affect all systems in the group.
95
physical erasure of a tape volume before it is returned to scratch, you can define a security classification for a data set name mask in the SYS1.PARMLIB member EDGRMMxx. Figure 36 on page 96 shows an example of defining a security classification.
SECCLS NUMBER(100) NAME(CONF) DESCRIPTION( CONFIDENTIAL ) MASK( PAYROLL.** ) SMF(N) MESSAGE(N) ERASE(Y)
The sample SECCLS command causes DFSMSrmm to assign the security level to all data sets that start with the high-level qualifier, PAYROLL. When the tape data has expired, DFSMSrmm does not return the tape to scratch until you have run the DFSMSrmm EDGINERS utility with the ERASE parameter. DFSMSrmm erases the volumes using the hardware security erase feature and reinitializes them so that the correct volume labels are written and the volumes are ready for use. When sharing the DFSMSrmm control data set as well as the system catalog and the TCDB, only one system needs to execute the DFSMSrmm inventory management program for expiration processing, storage location processing management, and vital record processing. For more details about the options of EDGHSKP, please refer to the DFSMS/MVS V1R3 DFSMSrmm Implementation and Customization Guide .
96
For detailed information about GRS, see the MVS/ESA Planning: Global Resource Serialization and the IBM 3495 Implementation Primer .
Tape configuration database To accommodate the new media type and recording technology, the library record and volume record in the tape configuration database (TCDB) have been changed. To share a TCDB with lower-level DFSMS/MVS systems that do not support the IBM 3590 tape drive, toleration PTFs to the lower-level systems are required. The number of scratch volumes and scratch-volume message threshold fields in the new MEDIA3 subparameter have been modified in the tape library record. The new tape-recording technology (128TRACK) and media type (MEDIA3) for the IBM 3590 can be set in the tape volume record.
LCS external services LCS external services provided by the CBRXLCS macro have been changed to support the new media type and recording technology. Tape device selection information (TDSI), mapped by the CBRTDSI macro, is used to pass device selection information among system components providing the tape library support. The TDSI now contains the definitions of the new media type (MEDIA3) and recording technology (128TRACK). Source code for CBRTDSI is distributed in SYS1.MACLIB.
The tape library name associated with the hardware library ID must be the same in each SCDS on each SMSplex. All tape storage groups defined in each SCDS on each SMSplex must have the same names. If an MVS console name is associated with the tape library, that MVS console must be a valid console name on each Sysplex. The scratch volume thresholds are identical for each SMSplex.
Changes that are made from one system connected to the library will be valid for each system attached to the IBM Automated Tape Library across SMSplex boundaries.
97
Entry default data class Entry default use attribute Eject default volume record disposition Online/offline status with respect to each system in the Sysplex.
The parts of the library definition that are stored in the TCDB are identical for each SMSplex. However, the attributes of the IBM Automated Tape Library that are stored in the SCDS can be different between the SMSplexes because each SMSplex has its own SCDS.
98
| | | | | | | | | | | | | | | | | | |
99
| | | | | | | | | | | |
ERROR = xxxx
xxxx specify a 2-byte hexadecimal value to be used as error volume category code. The default value is 000E.
PRIVATE = xxxx xxxx specify a 2-byte hexadecimal value to be used as private volume category code. The default value is 000F. Note: xxxx must be a 4-character hexadecimal value within the range 0010 to FEFF. To avoid conflict volume category with platforms other than MVS system, you should use the range 0010 through 007F. Please refer to Appendix A, Library Manager Volume Categories on page 177 to know volume categories that are used by other platforms. This enhancement is provided by PTF UW90300 (APAR OW20735) for DFSMS 1.2 and PTF UW90348 (APAR OW21351) for DFSMS 1.3. These PTFs are a part of IBM 3590 tape device support SPE.
| | | | | |
Partitioning may use that user modifications (UMODs) be applied on all DFSMS/MVS systems in the SMSplexes that attach to the IBM Automated Tape Library. All systems in one SMSplex have to apply the same UMOD, and all systems in the other SMSplex have to apply a different UMOD. The UMOD is not against executable code but against constants in a control block in a member of the nucleus, and thus it is not likely to change. The UMOD causes different Library Manager volume categories to be used on the different SMSplexes. Assume that you have two SMSplexes, PLEX1 and PLEX2. PLEX1 includes systems SYS1A and SYS1B; PLEX2 includes systems SYS2A, SYS2B, and SYS2C. All five systems are attached to the same IBM Automated Tape Library (see Figure 38 on page 101).
100
All systems of PLEX1 will use the volume categories of X 0010 to X 001 F; all systems of PLEX2 will use the categories of X 0020 to X 002 F. On all systems of PLEX1 (SYS1A and SYS1B) you need to install the UMOD shown in Figure 39. Note: The UMOD shown in Figure 39 is for DFSMS/MVS Version 1 Release 1. If you use DFSMS/MVS Version 1 Release 2, see Appendix C, Sample USERMODs for Tape Library Partitioning, in the DFSMS/MVS Version 1 Release 2 Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries .
++USERMOD(ZAPLEX1) /* THIS ZAP CHANGES THE 3494 and 3495 CATEGORY ASSIGNMENTS FROM X0001 TO X0011, X0002 TO X0012, ETC. EACH TIME AOMCBLKS IS SHIPPED VIA APAR OR PTF THIS UMOD WILL REQUIRE AN UPDATE TO THE PRE() AND NEED TO BE REAPPLY ED APPLY TO ALL SYSTEMS IN PLEXA */. ++VER(Z038) FMID(JDZ1110) PRE(UY87796,UY89640). ++ZAP(AOMCBLKS) DISTLIB(AOSU0). NAME IEANUC01 AOMCBLKS BASE 0000 VER 00A0 0001,0002,0003,0004,0005,0006,0007,0008 REP 00A0 0011,0012,0013,0014,0015,0016,0017,0018 VER 00B2 000F,000E REP 00B2 001F,001E
Figure 39. Sample UMOD for A l l Systems of PLEX1 (for DFSMS/MVS 1.1)
On all systems of PLEX2 (SYS2A, SYS2B, SYS2C) you need to install the UMOD shown in Figure 40 on page 102.
101
Note: The UMOD shown in Figure 40 on page 102 is for DFSMS/MVS Version 1 Release 1. If you use DFSMS/MVS Version 1 Release 2, see Appendix C, Sample USERMODs for Tape Library Partitioning, in the DFSMS/MVS Version 1 Release 2 Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries .
++USERMOD(ZAPLEX2) /* THIS ZAP CHANGES THE 3494 AND 3495 CATEGORY ASSIGNMENTS FROM X0001 TO X0021, X0002 TO X0022, ETC. EACH TIME AOMCBLKS IS SHIPPED VIA APAR OR PTF THIS UMOD WILL REQUIRE AN UPDATE TO THE PRE() AND NEED TO BE REAPPLY ED APPLY TO ALL SYSTEMS IN PLEXB */. ++VER(Z038) FMID(JDZ1110) PRE(UY87796,UY89640). ++ZAP(AOMCBLKS) DISTLIB(AOSU0). NAME IEANUC01 AOMCBLKS BASE 0000 VER 00A0 0001,0002,0003,0004,0005,0006,0007,0008 REP 00A0 0021,0022,0023,0024,0025,0026,0027,0028 VER 00B2 000F,000E REP 00B2 002F,002E
Figure 40. Sample UMOD for A l l Systems of PLEX2 (for DFSMS/MVS 1.1)
If you apply a wrong UMOD or no UMOD at all on a system that usually runs with a UMOD, the following exposures exist:
Without the UMOD applied, a system uses the default categories of X 0001 for MEDIA1 scratch tapes and X 0002 for MEDIA2 scratch tapes. If SYS1A inadvertently removes the UMOD, all scratch allocations of SYS1A would fail, because all scratch volumes of MEDIA1 belong to category X 0011 or category X 0021, and all scratch volumes of MEDIA2 belong to category X0012 or category X 0022. There are no volumes in categories X 0001 or X0002 available in the configuration shown in Figure 38 on page 101. If there were a third SMSplex running without the UMOD applied, it would use the default categories. Although volumes are available in the default categories, scratch volume requests of SYS1A will fail because these scratch volumes are not in the TCDB of SYS1A. If SYS1A performs insert processing, without the correct UMOD applied, for volumes intended for use of all systems in PLEX1, it will assign the volume to a category that none of the other systems of PLEX1 knows. Therefore the volume cannot be used by the other systems in PLEX1. Although requests for private volumes will succeed for either system attached to the IBM Automated Tape Library, a return-to-scratch performed by SYS1A will leave the volumes in a state where they cannot be accessed from either PLEX1 or PLEX2.
To correct a situation where one system has been running without the correct UMOD applied, you need to: 1. Apply the UMOD at the subject system.
102
2. Move scratch volumes that have been assigned to the wrong scratch category during insert processing. To change a volume s scratch category, you can use the ISMF Tape Volume application. 3. Move volumes that have been returned to scratch by the system running without the UMOD, to the correct category. This can be performed on either system of the SMSplex. Private volumes created by either system can be accessed even when the UMOD was not correctly applied, because the TCDB contains the status of PRIVATE rather than the actual Library Manager volume category. Upon return to scratch, private volumes get the correct scratch category assigned.
103
104
//CREATVOL JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * CREATE VOLUMEENTRY NAME(volser) RECORDING(128TRACK) MEDIATYPE(MEDIA3) LIBRARYNAME(library) STORAGEGROUP(storagegroupname) USEATTRIBUT(PRIVATE) NOWRITEPROTECT LOCATION(LIBRARY) SHELFLOCATION(shelflocation) OWNERINFORMATION( owning system or user ) ENTEREJECTDATE(1995-10-10) EXPIRATIONDATE(2999-12-31) WRITEDATE(1995-10-10) MOUNTDATE(1995-10-10) /*
Figure 41. Sample IDCAMS Job to Create a TCDB Volume Record
Note: ALTER, CREATE, and LISTCAT Access Method Services (AMS) commands have been changed to support the new media type (MEDIA3) and recording technology (128TRACK) of the IBM 3590 tape subsystem. For more information about creating records in the TCDB, please refer to the DFSMS/MVS V1R3 Access Method Services for the Integrated Catalog Facility . 3. The additional partition uses the volume only in input mode and never returns it to scratch. 4. When the owning partition returns the volume to scratch, the user must update the TCDB for the other partition through IDCAMS to delete the volume entry from the inventory or not access the volume until the owning partition creates data on it. 5. If you are using DFSMSrmm, you need to update its control data set accordingly. The above approach is not recommended for daily operation because the use of IDCAMS to update the TCDB should be limited to disaster recovery situations only. In addition, if both partitions try to access the volume simultaneously, the second requester will fail. If the second requester is the owning partition, users could become confused.
105
summarizes the ICL/ACF considerations when reassigning a tape drive to a system of a different partition.
Initially, the drive in Figure 42 is online to system SYS1A of PLEX1. The cartridges in the ICL/ACF are MEDIA1 and belong to PLEX1. When assigning the drive to system SYS2A of PLEX2, perform the following steps: 1. Vary the drive offline to SYS1A. The cartridges in the cartridge loader belong to the MEDIA1 category used by PLEX1. The ICL/ACF is not emptied upon VARY OFFLINE. 2. Vary the drive online to SYS2A. The cartridges in the ICL/ACF still belong to PLEX1. Issuing the LIBRARY,DISPCL command shows a media type of UNKNOWN on SYS2A. 3. Assign the drive a media type used by SYS2A. The ICL/ACF will be emptied and filled with scratch volumes belonging to SYS2A s volume category MEDIA2.
106
By MVS/ESA according to the definitions in DFSMSrmm and the cartridge entry installation exit By VM/ESA according to the definitions in the on-request bulk processing file and the automatic-insert bulk processing file.
Add all private VM/ESA tapes to the TCDB if you want to share them.
The first REJECT command in Figure 43 restricts the use of tape volumes on the MVS/ESA system to those defined to DFSMSrmm. You can use the DFSMSrmm
107
installation exit EDGUX100 to request that DFSMSrmm ignore tapes that are not defined, if you need to process foreign tapes for example. The second REJECT statement restricts the use of tapes starting with the characters VM/ESA in their labels to input processing only. Define the VM/ESA tapes to be read by MVS/ESA by using the OUTPUT parameter. Note: The most specific prefix defined in any REJECT command will be used.
IBM standard labels (SL) ISO/ANSI/FIPS labels (AL) Both IBM standard and user header or trailer labels (SUL) Both ISO/ANSI/FIPS and user header or trailer labels (SUL).
Note: Support for internal unlabeled tapes (NL and BLP) is provided through APARs until DFSMS/MVS 1.3. The APAR OW01530 and OW05934 are for DFSMS/MVS 1.1 and APAR OW01530 and OW06305 are for DFSMS/MVS 1.2. Please note that the NL and BLP output processing is not supported in an IBM 3495 M10 Manual Tape Library Dataserver for reasons of data integrity. If you want a private volume to be shared between MVS/ESA and VM/ESA, you can use the following approach: 1. Define the volume to DFSMSrmm as a private tape with USE(MVS,VM). 2. Do not specify this volume in any of VM/ESA s bulk processing files. 3. Insert the volume into the IBM Automated Tape Library. 4. Let MVS/ESA perform the insert processing. 5. Enable VM/ESA to access the volume by enabling its use through FSMRMSHR. 6. Ensure that only one platform issues a mount request for a shared volume at one point in time. If you want to allow the MVS/ESA system to access a private volume that has been created on the VM/ESA system and is already inside the IBM Automated Tape Library, perform the following steps: 1. Add the volume to DFSMSrmm by specifying USE(MVS,VM). 2. Add an appropriate REJECT OUTPUT command to SYS1.PARMLIB member EDGRMMxx. 3. Use IDCAMS to create a volume entry for this volume in the TCDB. If you want to allow the VM/ESA system to access a tape volume that has been created by MVS/ESA, add its volume serial number to FSMRMSHR.
108
We assume for all approaches that the installation exit routines are in place. If a shared volume is returned to scratch on either system, the volume must be deleted from the other system s inventory in order to prevent access to the tape. The volume should always be returned to scratch on the owning system.
Figure 44. Sharing Tape Drives between VM/ESA and MVS/ESA Systems
Figure 45 on page 110 shows what happens if RMSMASTR does not have a free tape drive: 1. The MONT3494 service machine sends a message to both NetViews every few minutes. 2. NetView on MVS2 finds an available tape drive. It varies the drive offline and sends a formatted message to MONT3494. 3. The MONT3494 service machine detaches the tape drive from MVS2 and attaches it to RMSMASTR.
109
Figure 45. Sharing Tape Drives between VM/ESA and MVS/ESA Systems
After the tape drive is no longer needed, MONT3494 detaches the tape drive from RMSMASTR and attaches it to MVS2. When NetView gets the message that the tape drive has been attached again, it varies the drive online. This scenario is based on VMTAPE and ADSM using the IBM Automated Tape Library because both repeat their requests until they get a tape drive.
110
Remove the volume entry from the DFSMSrmm control data set using the DELVOL command or the ISPF interface. Remove the volume entry from the TCDB. Make sure that if the volume is ejected from the IBM Automated Tape Library and entered again, insert processing will be performed on the other host.
If you want to transfer a volume temporarily to another host and can ensure that the volume will not be requested by the DFSMS/MVS system concurrently, you can follow the recommendations for sharing private volumes given in Chapter 5, Implementation in a DFSMS/MVS Environment on page 87. Note: When transferring a volume to another host, the volume still remains in the Library Manager category to which DFSMS/MVS had the volume assigned. On the receiving system, you should only request the volume by its volume serial number. If you want to add the volume to another host s scratch category, you need to assign the appropriate library manager category.
Chapter 5. Implementation in a DFSMS/MVS Environment
111
112
Catalog records whose names start with SYS1 are cataloged in the master catalog. The volume catalog records are cataloged in the BTLS user catalog. Figure 46 on page 114 shows BTLS catalog record structure.
113
//COMMAND JOB , // TIME=(0,5),MSGCLASS=A //LKED EXEC PGM=HEWL,REGION=2048K, // PARM= XREF,LET,RENT,LIST,NCAL //SYSUT1 DD DSN=&&SYSUT1, UNIT=SYSDA, // SPACE=(1024,(50,20)) //SYSPRINT DD SYSOUT=* //SYSLMOD DD DSN=SYS1.LINKLIB,DISP=SHR //SYSLIB DD DSN=SYS1.CMDLIB,DISP=SHR //SYSLIN DD INCLUDE SYSLIB(IDCAM01) ALIAS LIBRARY SETCODE AC(1) NAME IDCAM01(R) /*
Figure 47. Sample JCL to Define A M S Command, LIBRARY, As a TSO Command
Authorize the AMS command, LIBRARY, by adding it to IKJTSO00 in SYS1.PARMLIB. After updating IKJTSO00, the PARMLIB UPDATE(00) command will authorize the AMS command, LIBRARY. 2. Define library devices. Use the AMS command, LIBRARY DEVICES, to define the device addresses for a library. A 3490 control unit can contain up to 16 tape drives. Even if any of the control units in an IBM Automated Tape Library has less than 16
114
drives, all 16 possible addresses still must be defined in the host system. It is necessary to include uninstalled devices in the AMS command, LIBRARY DEVICES. If invalid addresses are specified, the results will be unpredictable. Figure 48 shows a sample job to define library devices. Library LIB1 (default) is defined as containing devices 180-18F and 190-19F.
Recording technology (18-track or 36-track) information is not kept in a BTLS environment. Therefore, with mixed device types and mixed media types in an IBM Automated Tape Library, we recommend that you define two logical libraries, such as LIB1 for the IBM 3490 tape subsystem and LIB2 for the IBM 3490E tape subsystem, to facilitate the conversion to DFSMS tape and control use of the device and media types. Figure 49 shows a sample command to define two logical libraries.
Support is provided with JDZ11BS. For releases prior to JDZ11BS, support is provided by OW12877. Library devices must be restricted to the four-digit address range 0000-0FFF. All other devices, including tape drives can use any of the four-digit addresses in the range 0000-FFFF. BTLS commands and messages use only the three significant digits 000-FFF and assume that the fourth digit is always zero.
Note: When BTLS is installed as a VM/ESA guest on a virtual machine, specify the following statement in the virtual machine directory entry to allow BTLS to control a tape library:
115
4. Create SYS1.PARMLIB member BTLPRM00. Define the defaults used by BTLS in SYS1.PARMLIB member BTLPRM00. Each parameter statement must begin in column 1. The following definitions are supported: THRESHOLD( count ) Establishes a low threshold value for scratch volumes. When the number of scratch volumes falls below the count , the operator receives a warning message. The threshold value established at IPL by the THRESHOLD parameter is replaced when the AMS command, LIBRARY THRESHOLD, is executed. If more than one threshold value is required, use the AMS command, LIBRARY THRESHOLD, after IPL. The command supports multiple libraries and multiple scratch categories. The LIBRARY REPORT command can be used to display the threshold values that have been established. SCRTCHn Establishes a default category for scratch mounts. Unless specified, scratch mounts use volumes assigned to the SCRTCH1 volume category (X 0 FFF). When more than one host shares a library, a different scratch volume category can be used by each host. The BTLPRM00 PARMLIB member for each host names the scratch volume category that host will use for scratch mounts. AUTODEMOUNT Indicates that library volumes should be automatically demounted if they become mounted on unallocated devices. When AUTODEMOUNT is specified and BTLS detects a mount completion for an unallocated device, the volume is unloaded and demounted automatically. In a BTLS library, a volume can become mounted on an unallocated device when a job is cancelled or abends during mount pending . Because the mount is not completed before the job terminates, a demount is not sent to the library. Even though the job is terminated, the mount will eventually be completed in the library. If the device has not yet been allocated to another job, the volume will stay mounted. The purpose of AUTODEMOUNT is to solve the following two problems created by volumes mounted on unallocated drives:
If another job allocates the drive and needs a private volume mounted, the job will demount but keep the previously mounted volume. The demount will cause a scratch volume to be assigned to the private category even though it was never used. If another job allocates a different tape drive and needs a volume that is already mounted on an unallocated drive, the mount will fail with the message ERA=64 (volume in use).
LIBAFFINITY indicates that BTLS should break affinity when an invalid UNIT=AFF condition is detected. If LIBAFFINITY is not used, invalid affinity is reported by message BTLS104I and the job is terminated. In order to validate affinity, BTLS compares the allocation requirements of the target DD(DD1) and the UNIT=AFF DD(DD2). The following conditions are valid:
116
Both DD1 and DD2 require nonlibrary drives. Either DD1 or DD2 can use any drive. BTLS allows any drive when Option I is used to control scratch allocation and for any SCRTCH request that specifies UNIT=AFF.
When an invalid condition is detected, and the LIBAFFINITY option is in effect, BTLS breaks the invalid affinity. The following example shows how BTLS will break affinity.
//DD1 // // //
DD DD DD DD
Note: VOL001 and VOL004 are defined to BTLS as LIB1, VOL002 and VOL003 are not defined to BTLS When the above JCL is executed, BTLS directs the allocation for DD1 into LIB1, but detects an error because VOL002 is not in LIB1 yet specifies affinity with DD1. When the LIBAFFINITY option is in effect, BTLS causes the JCL to allocate as if it were written as follows:
//DD1 //DD2 // //
DD DD DD DD
In order for LIBAFFINITY to successfully break affinity, the set of devices determined by the UNIT parameter of the target DD must include devices that will also satisfy the requirements of the broken DD. If the example JCL was coded as follows, the allocation for VOL002 fails because UNIT=LIB1DEVS names an esoteric that does not include any devices in LIB2 (and VOL002 is defined to BTLS as a LIB2 volume).
//DD1 // // //
DD DD DD DD
Note: LIBAFFINITY is not supported when MVS/SP 5.2 is installed. EXPDT98000 | EXPD The EXPDT98000 option allows a duplicate of a BTLS library volume to be mounted on a drive outside the library. When the EXPDT98000 option is used, and a DD statement includes EXPDT=98000, BTLS will not validate or interfere with the allocation. This allows you to allocate a drive outside the library for a volume serial number that is defined to BTLS as a library volume. 5. Define user catalog for BTLS volume records. Define a usercatalog named BTLS that will be used by BTLS to define BTLS.BTLS.VOL.volser catalog records. The catalog must be an ICF catalog and may be defined as shared if library volumes are to be shared by more than one host. If this catalog is to be shared by more than one host, the catalog must reside on a shared DASD volume, and must be connected
Chapter 6. Implementation in a Basic Tape Library Support Environment
117
to the master-catalogs of the other hosts. Figure 50 on page 118 shows a sample command to define the user catalog.
6. Install the BTLS allocation interface. For releases prior to MVS/SP 5.1 ensure that APAR OY63009 is installed (OY63009 is included with MVS/SP 5.1). OY63009 provides the interface used by BTLS to control tape allocations. OY63009 is not used with MVS/SP 5.2. Instead, BTLS uses the tape allocation subsystem interface. When MVS/SP 5.2 is installed, add the following command to SYS1.PARMLIB member IEACMD00:
SETSSI ADD,SUBNAME=BTLS,INITRTN=AOMALSSI
You can also issue the SETSSI command from the operator s console. The SETSSI command activates the BTLS Tape Allocation SSI so that BTLS can begin to control tape allocations. When the command executes, the following messages should be received at the operators console:
//LIBJOB JOB // EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //LIBOUT DD DSN=dsname, // DISP=(NEW,CATLG),UNIT=SYSDA, // DCB=(LRECL=80,BLKSIZE=0,RECFM=FB) //SYSIN DD * LIBRARY INVENTORY UNIT(180) CATEGORY(INSERT) /*
Figure 51. Sample JCL to Obtain a Volume List
8. Set volume category Determine which volume serial number should be the private category and which should be the scratch category, then issue the AMS command, LIBRARY SETCATEGORY, to assign each volume to the appropriate category. Figure 52 on page 119 shows a sample job where all volumes specified in the LIBIN DD data set are assigned to the SCRTCH category.
118
//LIBJOB JOB // EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //LIBIN DD DSN=dsname,DISP=SHR //SYSIN DD * LIBRARY SETCATEGORY UNIT(180) CATEGORY(SCRTCH) /*
Figure 52. Sample JCL to Assign Volumes to a Category
With mixed media types in an IBM Automated Tape Library, we recommend that you set different volume categories for each media type to facilitate the conversion to DFSMS tape and control use of the media types. 9. Create volume records. Use the AMS command, LIBRARY DEFINE, to create a volume record for each volume. Figure 53 shows a sample job to create volume records for the volumes. All volumes specified in the LIBIN DD data set are cataloged as residing in library LIB1 (default).
For a specific volume request (PRIVATE volume), if the volume is not defined in this catalog entry as a library volume, the volume is assumed to reside outside the library, and only nonlibrary devices are used to satisfy the allocation. 10. Create operational procedure. Create a procedure to be used by the operator to issue the IBM Automated Tape Library mounts and demounts. The procedure should invoke the AMS command, LIBRARY. 11. Define options for scratch allocation. Use the AMS command, LIBRARY OPTIONS, to define the BTLS options. Figure 54 shows a sample job to define the BTLS options. The options JEE indicate that scratch allocations to LIB1 (default) should be based on job names that are defined in step 11 and that BTLS allocation and dynamic device reconfiguration (DDR) support should be enabled.
119
12. Define job names for scratch allocation. Use the AMS command, LIBRARY JOBNAMES, to define the names of jobs that should use the IBM Automated Tape Library for scratch allocation. This step is required only if the BTLS option J is defined in step 10. Figure 55 shows a sample job to define the job names. The TAPELIB1 job as well as any jobs with job names beginning with AUTO or HSM will use LIB1 (default) for scratch allocation.
//LIBJOB JOB // EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * LIBRARY JOBNAMES ( TAPELIB1 AUTO HSM ) /*
Figure 55. Sample JCL to Define Job Names
13. Secure the AMS command, LIBRARY. If you want to control use of the AMS command, LIBRARY, define IDCLI01 to RACF as a resource name within the RACF resource class, PROGRAM. This definition allows only authorized users to send requests to the IBM Automated Tape Library. Figure 56 shows a sample command to define IDCLI01 to RACF.
14. Create internal volume label. Use IEHINITT to label any cartridges that require internal volume labels. Reply M to console message IEC701D for each volume. When volumes are demounted by IEHINITT, they are assigned to the PRIVATE category. The AMS command, LIBRARY SETCATEGORY, should be used to assign the volumes to the appropriate category.
120
6.1.3.2 Allocation
The allocation installation exit, AOMABEXT, can be used to control library allocation. It can influence an allocation in one of the following ways:
Do nothing. The allocation should be directed to a device in the specified library. The allocation should be directed to a device in any library. The allocation should exclude all library devices.
The tape subsystems in the IBM Automated Tape Library Dataserver must not be defined in the JES3 initialization deck and therefore are not managed by JES3. MVS performs all IBM Automated Tape Library Dataserver tape device allocations with the allocation assist function of BTLS. BTLS is responsible for communication with the Library Manager in the IBM Automated Tape Library Dataserver. BTLS functions in the JES3 environment are identical to the BTLS functions in the JES2 environment. JES3 tape dynamic support programs (DSPs) or JES3 tape commands for tape drives inside an IBM Automated Tape Library Dataserver are not supported.
JES3 can continue to manage tape devices outside the IBM Automated Tape Library Dataserver as long as those devices do not belong to the same generic or esoteric unit types as tape devices inside the IBM Automated Tape Library Dataserver. For example, you must not have JES3-managed 3490E devices outside the IBM Automated Tape Library Dataserver while there are IBM 3490E devices inside the IBM Automated Tape Library Dataserver. You can have JES3-managed IBM 3480 and/or 3490 base devices (non-3490E) outside of the IBM Automated Tape Library Dataserver while the devices inside the IBM Automated Tape Library Dataserver are all IBM 3490E. The IBM 3490 base devices as MVS/JES3 is concerned. (non-3490E) inside the IBM JES3-managed IBM 3480 or (non-3490E) are identical to IBM 3480 devices as far Therefore you cannot have IBM 3490 base devices Automated Tape Library Dataserver and 3490 base (non-3490E) devices outside the library.
121
6.2 Partitioning
In this section, we explain implementation considerations for partitioning an IBM Automated Tape Library between a BTLS system and other systems. We explain the general considerations for partitioning an IBM Automated Tape Library in Chapter 4, Multisystem Access on page 63.
122
If you want to associate a scratch category with a tape drive used by a BTLS1 system by using the AMS command, LIBRARY SETDEVICE, you must make sure that the scratch category name used by BTLS1 matches the scratch category name on the drive owned by BTLS1. If you wrongly associate a scratch category with a tape drive used by a BTLS1 system, for example, you associate a scratch category used by a BTLS2 system, the Library Manager mounts the scratch volumes for the BTLS2 system, and the BTLS1 system uses the scratch volumes of the BTLS2 system. To reassign tape drives to another system, the same considerations apply as discussed in 4.3.2, Drive Assignment and Cartridge Loading on page 73.
123
6.3 Sharing
In this section we explain implementation considerations for sharing an IBM Automated Tape Library among multiple BTLS systems. We explain the general considerations for sharing an IBM Automated Tape Library in Chapter 4, Multisystem Access on page 63. To share an IBM Automated Tape Library, all attached host systems must have access to the host control data sets in order to have identical library, drive, volume, and BTLS option information. In a BTLS system, this control data resides in the BTLS user catalog and in the host master catalog. The BTLS user catalog can be shared with (connected to) other MVS systems, and the host master catalog entries can be recreated in the master catalogs of other MVS systems. But only a BTLS system can use the information within these control data sets to control the IBM Automated Tape Library. As a result, a BTLS system cannot share an IBM Automated Tape Library with any system other than a BTLS system. Figure 59 shows the sharing of an IBM Automated Tape Library among multiple BTLS systems.
124
125
126
2. Tailor the DFSMS/VM control file and RMS configuration file. These are described in 7.1.2, Control Data Sets. 3. We recommend implementing the use of standard labels for all volumes. A standard label is an internal volume label, and the first file on a volume. Use of this internal label enables your tape management system to enforce better security by ensuring that both the internal and external volume labels match. 4. Authorize users to use the DFSMS/VM RMS functions through any one of the following:
RACF/VM The DFSMS/VM authorization file Installation-defined authorization using the DFSMS/VM RMS exit FSMVAUTH.
IBM Automated Tape Library Dataservers and default scratch categoryDGTVCNTL DATA
In the DFSMS/VM DGTVCNTL DATA control file, using the RM_AUTO_LIBRARY parameter, define the name and sequence number (the five digits of the IBM Automated Tape Library s serial number) of every IBM Automated Tape Library you use. DGTVCNTL DATA is kept in the SFS VMSYS:DFSMS.CONTROL directory.
127
Optionally you can define the default scratch pool to be used when the SCRATCH category is specified by using the RM_DEFAULT_SCRATCH_POOL parameter in the DGTVCNTL DATA control file.
7.1.3 Exits
There are a number of installationwide exits that you can use. Their use is not compulsory. The exits are described in the VM/ESA DFSMS/VM Function Level 221 Removable Media Services User s Guide and Reference . Below describe the use of the following exits:
128
7.1.3.1 FSMRMSHR
If you are sharing or partitioning an IBM Automated Tape Library you should use the FSMRMSHR exit to control which volumes, categories, and libraries can be used whenever you use:
DFSMSRM MOUNT DFSMSRM SET VOLCAT DFSMSRM SET DEVCAT Bulk processingboth automatic-insert and on-request.
The parameters passed to the FSMRMSHR exit include the volume name, the source and target category names for the volume or scratch pool, and the IBM Automated Tape Library name. You can modify the exit to define which volumes, categories, and IBM Automated Tape Library names can be used for this DFSMS/VM RMS and to reject any invalid requests. In this way you can deny access to unauthorized volumes, categories, and IBM Automated Tape Library. For an example of modifying the FSMRMSHR exit, see Chapter 4 of Lights Out! Advanced Tape Automation Using VM/ESA . In that example, a file, called FSMRMSHR CTLDATA, is used to define which volumes, categories, and IBM Automated Tape Librarys can be used. You must consider how you want to maintain such a file and whether you would want to share it among multiple DFSMS/VM RMS systems. You could use the FSMRMSHR exit to ensure that particular volume numbers are never used with a particular IBM Automated Tape Library. For example, you can deny access to a volume number 111111 in the IBM Automated Tape Library. Note that the FSMRMSHR exit does not allow you to determine who the original requester is, so the same criteria apply to all of the requests that this DFSMS/VM RMS processes. For example, if you code your FSMRMSHR exit in this DFSMS/VM RMS machine so that the SCRATCH4 scratch category cannot be used, no request to this DFSMS/VM RMS machine will be able to use SCRATCH4. You might want to do something like this to control scratch pool access among multiple VM/ESA hosts.
7.1.3.2 FSMVAUTH
If you want to restrict the DFSMS/VM RMS services that a requester can use, you must use RACF/VM or DFSMS/VM s own authorization exit, FSMVAUTH. You also use this exit to validate that the requester is authorized to use DFSMS/VM RMS.
7.1.3.3 FSMRMDEV
The real-device-selection exit, FSMRMDEV, can select a device when a real device address is not specified in the incoming request. Users can provide their own device selection algorithm. The product default processing selects the first available (unattached) library tape device that can be located. The request fails if no devices are available. Note: This exit becomes highly interesting in an environment of mixed drive types where getting the correct media-drive match is critical. A
129
sophisticated exit may be required here, to match a selected device type to a particular scratch pool being requested, or a volume serial number within a customer-defined range that represents a certain media type.
7.1.3.4 FSMRMATE
The device-attachment exit, FSMRMATE, allows your installation to substitute your own command for attaching the requested or selected device.
7.1.3.5 FSMRMPRE
FSMRMPRE is called before the actual command request to the IBM Automated Tape Library hardware takes place and after the FSMVAUTH and FSMRMSHR exits have been processed. This exit can be used to provide object-level security checking if a tape management system does not supply such checking. For example, if you want to ensure that a VSE/ESA guest using the VGS service machine is using the correct volumes, you need to modify the FSMRMPRE preprocessing exit. Beforehand you can use FSMVAUTH and FSMRMSHR to verify that VGS is authorized to issue the requests it has made and to ensure that mounts are being requested for volumes and scratch categories that this VSE/ESA guest can use, using VGS. Using FSMRMPRE you can ensure that all VGS requests are valid with respect to external volume labels. Other parameters are also passed to this exit. These are listed in the VM/ESA DFSMS/VM FL221 Removable Media Services User s Guide and Reference .
Automatic-insert bulk processing, which DFSMS/VM RMS uses if the RMBnnnnn DATA file exists. On-request bulk processing using the BULK option of the DFSMS/VM RMS command, DFSMSRM SET VOLCAT, and giving the name of the bulk processing file to be used. By specific request.
All insert processing causes the FSMRMSHR exit to be executed. Please note that automatic-insert bulk processing does not immediately occur when a volume is put into the input station. Because RMSMASTR cannot receive unsolicited interruptions of cartridge insertion without a tape drive attached, RMSMASTR periodically queries the INSERT category to find out if there are volumes in it. Automatic-insert bulk processing occurs when the INSERT category is not empty and:
is initially started. is restarted. receives a valid MOUNT command. receives a valid SET DEVCAT command.
In the last two cases, automatic-insert bulk processing is totally independent of the actual command issued, but the command must be valid. Automatic-insert bulk processing uses another tape device that RMSMASTR selects. If an unused tape device is not available at the time insert processing starts, processing will not continue. Because the insert processing will most
130
likely start before the MOUNT (or SET DEVCAT) finishes with its tape device, another must be available. If this is not the case, the user can move volumes from the INSERT category to the category of choice by using the SET VOLCAT BULK command.
7.2 Partitioning
In this section we describe partitioning drives and volumes between a DFSMS/VM RMS and another system.
7.2.2 Volumes
It is possible to partition the volumes in an IBM Automated Tape Library using DFSMS/VM RMS such that each DFSMS/VM RMS can only access a specified group of volumes and specific scratch categories. To limit which volumes and scratch categories the DFSMS/VM RMS system can use you must use the FSMRMSHR exit, which is described in 7.1.3, Exits on page 128.
131
7.3 Sharing
In this section we cover the sharing of tape drives and volumes between DFSMS/VM RMS and other systems.
132
Tape drives can be shared serially among multiple VM/ESA users on multiple VM/ESA systems without requiring operator intervention, because the CP commands, ATTACH and DETACH, that cause the tape drive to be reserved and released can be issued from within a program. These CP commands normally issue the hardware channel command words (CCWs), ASSIGN and NOASSIGN, to a 3480, 3490, 3490E or 3590 to reserve or release the tape drive to or from the operating system. ATTACH and DETACH are used in events (1), (2) and (3) in Figure 61. The ASSIGN and UNASSIGN CCWs are specific to 3480, 3490, 3490E and 3590 hardware. The ASSIGN CCW places the operating system s identifier in the tape drive hardware and prevents access by any other system. Once a VM/ESA user has finished using a tape drive, it is usual to release it (using DETACH) such that it is immediately available to the next request from any system connected to it. In Figure 61, after event (1) has completed, the first command to reach the tape drive would assign it. This could be (2), (3), (5), or (6). If the next operating system trying to access the tape drive is not a VM/ESA user but another operating system (either native or a VM/ESA guest), it makes the tape drive available for its use by using an operator console command or during its IPL. The tape drive is assigned and is then available to jobs running in that operating system only. However, when jobs complete, the tape drive is still assigned by that operating system as no unassign of the tape drive is usually done once the job finishes. In Figure 61, the system VSEESA1 can perform multiple jobs using the tape drive, but it is not until VSEESA1 issues the OFFLINE that the tape drive is available for another system, even if the tape drive is idle. An exception to this is AIX/6000, where the assign is issued separately from commands that make the tape drive available. This explanation does not cover all possible options, only the most common situation. One difference might be in the use of the CP ATTACH command,
133
which a VM/ESA user could use with the NOASSIGN option. This option is typically used when attaching a tape drive to a VM/ESA guest (which allows the VM/ESA guest to issue its own command to reserve the tape drive); it is typically used by a VM/ESA user. We have shown this as event (4) in Figure 61 on page 133. At this point the tape drive is not reserved by any of the systems. Should event (5) not occur, event (6) would reserve the tape drive for HOSTA.
7.3.2 Volumes
DFSMS/VM RMS does not keep any catalog or file of volumes that it owns. The sharing of volumes for a DFSMS/VM RMS system is thus limited to how you might make a volume known to another system, and how you might share scratch categories. To have a common pool of information about the volumes in an IBM Automated Tape Library between a DFSMS/VM RMS system and another is not within the scope of DFSMS/VM RMS, but might be possible using a tape management system. Some tape management systems may have facilities that allow the sharing of their inventories between two or more systems. As with sharing volumes between systems in any situation, you must ensure that you have a common data format that both systems can understand.
134
Remove the external volume label from any records that a tape management system might have. Alter the contents of any bulk processing files so that they cannot process the transferred volume. Update any files you have created to use the FSMRMSHR exit. Update the appropriate records on the new system.
If the second system cannot share the volume because its Library Manager hexadecimal category does not match any of those of DFSMS/VM RMS (for example, OS/400), volume transfer cannot occur directly between the two systems. In such a case, you have to change the volume category to the appropriate volume category that the receiving system handles. If there is a third system sharing the same IBM Automated Tape Library that has common Library Manager hexadecimal categories with both the original volume owner and the new volume owner, it can act as an intermediary. It is possible to transfer the volume within the IBM Automated Tape Library without changing it by transferring the volume to this third, intermediary system, letting this system change its category and then transferring it to the new volume owner. AIX/6000, with its ability to use any Library Manager hexadecimal category, is the only system that could be set up as an intermediary system.
135
7.6.1 Implementation
Before installing VGS, you must make sure that the following programming requirements are satisfied:
VM/ESA Version 1 Release 2.0 or higher DFSMS/VM Function Level 221 For VGS, DFSMS/VM PTFs associated with APARs VM58436 and VM58787 For LBSERV API, VSE/ESA PTFs associated with APAR DY43306 on top of VSE/ESA Version 1.3.5, or higher releases of VSE/ESA.
Please ensure that you check for, and apply, any additional relevant PTFs.
136
You may install two VGS service machines on VM/ESA and set up the VSE/ESA Librarian server for CMS users on the VSE/ESA guest machine. We call a primary VGS service machine a VGS, and a secondary service machine an Inventory Support Server. VGS can be used without an Inventory Support Server if inventory functions are not to be exploited.
Define the VGS machine in the CP directory. It should have privilege class B for attaching and detaching tape devices. It must have an appropriate IUCV *IDENT statement to enable it to communicate with the VSE/ESA API as the manager of a local APPC/VM resource named VGLIBSRV. Figure 63 shows a sample CP directory entry for VGS.
USER VGLIBSRV XXXXXXX 32M 64M BG *---------------------------------------------------------------------* IPL CMS IUCV ALLOW IUCV *IDENT RESANY LOCAL CONSOLE 01F 3215 SPOOL 00C 2540 READER B SPOOL 00D 2540 PUNCH B SPOOL 00E 1403 A MDISK 0191 3380 2620 5 MDISKA MR
Figure 63. Sample CP Directory Entry for VGS
Include in the PROFILE EXEC of VGS the following to allow it to function as a server using Common Programming Interface (CPI) Communications: SET SERVER ON SET FULLSCREEN ON SET ATUOREAD OFF.
137
/* === PROFILE EXEC for VGS Service Machine === TERM MORE 1 1 HOLD OFF CP SPOOL CONS START CP SPOOL READER HOLD CP SET RUN ON SET EMSG ON SET IMSG ON SET SMSG ON /* Needed for CPIC server */ SET SERVER ON SET FULLSCREEN OFF SET AUTOREAD OFF /* Make DFSMS CSLLIB routines available */ CP LINK DFSMS 1B5 1B5 RR ACCESS 1B5 B RTNLOAD * (FROM FSMPPSI FSMRMVGS Exit rc
Figure 64. Sample VGS PROFILE EXEC
*/
Ensure that VGS has access to the DFSMS/VM product code and authorization to use it. Ensure that VGS has its own R/W 191 minidisk. VGS maintains CMS files with in-process and completed work on a CMS minidisk. The size of these completed-work files and, in turn, the number of cylinders required for this minidisk, can be controlled through a customization option that specifies the amount of time request history data should be kept on file. Other small, temporary files are kept on this disk. VGS accesses its 191 minidisk as file mode A.
Ensure read access to Inventory Support Server s 191 minidisk VGS and the secondary server required for inventory functions need to access each other s 191 minidisk for read. Each links the other server s 191 as 292 and accesses it as file mode C inside the application code. Thus, the LINK and ACCESS statements are not reflected in the sample PROFILE EXEC. This authorization may be accomplished through a security or directory product.
VGS can be autologged at DFSMS/VM RMS initialization by using it with the FOREIGN_HOST_SERVER_VM parameter in the DGTVCNTL DATA control file. Any other technique of logging on VGS is acceptable.
138
USER VGINVHLP XXXXXXX 32M 64M G XAUTOLOG VGLIBSRV *----------------------------------------------------------* IPL CMS IUCV ALLOW IUCV *IDENT RESANY LOCAL CONSOLE 01F 3215 SPOOL 00C 2540 READER B SPOOL 00D 2540 PUNCH B SPOOL 00E 1403 A MDISK 0191 3380 636 5 MDISK6 MR
Figure 65. Sample CP Directory Entry for Inventory Support Server
/* === PROFILE EXEC for Inventory Support Server === TERM MORE 1 1 HOLD OFF CP SPOOL CONS START CP SPOOL READER HOLD CP SET RUN ON SET EMSG ON SET IMSG ON SET SMSG ON /* Make DFSMS CSLLIB routines available */ CP LINK DFSMS 1B5 1B5 RR ACCESS 1B5 B RTNLOAD * (FROM FSMPPSI FSMRMVGH Exit
Figure 66. Sample Inventory Support Server PROFILE EXEC
*/
The following items are of special interest in defining the Inventory Support Server service machine in the CP directory and/or creating its PROFILE EXEC:
Intermachine communication This machine communicates with the VSE/ESA Librarian Server for CMS users to obtain and replace inventory files. The Inventory Support Server service machine thus needs the following IUCV statements in its directory entry: IUCV ALLOW IUCV *IDENT RESANY GLOBAL.
Access to DFSMS product code This machine uses the command and CSL interfaces provided in DFSMS/VM to request library functions from the DFSMS/VM RMS. Thus, the Inventory Support Server service machine must be authorized to request DFSMS/VM RMS functions, and it needs access to the DFSMS/VM product disk. Typically, routines in CSL library FSMPPSI are loaded by the machine s PROFILE EXEC.
R/W 191 minidisk The Inventory Support Server keeps interim files for requests in process on its 191 disk.
139
XAUTOLOG by VGS The default technique for starting the Inventory Support Server is that VGS XAUTOLOGs it during initialization. Unless local conventions do not permit this XAUTOLOG procedure, the XAUTOLOG statement can be used in this machine s directory entry to authorize VGS to autolog it.
The Inventory Support Server service machine can be started by any of the following techniques:
Allowing the VGS machine to AUTOLOG it during VGS initialization Standard operational protocols used by the installation for autologging service machines Logging on manually, starting the main EXEC, FSMRMVGC, and then disconnecting the machine (#CP DISC).
An orderly sequencing down of this machine with VGS is important. The machine needs to restart whenever VGS restarts. (The converse is not true; VGS does not need to restart if the Inventory Support Server restarts.) To ensure that restart is properly serialized, the following measures are taken: 1. VGS attempts to AUTOLOG the Inventory Support Server machine during VGS startup; if the secondary machine is already logged on, VGS sends the secondary machine a restart order. This ensures that the machines are synchronized in terms of in-process requests. 2. As part of its orderly termination processing, VGS sends the secondary machine a shutdown request. The secondary machine ends its processing EXEC.
LIBRCMS MODULECMS support code to request VSE/ESA Librarian functions for a CMS user LIBRCMSI JCLJob stream to catalog the VSE/ESA Librarian server on VSE/ESA LIBRCMS JCLSample JCL to start the Librarian Server on VSE/ESA.
The LIBRCMS module is installed on the DFSMS/VM product disk along with other parts related to VGS. The LIBRCMS functions are thereby accessible to the Inventory Support Server service machine. No further activity is required for the CMS side. LIBRCMSI JCL is installed on the DFSMS/VM product disk during install processing. Send this job to each VSE/ESA guest that is to request IBM Automated Tape Library support through VGS. This job catalogs the unique LIBRCMSV phase to PDR2.COMM. On VSE/ESA, a free partition of 1 MB minimum size is required for running the Librarian Server. A dynamic partition may be used. At least 50 KB should be allocated by means of the SETPFIX JCL command to fix pages needed for APPC/VM communication with the Inventory Support Server.
140
Note: 1. APPC/VM definitions are not required when IPLing VSE/ESA (SET XPCC commands). 2. LIBRCMS must not be defined by SET XPCC TARGET at IPL time. Remember that you must edit a LIBRCMS SRVNAMES cross-reference file on the Inventory Support Server service machine s 191 minidisk if VGS is to service inventory requests for multiple VSE/ESA guests. The SRVNAME specified in the SETPARM statement must be unique for each VSE/ESA guest.
7.6.2 Exits
There are two exits, FSMRMVGC EXEC and FSMRMVGA EXEC, on the A-disk of the VGS service machine. Customization of these is optional. FSMRMVGC EXEC allows additional customization of VGS. The SCRTCH_POOL control field determines which DFSMS/VM RMS scratch category is to be used when a MOUNT volume request specifies SCRTCH as the volume serial. The default is the DFSMS/VM RMS SCRATCH0 category. FSMRMVGA EXEC allows authorization checking to determine the validity of the userid of the requester, an eight-character control-block identifier in the request and the request type.
7.6.3 Files
The LIBCONFG LIST file must be present on the VGS service machine s A-disk if more than one IBM Automated Tape Library is to be used. You should code in here the name of the IBM Automated Tape Library for VSE/ESA and the DFSMS/VM library name. This file simply cross-references the VSE/ESA guest s library names (up to 8 characters) with the library names (up to 32 characters) that DFSMS/VM uses. For an example, see Figure 67.
* Configuration file last updated by Fliss on October 31, 1994 L10134 AUTO_LIB_1 L10137 AUTO_LIB_2 L50045 AUTO_LIB_3 * end of configuration data
Figure 67. Sample LIBCONFG LIST File
If the VGS resource is to handle library control successfully for multiple VSE/ESA guests that issue inventory requests, a LIBRCMS SRVNAMES file must be present on the Inventory Support Server service machine s 191 minidisk. This file simply cross-references the userid (up to eight characters) of the VSE/ESA guest with the server name (up to eight characters) specified in the LIBRCMS // SETPARM SRVNAME job control card on that guest. This cross-reference file enables the Inventory Support Server to access Librarian files on the correct VSE guest machine. Valid records (lines) in this file have two fields, separated by at least one blank character:
141
* LIBRCMS xref file last updated by Kathy on October 31, 1994 VSE1 LIBRC1 VSE2 LIBRC2 VSE3 LIBRC3 * end of cross-reference data
Figure 68. Sample LIBRCMS SRVNAMES File
7.6.4 Usage
The interface from VSE/ESA to VGS is through the new macro, LBSERV. The LBSERV API and the LIBSERV AR and JCL statements are the same as that used by the LCDD for VSE/ESA. The following VGS services are provided by the LBSERV API:
Query a volume, checking a single library. Query a volume, checking all attached libraries. Query a category count. Query the IBM Automated Tape Library status. Query status of a tape drive inside library. Mount a specific volume. Mount a volume from a category. Eject a volume. Set a volume category. Query the inventory. Manage the inventory. Release a drive. Cancel a mount.
The last two LBSERV functions (release a drive and cancel a mount) do not require interaction with the Library Manager in an IBM Automated Tape Library. An interface for explicit demount is intentionally not provided. Demount operations are automatically queued by the library at rewind-unload time. VGS does not have an insert processing capability. All insert processing is handled by DFSMS/VM RMS. VSE/ESA s scratch pool volume category names (SCRATCH00 through SCRATCH15) can be used in a VGS environment, but they are mapped to a physical RMS scratch pool (SCRATCH0 to SCRATCHF).
7.6.5 Partitioning
You can dedicate tape drives to the guest VSE/ESA system in the partitioned IBM Automated Tape Library. The VGS service machine has no tape drives of its own to use. Once the VSE/ESA guest has issued the ONLINE command, which issues the ASSIGN CCW to a tape drive, no other system accessing the same IBM Automated Tape Library can access that tape drive. To partition the volumes to be used by a VSE/ESA guest using VGS, you will need to use the FSMRMPRE preprocessing exit of DFSMS/VM RMS. Using this exit will allow you to ensure that VGS not only requests volumes that this DFSMS/VM RMS can access but also accesses only the volumes you determine it can access.
142
If you are using DFSMS/VM RMS for multiple requesters such as a VSE/ESA guest using VGS and other VM users, you can guarantee the partitioning of volumes between the various DFSMS/VM RMS requesters by using the FSMRMPRE exit.
143
144
http://www.ibm.de/go/d00000166
In the IBM VSE/ESA home page menu, please select Documents, demos, and coding examples on an FTP server. You will get a menu Resources available via FTP. In the menu, the following unclassified documents (ZIPed PostScript files) are offered to customers over an FTP server:
vse3494s.zip, VSE/ESA Support of the IBM 3494 Tape Library Dataserver by Gerhard Schneidt , has a VSE point of view. It describes, for example, VSE s IBM 3494 API and documents API reason codes. vse3494h.zip, Native Support of the IBM 3494 Tape Library Dataserver with VSE/ESA by Friedrich Hahn and Joerg Haertel , includes two customer scenarios for implementing an IBM 3494. 3494_vse.zip, Support for the IBM 3494 Tape Library Dataserver in a VSE/ESA Environment by Kathy Eldred , offers information about the IBM 3494.
8.1.1 Installation
The installation tasks are: 1. Select names for library control resources The LCDD application running in a VSE/ESA partition and the 3494 require resource names that are used in the LAN definition. These resource names are Local_VSE_ID and Library_ID. 2. Create the VTAM configuration LCDD is an LU6.2 application that communicates with the Library Manager of the 3494 through a Token-ring or Ethernet LAN. LCDD communication on a LAN requires appropriate VTAM definition on the VSE/ESA system. 3. Add an ATL SYS command to the IPL procedure A new VSE/ESA IPL command, SYS ATL=xxx, allows an ATL SYSCOM flag to be set as part of the IPL procedure. If the VSE/ESA system is running native (not on VM/ESA), SYS ATL=VSE is the default, and an explicit use of the statement is not required. However, if the LCDD of the VSE/ESA system is running on VM/ESA, the SYS ATL command statement is required in the IPL procedure. Refer to the VSE/ESA System Control Statements for details. 4. Define VSE/ESA libraries
145
The following libraries should be defined on the VSE/ESA system for the code installation:
LCA.PROD This is the target library for the LCDD product code during the installation process.
Before starting the LCDD, a predefined Librarian library is also required where host copies of 3494 inventory lists are written. This library is used as output of Query Inventory (QI) processing and input of Managing the Inventory (MI) processing by the LCDD. The library name is specified by the Query_Inv_Lists and Manage_Inv_Lists parameters of the LCDD control statements.
5. Install LCDD code The LCDD product code and job control members must be installed in the VSE/ESA system, following the instructions for installing LCA.PROD in the IBM 3494 Tape Library Dataserver User s Guide: Library Control Device Driver for VSE/ESA . 6. Define LCDD options The LCDD expects certain installation-specific information to be provided by the user as control statements associated with the LCDD job. These control statements are read by the LCDD during its initialization processing. The control statements are: Local_VSE_ID Library_ID an eight-character identifier for the VSE system an eight-character LU name for an attached library and identification on the LAN network. This is both the APPC resource name and the name that is used in functional requests from users. This is followed by the network TP name LIBMGRTP. The keyword SCRDEF precedes the name of the default scratch pool for this host on this library. The default is SCRATCH00. The INSERT keyword allows a target category to be specified for automatic insert processing of new volumes inserted in the library. The target must be either SCRATCHnn or PRIVATE. Without this parameter, no automatic insert processing occurs. An optional INSMSG keyword allows the messages and mount queuing to be enabled or disabled for mounts that fail with volume-not-found condition. The character Y (for yes) enables this capability, N (for no) disables it. If this parameter is omitted, messages are issued and mounts are queued. (That is, the default is INSMSG=Y.) There is one Library_ID statement for each attached IBM Automated Tape Library. The Library_ID in the first statement specified is the ID used if the user request does not specify which IBM Automated Tape Library to use. Device_List defines the serial number of the IBM Automated Tape Library attached and the addresses of the tape drives within that are to be used.
146
determines which messages are written to the system console. designates the name for the predefined library in which Query Inventory (QI) member lists are to be created. designates the name of the predefined library from which Manage Inventory (MI) member lists are to be read.
Figure 69 shows sample job control statements for starting the LCDD. The FSMLCITM phase is expected to reside in the program library established for LCDD code during product installation. In this example, LCDD runs in a dynamic partition. The LCDD control cards following the EXEC statement are described in the IBM 3494 Tape Library Dataserver User s Guide: Library Control Device Driver for VSE/ESA .
* $$ JOB JNM=LCARUN,CLASS=C * $$ LST CLASS=C // JOB LCARUN // ASSGN SYSLST,PRINTER // LIBDEF *,SEARCH=(LCA.PROD.LCAINV.LIBMGRLU) // EXEC PGM=FSMLCITM,SIZE=200K MSG_LEVEL 1 * Display max. level msg LOCAL_VSE_ID VSE1LCA * ID of this VSE system LIBRARY_ID LIBMGRLU LIBMGRTP SCRDEF=SCRATCH00 INSERT=SCRATCH00 INSMSG=Y DEVICE_LIST 12345678 180 181 * Tape drives DEVICE_LIST 87654321 1A0 * Tape drive QUERY_INV_LISTS LIB=LCAINV * Master inventory files MANAGE_INV_LISTS LIB=LCAINV * Manage from master file /& * $$ EOJ
Figure 69. Sample Job to Start LCDD
Ensure that VTAM is active before starting the LCDD job and that the 3494 Library Manager is already online. After the LCDD starts, it performs a set of initialization tasks before it becomes active and capable of accepting user requests. Part of the initialization scenario involves exchanging messages with the 3494 Library Manager. During initialization processing, the communication paths are verified and the Library Manager sends configuration data for installed library hardware to the LCDD. The LCDD uses the configuration data to complete its in-storage control block structures required for conducting further communications with the Library Manager and servicing user requests for library functions. After initialization is successfully completed, the following message is displayed on the console, and both the MSG command and the programming interfaces are enabled:
147
8.1.2 Considerations
The following points should be considered for implementing the LCDD for VSE/ESA:
Control data sets There is no tape inventory control data set on VSE/ESA, such as the TCDB for DFSMS/MVS and the BTLS catalog for BTLS. You can, however, store volume inventory lists as members of a VSE/ESA Librarian facility (data set) by using query functions provided by the LCDD. An inventory list for the entire 3494 can be used as a point in time host backup of the 3494 status of tape processing and is thus potentially useful for recovery purposes. Your tape management system will typically have an up-to-date list of host-owned volumes, and an interface with which to synchronize the list with the Library Manager. The LCDD startup deck is the sole source of information on the IBM Automated Tape Librarys and tape drives installed.
Insert processing All volumes that are inserted into the IBM Automated Tape Library are available for LCDD automatic insert processing, if this was set up at LCDD startup, by using the INSERT keyword of the Library_ID keyword. It is possible to use the LCABAT batch program or the MSG operator interface commands to handle the insert operation. All volumes that are inserted into the IBM Automated Tape Library are available for the LCDD to insert according to whatever settings have been made. The LCDD does not keep any lists of external volume labels and the category to which they should be assigned if inserted into the library. The only exception to the above is when a specific volume is requested in VSE/ESA and not found in the IBM Automated Tape Library. In this case, when the volume is placed in the IBM Automated Tape Library, it will be inserted as PRIVATE by the LCDD. However, it is possible for any other attached host to process that volume before the requesting LCDD recognizes its presence. In this case, the operator message requesting the volume insert must be replied to by the operator in order to redrive the mount and proceed with job processing.
Tape management system IBM does not provide a tape management system for VSE/ESA. Users must consider using another vendor s tape management system or local tape
148
management software to invoke 3494 interfaces under program control. We list some vendor VSE Tape Management products in: 7.7, Tape Management System Considerations on page 143.
8.2 Partitioning
In this section we describe partitioning drives and volumes in an IBM Automated Tape Library between a VSE/ESA LCDD system and other systems.
8.3 Sharing
In this section we describe sharing drives and volumes in an IBM Automated Tape Library between an LCDD system and any other system.
149
150
151
152
The driver requires an SCSI-2 Differential interface card on the RISC/6000 and a minimum level of AIX 3.2.4 (and later) or 4.1.1 (and later). No specific driver is required to support SCSI-2 interface cards.
153
Use of the mtdd supposes a parallel or ESCON interface card (S/370 or S/390 Channel Emulator/A on the RISC/6000) and a minimum level of AIX 3.2 with PTF U405589 and PTF403146, or AIX 3.2 installed on a RISC/6000. Specific support programs are provided with the channel emulators:
IBM Parallel Channel support (s370.driver) IBM ESCON Channel support (s390.driver).
Parallel and ESCON Attachment Device Driver (mtdd) provides assign and mtmode commands. SCSI Attachment Device Driver (atape) provides the tapeutil command. allows you to assign/unassign the drive manually. allows you to change the recording mode, depending on which tapes are used (for example: 6250 bpi mode for the IBM 3420, 3422 and 3430, compacted mode for the IBM 3480 and 3490). Recording mode is neither described nor discussed here. Please refer to AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide for more details. allows you to perform all ordinary SCSI operations on a tape drive, provided with an ACF or not. For example, you can unload, move a tape, or query information.
assign mtmode
tapeutil
This driver provides the mtlib command. mtlib allows you to perform all operations on the tape drives and the Library Manager in an IBM Automated Tape Library. For example, you can mount or demount a tape, change a volume category, or eject a tape.
154
Figure 70. AIX/6000 and I B M 3494 I B M Automated Tape Library: SCSI Attachment
155
Figure 71. AIX/6000 and I B M 3494/3495 I B M Automated Tape Library: ESCON/Parallel Channel Attachment
9.2 Sharing
To share an IBM Automated Tape Library, all attached host systems must share the host control data set in order to have identical volume status information. For AIX using ADSM, the ADSM server cannot share an ADSM library inventory database that contains control information of ADSM for AIX. Therefore, the IBM Automated Tape Library must be partitioned for multiple ADSM servers to use the same tape library. Please refer to Section 9.4.2, ADSM/6000 Environments on page 162 for detail.
156
| |
Some AIX commands internally issue hardware SCSI RESERVE/RELEASE I/O command or use ASrSIGN/UNASSIGN CCWs. For example:
The tar command uses open and close system calls for every file dumped to the tape. The open system call issues the RESERVE or ASSIGN I/O command, and the close system call issues the RELEASE or UNASSIGN I/O command, depending on the tape drive I/O interface. The tapeutil command can issue the RESERVE and RELEASE SCSI I/O commands. The assign command can issue the ASSIGN and UNASSIGN CCWs. The mtlib command automatically issues the RESERVE or ASSIGN I/O command when a tape volume is mounted on a tape drive inside the tape library. To request a demount, the mtlib command issues the RELEASE or UNASSIGN I/O command.
The examples and commentary in the sections follow apply to all available connections to an AIX system (SCSI, parallel, and ESCON), unless otherwise stated. As described in Section 4.5, Tape Drive Assignment on page 78, traditionally, the keywords reserve/release and assign/unassign tape drives belong to different operating systemsUNIX and the mainframe operating systems, respectively. In the discussion below, we use the word assign to describe the action of a RESERVE or an ASSIGN hardware I/O command. We use the word unassign to describe the action of a RELEASE or UNASSIGN hardware I/O command because the global meaning of these hardware I/O commands is the same.
tar -xvf /dev/rmt0 : opens the /dev/rmt0 file and assigns the rmt0 drive to the system issuing the command. Any other user attempting to access the drive will receive an error message. The device is unassigned at the end of the tar command. If you have to be sure that you will keep the drive between two tar operations, you have to use the tapeutil or assign program.
Chapter 9. Implementation in an AIX/6000 Environment
157
tapeutil -f/dev/rmt0 reserve : assigns the rmt0 drive to the system issuing the command tar -cvf /dev/rmt0 * : writes on tape tapeutil -f/dev/rmt0 release : unassigns the rmt0 drive, makes it available again to all the systems to which it is connected. assign -af/dev/rmt0 : assigns the rmt0 drive to the system issuing the command tar -cvf /dev/rmt0 * : writes on tape assign -uf/dev/rmt0 : unassigns the rmt0 drive, makes it available again to all the systems to which it is connected.
mtlib -l/dev/lmcp0 -mf/dev/rmt0 -VVOL001: assigns the rmt0 drive and mounts the VOL001 tape on it. tar -cvf /dev/rmt0 * : writes on tape mtlib -l/dev/lmcp0 -df/dev/rmt0 -VVOL001 : unassigns the rmt0 drive and dismounts the VOL001tape.
Any other user attempting to access the drive will receive an error message. Figure 72 is an example of a shell script showing several steps of mount, demount, write, eject, change category, and so on.
mtlib -l /dev/lmcp0 -mf /dev/rmt0 -VAIX001 mtlib -l /dev/lmcp0 -mf /dev/rmt1 -VAIX002 tar -cvf /dev/rmt0 ./ tar -cvf /dev/rmt1 /usr/lpp/* mtlib -l /dev/lmcp0 -df /dev/rmt0 -VAIX001 mtlib -l /dev/lmcp0 -df /dev/rmt1 -VAIX002 mtlib -l /dev/lmcp0 -CV AIX001 -tFF10 mtlib -l /dev/lmcp0 -qL mtlib -l /dev/lmcp0 -mf /dev/rmt0 -VAIX002 tar -tvf /dev/rmt1 mtlib -l /dev/lmcp0 -df /dev/rmt0 -VAIX002
Figure 72. Example of Using MTLIB to Automate TAR Backup
This shell script requests the following actions: 1. Mount tape AIX001 onto drive rmt0 2. Mount tape AIX002 onto drive rmt1 3. tar all files and subdirectories under the home directory to tape AIX001 4. tar all files under the /usr/lpp directory to tape AIX002 5. Demount tape AIX001
158
6. Demount tape AIX002 7. Eject tape volume AIX001 from the library (FF10 volume category means EJECT). 8. Query information about the tape library 9. Mount tape AIX002 on drive rmt0 10. List the content of tape AIX002 11. Demount tape AIX002. For more details about mtlib commands, please refer to AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide , and IBM SCSI Tape Drive, Medium Changer and Library Device Drivers Installation and User s Guide .
9.3.3 ADSM/6000
When ADSM requests a tape mount, it acts the same way as an mtlib command. This means that it assigns the drive to its application until the request is finished. Any other user attempting to access the drive will receive an error message. Several ADSM operations require two drives (RECLAMATION, COLLOCATION, and BACKUP STGPOOL are examples). In such a configuration, you need to be sure that no one can steal the drive during the reclamation process.
9.4 Partitioning
In this section, we explain the implementation considerations for partitioning an IBM Automated Tape Library between other systems and AIX/6000 in both a non-ADSM and an ADSM environment. We explain the general considerations for partitioning an IBM Automated Tape Library in Chapter 4, Multisystem Access on page 63.
159
Remark 1
RS-232 or LAN control path connections are required if the data path is a SCSI type, or if the host is an AS/400 and the data path is a parallel type. RS-232 or LAN control path connections are required on Host 2 if the data path is a SCSI type.
Remark 2
160
The use of these commands is described in 4.5.5, AIX/6000 Environments on page 83. The default behavior of the drives is as follows: When the RISC/6000 powers on and configures the devices, it does not place a reserved or assigned status on them, so the drives are seen as available on the AIX host. If an application on the RISC/6000 issues an open system call to the device driver, the driver places a reserved or assigned status on the device opened, preventing other applications from using it. When the application issues a close system call to the device driver, a RELEASE or UNASSIGN hardware I/O command is sent to the device so that other applications (and systems) can use it.
9.4.1.3 Examples
According to the configuration shown in Figure 73 on page 160, the sequence of commands that switches a tape drive between the two hosts is described below for an MVS sharing a tape library with an AIX host system. Step 1: on MVS Make a tape drive (device number 101) inaccessible from an MVS system (Host 1) by issuing the command
V 101,OFFLINE
Step 2: on AIX Define the tape drive ( rmt1 ) on an AIX system (Host 2) using
assign -af /dev/rmt1 /* for SCSI device or tapeutil -f/dev/rmt1 reserve /* for ESCON/parallel device
Step 4: on AIX Perform read and write operation for the tape drive from the AIX system
assign -uf /dev/rmt1 /* for SCSI device or tapeutil -f/dev/rmt1 release /* for ESCON/parallel device
Step 6: on AIX Remove the tape drive from the AIX system
rmdev -l rmt1
Step 7: on MVS Make the tape drive accessible from the MVS system
V 101,ONLINE
For more details about assign, mtmode and tapeutil commands please refer to AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide , and IBM SCSI Tape Drive, Medium Changer, and Library Device Drivers Installation and User s Guide .
161
Automate Tape Drive Assignment among AIX Systems: Figure 74 on page 162 is an example of a script shell to assign drives to one system or another, with no risk of I/O error. We still suppose that we have the same configuration. These servers have to be accessible to each other through a remote login operation.
At the power-on, both drives are seen to be available on both systems.
/* At the beginning of the program, one drive is dedicated to each host. We remove the drive on host1, define it to host2, perform ADSM operations, and come back to the original configuration. /* Remove drive on host 1. rexec host1_name -lroot_name -ppassword /usr/sbin/rmdev -l rmtx /* Define drive on host 2. /usr/sbin/mkdev -l rmtx (or cfgmgr) /* Perform AIX operations on host 2 with the two drives. mtlib commands /* Remove drive on host 2. /usr/sbin/rmdev -l rmtx /* Define back the drive to host 1. rexec host1_name -lroot_name -ppassword /usr/sbin/mkdev -l rmtx (or cfgmgr)
Figure 74. Automate Partitioning among AIX Systems
Remark 1
RS-232 or LAN control path connections are required if the data path is a SCSI type, or if the host is an AS/400 and the data path is a parallel type.
162
Remark 2
RS-232 or LAN control path connections are required on Host 2 if the data path is a SCSI type.
DEFINE LIBRARY library_name LIBT=library_type DEVI=/dev/lmcp0 SCRATCHCAT=300 (=X 012 C) PRIVATECAT=301 (=X 012 D)
Note: A new scratch category has been introduced to name the new IBM 3590 ADSM scratch volumes. Its default value is 302 (=X 012 E). The private tapes of IBM 3590 have the same category as ordinary ADSM private volumes. Once the library is defined, the categories cannot be changed. If you use several libraries, you can have different categories for the SCRATCH and PRIVATE volumes, depending on the library they belong to. If several ADSM servers use the same library, you have to use different categories for SCRATCH and PRIVATE volumes in each server.
163
164
Figure 76. Partitioning between ADSM/6000 and an AIX or OS/400 ADSM Server.
According to the configuration shown in Figure 76, the sequence of commands shown in Figure 77 is to be executed on host 2.
/* At the beginning of the program, one drive is dedicated to each host. We will remove the drive from host 1, define it to host 2, perform ADSM operations, and return to the original configuration. /* Remove drive from host 1. rexec host1_name -luser_name -ppassword dsmadmc -id=admin1 -pa=admin1_password delete drive library1_name drive_name /* Define drive on host 2 dsmadmc -id=admin2 -pa=admin2_password define drive library2_name drive_name devi=/drive_path_name /* Perform ADSM operations on host 2 with the two drives. rexec host1_name -luser_name -ppassword Your_command_script /* Remove drive from host 2. dsmadmc -id=admin2 -pa=admin2_password delete drive library2_name drive_name /* Define back the drive to host 1 rexec host1_name -luser_name -ppassword dsmadmc -id=admin1 -pa=admin1_password define drive library1_name drive_name devi=/drive_path_name
Figure 77. AIX and AIX or OS/400 ADSM Servers: Partitioning of Drives
165
AIX and MVS, VM, VSE ADSM Servers: See Figure 78.
Figure 78. Partitioning between ADSM/6000 and an MVS, VM or VSE ADSM server.
Since there is no DEFINE DRIVE command in MVS, VM or VSE ADSM servers, use the standard VARY ON/OFF (or equivalent) commands to make the drives usable by the ADSM/6000 server. Figure 79 shows the sequence of commands.
/* At the beginning of the program, one drive is dedicated to each host. We remove the drive from host 1, define it to host 2, perform ADSM operations, and return to the original configuration. /* Remove drive from host 1. rexec host1_name -luser_name -ppassword VARY cuu,OFFLINE /* Define drive on host 2. dsmadmc -id=admin2 -pa=admin2_password define drive library_name drive_name devi=/drive_path_name /* perform ADSM operations on host 2 with the two drives rexec host1_name -luser_name -ppassword Your_command_script /* Remove drive from host 2 dsmadmc -id=admin2 -pa=admin2_password delete drive library2_name drive_name /* Define the drive back to host 1 rexec host1_name -luser_name -ppassword dsmadmc -id=admin1 -pa=admin1_password VARY cuu,ONLINE
Figure 79. AIX and MVS, VM or VSE ADSM Servers: Partitioning of Drives
166
167
Only ADSM can read data backed up by ADSM. An ADSM server can only read tapes that it labeled itself.
If you want to transfer an ADSM tape to another system, you must perform the following steps:
Issue the CHECKOUT LIBVOLUME ADSM command with the REMOVE=NO parameter. The volume specified by the CHECKOUT command is not ejected physically from the tape library. The volume is put in the insert category (X FF00) for other use. But the volume entry in ADSM library inventory is deleted.
Change its volume category to a host-accepted volume category. Note: The REMOVE=YES parameter is available only in ADSM Version 2. If you are using ADSM Version 1, the CHECKOUT LIBVOLUME command physically ejects the volume. So you must insert the volume back into the tape library to transfer the volume to another system.
If the tape has to come back to the previous host (ADSM/6000), you must:
Change its volume category to the PRIVATE or SCRATCH ADSM category (there is no need to eject the tape this time) using an mtlib command. CHECKIN the volume.
168
169
170
Two product libraries will be created, QMLD and QUSRMLD. In addition to these, a subsystem called QMLDSBS is created. 4. Type the ADDMLD command and press PF4 to:
Set up the RS-232 or LAN port for IBM 3494 communications Vary on the MLDD line.
5. Type the INZMLD command and press PF4 to initialize the MLDD. This initialization command starts jobs QMLMAIN, QMLCOM, and QMLTRACE.
171
You can use ENDMLD command to terminate these jobs if you need to do a problem analysis or error recovery. 6. Use the DSPSTSMLD command to display the IBM 3494 status:
Gather device information Dynamically build classes, policies, and control groups Set up default backup control groups for full backup of the entire system.
2. Enroll the cartridges in the BRMS/400 media management inventory. 3. Review the BRMS/400 policies and change them to suit your needs. 4. Add further backup control groups for more granular backup. 5. Add archive control groups if needed. 6. Perform initial full save of system to generate save history as a recovery starting point.
10.1.3 Partitioning
Figure 80 on page 173 shows the partitioning of an IBM 3494 between the BRMS/400 and another system.
172
10.1.4 Sharing
To share an IBM 3494, all attached host systems must share the host control data set in order to have identical volume status information in the 3494. The BRMS/400 cannot share an IBM Automated Tape Library with any other type of system. Figure 81 on page 174 shows the sharing of an IBM 3494 among multiple AS/400s with BRMS/400 installed on each.
173
174
10.2.1 Partitioning
In this section, we explain the implementation considerations for partitioning the IBM Automated Tape Library between TPF and other systems.
10.2.2 Sharing
To share an IBM Automated Tape Library, all attached host systems have to share the host control data set in order to have identical status information about volumes in the IBM Automated Tape Library.
175
176
All Hosts
Indicates to the Library Manager that the category already assigned to the volumes is to be used. Hosts cannot assign volumes to this category. Indicates scratch MEDIA1. Volumes in this category are mounted in the ICLs of tape drives inside an IBM 3495 that have a category of MEDIA1 assigned, or directly into any drive on request for a MEDIA1 scratch volume. MEDIA1 is a standard capacity cartridge system tape. Indicates scratch MEDIA2. Volumes in this category are mounted in the ICLs of tape drives inside an IBM 3495 that have a category of MEDIA2 assigned, or directly into any drive on request for a MEDIA2 scratch volume. MEDIA2 is an enhanced capacity cartridge system tape. Indicates scratch MEDIA3. Volumes in this category are mounted in the ACFs of tape drives inside an IBM 3495 that have a category of MEDIA3 assigned, or directly into any drive on request for a MEDIA3 scratch volume. MEDIA3 is the IBM 3590 High Performance Tape Cartridge. Reserved Indicates an error volume. Volumes in this category are scratch volumes for which the software detected an error during processing. Indicates a private volume. Volumes in this category contain user data or are assigned to a user. Reserved. These volume categories will be used for the partitioning user modification described in 5.3.1.2, User Modifications on page 100. Indicates that the volume belongs to the VM category SCRATCH0 Indicates that the volume belongs to the VM category SCRATCH1 Indicates that the volume belongs to the VM category SCRATCH2
0001
DFSMS/MVS
0002
DFSMS/MVS
0003
DFSMS/MVS
DFSMS/MVS DFSMS/MVS
000F
DFSMS/MVS
0010 to 007F
DFSMS/MVS
177
DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM DFSMS/VM VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA
Indicates that the volume belongs to the VM category SCRATCH3 Indicates that the volume belongs to the VM category SCRATCH4 Indicates that the volume belongs to the VM category SCRATCH5 Indicates that the volume belongs to the VM category SCRATCH6 Indicates that the volume belongs to the VM category SCRATCH7 Indicates that the volume belongs to the VM category SCRATCH8 Indicates that the volume belongs to the VM category SCRATCH9 Indicates that the volume belongs to the VM category SCRATCHA Indicates that the volume belongs to the VM category SCRATCHB Indicates that the volume belongs to the VM category SCRATCHC Indicates that the volume belongs to the VM category SCRATCHD Indicates that the volume belongs to the VM category SCRATCHE Indicates that the volume belongs to the VM category SCRATCHF Currently not assigned Indicates that the volume belongs to the VSE category SCRATCH00 Indicates that the volume belongs to the VSE category SCRATCH01 Indicates that the volume belongs to the VSE category SCRATCH02 Indicates that the volume belongs to the VSE category SCRATCH03 Indicates that the volume belongs to the VSE category SCRATCH04 Indicates that the volume belongs to the VSE category SCRATCH05 Indicates that the volume belongs to the VSE category SCRATCH06 Indicates that the volume belongs to the VSE category SCRATCH07 Indicates that the volume belongs to the VSE category SCRATCH08
178
VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA VSE/ESA
Indicates that the volume belongs to the VSE category SCRATCH09 Indicates that the volume belongs to the VSE category SCRATCH10 Indicates that the volume belongs to the VSE category SCRATCH11 Indicates that the volume belongs to the VSE category SCRATCH12 Indicates that the volume belongs to the VSE category SCRATCH13 Indicates that the volume belongs to the VSE category SCRATCH14 Indicates that the volume belongs to the VSE category SCRATCH15 Indicates that the volume belongs to the VSE category SCRATCH16 Indicates that the volume belongs to the VSE category SCRATCH17 Indicates that the volume belongs to the VSE category SCRATCH18 Indicates that the volume belongs to the VSE category SCRATCH19 Indicates that the volume belongs to the VSE category SCRATCH20 Indicates that the volume belongs to the VSE category SCRATCH21 Indicates that the volume belongs to the VSE category SCRATCH22 Indicates that the volume belongs to the VSE category SCRATCH23 Indicates that the volume belongs to the VSE category SCRATCH24 Indicates that the volume belongs to the VSE category SCRATCH25 Indicates that the volume belongs to the VSE category SCRATCH26 Indicates that the volume belongs to the VSE category SCRATCH27 Indicates that the volume belongs to the VSE category SCRATCH28 Indicates that the volume belongs to the VSE category SCRATCH29 Indicates that the volume belongs to the VSE category SCRATCH30 Indicates that the volume belongs to the VSE category SCRATCH31
179
OS/400 (MLDD)
Currently not assigned Indicates that the volume has been assigned to category *SHARE400. Volumes in this category can be shared between all attached AS/400 systems. Indicates that the volume has been assigned to category *NOSHARE. Volumes in this category can be accessed only by the OS/400 system that assigned it to the category. Currently not assigned Indicates a private volume. Volumes in this category are managed by ADSM/6000. Indicates an IBM 3490 scratch volume. Volumes in this category are managed by ADSM/6000. Indicates an IBM 3590 scratch volume. Volumes in this category are managed by ADSM/6000. Currently not assigned Reserved Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH2. Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH3. Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH4. Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH5. Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH6. Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH7. Indicates a scratch volume. Volumes in this category belong to the optional scratch pool SCRTCH8. Reserved
0101
OS/400 (MLDD)
ADSM/6000 ADSM/6000
012E
ADSM/6000
BTLS BTLS
0FF3
BTLS
0FF4
BTLS
0FF5
BTLS
0FF6
BTLS
0FF7
BTLS
0FF8
BTLS
0FF9 to 0FFE
BTLS
180
BTLS
Indicates a scratch volume. Volumes in this category belong to the default scratch pool used by BTLS. Note: If you are planning to migrate to DFSMS/MVS, you should use this default scratch category only.
BTLS
Currently not assigned Indicates a volume in error. Volumes are assigned to the error category during demount if the volume serial specified for demount does not match the external label of the volume being demounted. Currently not assigned Indicates Insert. Set when a tape volume is added to the inventory. The vision system reads the external label on the volume, and the Library Manager creates an inventory entry for the volume and assigns it to this category. The attached hosts are notified when one or more volumes are assigned to this category. Reserved Indicates Convenience eject. Set when the Library Manager accepts an eject request. The volume becomes eject pending and is queued to be moved to the convenience output station. When the cartridge accessor delivers the volume to the output station, it is deleted from the Library Manager s inventory. Indicates Bulk eject. Set when the Library Manager accepts an eject request. The volume becomes eject pending and is queued to be moved to the high capacity output station. When the cartridge accessor delivers the volume to the output rack, it is deleted from the Library Manager s inventory. Reserved
All
Library Manager
FF11
Library Manager
FF12 to FFF8
181
Library Manager
Indicates a service volume. Set when the Library Manager detects that a volume has a unique service cartridge volume serial. Volume serials that fit in the mask CE xxx (where xxx represents any valid volume serial characters) are service cartridges. Specific cell locations (defined during the teach process) are reserved for service cartridges. The hosts do not have a record of volumes in the service volume category. Volumes in this category are not reported in inventory data in response to a request from the host. Indicates Manually ejected. Assigned to this category if the cartridge was not found but in the inventory. Indicates Purge Volume. Used only with the 3494. When it notices during an Inventory Update that volumes have been removed since its last update, it places such volumes in the Manually-Ejected category. Hosts can list such volumes and assign them (temporarily) to this Purge-volume category. This action deletes their database entries in the Library Manager. Indicates Unexpected Volume. Reserved for future use. Indicates a cleaner cartridge for the 3590 tape drive. Assigned to this category when the cleaner volumes are identified by the Library Manager. Cleaner volumes are recognized when their volume serial matches a mask set up by the operator through the Library Manager console. Cleaner volumes with the character J on the seventh position of the external volume label are assigned to this category. The hosts do not have a record of volumes in the cleaner volume category. Volumes in this category are not reported in inventory data in response to a request from the host. Indicates a cleaner cartridge for IBM 3490 drives. Assigned to this category when the cleaner volumes are identified by the Library Manager. Cleaner volumes are recognized when their volume serial matches a mask set up by the operator through the Library Manager console. Cleaner volumes without the character J on the seventh position of the external volume label are assigned to this category. The hosts do not have a record of volumes in the cleaner volume category. Volumes in this category are not reported in inventory data in response to a request from the host.
FFFA
Library Manager
FFFB
Library Manager
FFFC FFFD
FFFE
Library Manager
182
Indicates a private volume. Set by the control program. Any tape mount request to this category must be for a specific volume serial, not based on the category only.
183
184
| | | | | | | | | | | | | | | | | | |
We introduce and give you a brief overview of the key attributes and the general concept of the Virtual Tape Server subsystem. We describe the hardware components and building blocks and list the supporting host software products.
Note: For details about implementation considerations and data flow as well as for migration and operational considerations, please refer to Redbook, The IBM Magstar Virtual Tape Server and Enhancements to Magstar: New Era in Tape .
185
| | | | | | | | | | | | | | | | |
One IBM 3494-D12 drive unit frame houses the IBM 3590-B1A tape drives that are dedicated to the Virtual Tape Server function. One IBM 3494-B16 Virtual Tape Server unit frame which contains the required hardware and microcode to enable full 3590 Magstar tape storage capacity, plus cartridge storage cells.
Figure 82 shows the minimum configuration of a Virtual Tape Server subsystem in IBM 3494 Tape Library including one library unit frame, one drive unit frame, and one Virtual Tape Server unit frame.
186
| | | | | | | | | | |
One IBM 3590-A14 frame that houses four IBM 3590-B1A tape drives which are dedicated to the Virtual Tape Server function. No IBM 3590-A00 ESCON tape controller is required. One IBM 3495-B16 Virtual Tape Server unit frame that contains the required hardware and microcode to enable full tape storage capacity.
Figure 82 on page 186 shows the smallest Virtual Tape Server subsystem in an IBM 3495 Tape Library configuration consisting of an IBM 3495 Tape Library Model L20, including the IBM Magstar Virtual Tape Server.
187
| | | | | | | | | | | | | | | | | | |
It automatically fills and manages Magstar 3590 cartridge capacity. It controls and manages the volume movement to and from the tape volume cache and 3590 cartridges or Magstar tape drives.
188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
All host interaction is through the Tape Volume Cache. The operating system sees 32 virtual tape devices which are physically represented by storage space on the Tape Volume Cache s RAID (Redundant Array of Independent Disk) DASD. The operating system cannot directly write a logical volume to a stacked Magstar cartridge. Multiple virtual volumes can be accessed in parallel because they physically reside on the DASD. Virtual volumes are reacessible at disk speeds. Tape motion commands such as space, locate, rewind, and unload are mapped into disk commands and happen in milliseconds, not seconds as for traditional tape commands.
B.2.2 Fully Integrated in IBM 3494 and IBM 3495 Tape Libraries
The IBM Magstar Virtual Tape Server can only be installed inside an IBM 3494 or 3495 Tape Library, and is fully supported through the Library Manager. For instance, the location of virtual volumes and physical Magstar cartridges is stored in the Library Manager console. Logical and physical volume serial ranges are defined at the Library Manager console.
189
| | | | | | | |
190
| | | | | | | | | | | | | | | | | | | |
191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
MEDIA1=400 MB MEDIA1 reflects a CST type of cartridge written in 36-track recording technology without using the Improved Data Recording Capability (IDRC) that a physical IBM 3490E tape drive provides.
MEDIA2=800 MB MEDIA2 reflects an ECCST type of cartridge written in 36-track recording technology without using the IBM 3490E s IDRC.
Logical 3490E volumes are stacked on physical Magstar cartridges allowing effective use of their large capacity of +30 GB and of the IBM 3590 tape drive s excellent performance. The number of stacked Magstar 3590 physical cartridges managed by the IBM Magstar Virtual Tape Server is limited only by the number of storage slots inside your IBM 3494 or 3495 tape library.
Three IBM 3590-B1As plus 36 GB of Tape Volume Cache If your tape operation is inhibited by the number of tape drives available but not in terms of throughput, you might consider installing this configuration.
Six IBM 3590-B1As plus 72 GB of Tape Volume Cache This configuration is the maximum configuration for a Virtual Tape Server subsystem in an IBM 3494.
More configurations are being tested; support for these will be announced at the completion of testing. Some of the configurations being tested are four- and five-drive configurations.
192
| | | | | | | | | | | |
193
| | | | | | | | | | | | | | | | | | | |
194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
It has a unique volume serial (volser) number known to the host. It is loaded and unloaded on a virtual device. It supports all tape write modes, including Tape Write Immediate. It contains all standard tape marks and data blocks. It supports an IBM standard label. It can be appended to after it was initially written from the beginning of tape. Data written is guaranteed to be in the Tape Volume Cache when a command is completed successfully that either implicitly or explicitly causes synchronization. Each host written record has a logical block ID. End of volume is signaled when the total number of bytes written has reached 400 MB for an emulated CST or 800 MB for an emulated ECCS T volume.
Virtual volumes can exist only in an IBM 3494 or 3495 tape library. You can direct a tape data set to a virtual tape drive by directing it into a specific tape library.
Virtual Tape Server IOCP 9032 - PORT D6 = CHPID S 29 & 32 9032 - PORT D7 = CHPID S 2A & 35 * CNTLUNIT CUNUMBR=32E,PATH=(32,29),UNIT=TAPE, UNITADD=((00,16)),LINK=(D6,D6),CUADD=0 CNTLUNIT CUNUMBR=35E,PATH=(35,2A),UNIT=TAPE, UNITADD=((00,16)),LINK=(D7,D7),CUADD=0 TAPE1AE0 IODEVICE ADDRESS=(1AE0,16),UNIT=TAPE,CUNUMBR=(32E,35E), UNITADD=00 * CNTLUNIT CUNUMBR=32F,PATH=(32,29),UNIT=TAPE, UNITADD=((00,16)),LINK=(D6,D6),CUADD=1 CNTLUNIT CUNUMBR=35F,PATH=(35,2A),UNIT=TAPE, X X X
X X 195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Each virtual device has the following characteristics (just like real tape devices):
It has a host device address. It is included in the I/O generation for the system. It is varied online or offline to the host. It signals ready when a virtual volume is loaded. It responds and processes all IBM 3490E I/O commands It becomes not ready when a virtual volume is rewound and unloaded.
The functionality of the 3490E Integrated Cartridge Loader (ICL) is also included in the virtual device s capability. All virtual devices indicate that they have an ICL. You can associate a media type with the cartridge loader that will allow fast access for scratch mounts. The active status of the cartridge loader depends on the availability of scratch volumes of the assigned media type.
Note: Currently, stacked Magstar cartridges cannot be removed from the IBM Magstar Virtual Tape Server. Therefore, these cartridges cannot be ejected from the tape library.
196
| | | | | | | |
Through the Library Manager console, you define which cartridges are to be used by the Virtual Tape Server subsystem. Logical volumes are mapped by the internal storage management software.
197
| | | | | | | | | | | | | | | | | |
B.5.1.1 One IBM 3494 Model L10, L12, or L14 Control Unit Frame
An IBM 3494 must include one library control-unit frame which contains the Library Manager, the convenience I/O station (optional), and up to two tape drives:
IBM 3490E-CxA tape drives with an integrated controller in the IBM 3494-L10 SCSI-attached IBM 3590-B1A tape drives in the IBM 3494-L12 ESCON-attached IBM 3590-B1A tape drives and the IBM 3590-A00 controller in the IBM 3494-L14.
The IBM 3494-L12 and IBM 3494-L14 library control unit frame can be installed without drives. For an IBM 3494-L10 frame, you must submit a Request for Price Quotation (RPQ).
198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
One IBM 3494-D12 drive frame housing three or six IBM 3590-B1As These IBM 3590-B1As are for exclusive use of the IBM Magstar Virtual Tape Server. They are attached only to the Virtual Tape Server controller, which is installed in the IBM 3494-B16 frame, and are therefore not visible to any attached host. No additional tape drives that directly attach to any host can be installed inside an IBM 3494-D12 frame owned by the Virtual Tape Server. When ordering an IBM 3494-D12 frame, you must order the tape drives separately, as you would for non-VTS-attached IBM 3494-D12 frames. The IBM 3494-D12 frame provides 290 cartridge storage cells. The occupancy of the storage cells is under control of the Library Manager. Therefore, these storage cells can be used by the Library Manager to store any physical cartridge, not only those belonging to the Virtual Tape Server subsystem.
One IBM 3494-B16 frame including the tape volume cache and the VTS subsystem controller If you open the door of an IBM 3494-B16 frame, you will notice that it looks almost like an IBM 3494-S10 storage unit frame from the inside. This is because the IBM 3494-B16 frame provides storage capacity for 400 cartridges as well as containing the hardware and software components of the Virtual Tape Server. As in the Virtual Tape Server-owned IBM 3494-D12 frame, these storage cells can also contain cartridges that do not belong to the Virtual Tape Server subsystem.
B.5.1.3 Additional IBM 3494 Model D10, D12, D14, or S10 Frames
An IBM 3494 tape library can be composed of up to 16 frames. An additional 13 frames can be added, consisting of drive unit frame IBM 3494-D10/D12/D14 and storage unit frame IBM 3494-S10.
B.5.2 IBM 3495 Tape Library Models L20, L30, L40, L50
The IBM Magstar Virtual Tape Server is integrated in an IBM 3495 tape library by attaching two frames to either model, similar to adding two IBM 3590-A14 frames or a combination of one IBM 3490-A20 tape control unit and one IBM 3490-B40 tape drive box.
One IBM 3590 tape subsystem Model A14 frame, housing four Magstar tape drives Model B1A. The IBM 3590-A14 frame for integration in a Virtual Tape Server does not include the IBM 3590-A00 controller. You must order the IBM 3590-B1A tape drives separately. The IBM 3590-B1A tape drives are not accessible by any host system and are for exclusive use of the Virtual Tape Server. All of the tape drives in the IBM 3590-A14 are dedicated to the Virtual Tape Server subsystem and cannot directly attach to a host system instead.
199
| |
One IBM 3495-B16 Virtual Tape Server unit frame including the Tape Volume Cache and the VTS subsystem controller.
200
| Figure 87. IBM Magstar Virtual Tape Server Host Software Support
| | | | | | | | | | | | | | | | | | |
B.6.1 MVS/ESA
The table on the left hand-side of Figure 87 shows the software requirements in an MVS/ESA environment. In a system-managed tape environment, the following software levels are supported:
MVS/ESA V4.3.0, V5.1.0, or V5.2.0 JES3 Version V4.2.1, V5.1.1 or V5.1.2, if installed DFSMS/MVS V1.1.0, V1.2.0, or V1.3.0 Environmental Record Editing and Printing (EREP) V3.5 plus PTF
If you are managing your IBM 3494 or 3495 tape library using Basic Tape Library Support (BTLS) for MVS/DFP (5655-057), the following software levels are supported:
201
| | | | | | | | | | | | | | | | | | | | | | | | |
If you are using BTLS for DFSMS/MVS (5655-056), the following software levels are required:
MVS/ESA V4.3.0 or V5.1.0 DFSMS/MVS V1.1.0, V1.2.0, or V1.3.0 EREP V3.5 plus PTF
If you are using other 3490E emulations, such as Magstar tape drives attached to the host through the IBM 3591-A01 controller, you must install BTLS to allow the host to distinguish between native and emulated IBM 3490E devices.
B.6.2 VM/ESA
In a native VM/ESA environment, the Virtual Tape Server requires the following software levels:
For guest operating system support, VM/ESA V1.2. or higher must be installed, but DFSMS/VM is not required.
B.6.3 VSE/ESA
Native VSE/ESA does not support the IBM Magstar Virtual Tape Server. If VSE/ESA is running as a guest under VM, the following software levels are required for support of a Virtual Tape Server subsystem installed in an IBM 3494 tape library:
Please note that the IBM Magstar Virtual Tape Server in a IBM 3495 tape library is not supported for VSE/ESA, either native or running as a guest under VM.
202
| | | | | | | | | | | | | | | | | |
203
| | | | | | | | | | | | | | | | | | | | | | | | |
The Virtual Tape Server controller is connected to the Library Manager through one RS-232 connection and two RS-422 connections to provide the required communication paths. A total of five or eight RS-422 connections are required, depending on the number of Magstar tape drives installed in the Virtual Tape Server plus one RS-232 connection. Without additional features installed on the library control-unit frame Models L10, L12, or L14, the library manager provides four RS-232 direct-attached host ports and four RS-422 control-unit or direct-attached drive connections. Currently, you need to order additional features for the IBM 3494 Model Lxx frames to provide the required Library Manager connections to the Virtual Tape Server subsystem. Depending on the number of IBM 3590-B1A tape drives in the Virtual Tape Server controller (IBM 3494-B16) configuration and whether other control unit are installed in the IBM 3494, Feature 5229 and one or two Feature 5228 may need to be installed.
If the IBM 3494-B16 contains three IBM 3590-B1A tape drives, up to an additional seven control units can be connected to the Library Manager with appropriate Features 5229 and 5228. If the IBM 3494-B16 contains six IBM 3590-B1A tape drives, up to an additional four control units can be connected to the Library Manager with appropriate Features 5229 and 5228.
204
| | | | | | | | | | | | | | | | |
B.8.2 The D12/B16 Frame Must Be Within The First Eight Frames
If you are extending your current library to more than eight frames, you cannot install the Virtual Tape Server subsystem beyond the eighth frame. If the configuration of frames in an installed IBM 3494 tape library has to be changed for example, if frames must be moved to install a VTS subsystem, or if frames are moved from one IBM 3494 to another an RPQ must be processed before the IBM 3494 Tape Library can be reconfigured. This RPQ is required for moving feature numbers 5300, 5302, 5304, and 5400, or Models B16, D10, D12, D14, and S10, and will ensure that the proper cables are available. The RPQ will also prepare for future changes or enhancements.
205
| | | | | | | | | | | | | |
B.8.3 The D12 Frame Must Always Be to the Left of the B16 Frame
If you are planning to use an already installed IBM 3494-D12 frame to hold the IBM 3590-B1A tape drives of the Virtual Tape Server, it has to be installed to the left of the IBM 3494-B16 frame (between the IBM 3494-B16 and the IBM 3494-Lxx frames). If you want to change an existing empty IBM 3494-D14 frame into an IBM 3494-D12 frame, you must submit an RPQ.
B.8.4 The D12 and B16 Frames Must Directly Attach to One Another
You cannot install another frame between the IBM 3494-D12 and the IBM 3494-B16 frames that include an IBM Magstar Virtual Tape Server.
206
| Figure 90. New I B M 3494 Features, Their Codes and Model Upgrades
| | | | | | | | | | | | | | | | | | | |
B.9 New IBM 3494 Features, Their Codes and Model Upgrades
For integration of an IBM Magstar Virtual Tape Server into an existing IBM 3494, or for factory installation, you must order the features listed below. To use an existing IBM 3494 frames for installation of a Virtual Tape Server subsystem.
207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 208
Order one Feature 3701 if three IBM 3590-B1As are installed in the Virtual Tape Server subsystem. Order two Features 3701 if six IBM 3590-B1As are installed in the Virtual Tape Server subsystem.
It is required that you supply a modem for installation, operation, and remote support service of the Model B16 frame and that you install one of the following features code. The same modem and switch may be shared between an IBM 3494 Model B16, and an IBM 3590 tape subsystem Model A00. 2710 Remote Support Facility This feature supplies a cable and connectors to attach a customer-supplied modem to the IBM 3494 Model B16 for remote diagnostic support. This feature should be specified only on the first IBM 3494 Model B16, or IBM 3590 tape subsystem Model A00 in an installation, as the Model B16s and Model A00s can use the same Remote Support Facility. Each IBM 3494 Model B16 must specify either Feature 2710, 2711, or 2712. 2711 Remote Support Switch This feature provides a switch, cables, and connectors for the attachment of a IBM 3494 Model B16, and one or more 3590 Model A00 Controllers to the Remote Support Facility (Feature Code 2710). It should be ordered on a IBM 3494 Model B16, IBM 3495 Model B16, or IBM 3590 tape subsystem Model A00 that is the second product in an installation. Only one switch should be specified per installation site. Each IBM 3494 Model B16 must specify Feature 2710, 2711, or 2712. 2712 Remote Support Attachment This feature provides an additional cable and connector to attach to the Remote Support Switch (feature code 2711). Order it on the IBM 3494 Model B16, or IBM 3590 tape subsystem Model A00 that is, the third through fourteenth product in the installation. Each 3494 Model B16 must specify Feature 2710, 2711, or 2712. Features 2710, 2711 and 2712 are both plant and field installable.
IBM 3494 Model L10 to L12 IBM 3494 Model L10 to L14
| | | | | | | |
IBM 3494 Model D10 to D12 IBM 3494 Model D10 to D14 IBM 3494 Model D10 to B16 IBM 3494 Model D12 to B16 IBM 3494 features 5300 to 5302 IBM 3494 features 5300 to 5304
If you want to upgrade one or two existing frames to a D12+B16 frame combination and the model upgrades are not listed, also please submit an RPQ.
209
| | | | | | | | | | | |
Height: 1800 mm (70.9 in) Width : 750 mm (29.5 in) Depth : 1524 mm (60.0 in)
For further information on the Virtual Tape Server subsystem s physical installation please refer to IBM 3494 Tape Library Dataserver Introduction and Planning Guide .
210
| | | | | | | | | | | | | | | | | |
211
| | | | | | | | | | | | | | | | | | | | | | | |
B.11.4 IBM 3495-B16 and IBM 3590-A14 Must Be Installed Side by Side
The IBM 3495-B16 and the IBM 3590-A14 must be installed adjacent to one another. You cannot separate the two frames.
212
| | | | | | | | | | | | | | | | | | | | | |
213
| | | |
The VTS subsystem controller uses the LAN attachment method to communicate with the Library Manager. This leaves all existing eight control-unit attachment ports (RS422) into the LM available to connect to IBM 3490 subsystems and IBM 3590-A00 attached IBM 3590 tape subsystems.
214
| Figure 94. IBM 3495 Virtual Tape Server Models and Features
| | | | | | | | | | | | | | | | | |
B.13.1 IBM 3590 tape subsystem Model A14 Plus Feature 9010
Feature 9010 for the IBM 3590-A14 frame indicates, that the IBM 3590 tape drives in it are to be used by a Virtual Tape Server subsystem.
215
| | | | | | | | | | | | | |
In addition to the modem you must supply for installation, operation, and remote support service of the IBM 3495-B16, you must install one of the following features: 2710 2711 2712 Remote Support Facility Remote Support Switch Remote Support Attachment
For detailed information on the features and their codes, please refer to Section B.9, New IBM 3494 Features, Their Codes and Model Upgrades on page 207.
B.13.3 Feature Codes For IBM 3495 Model L20, L30, L40 and L50
When a Virtual Tape Server is installed in an IBM 3495, Feature 9020 must be specified for the tape library. This feature provides the hardware and microcode for the Library Manager to VTS controller communication path. For a plant-installed IBM 3495-B16, you must order Feature 9016; for field installation, order Feature 4016.
216
| | | | | | |
217
| | | | | | | | | | | | | | | | | | |
218
| | | | | | | | | | | | | | | | | | | | | | |
Virtual Volume Use Information. After the first usage of a volume serial number as a virtual volume, information about that usage is maintained in the Tape Volume Cache even though most of the volume s data has been moved onto a Magstar cartridge into a logical volume. This portion of the data from the last usage of the volume is called the stub and includes the first several hundred bytes of data written during the last use of the volume. The information includes at least the data records that include a tape label.
Automatic Initialization of a virtual volume on its first use. Prior to the first use of a volume serial number as a virtual volume, the Tape Volume Cache will not have any information about the previous use of the volume. When the volume is mounted for the first time, the Storage Management Software will generate a set of records for the volume in the Tape Volume Cache as if the volume had been initialized using EDGINERS or IEHINITT specifying an IBM standard label, that is the volume will contain a VOL1, HDR1 and Tape Mark.
Outboard Management of Volume Pools (Categories). The IBM Tape Libraries, along with host software, provide a facility to have the Library Manager manage groups of volumes in pools. The pools are
219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
called Categories and the host can assign one or more volumes to a category and later ask for a mount of a volume from the category. The Library Manager, on receiving a mount from category request, will select a volume from the specified category and make it ready on a tape device. As part of the operation to make the volume ready on a tape device, the Library Manager passes the volume serial number of the volume mounted back to the host software. Through the use of categories, the Library Manager can maintain a set of volumes that can be used for scratch mounts. Depending on the host software support at least two categories are used for scratch mounts, one for Media Type 1 - Standard Cartridge System Tape and one for Media Type 2 - Enhanced Capacity Cartridge System Tape. Fast-Ready Attribute for Categories With the introduction of the Virtual Tape Server, an attribute can be assigned to a category that allows the Storage Management Software in the Virtual Tape Server to know that it can use the last usage information maintained in the Tape Volume Cache to process a nonspecific mount instead of having to recall the complete logical volume for the selected volume from a Magstar cartridge. The attribute for a specific category is set by the operator through a panel on the Library manager. Logical Volume Data Invalidation Like a physical volume, the data that resides in a logical volume is accessible until two things happen. First, the Tape Management System determines that the data on the volume has expired and returns the volume to a scratch pool. Second, the volume is mounted in response to a scratch mount request and new data is written on the volume from the beginning of tape. The Storage Management Software in the Virtual Tape Server maintains a database to where the current accessible version of a logical volume is located on the IBM 3590 tape cartridges that it manages. This is done independent of whether the Tape Management System has returned the volume to a scratch pool or not. It is only when the volume serial number of the logical volume is reused as a virtual volume and modified, either from the beginning of tape or in an append operation, that the old location of the logical volume is deleted and the space it represents marked as invalid. When the new version of the logical volume is migrated to a Magstar cartridge, it will be in a different location on a different cartridge. A nonspecific mount request for the first time a volume serial number is used is processed with the following steps: 1. The host sends a mount request for a scratch cartridge by specifying the category that contains either CST or ECCST volumes. The categories have the Fast-Ready attribute set. The Library Manager selects a logical volume serial number to satisfy the mount request. 2. The Storage Management Software in the Virtual Tape Server checks whether the selected volume has prior usage information in the Tape Volume Cache. Since this is the first usage of the volume, there will not be any information. The Storage Management Software will create that information including the data records for a VOL1, HDR1 and tape mark. 3. Mount complete is signaled to the host which then can write data to the virtual volume. Since there was no physical mount of a volume required, the nonspecific mount request is handled much faster than in a conventional tape library.
220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
4. When the host closes the volume, End-of-Volume (EOV) processing is performed, and the volume is rewound and unloaded. 5. After the volume is unloaded, the virtual volume is scheduled to be copied onto a physical IBM 3590 cartridge. 6. After it is copied, the virtual volume remains in the Tape Volume Cache until the space it occupies is needed for other virtual volumes. When a virtual volume s space is needed, most of the volume s data is deleted, leaving a small portion stub of the volume s data. That stub has enough space to include the VOL1, HDR1 and HDR2 records, URL1 through URL8 records if present and a tape mark. Selection of when a virtual volume is stubbed in the Tape Volume Cache is through a Least Recently Used (LRU) algorithm. After the host has expired the data on the logical volume, it becomes a scratch volume again and can be selected by the Library Manager in response to a mount request for a scratch volume. A nonspecific mount request for a subsequent use of a volume serial number is processed with the following steps: 1. The host sends a mount request for a scratch cartridge by specifying the category that contains either CST or ECCST volumes. The categories have the Fast-Ready attribute set. The Library Manager selects a logical volume serial number to satisfy the mount request. 2. The Storage Management Software in the Virtual Tape Server will find that the selected volume has prior usage information in the Tape Volume Cache. This information contains all of the data records that the host Tape Management Software needs to validate the usage of the volume for a nonspecific mount request. 3. Since the volume was selected from a category that had the Fast-Ready attribute set, the Storage Management Software signals the host that the mount is complete without having to recall all of the data from the last usage of the volume from a physical cartridge. This results in a very low mount-response time since no physical movement or mounting of a cartridge is involved. 4. Same as in the first usage of a volume serial number. 5. After the volume is unloaded, the virtual volume is scheduled to be copied onto a physical 3590 tape cartridge. It is at this point that the last version of the data associated with the volume serial number is invalidated. 6. Same as in the first usage of a volume serial number.
221
| | | | | | | | | | | | | | | |
222
| | | | | | | | | | | | | | | |
223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
224
| | | | | | | | | | | | | | | |
225
| | | | | | | | | | | | | | | | | | | | | |
226
| | | | | | | | | | | | | |
A logical library can contain either a Virtual Tape Server subsystem, or current IBM 3490/3490E with or without native IBM 3590 tape subsystems. Given general availability of the IBM Magstar Virtual Tape Server, each physical IBM 3494 or 3495 tape library can be partitioned into two logical libraries:
One contains one Virtual Tape Server subsystem The other contains all real IBM 3490 and all native IBM 3590 subsystems.
227
| | | | | | | | | | | | | | | | |
228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Physical
insert category and notifies all attached hosts. The hosts can then perform insert processing for these volumes as they would for physical cartridges in the library. The range of volumes is expanded starting with the lower valued volume serial number (A is less than B, B is less than C, and so on). The volume serial number is incremented where alphabetic characters are incremented alphabetically and numeric characters are incremented numerically. For example, a volume serial number range specified as ABC000 and ABD999 would result in 2000 volumes being added (ABC000 - ABC999 and ABD000 - ABD999). If a 3590 cartridge is inserted into a library and fits into the volser range defined for physical volumes used by the Virtual Tape Server subsystem, the Library Manager does not notify any host. Management of these cartridges is under control of the Library Manager and the Virtual Tape Server subsystem. If you did not define the physical volumes for use by the Virtual Tape Server subsystem before entering them into the library, the Virtual Tape Server subsystem will not be able to use these cartridges.
You do not have to define all of the logical and physical ranges during installation. As needed, additional volume serial number ranges may be added later. You also do not have to have add all of the physical 3590 cartridges you defined at one time, they can be added as needed.
230
| | | | | | | | | | | | | | | | | | | |
231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
You must change your ACS routines to assign these newly defined storage groups. If the storage group ACS routine assigns a storage group that contains a VTS library, the tape data set is directed to the Virtual Tape Server subsystem. For details on the implementation in an SMS managed environment, please refer to the DFSMS/MVS Version 1 Release 3 Object Access Method Planning, Installation, and Administration Guide for Tape Libraries . For further information on sharing a VTS library, please refer to the Guide to Sharing and Partitioning IBM Tape Library Dataserver .
232
| | | | | | | | | | | | | | |
233
234
Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact IBM Corporation, Dept. 600A, Mail Drop 1329, Somers, NY 10589 USA. Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee. The information contained in this document has not been submitted to any formal IBM test and is distributed AS IS. The information about non-IBM ( vendor ) products in this manual has been supplied by the vendor and IBM assumes no responsibility for its accuracy or completeness. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customer s ability to evaluate and integrate them into the customer s operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will be obtained elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. Reference to PTF numbers that have not been released through the normal distribution process does not imply general availability. The purpose of including these reference numbers is to alert IBM customers to specific information relative to the implementation of the PTF when it becomes available to each customer according to the normal IBM PTF distribution process.
235
The following terms are trademarks of the International Business Machines Corporation in the United States and/or other countries:
ACF/VTAM AIX Application System/400 BookManager CICS/ESA DFSMS DFSMS/VM DFSMSdss DFSMSrmm DirMaint Enterprise System/4381 Enterprise System/9370 Enterprise Systems Architecture/390 ES/3090 ES/9000 ESA/370 ESCON XDF Hardware Configuration Definition IMS Magstar MVS/DFP MVS/SP OS/2 OS/400 POWERparallel PS/2 RAMAC RMF S/370 S/390 Parallel Enterprise Server System/370 VM/ESA VTAM 9076 SP2 ADSTAR AIX/6000 AS/400 BookMaster DB2 DFSMS/MVS DFSMSdfp DFSMShsm DFSORT Enterprise System/3090 Enterprise System/9000 Enterprise Systems Architecture/370 Enterprise Systems Connection Architecture ES/4381 ES/9370 ESA/390 ESCON IBM IMS/ESA MVS (logo) MVS/ESA MVS/XA OS/390 Parallel Sysplex PR/SM RACF RISC System/6000 RS/6000 S/390 SP2 System/390 VSE/ESA 3090
The following terms are trademarks of other companies: C-bus is a trademark of Corollary, Inc. PC Direct is a trademark of Ziff Communications Company and is used by IBM Corporation under license. UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company Limited. Microsoft, Windows, and the Windows 95 logo are trademarks or registered trademarks of Microsoft Corporation. Java and HotJava are trademarks of Sun Microsystems, Inc.
236
Magstar and IBM 3590 High Performance Tape Subsystem Technical Guide , SG24-2506 Magstar and IBM 3590 High Performance Tape Subsystem: Multiplatform Implementation , SG24-2594 The IBM Magstar Virtual Tape Server and Enhancements to Magstar: New Era in Tape , SG24-4917 DFSMS/MVS Version 1 Release 3.0 Presentation Guide , GG24-4391
| |
IBM 3494 Introduction and Planning Guide , GA32-0279 IBM 3494 Operator s Guide , GA32-0280 IBM 3494 User s Guide: Media Library Device Driver for Application System/400 , GC35-0153 IBM 3494 User s Guide: Library Control Device Driver for VSE/ESA , GC35-0176 IBM 3495 Introduction and Planning Guide , GA32-0234 IBM 3495 Operator s Guide , GA32-0235 IBM 3590 High Performance Tape Subsystem Introduction and Planning Guide , GA32-0329 IBM 3590 High Performance Tape Subsystem User s Guide , GA32-0330
237
MVS/ESA Support for IBM 3495 , GC28-1694 DFSMS/MVS Version 1 Release 3 Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries , SC26-3051 DFSMS/MVS Version 1 Release 3: DFSMSrmm Implementation and Customization Guide , SC26-4932 DFSMS/MVS Version 1 Release 3 Access Method Services for Integrated Catalog Facility , SC26-4906 DFSMS/MVS Version 1 Release 3 DFSMSdfp Storage Administration Reference , SC26-4920 Basic Tape Library Support Version 1 Release 1 User s Guide and Reference , SC26-7016 MVS/ESA SP V5 System Commands , GC28-1442 MVS/ESA SP V5 JES3 Commands , GC28-1444 VM/ESA DFSMS/VM Function Level 221 Removable Media Services User s Guide and Reference , SC35-0141 AIX Parallel and ESCON Channel Tape Attachment/6000 Version 3 Release 1.0 Installation and User s Guide , GA32-0311 IBM SCSI Tape Drive, Medium Changer, and Library Device Drivers Installation and User s Guide , GC35-0154 POWERstation and POWERserver S/370 Channel Emulator/A User s Guide and Service Information , SA23-2696 POWERstation and POWERserver System/390 Enterprise Systems Connection Channel Emulator User s Guide and Service Information , SA23-2722 ADSTAR Distributed Storage Manager/6000 Administrator s Guide Release 2 , SH26-4005 ADSTAR Distributed Storage Manager/6000 Administrator s Reference Release 2 , SH26-4006 ADSTAR Distributed Storage Manager/6000 Installing the Server and Administrative Client Release 2 , SH26-4013 ADSTAR Distributed Storage Manager for AIX Administrator s Reference Version 2 , SH35-0135 Application System/400 Backup Recovery and Media Services/400 Guide Version 2 , SC41-0095 AS/400 System Operation V3.1.0 , SC41-3203 AS/400 Automated Tape Library Planning and Management Version 3 , SC41-3309 VSE/ESA System Control Statements , SC33-6513 VM/ESA CP Command and Utility Reference , SC24-5519 Transaction Processing Facility General Information , GH31-0147 Transaction Processing Facility Operations Guide , GH20-7493
238
PUBORDER to order hardcopies in United States GOPHER link to the Internet - type GOPHER.WTSCPOK.ITSO.IBM.COM Tools disks To get LIST3820s of redbooks, type one of the following commands:
TOOLS SENDTO EHONE4 TOOLS2 REDPRINT GET SG24xxxx PACKAGE TOOLS SENDTO CANVM2 TOOLS REDPRINT GET SG24xxxx PACKAGE (Canadian users only)
To get lists of redbooks:
TOOLS SENDTO WTSCPOK TOOLS REDBOOKS GET REDBOOKS CATALOG TOOLS SENDTO USDIST MKTTOOLS MKTTOOLS GET ITSOCAT TXT TOOLS SENDTO USDIST MKTTOOLS MKTTOOLS GET LISTSERV PACKAGE
To register for information on workshops, residencies, and redbooks:
http://w3.itso.ibm.com/redbooks
http://www.elink.ibmlink.ibm.com/pbl/pbl
IBM employees may obtain LIST3820s of redbooks from this page.
REDBOOKS category on INEWS Online send orders to: USIB6FPL at IBMMAIL or DKIBMBSH at IBMMAIL Internet Listserver With an Internet E-mail address, anyone can subscribe to an IBM Announcement Listserver. To initiate the service, send an E-mail note to announce@webster.ibmlink.ibm.com with the keyword subscribe in the body of the note (leave the subject line blank). A category form and detailed instructions will be sent to you.
239
Online Orders (Do not send credit card information over the Internet) send orders to:
IBMMAIL usib6fpl at ibmmail caibmbkz at ibmmail dkibmbsh at ibmmail Internet usib6fpl@ibmmail.com lmannix@vnet.ibm.com bookshop@dk.ibm.com
Telephone orders
United States (toll free) Canada (toll free) Outside North America (+45) 4810-1320 - Danish (+45) 4810-1420 - Dutch (+45) 4810-1540 - English (+45) 4810-1670 - Finnish (+45) 4810-1220 - French 1-800-879-2755 1-800-IBM-4YOU (long (+45) (+45) (+45) (+45) (+45) distance charges apply) 4810-1020 - German 4810-1620 - Italian 4810-1270 - Norwegian 4810-1120 - Spanish 4810-1170 - Swedish
1-800-IBM-4FAX (United States) or (+1) 415 855 43 29 (Outside USA) ask for: Index # 4421 Abstracts of new redbooks Index # 4422 IBM redbooks Index # 4420 Redbooks for last six months
Direct Services - send note to softwareshop@vnet.ibm.com On the World Wide Web Redbooks Home Page IBM Direct Publications Catalog http://www.redbooks.ibm.com http://www.elink.ibmlink.ibm.com/pbl/pbl
Internet Listserver With an Internet E-mail address, anyone can subscribe to an IBM Announcement Listserver. To initiate the service, send an E-mail note to announce@webster.ibmlink.ibm.com with the keyword subscribe in the body of the note (leave the subject line blank).
240
Please put me on the mailing list for updated versions of the IBM Redbook Catalog.
First name Company Address City Telephone number Invoice to customer number Credit card number
Last name
Card issued to
Signature
We accept American Express, Diners, Eurocard, Master Card, and Visa. Payment by credit card not available in all countries. Signature mandatory for credit card payment. DO NOT SEND CREDIT CARD INFORMATION OVER THE INTERNET.
241
242
Index A
Access Method Services commands See AMS commands ACDS 37 ACF cartridge loading 74 considerations 105 DFSMS/VM 134 IBM 3495 31 IBM 3590 High Performance Tape Subsystem ACS routine 37, 90 active control data set See ACDS ADSM/6000 automated tape drive assignment 164 CHECKIN 70 insert processing 70 partitioning 162 sharing volumes 168 tape drive assignment 159, 163 tape library support 55 volume category 58 volume category assignment 163 volume inventory database 77 Advanced Program-to-Program Communication See APPC AIX/6000 automated tape drive assignment 162 considerations 58 control data sets 57 daemon 156 device driver 153 ESCON attachment 155 implementation 153 insert processing 69 Library Manager interface 57 LMCP 57 mtlib command 69 parallel attachment 155 partitioning 159 recovery considerations 168 SCSI attachment 154 sharing 156 tape drive assignment 157, 160, 161 tape drive sharing 77 tape library support 55 volume category 58, 66 volume category assignment 160 volume sharing 77, 167 volume transfer 167 AL DFSMS/MVS 40, 108 ALTER AMS command 38 A M S commands ALTER 38 CREATE 38 DELETE 38 LIBRARY 42, 43, 69 ANSI label See A L API LBSERV 49, 142 VGS 49 APPC Library Manager 8 VSE/ESA native support 53 application programming interface See API AS/400 remote power sequencing 24 tape library attach 14 ASSIGN CCW tape drive assignment 78 assign command tape drive assignment 157 Automated Cartridge Facility See ACF automated tape drive assignment ADSM/6000 164 AIX/6000 162 automatic class selection routine See ACS routine availability IBM Automated Tape Library 35
B
Backup Recovery and Media Services/400 See BRMS/400 barcode IBM 3494 10, 23 tape cartridge 10 Basic Tape Library Support See BTLS BLP AIX/6000 72 BTLS 44 DFSMS/MVS 40, 72, 108 BRMS/400 control data sets 172 implementation 171 partitioning 172 private volumes 173 scratch volume 173 sharing 173 tape drive assignment 173 tape library support 58 volume assignment 173
243
BRMS/400 (continued) vo lume category 173 BTLS allocation 121 BLP 44 catalog 44, 113 catalog sharing 75 considerations 44 control data sets 44, 113 default category for scratch 116 define library devices 114 demount 116 DFRMM 44 DFSMSrmm 44 drive assignment 122, 124 esoteric device group name 115 exits 120 external label 44 implementation 113 insert processing 69 installation tasks 114 internal label 44 inventory list 118 JES3 121 Library Manager interface 43 message display 121 NL 44 partitioning 122 PRIVATE volume 126 recovery considerations 126 scratch allocations 119 scratch threshold 116 set volume category 118, 121 sharing 124 software support level 42 tape drive sharing 125 tape library support 41 tape management system considerations Virtual Tape Server 201, 232 volume assignment 122, 123 volume category 65 volume records 117, 119 volume sharing 125 volume transfer 125 bypass label processing See BLP
125
C
Callable Services Library routine See CSL routine capacity IBM 3494 17 IBM 3495 29 cartridge accessor IBM 3495 25, 31 cartridge loading partitioning 74
cartridge storage IBM 3494 11 IBM 3495 25 Cartridge System Tape See CST CBRUXLCS 68 CBRXLCS 91 channel attachment Virtual Tape Server 189 CHECKIN ADSM/6000 70 commands ADDVOLUME 91 CHANGEVOLUME 91 DISPLAY SMS 38 LIBRARY 38, 42, 43, 69 MOUNT 47 MSG 53 MSG operator command 54 R M M 38 SET DEVCAT 47 SET VOLCAT BULK 47 VARY SMS,LIBRARY 89, 92 WRKMLDBRM 59 COMMDS 75 communication data set See COMMDS compatibility IBM 3590 7 tape cartridge 7 tape drive 7 compression IBMLZ1 7 IDRC 7 physical volume 224 tape drive 7 virtual volume 223 configuration availability 35 channel 35 considerations 34 EMIF 34 ESCON 34 IBM 3494 13, 17 IBM 3495 29 mixed tape drive 13 multiple tape libraries 35 PR/SM 34 tape drive 35 tape drive in IBM 3494 17 Virtual Tape Server 192 control data sets AIX/6000 57 BRMS/400 172 BTLS 44, 113 DFSMS/VM 127 LCDD for VSE/ESA 148 OS/400 59
244
control data sets (continued) SMS 39 TPF 62 VGS 52 VM/ESA 47 VSE/ESA 148 VSE/ESA native support 54 control path ESCON channel 8 Ethernet 8 LAN 8 parallel channel 8 RS-232 8 Token-Ring 8 control unit frame IBM 3494 11, 17 IBM 3494-L10 12 IBM 3494-L12 12 IBM 3494-L14 12 control unit function See CUF convenience I/O station IBM 3494 11, 22 IBM 3495 25, 30 CREATE AMS command 38 cross-partition communication See XPCC CSL routine 46 CST compatibility 7 IBM Automated Tape Library 6 logical volume 192 media type 10 virtual volume 224 volume category in DFSMS/MVS CUF 26
64
D
daemon lmcpd 156 data class 38, 90 Data Facility Removable Media Manager See DFRMM data invalidation logical volume 220 Virtual Tape Server 220 data path ESCON channel 9 parallel channel 9 SCSI 9 definition logical volume 229 physical volume 230 DELETE AMS command 38 device coexistence Virtual Tape Server 226
device d r i v e r AIX/6000 153 assign AIX command 154 atape 153 ESCON channel 154 m t d d 154 mtlib AIX command 154 mtmode AIX command 154 parallel channel 154 SCSI 153 tapeutil AIX command 154 DEVSUPxx PARMLIB member partitioning 99 volume category 99 DFRMM BTLS 44 MVS/DFP 41 DFSMS constructs define 89 DFSMS Removable Media Manager See DFSMSrmm DFSMS system-managed tape Virtual Tape Server 231 DFSMS/MVS A L 108 BLP 108 considerations 40 implementation 87 insert category 88 insert processing 68 Library Manager interface 38 NL 108 partitioning 98 sharing 93 SL 108 user modifications 100 Virtual Tape Server 201 volume category 64 volume transfer 111 DFSMS/VM control data sets 127 exits 128 ICL/ACF loading 134 implementation 127 insert processing 69, 128, 130 partitioning 131 private volumes 131, 135 recovery 144 RMS 45 RMSMASTR 45 scratch categories 131, 132 scratch volume 134 sharing 132 sharing tape drives 132 tape library support 45 tape management system 143 Virtual Tape Server 202 volume category 65
Index
245
DFSMS/VM (continued) vo lume sharing 134 vo lume transfer 135 DFSMSrmm ADDVOLUME command 91 BTLS 44 CHANGEVOLUME command 91 considerations 95, 98, 104, 107 define volumes 91 DFSMS/MVS 41 DFSMSrmm TSO subcommand R M M 38 dimension IBM 3494-B16 210 IBM 3495-B16 217 Virtual Tape Server 210, 217 drive unit frame IBM 3494 11, 17 IBM 3494-D10 12 IBM 3494-D12 12 IBM 3494-D14 12 DSP 121 dual gripper IBM 3494 23 IBM 3495 31 dual Library Manager IBM 3495 30 dynamic support programs See DSP
E
ECCST compatibility 7 IBM Automated Tape Library 6 logical volume 192 media type 10 virtual volume 224 volume category in DFSMS/MVS 64 EDGINERS Virtual Tape Server 219 EMIF configuration 34 Enhanced Capacity Cartridge System Tape See ECCST Environmental Record Editing and Printing See EREP environmentals IBM 3494-B16 210 IBM 3495-B16 217 Virtual Tape Server 210, 217 EREP Virtual Tape Server 201, 202 ES/3090 tape library attach 14, 27 ES/3090-9000T tape library attach 14, 27 ES/4381 tape library attach 14, 27
ES/9000 tape library attach 14, 27 ESA-capable processor tape library attach 14, 27 ESCON channel considerations 34 control path 8 data path 9 IBM 3494 14 IBM 3494-L10 12 IBM 3494-L14 12 IBM 3495 27 logical path 34 Virtual Tape Server 203 ESCON Multiple Image Facility See EMIF Ethernet control path 8 remote console 23 exits BTLS 120, 121 CBRUXCUA 91 CBRUXEJC 91 CBRUXENT 68, 91, 103 CBRUXVNL 91 DFSMS/MVS 103 DFSMS/VM 128 FSMRMATE 130 FSMRMDEV 129 FSMRMPRE 130 FSMRMSHR 129 FSMVAUTH 129 IGXMSGEX 121 insert processing 103 message display 121 SMSplex 103 VGS 141 external high-capacity I/O station IBM 3495 30 external label BTLS 44 externally unlabeled tape support IBM 3494 23 IBM 3495 31
23
F
Fast-Ready attribute logical volume 196, 220 scratch mount 230 setting 230 Virtual Tape Server 220 features IBM 3494 207 IBM 3494-B16 208 IBM 3495 215 IBM 3495-B16 215 Virtual Tape Server 207, 215
246
G
global resource serialization See GRS GRS 96
H
hard partitioning 99 Hardware Configuration Definition See HCD HCD 87 virtual device 195 Virtual Tape Server 195, 229 high-capacity I/O facility IBM 3495 30 high-capacity output facility IBM 3494 22 host connection IBM 3494 16 IBM 3495 27 method 9 host systems and connections IBM 3494 14
I
I/O configuration program See IOCP I/O station convenience I/O station 22, 30 external high-capacity I/O station 30 high-capacity I/O facility 30 high-capacity output facility 22 IBM 3490-CxA IBM 3494-D10 12 IBM 3494-L10 12 IBM 3494 barcode 23 capacity 17 cartridge storage 11 compare features with IBM 3495 32 configuration 13, 17 control unit frame 11, 12, 17 convenience I/O station 11, 22 drive unit frame 11, 12, 17 dual gripper 23 ESCON channel 14 externally unlabeled tape support 23 features 207 floating home-cell mode 23 high-capacity output facility 22 host connection 14, 16 Library Manager 11 media type 10
IBM 3494 (continued) mixed tape drive 13 model upgrades 209 Mount-from-Input-Station function 23 number of tape drives 17 parallel channel 14 remote console 23 remote power sequencing for AS/400 24 SCSI 14 second disk drive 23 stand-alone device 23 storage unit frame 11, 13, 17 Virtual Tape Server 189 Virtual Tape Server configuration 192, 198, 205 IBM 3494 Model D10 12 IBM 3494 Model D12 12 IBM 3494 Model D14 12 IBM 3494 Model L10 12 IBM 3494 Model L12 12 IBM 3494 Model L14 12 IBM 3494 Model S10 13 IBM 3494 Tape Library Dataserver 10 IBM 3494-B16 dimension 210 environmentals 210 features 208 Library Manager attachment 203 Remote Support Facility 206 Virtual Tape Server 186 Virtual Tape Server configuration 199, 205 IBM 3494-D10 Virtual Tape Server configuration 199 IBM 3494-D12 Library Manager attachment 203 Virtual Tape Server configuration 199 IBM 3494-D14 Virtual Tape Server configuration 199 IBM 3494-L10 Virtual Tape Server configuration 198 IBM 3494-L12 Virtual Tape Server configuration 198 IBM 3494-L14 Virtual Tape Server configuration 198 IBM 3494-S10 Virtual Tape Server configuration 199 IBM 3495 25 ACF 31 capacity 29 cartridge accessor 25, 31 cartridge storage 25 compare features with IBM 3494 32 configuration 29 convenience I/O station 25, 30 dual gripper 31 dual Library Manager 30 ESCON channel 27 external high-capacity I/O station 30 externally unlabeled tape support 31
Index
247
IBM 3495 (continued) features 215 floating home-cell mode 31 frame replacement 213 high-capacity I/O facility 30 host connection 27 IBM 3490 26 IBM 349E 26 IBM 3590 26 ICL 31 Library Manager 25 Library Manager attachment 212 manual mode terminal 30 media type 10 parallel channel 27 remote console 30 stand-alone device 31 tape subsystem 26 Virtual Tape Server 187, 189 Virtual Tape Server configuration 192, 199, 211 vision system 31 IBM 3495 M10 Manual Tape Library Dataserver 1, 72 IBM 3495-B16 dimension 217 environmentals 217 features 215 Remote Support Facility 212 Virtual Tape Server 187 Virtual Tape Server configuration 211 IBM 3495-L20 25 IBM 3495-L30 25 IBM 3495-L40 25 IBM 3495-L50 25 IBM 3590 compression 7 Magstar tape drive 6 tape cartridge 6 Virtual Tape Server 186, 189 IBM 3590 cartridge barcode 10 media type 10 IBM 3590 High Performance Tape Cartridge 6 IBM 3590 High Performance Tape Subsystem ACF 8 IBM 3590-A00 8 IBM 3590-A14 8 IBM 3590-B11 8 IBM 3590-B1A 8 IBM 3590-A00 IBM 3494-D14 12 IBM 3494-L14 12 IBM 3590 High Performance Tape Subsystem 8 Virtual Tape Server configuration 198 IBM 3590-A14 IBM 3590 High Performance Tape Subsystem 8 Virtual Tape Server configuration 199, 211 IBM 3590-B11 IBM 3590 High Performance Tape Subsystem 8
IBM 3590-B1A IBM 3494-D12 12 IBM 3494-D14 12 IBM 3494-L12 12 IBM 3494-L14 12 IBM 3590 High Performance Tape Subsystem Virtual Tape Server configuration 198, 199 IBM 9672 System/390 Parallel Server tape library attach 14, 27 IBM Automated Tape Library accessor 5 availability 35 basic concepts 5 configuration considerations 34 Library Manager 8 manual mode 6 storage cell 5 ICF 39 ICL cartridge loading 74 considerations 105 DFSMS/VM 134 IBM 3495 31 IDRC 7 logical volume 192 virtual volume 224 IEHINITT 120 Virtual Tape Server 219 Improved Data Recording Capability See IDRC input/output definition file See IODF insert category DFSMS/MVS 88 VGS 52 VM/ESA 47 insert processing ADSM/6000 70 AIX/6000 69 BTLS 69 DFSMS/MVS 68, 103 DFSMS/VM 69, 128, 130 LCDD for VSE/ESA 69 mtlib command 69 OS/400 70 RMS 69 TPF 70 VM/ESA 47 VSE/ESA native support 53, 54, 69 installation tasks Virtual Tape Server 228 Integrated Cartridge Loader See ICL integrated catalog facility See ICF Interactive Storage Management Facility See ISMF
248
internal label BTLS 44 RMS 47 inventory VGS 50 Virtual Tape Server 228 VSE/ESA native support 53, 54 inventory list BTLS 118 Inventory Support Server 50, 138 IOCP virtual device 195 Virtual Tape Server 195 IODF 89 ISMF Storage Group Alter Panel 95 TCDB 38
J
JES3 BTLS support 121 initialization deck 92 tape drive assignment 73 tape DSP 121 Virtual Tape Server 201
K
kernel process kproc 156
L
LAN control path 8 Library Manager 2 remote console 23, 30 LBSERV VGS 51, 142 VSE/ESA native support 53 LCDD 53 LCDD for VSE/ESA considerations 148 control data sets 148 control statements 146 implementation 145 partitioning 149 scratch pools 53 sharing 149 sharing of scratch categories 150 tape drive sharing 150 volume category 65 volume sharing 150 volume transfer 151 LCS 38, 68 LIBRARY AMS command 42, 43, 69 MVS operator commands 38
Library Control Device Driver See LCDD Library Control System See LCS Library Manager APPC 8 control path 8 dual Library Manager 30 Ethernet 8 IBM 3494 11 IBM 3495 25 LAN 8 LIC 8 logical volume 196 remote console 23, 30 RS-232 8 second disk drive 23 TCP/IP 8 Token-Ring 8 Virtual Tape Server 226 volume category 64 Library Manager attachment IBM 3494-B16 203 IBM 3494-D12 203 IBM 3495 212 RS-232 204 RS-422 203 Virtual Tape Server 203, 212 Library Manager Control Point See LMCP Library Manager interface AIX/6000 57 BTLS 43 DFSMS/MVS 38 LBSERV 54 LCABAT 54 LIBSERV 54 MTLIB command 57 OS/400 59 RMS 46, 51 TPF 61 VGS 51 VM/ESA 46 VSE/ESA native support 54 LIBSERV VGS 142 VSE/ESA 51 VSE/ESA native support 53 LIC 1 licensed internal code See LIC LMCP 57 local area network See LAN logical partitioning Virtual Tape Server 228 logical volume concept 196
Index
249
logical volume (continued) CST 192 data invalidation 220 definition 229 ECCST 192 Fast-Ready attribute 196, 220 IDRC 192 Library Manager 196 MEDIA1 192 MEDIA2 192 tape volume cache 196 Virtual Tape Server 192 virtual volume 196
MVS operator commands DISPLAY SMS 38 LIBRARY 38 VARY SMS,LIBRARY 89, 92 MVS/DFP Virtual Tape Server 201 MVS/ESA as VM/ESA guest 49 BTLS 232 DFSMS system-managed tape tape drive assignment 79 VARY command 79 Virtual Tape Server 201, 231
231
M
Magstar tape drive 6 management class 90 manual mode terminal IBM 3495 30 manual tape library 1, 72 Media Library Device Driver See MLDD media type barcode 10 IBM 3494 10 IBM 3495 10 tape cartridge 10 MEDIA1 logical volume 192 volume category 64 MEDIA2 logical volume 192 volume category 64 MEDIA3 volume category 64 MLDD implementation 171 tape library support 58 MLDD command WRKMLDBRM 59 model upgrades IBM 3494 209 modem Remote Support Facility 206, 212 mount response time virtual volume 224 Mount-from-Input-Station function IBM 3494 23 MSG VSE/ESA operator command 54 mtlib command insert processing 69 tape drive assignment 157, 158 multihost access basic concepts 63 summary 4 multiple tape libraries configuration 35
N
NL AIX/6000 72 BTLS 44 DFSMS/MVS 40, 72, 108 nonlabel See NL nonspecific mount Virtual Tape Server 219 number of tape drives IBM 3494 17
O
OAM initialization parameters 88 SMS 38 start 92 SYS1.PARMLIB 88 Object Access Method See O A M OS/2 30 OS/400 considerations 60 control data sets 59 dynamic tape sharing 82 insert processing 70 Library Manager interface 59 tape drive assignment 82 tape drive sharing 78 tape library support 58 volume category 67 volume sharing 78 volume transfer 174
P
parallel channel control path 8 data path 9 IBM 3494 14 IBM 3494-L10 12 IBM 3495 27
250
partitioning ADSM/6000 162 AIX/6000 159 basic concepts 70 between BTLS system and another system 123 between DFSMS/MVS and BTLS 110 between DFSMS/MVS and other platforms 111 between DFSMS/MVS and VM/ESA 107 between multiple SMSplexes 98 BRMS/400 172 BTLS 122 cartridge loading 74 considerations 73, 99, 107 DEVSUPxx PARMLIB member 99 DFSMS/MVS 98 DFSMS/VM 131 hard partitioning 99 IBM Automated Tape Library 3 ICL 73 ICL/ACF considerations 105 LCDD for VSE/ESA 149 Library Manager 226 operational considerations 104 planning 73 private volumes 104 setting volume categories 99 SMSplex 98 tape drive assignment 73 tape drive sharing 105 tape management system 74 TPF 175 user modifications for DFSMS/MVS 100 VGS 142 Virtual Tape Server 226 volume assignment 74 volume transfer 74 VSE/ESA 149 physical device concept 197 Virtual Tape Server 197 physical installation Virtual Tape Server 228 physical volume compression 224 concept 196 definition 230 Virtual Tape Server 196, 230 POWERparallel SP2 tape library attach 14, 27 PR/SM configuration 34 private volumes BRMS/400 173 DFSMS/VM 131, 135 sharing 73 Processor Resource/System Manager See PR/SM
R
RAID Tape Volume Cache 189 random access virtual volume 225 recovery DFSMS/VM 144 recovery considerations AIX/6000 168 Redundant Array of Inexpensive Disk See RAID RELEASE SCSI I/O command tape drive assignment 78 remote console Ethernet 23 IBM 3494 23 IBM 3495 30 LAN 23, 30 Library Manager 23, 30 Token-Ring 23 remote power sequencing for AS/400 IBM 3494 24 Remote Support Facility See RSF removable media services See RMS RESERVE SCSI I/O command tape drive assignment 78 RISC/6000 tape library attach 14, 27 RMS command 46 function 46 internal label 47 tape library support 45 RMSMASTR tape library support 45 RS-232 control path 8 Library Manager attachment 204 Virtual Tape Server 204 RS-422 Library Manager attachment 203 Virtual Tape Server 203 RSF IBM 3494-B16 206 IBM 3495-B16 212 m o d e m 206, 212
S
S/390 Parallel Server tape library attach 14, 27
Index
251
SCDS 90 scratch categories DFSMS/VM 132 scratch mount Fast-Ready attribute 230 Virtual Tape Server 219 scratch pools sharing 73 VSE/ESA native support 53 scratch threshold BTLS 116 MEDIA1 90 MEDIA2 90 MEDIA3 90 scratch volume BRMS/400 173 DFSMS/VM 134 SCSI attachment 2 data path 9 device driver 153 IBM 3494 14 IBM 3494-L10 12 IBM 3494-L12 12 RELEASE I/O command 78 RESERVE I/O command 78 second disk drive IBM 3494 23 Library Manager 23 Serial Storage Architecture See SSA sharing ACDS 75 ACF 76 ADSM volume inventory database 77 AIX/6000 environments 77, 156 basic concepts 70 BRMS/400 173 BTLS 124 BTLS catalog 75, 76 COMMDS 75 considerations 75 DASD environment 3 DFSMS/MVS 93 DFSMS/VM 77, 132 DFSMSrmm 76 ICL 76 JES2 environment 76 JES3 environment 76 LCDD for VSE/ESA 149 MVS/ESA environments 75 OS/400 environments 77 planning 75 private volumes 73 scratch pools 73 SMSplex environments 93, 97 s u m m a r y 85 switchable tape-device support of MVS/ESA
76
sharing (continued) tape drive 72, 76, 109 tape environment 3 tape management system 76 TCDB 75, 93 TPF environments 78, 175 VM/ESA environments 76 VOLCAT 93 v o l u m e 76, 77 VSE/ESA environments 77, 149 sharing volumes ADSM/6000 168 AIX/6000 167 SL DFSMS/MVS 40, 108 Small Computer System Interface See SCSI SMS activate 92 configuration 94, 98 considerations 40 control data sets 39 IBM Automated Tape Library 37 SMSplex DFSMSrmm 95, 98 GRS 96 limitations 98 operational considerations 104 partitioning 98 restrictions 98 sharing 93 tape drive sharing 96 TCDB 40, 97, 103 software implementation BTLS 232 DFSMS system-managed tape 231 MVS/ESA 231 VM/ESA 232 VSE/ESA 232 software support Virtual Tape Server 201 source control data set See SCDS space reclamation schedule 230 Virtual Tape Server 230 specific mount Virtual Tape Server 222 SSA Virtual Tape Server 190 stacked volume concept 196 Virtual Tape Server 196 stand-alone device IBM 3494 23 IBM 3495 31 standard label See SL
252
storage capacity Virtual Tape Server 193 storage cell IBM 3495 212 Virtual Tape Server 212 storage class 38, 90 storage group 38, 90 storage unit frame IBM 3494 11, 17 IBM 3494-S10 13 stub Virtual Tape Server 219 virtual volume 219 switchable tape-device support MVS/ESA 76 SYS1.PARMLIB BTLPRM00 116 COMMNDxx 89 CONSOLxx 88 DEVSUPxx 88 IEFSSNxx 88 IGDSMSxx 88 LOADxx 89 SCHEDxx 88 sysplex shared tape support 76 system-managed storage See SMS system-managed tape 37
T
tape cartridge barcode 10 compatibility 7 external label 10 IBM 3480 7 IBM 3490 7 IBM 3490E 7 IBM 3590 6, 7 IBM Automated Tape Library 9 labeling 9 media type 10 tape configuration database See TCDB tape data sets 72 tape drive assignment ADSM/6000 157, 159, 163 AIX/6000 157, 160, 161 AIX/6000 environment 83 ASDM/400 environment 84 ASDM/6000 environment 84 assign AIX command 79, 84, 157 ATTACH CP command 80 BRMS/400 173 DEFINE DRIVE ADSM command 84 DELETE DRIVE ADSM command 84 DETACH CP command 80 example 161 hardware control 78
tape drive assignment (continued) mkdev AIX command 79, 83 mtlib AIX command 157 mtlib command 158 MVS/ESA environment 79 OS/400 environment 82 rmdev AIX command 79, 83 sample AIX commands for tape drive inside tape library 158 sample AIX commands for tape drive outside tape library 157 sample Command Language Procedure for OS/400 82 tapeutil AIX command 79, 84, 157 VARY CP command 80 VARY operator command 79, 157 VM/ESA environment 80 VSE/ESA environment 81 tape drive sharing between DFSMS/MVS and VM/ESA 109 BTLS 125 ICL considerations 96 LCDD for VSE/ESA 150 partitioning 105 SMSplex 96 VGS 143 VSE/ESA 150 tape label initialize 219 Virtual Tape Server 195, 219 tape management system BTLS 125 DFRMM 41 DFSMS/VM 143 DFSMSrmm 41 tape positioning commands virtual volume 225 tape subsystem CUF 26 IBM 3495 26 Tape Volume Cache See TVC tapeutil command tape drive assignment 157 TCDB allocation 89 considerations 103 sharing 93 SMSplex 40, 97 TCDB 38 VOLCAT 39 TCP/IP Library Manager 8 teach Virtual Tape Server 228 Token-Ring control path 8 remote console 23
Index
253
TPF considerations 62 control data sets 62 insert processing 70 Library Manager interface 61 partitioning 175 sharing 175 tape library support 61 volume category 67 ZTPLF command 61 Transaction Processing Facility See TPF Transmission Control Protocol/Internet Protocol See TCP/IP TVC IBM 3494 192 IBM 3495 192 logical volume 196 RAID 189 Virtual Tape Server 222 virtual volume 189
U
UNASSIGN CCW tape drive assignment unlabeled tape IBM 3494 23 user modifications DFSMS/MVS 100 partitioning 100 volume category 100 78
V
VARY command tape drive assignment 157 VARY SMS,LIBRARY MVS operator commands 89, 92 VGS considerations 52, 136 control data sets 52 eject 142 exits 141 files 141 implementation 136 insert category 52 inventory 50 Inventory Support Server 138 LBSERV 142 Librarian Server 140 Library Manager interface 51 LIBSERV 142 manage 142 mount 142 partitioning 142 primary service machine 137 query 142 tape drive sharing 143
VGS (continued) tape library support 49 usage 142 volume transfer 143 virtual device characteristics 195 coexistence 226 concept 195 definition 195 HCD 195 IBM 3490E 226 IOCP 195 Virtual Tape Server 195 Virtual Tape Server See VTS virtual volume advantage 224 capacity 224 characteristics 195 compression 223 concept 195 CST 224 ECCST 224 IDRC 224 logical volume 196 mount response time 224 random access 225 stub 219 tape positioning commands 225 Tape Volume Cache 189, 222 vision system IBM 3495 31 VM/ESA considerations 47 control data sets 47 guest support 136 insert category 47 insert processing 47 Library Manager interface 46 MVS/ESA guest 49 tape drive assignment 80 tape library support 45 Virtual Tape Server 202, 232 volume category 65 VOLCAT allocation 89 sharing 93 TCDB 39 volume sharing 108 volume catalog See VOLCAT volume categoly DEVSUPxx PARMLIB member 99 partitioning 99 volume category *NOSHARE 67 *SHARE400 59, 67, 173
254
volume category (continued) ADSM/6000 58 AIX/6000 58, 66 assigning to a specific host 67 assignment 68 BRMS/400 67, 173 BTLS 65 bulk eject 64 cleaner cartridge for IBM 3490/3490E 64 cleaner cartridge for IBM 3590 64 cleaner volume 64 considerations 67 convenience eject 64 DFSMS/MVS 64 DFSMS/VM 65, 131 ERROR 64 insert 64, 68 LCDD for VSE/ESA 65 Library Manager 64 manually ejected 64 MEDIA1 64, 68 MEDIA2 64, 68 MEDIA3 64, 68 NOSHARE 173 OS/400 67 PRIVATE 64, 65, 68 purged volume 64 SCRATCH 68 SCRTCH 65 SCRTCH0 to SCRTCHF 65 SCRTCH00 to SCRTCH31 65 SCRTCH1 65 SCRTCH2 to SCRTCH8 65 service volume 64 s u m m a r y 177 TPF 67 unexpected volume 64 usage 63 user modifications 100 user-defined 67 VM/ESA 65 VOLSPECIFIC 65 VSE/ESA native support 65 volume category assignment ADSM/6000 163 AIX/6000 160 volume receiving DFSMS/MVS 112 volume serial definition 229 logical volume 229 physical volume 230 Virtual Tape Server 221, 229 volume sharing between DFSMS/MVS and VM/ESA 108 BTLS 125 DFSMS/VM 134 LCDD for VSE/ESA 150
volume sharing (continued) non-SMS environment 76 SMS environment 76 VSE/ESA 150 volume transfer AIX/6000 167 BTLS 125 DFSMS/MVS 111 DFSMS/VM 135 LCDD for VSE/ESA 151 OS/400 174 VGS 143 VSE/ESA 151 VSE Guest Server See VGS VSE/ESA considerations 148 control data sets 148 home page 145 implementation 145 LBSERV macro 51 Library Manager interface 51 LIBSERV 51 partitioning 149 sharing 149 sharing of scratch categories 150 tape drive assignment 81 tape drive sharing 150 Virtual Tape Server 202, 232 volume sharing 150 volume transfer 151 VSE/ESA Librarian facility 54 VSE/ESA native support considerations 55 control data sets 54 insert processing 69 LBSERV 53 LCDD 53 Library Manager interface 54 LIBSERV 53 volume category 65 VSE/ESA operator command MSG 54 VTS announce 186 BTLS 201 channel attachment 189 coexistence 189 configuration 192 configuration guidelines 205, 211 controller 188 CST 192 data invalidation 220 DFSMS/MVS 201 DFSMS/VM 202 dimension 210, 217 ECCST 192 EDGINERS 219
Index
255
VTS (continued) environmentals 210, 217 EREP 201, 202 ESCON channel 203 Fast-Ready attribute 220 features 207, 215 frame replacement 213 HCD 195, 229 IBM 3494 186, 188, 189, 198 IBM 3494-B16 186, 199 IBM 3494-D10 199 IBM 3494-D12 199 IBM 3494-D14 199 IBM 3494-S10 199 IBM 3495 189, 199 IBM 3495-B16 187, 211 IBM 3590 6, 186, 189 IBM 3590-A14 211 IDRC 192 IEHINITT 219 installation tasks 228 introduction 188 inventory 228 IOCP 195 JES3 201 key attributes 191 key concepts 194 Library Manager attachment 203 logical data flow 218 logical partitioning 228 logical tape drive 191 logical volume 192, 196 MEDIA1 192 MEDIA2 192 MVS/DFP 201 MVS/ESA 201 nonspecific mount 219 partitioning 226 physical device 197 physical installation 226, 228 physical tape drive 191 physical volume 196 scratch mount 219 Serial Storage Architecture 190 software implementation 231 software support 201 software transparency 188 specific mount 222 stacked volume 196 storage capacity 193 storage cell 212 storage management 190 stub 219 tape label 195, 219 Tape Volume Cache 189 teach 228 technology 189 virtual device 195
VTS (continued) virtual volume 195 VM/ESA 202 v o l u m e serial 221, 229 VSE/ESA 202
W
World Wide Web VSE/ESA home page 145 WRKMLDBRM MLDD command 59
X
XPCC 49
256
IBML
Printed in U.S.A.
SG24-4409-02