3494 Tape Library
3494 Tape Library
Babette Haeusser Wolfgang Kessel Mauro Silvestri Claudio Villalobos Chen Zhu
ibm.com/redbooks
International Technical Support Organization IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation February 2009
SG24-4632-08
Note: Before using this information and the product it supports, read the information in Notices on page xiii.
Ninth Edition (February 2009) This edition applies to the IBM 3494 Tape Library, TS1100 tape drives and controllers current at the time of publishing, and the IBM Virtualization Engine TS7700 R1.4a.
Copyright International Business Machines Corporation 1996 - 2009. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv The team that wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Summary of changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . February 2009, Ninth Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . February 2008, Eighth Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . April 2007, Seventh Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix xix xix xix
Chapter 1. Introduction to IBM tape solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 IBM TotalStorage Enterprise 3494 Tape Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 IBM System Storage 3952 Tape Frame Model F05 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 IBM Tape Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3.1 IBM System Storage TS1120 Model C06 Controller. . . . . . . . . . . . . . . . . . . . . . . . 3 1.3.2 IBM TotalStorage Enterprise Tape Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 IBM TS1100 and 3592 tape drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 IBM System Storage TS1130 Tape Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 IBM System Storage TS1120 Tape Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 IBM System Storage 3592 Model J1A Tape Drive . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.5 IBM Virtalization Solutions for System z hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.5.1 IBM TS7740 Virtualization Engine Release 1.4a . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.5.2 IBM Virtual Tape Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Chapter 2. Tape drives and controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 IBM System Storage TS1100 Tape Drive Family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 The 1 TB background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.2 Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Common characteristics of the 3592 tape drive family . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Technology enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.2 Recording format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.3 Reliability and availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.4 Features designed for capacity and performance. . . . . . . . . . . . . . . . . . . . . . . . . 2.2.5 Performance and capacity scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.6 Host attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.7 3592 cartridges and media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.8 3592 WORM functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.9 Ordering media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 The IBM System Storage TS1130 Tape Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Multiple subsystem and automation support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Media reuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 Capacity and performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.4 Access performance specifications and drive characteristics . . . . . . . . . . . . . . . . 2.3.5 Emulation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.6 TS1130 physical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.7 Upgrade considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Copyright IBM Corp. 1996 - 2009. All rights reserved.
25 26 26 26 27 27 27 31 33 35 38 38 41 42 45 46 47 48 50 51 51 52 iii
2.3.8 Firmware updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.9 RAS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.10 Improved media SARS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.11 Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.12 Tracking data written. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 The IBM System Storage TS1120 Model E05 Tape Drive . . . . . . . . . . . . . . . . . . . . . . 2.4.1 Features for reliability, availability, and performance . . . . . . . . . . . . . . . . . . . . . . 2.4.2 Performance scaling and segmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5 IBM TotalStorage Enterprise 3592 Model J1A Tape Drive . . . . . . . . . . . . . . . . . . . . . . 2.5.1 3592-J1A characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.2 Performance scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6 IBM TotalStorage Enterprise Tape Drive 3590 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.1 Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.2 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.3 Attachment options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.4 Media considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.5 3590 feature codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.7 Fibre Channel connection (FICON) overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8 3592 Model J70 Tape Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.1 Model characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.2 Attachment features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.3 Feature codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.4 Reliability and availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8.5 Compatibility considerations for upgrade and migration . . . . . . . . . . . . . . . . . . . . 2.8.6 Performance overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.9 IBM System Storage TS1120 Tape Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.9.1 IBM TS1120 Model C06 Controller characteristics . . . . . . . . . . . . . . . . . . . . . . . . 2.9.2 Attachment features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.9.3 Feature codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.9.4 Reliability and availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.9.5 Compatibility considerations for upgrade and migration . . . . . . . . . . . . . . . . . . . . 2.9.6 Performance overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52 52 52 53 53 53 54 56 56 57 57 58 58 61 62 63 64 65 67 69 70 74 75 76 77 78 79 81 83 85 86 87
Chapter 3. IBM TotalStorage Enterprise Automated Tape Library . . . . . . . . . . . . . . . . 91 3.1 IBM 3494 Library Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 3.1.1 User interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 3.1.2 Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 3.1.3 Volume categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 3.1.4 Library Manager scratch selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 3.2 IBM 3494 basic tape library frames and models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 3.2.1 Common IBM 3494 components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 3.2.2 Model L22 Tape Library base frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 3.2.3 Model Dxx drive unit frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 3.3 TS7700 Virtualization Engine and 3494 VTS frames . . . . . . . . . . . . . . . . . . . . . . . . . 117 3.3.1 TS7740 Virtualization Engine frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 3.3.2 Virtual Tape Server frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 3.3.3 Model CX1 Virtual Tape Frame (withdrawn) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 3.4 Model HA1 High Availability Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 3.4.1 Model HA1 Library Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 3.4.2 Model HA1 components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 3.4.3 Failover scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 3.4.4 Dual Active Accessors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
iv
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
3.5 Tape library planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 Tape library frames and placement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.2 Frame capacities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.3 Performance planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.4 Installation planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.5 IBM SSR initial operations (teach and initial inventory) . . . . . . . . . . . . . . . . . . . 3.6 Tape library configuration options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.1 Specific features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.2 Field MES features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6.3 IBM 3494 feature code summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 4. Software implementation in z/OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 z/OS and OS/390 software support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 z/OS software environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Software implementation and customization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.1 Set up the hardware configuration definition (HCD) . . . . . . . . . . . . . . . . . . . . . . 4.3.2 Updating SYS1.PARMLIB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.3 Defining security profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.4 Allocating the tape configuration database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.5 Preparing and starting OAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.6 Customizing OAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.7 Updating and customizing your tape management system . . . . . . . . . . . . . . . . 4.3.8 Defining the library through ISMF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.9 Defining SMS constructs through ISMF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.10 Pre-ACS installation exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.11 Writing ACS routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.12 Activating the SMS configuration and restarting OAM . . . . . . . . . . . . . . . . . . . 4.3.13 DFSMShsm customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.14 Library parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.15 Verifying the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.16 Testing ACS logic with NaviQuest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 5. Tape Encryption. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1 Tape Encryption concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.1 Introduction to Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.2 Encryption on z/OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1.3 Encryption with TS7700 on z/OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Encryption Key Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.1 Tivoli Key Lifecycle Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.3 Management interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.4 Key label specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.5 EKM configuration planning checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.6 Advice about working with keys and certificates . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 Encryption planning and implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.1 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.2 General hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.3 General software requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.4 Encryption on Open Systems platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.5 Media support for encryption-enabled TS1130 tape drives . . . . . . . . . . . . . . . . 5.4 Configuring Library-Managed Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.1 EKM IP addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.2 Key label entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
127 127 129 130 136 136 139 139 143 146 157 158 158 163 164 174 182 184 186 187 190 195 199 214 215 222 223 227 232 233 239 240 240 242 244 244 244 245 249 250 250 251 252 252 252 254 255 256 256 256 256
Contents
5.4.3 Drive Encryption settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.4 Barcode Encryption Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.5 Internal Label Encryption Policy key mapping . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 Other considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.1 Disaster recovery considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.2 Performance considerations 3592 Model E Tape Drive . . . . . . . . . . . . . . . . . . . Chapter 6. Running z/OS production systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1 Data migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.1 Scenarios for planning a data migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.2 Planning data migration details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1.3 Moving native cartridges to another library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Partitioning tape libraries among multiple z/OS systems . . . . . . . . . . . . . . . . . . . . . . 6.2.1 Setting volume categories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 Volume categories and DFSMSrmm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Managing different 359x models in a 3494 Tape Library . . . . . . . . . . . . . . . . . . . . . . 6.3.1 Migration to TS1130 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Tape device selection criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.1 Reading a dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.2 Writing a new dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.3 Device and library selection in a 3494 environment . . . . . . . . . . . . . . . . . . . . . . 6.5 Cartridge processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.1 Cartridge entry processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.2 Cartridge eject processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.3 Cartridge return to SCRATCH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6 ISMF ALTER command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.1 Changing the use attribute from private to scratch . . . . . . . . . . . . . . . . . . . . . . . 6.6.2 Changing the use attribute from scratch to private . . . . . . . . . . . . . . . . . . . . . . . 6.6.3 Using ISMF ALTER to change the volume category. . . . . . . . . . . . . . . . . . . . . . 6.7 TCDB considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.1 TCDB backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.2 TCDB recovery using ICFRU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.3 TCDB recovery using REXX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.4 Moving a TCDB to a different volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.5 Listing information in the TCDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7.6 Library Manager database and TCDB synchronization . . . . . . . . . . . . . . . . . . . 6.7.7 TCDB manual update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.8 Resynchronizing RMM CDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9 Exploitation of new capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.1 Education and learning phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.2 Achieving production readiness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 7. Software implementation: Other System z platforms . . . . . . . . . . . . . . . . 7.1 General support information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.1 Other System z platforms and VTS support . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.2 Linux on System z and tape libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2 Considerations for partitioning or sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.1 Basic information about partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.2 Basic information about sharing in a z/VM environment . . . . . . . . . . . . . . . . . . . 7.2.3 Basic information about sharing volumes in a z/VSE environment. . . . . . . . . . . 7.2.4 Sharing cross-platform hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 z/VM native support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.1 Software requirements for z/VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
257 257 258 259 259 260 261 262 262 263 266 267 268 268 269 270 273 273 275 276 277 277 278 279 279 285 286 287 287 288 288 290 292 293 294 297 298 299 299 299 301 302 302 303 303 303 304 304 304 304 305
vi
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
7.3.2 Basic functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.3 Library Manager interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.4 Controlling datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.5 Customizing the DFSMS/VM RMS service machine . . . . . . . . . . . . . . . . . . . . . 7.3.6 Considerations for using a 3494 Tape Library in a VM/ESA environment . . . . . 7.3.7 Tape management systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.8 Cartridge processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.9 Testing procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.10 Data migration considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.11 Drive allocation and selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.12 Media capacity exploitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.13 SIM and MIM presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.14 Related documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4 VSE/ESA native support (VSE 2.7.x) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.1 Software requirements for VSE/ESA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.2 Basic functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.3 Library Manager interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.4 Control datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4.5 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5 z/VSE native environments with Tape Library Support . . . . . . . . . . . . . . . . . . . . . . . . 7.5.1 Software requirements for z/VSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.2 Basic functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.3 Migration from LCDD to TLS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.4 Tape management systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.5 Cartridge processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.6 Testing procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.7 Data migration considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.8 Drive allocation and selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.9 Media capacity exploitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.10 SIM and MIM presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.11 Related documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.6 General information about VSE/ESA or z/VSE under z/VM . . . . . . . . . . . . . . . . . . . . 7.6.1 Software requirements for z/VSE and z/VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.6.2 Tape management systems for all implementations. . . . . . . . . . . . . . . . . . . . . . 7.6.3 z/VSE under z/VM using TLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.6.4 VSE/ESA and z/VSE under z/VM using Dynam/T . . . . . . . . . . . . . . . . . . . . . . . 7.7 VSE/ESA as a VM/ESA guest using VGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7.1 Basic functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7.2 Library Manager interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7.3 Control datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7.4 Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 8. Software implementation: Open Systems environments . . . . . . . . . . . . . 8.1 Operating system and ISV support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2 General installation information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3 IBM 3494 Tape Library preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4 AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1 Tape device driver installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.2 SAN failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.3 IBM 3494 Tape Library device driver installation . . . . . . . . . . . . . . . . . . . . . . . . 8.5 SUN Solaris. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.5.1 Tape device driver installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.5.2 IBM 3494 Tape Library device driver installation . . . . . . . . . . . . . . . . . . . . . . . .
305 307 307 308 312 313 313 314 315 315 315 315 315 316 316 316 318 318 318 319 319 319 320 321 321 321 322 322 323 323 323 323 324 324 324 324 325 325 327 328 328 331 332 332 334 336 336 340 344 348 348 352
Contents
vii
8.6 HP-UX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.6.1 Tape device driver installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.6.2 Verifying the atdd driver installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.6.3 Configuring tape devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.6.4 IBM 3494 library device driver installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.7 Testing the tapes with tapeutil. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.1 Tape device driver installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.2 IBMtapeutil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.3 Creating a library device table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.4 Linux on System z. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.5 IBM 3494 Tape Library device driver installation . . . . . . . . . . . . . . . . . . . . . . . . 8.9 Microsoft Windows NT, Windows 2000 Server, and Windows Server 2003 . . . . . . . . 8.9.1 Installing the IBM tape device drivers in Windows 2003 Server . . . . . . . . . . . . . 8.9.2 Verifying the IBM tape device driver installation . . . . . . . . . . . . . . . . . . . . . . . . . 8.9.3 Testing the library with NTUTIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.9.4 Configuring tape and medium changer devices . . . . . . . . . . . . . . . . . . . . . . . . . 8.9.5 IBM 3494 library device driver installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.10 i5/OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.11 IBM Tivoli Storage Manager considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.11.1 Defining the tape library and tape drives to IBM Tivoli Storage Manager . . . . . 8.11.2 Tivoli Storage Manager using 3592 capacity scaling . . . . . . . . . . . . . . . . . . . . Chapter 9. Operating the IBM TotalStorage 3494 Tape Library. . . . . . . . . . . . . . . . . . 9.1 Library operation overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2 Operational modes and states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.1 Operational modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.2 Operational states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.3 Informational states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3 Library Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.1 Library Manager startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.2 Library inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.3 Cartridge labels and barcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.4 Tape device cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4 Operations on Library Manager Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.1 Discovering the LIBRARY-ID given during the teach process . . . . . . . . . . . . . . 9.4.2 Inserting cartridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.3 Ejecting cartridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.4 Searching the Library Manager database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.5 Setting VOLSER ranges for media types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.6 Setting Virtual Tape Server and TS7700 management policies . . . . . . . . . . . . . 9.4.7 Handling an intervention-required condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.8 Handling unlabeled tapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.9 Handling a stand-alone device setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.10 Handling manual mode operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.11 Looking for physical bottlenecks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.12 Handling the Simple Network Management Protocol (SNMP) . . . . . . . . . . . . . 9.5 Enterprise Tape Library (ETL) Specialist operations. . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.1 Managing Library Manager mode and state . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.2 Managing 3592 drives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.3 Searching the database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.4 Modifying VOLSER ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.5 Managing operator interventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
354 354 357 357 358 359 361 361 362 365 366 369 370 371 378 380 384 384 385 386 386 387 391 392 392 392 393 395 396 396 397 398 401 401 402 403 405 406 410 412 412 413 415 417 419 419 424 425 426 427 432 432
viii
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
9.5.6 Transferring data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.7 Managing unassigned volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5.8 Managing insert volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6 Stand-alone dump and restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6.1 MVS stand-alone dump to IBM 3494 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6.2 MVS stand-alone restore from a tape library . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7 z/OS with system-managed tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7.1 Differences to operator interfaces if units are installed in a 3494 . . . . . . . . . . . . 9.7.2 MVS operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7.3 System-managed tape automation considerations . . . . . . . . . . . . . . . . . . . . . . . 9.8 Error handling and recovery summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9 Failure scenarios without HA1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.1 Library Manager failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.2 Accessor failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.3 Gripper failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.4 Barcode reader or vision system failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.5 Convenience I/O failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.6 Library Manager secondary hard disk failure . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.7 RS-232 or LAN host connection failure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.8 Tape subsystem communication failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.9 Tape control unit failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.10 Primary Library Manager hard disk failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.11 Library Manager database recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.10 Operating and monitoring the High Availability unit . . . . . . . . . . . . . . . . . . . . . . . . . 9.10.1 HA1 recovery scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.10.2 Dual Active Accessor recovery scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix A. Tape drives in silo compatible frames . . . . . . . . . . . . . . . . . . . . . . . . . . Why use IBM tape drives in a Sun StorageTek Silo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview of a Sun StorageTek solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Library storage module and library control unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Library management unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automated cartridge system library software (ACSLS). . . . . . . . . . . . . . . . . . . . . . . . . Hardware and software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IBM TotalStorage Silo Compatible Tape Frame 3592 Model C20 . . . . . . . . . . . . . . . . . . . Silo compatible components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C20 ACS wall panel requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ACS media coexistence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interchanging silo media with the IBM 3494 Tape Library . . . . . . . . . . . . . . . . . . . . . . Operating environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Important planning considerations for the first 3592-C20 frame . . . . . . . . . . . . . . . . . . C20 feature codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix B. Monitoring and reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring and reporting tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General considerations about monitoring and reporting . . . . . . . . . . . . . . . . . . . . . . . . Volume mount analyzer (VMA) reporting for tape utilization. . . . . . . . . . . . . . . . . . . . . Tape tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tape tools for z/OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Various monitoring and reporting scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Problem determination scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Native mounts are not handled in an adequate time. . . . . . . . . . . . . . . . . . . . . . . . . . .
433 434 435 436 436 437 438 438 438 442 442 444 444 444 444 444 445 445 445 445 445 445 446 447 448 453 457 458 458 459 459 459 460 460 461 462 462 463 464 464 465 466 481 482 482 482 485 485 496 496 496
Contents
ix
VTS logical scratch mounts are not handled in an adequate time . . . . . . . . . . . . . . . . 497 Write jobs do not process adequately . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 Unable to monitor FICON using FICON directors in the intersection between the Director and unit with z/OS tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 VTS recalls are not fast enough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 Ejecting cartridges takes too long . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498 Appendix C. Library Manager volume categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499 Appendix D. Basic tape library environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Implementing BTLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation exits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tape management system considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JES3 support for BTLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BTLS Library Manager categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Testing to verify the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Backup and synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DFSMShsm and BTLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controlling and operating considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Return to scratch processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cartridge insert processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cartridge eject processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Media selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix E. JES3 examples and information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JES3 tape processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JES3/DFSMS processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting UNITNAMEs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . New or modified datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Old datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DFSMS catalog processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DFSMS VOLREF processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fetch messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JES3 allocation and mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JES3 support for system-managed tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . First configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LDG definitions necessary for this example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DEVICE statements needed for this configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . SETNAME statements needed for this configuration . . . . . . . . . . . . . . . . . . . . . . . . . . HWSNAME statement needed for this configuration . . . . . . . . . . . . . . . . . . . . . . . . . . Second configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Library device group (LDG) definitions needed for example 2 . . . . . . . . . . . . . . . . . . . DEVICE statement for example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SETNAME statements for example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . High watermark setup name (HWSNAME) statements for example 2 . . . . . . . . . . . . . Third configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LDG definitions needed for example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device statement needed for example 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SETNAME statements needed for example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . High watermark setup name (HWSNAME) statements for example 3 . . . . . . . . . . . . . 509 510 511 512 520 520 520 521 522 523 523 524 524 525 525 526 527 529 530 531 532 532 532 532 532 533 533 534 538 539 540 540 540 541 542 543 543 544 544 545 546 547 547
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Fourth configuration example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Library device group (LDG) definitions needed for example 4 . . . . . . . . . . . . . . . . . . . DEVICE statements for example 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SETNAME statements for example 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . High watermark setup name (HWSNAME) statements for example 4 . . . . . . . . . . . . .
Appendix F. REXX utility to recover TCDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551 Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IBM Redbooks publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How to get IBM Redbooks publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 555 556 557 558 558
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Contents
xi
xii
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Notices
This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A. The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.
xiii
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. These and other IBM trademarked terms are marked on their first occurrence in this information with the appropriate symbol ( or ), indicating US registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at http://www.ibm.com/legal/copytrade.shtml The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both:
1-2-3 AIX AS/400 CUA DB2 DFSMS DFSMS/MVS DFSMS/VM DFSMSdfp DFSMSdss DFSMShsm DFSMSrmm DFSORT Enterprise Storage Server ES/3090 ES/9000 ESCON FICON GDPS Geographically Dispersed Parallel Sysplex i5/OS IBM IMS iSeries Lotus Magstar MVS MVS/ESA MVS/SP MVS/XA Operating System/2 Operating System/400 OS/2 OS/390 OS/400 Parallel Sysplex pSeries RACF RAMAC Redbooks Redbooks (logo) REXX RMF RS/6000 S/370 S/390 SLC System i System p System Storage System x System z System/36 System/370 System/390 Tivoli TotalStorage Virtualization Engine VM/ESA VSE/ESA VTAM xSeries z/OS z/VM z/VSE zSeries
The following terms are trademarks of other companies: Direct Connect, the AMD Arrow logo, and combinations thereof, are trademarks of Advanced Micro Devices, Inc. SUSE, the Novell logo, and the N logo are registered trademarks of Novell, Inc. in the United States and other countries. Java, JVM, Nearline, RSM, SLC, Solaris, StorageTek, Sun, Ultra, Virtual Storage Manager, and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Internet Explorer, Microsoft, Windows NT, Windows Server, Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Intel, Intel logo, Intel Inside logo, and Intel Centrino logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.
xiv
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Preface
This IBM Redbooks publication is the ninth edition of the best selling Tape Library Practical Guide, which was first published in 1996. This book is the indispensable companion for a successful implementation of IBM TotalStorage Enterprise Tape Drives 3590, IBM System Storage 3592 Tape Drives and Controllers including the IBM System Storage TS1120 and TS1130 Tape Drives and Controller, and the IBM TotalStorage Enterprise Tape Library 3494 in your environment. This book explains how to plan for and how to install the tape products and library in the various enterprise platforms. It considers day-to-day operations and integration with other products and applications. It also provides information about data migration and operational considerations. This document was written for storage systems technical professionals who implement IBM tape drives and libraries. The present version of the book has been updated with the attachment of the IBM TS1130 Tape Drive and usability enhancements of the IBM 3494 Tape Library.
xv
Claudio has experience on System/36, AS/400, and System i platforms. In 2004, he joined IBM where he currently provides technical support and performs system implementation and configuration for various clients around the world. Chen Zhu is an IBM Senior System Services Representative at the IBM Global Services branch in Shanghai, China. He has been working in the Technical Support Group (TSG) to provide second level support for System z host and the storage products since 2005. Chen joined IBM in 1998 and maintained the System z products for clients in China. His expertise is on System z host, disk and tape systems in the Sysplex environment.
The team: Wolfgang, Claudio, Babette, Chen, Mauro Thanks to the following people for their contributions to this project: Sangam Racherla and Deanna Polm International Technical Support Organization, San Jose Center Jennifer Bappert, Alain Taku, James Karp, Ahmed Almoustafa, Jon Beard, Erika Dawson, Dennis Martinez, Harold Koeppel, Melissa Urreiztieta, Ken Limbert, Khanh V Ngo, Barbara Nelson, Arthur Colvig, Raymond Yardy, and Jim Fisher IBM Development and Marketing, Tucson Antoinette Kaschner IBM Germany Thanks to the authors of the previous editions of this book: Authors of the eighth edition, IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation, published in March 2008, were: Soren Aakjard, Jim Fisher, Babette Haeusser, and Mauro Silvestri xvi
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Authors of the seventh edition of this book, published in April 2007, were: Katja Denefleh, Pierre Hbert, Yotta Koutsoupias, Lynda Kunz, Paul Rizio, and Babette Haeusser Authors of the earlier editions of this book were: Gustavo Castets, Chris McLure, Yotta Koutsoupias, Juan Felipe Vazques, Barry Kadleck, Babette Haeusser, and Katja Denefleh
Comments welcome
Your comments are important to us. We want our books to be as helpful as possible. Send us your comments about this book or other IBM Redbooks publications in one of the following ways: Use the online Contact us review IBM Redbooks publications form found at: ibm.com/redbooks Send your comments in an e-mail to: [email protected] Mail your comments to: IBM Corporation, International Technical Support Organization Dept. HYTD Mail Station P099 2455 South Road Poughkeepsie, NY 12601-5400
Preface
xvii
xviii
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Summary of changes
This section describes the technical changes made in this edition of the book and in previous editions. This edition might also include minor corrections and editorial changes that are not identified. Summary of Changes for SG24-4632-08 for IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation as created or updated on April 14, 2010.
New information
This edition includes: Support for the IBM TS1130 Tape Drive
Updated information
This edition has been updated for: Enhanced ETL Specialist functionality TS1130 attached to Sun StorageTek Silo JES3 example including TS1130 Additional functionality of the ETL Specialist
New information
This edition includes: Support for the IBM Virtualization Engine TS7700 Library-Managed Encryption for Open Systems
xix
New information
This edition included: IBM System Storage TS1120 Tape Drive IBM System Storage TS1120 Tape Controller IBM System Storage 3952 Tape Frame Tape Encryption New tape media
Changed information
Changes included: Added information about products withdrawn from marketing Additional features and enhancements added to existing products
xx
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 1.
A high availability model and a dual active access feature are available. The modular linear approach to tape automation is the perfect vehicle for the latest technology in storage. Integration of the IBM System Storage TS1120 Tape Drive and media into the library provides scalability of over 10 Petabytes of storage capacity, and with the integration of the new generation of IBM System Storage TS1130 Tape Drive, the storage capacity increase up to 15.36 PB. The 3494 library supports multiple generations of tape drives, tape controllers, and Virtual Tape Servers. The versatility of its design supports the increasing demands of todays storage growth. Figure 1-1 illustrates the modular flexibility of the library. In addition, you can share a tape library across multiple platforms, such as the IBM System z, IBM System x, IBM System i, and System p servers, as well as various non-IBM platforms. The IBM 3494 Tape Library has a small footprint, starting at 0.762 m (2.5 feet) wide by 1.524 m (5 feet) deep. This size allows the 3494 library to fit in many environments and makes it suitable for vaults. The 3494 library can also provide a significant savings in floor space. New installations of an IBM 3494 Tape Library are no longer supported. Existing IBM 3494 Tape Libraries can be extended up to the maximum number of frames by adding additional Model D22 or D24 frames.
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: The IBM System Storage TS3500 Tape Library is the library of choice when installing a new library. See the IBM System Storage TS3500 Tape Library with System z Attachment: A Practical Guide to Enterprise Tape Drives and TS3500 Tape Automation, SG24-6789, and the IBM System Storage Tape Library Guide for Open Systems, SG24-5946, for detailed information about the IBM 3500 Tape Library.
The TS1120 Model C06 Controller is designed to exploit the performance and function of the TS1100 and 3592 tape drives, including the high capacity 1000 GB, 700 GB, 500 GB, 300 GB, and 60 GB fast access, and WORM tape formats. It has a higher throughput than its predecessor, the 3592-J70. It supports either one to four dual-ported 4 Gbps FICON 3
channel adapters or two to eight ESCON channel adapters for attachment to 3592-J1A, TS1120, and TS1130 tape drives. The IBM System Storage TS1120 Model C06 Tape Controller supports ESCON and FICON path group mixing, so there is no need to determine ESCON/FICON mix, thus reducing director port requirements. You can attach a mixture of up to sixteen TS1130, TS1120, and 3592-J1A tape drives using a supported SAN Fabric switch. You can identify supported switches at: http://www.ibm.com/support/techdocs/atsmastr.nsf/webindex/FQ115356 The IBM System Storage TS1120 Model C06 Tape Controller supports tape drives installed in an IBM 3494 Tape Library but requires an external IBM System Storage 3952 Tape Frame Model F05. Refer to 1.2, IBM System Storage 3952 Tape Frame Model F05 on page 3 for further information. The TS1120 Model C06 Tape Controller offers the same availability characteristics as the 3592 J70, such as: Redundant power supplies Redundant cooling Mirrored drives Nondisruptive drive code updates and nondisruptive drive installation Attachment to the TS3000 System Console, which can provide enhanced remote support to help improve availability Enhancements include: Support for Encryption of data on a tape cartridge with TS1130 and TS1120 tape drives Up to 1.7 times the throughput of the 3592 Model J70 with 4-Gbps FICON attachment using 3592-E05 tape drives Attachment of TS1130 Tape Drive 3592 models E06 and EU6, TS1120 Tape Drive 3592 Model E05, or the 3592 Model J1A Tape Drive Support for IBM System Storage TS3400 Tape Library Note that the TS1120 Model C06 Tape Controller does not support attachment of 3590 tape drives.
Figure 1-3 IBM TotalStorage Enterprise Tape Controller 3592 Model J70
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The Model J70 is designed to support the performance and function of the 3592 Tape Drive, including the high capacity 700 GB, 500 GB, 300 GB, 60 GB fast access, and WORM tape formats. In a z/OS or OS/390 environment, an individual 3592 tape cartridge can be scaled to fast-access format (20% of the total media capacity). The effect of capacity scaling to 20% of the total media capacity is to reduce the average locate time to a random record (from load point) to less than 30% of the normal locate time. You can share tape drives among FICON and ESCON hosts, which allows effective drive utilization and helps to reduce hardware switching and fabric infrastructure requirements. The J70 controller is built from IBM components, including the IBM pSeries, AIX operating system, and PCI-X bus architecture. Redundant, hot-swappable power supplies and cooling components with automatic failover help to provide High Availability for the controller. Support for the Encryption of data on a tape cartridge with TS1120 tape drives is available with microcode firmware 1.19.5.xx. Note: IBM TotalStorage Enterprise Tape Controller 3592 Model J70 was withdrawn from marketing, effective September 29, 2006, and has been replaced by the IBM TS1120 Model C06 Controller.
With its higher performance, greater capacity, and smaller size, as compared to a TS1120 Tape Drive, the use of the TS1130 Tape Drive can help save costs as you reduce your number of tape drives and cartridges and the associated floor space. Attachment to ESCON or FICON channels on IBM mainframe servers requires 3592 Model J70 or a TS1120 Model C06 tape controller and supports Tape Encryption. See 3.2, Common characteristics of the 3592 tape drive family on page 93 and 3.3, The IBM System Storage TS1130 Tape Drive on page 111 for a detailed description of the TS1130 Tape Drive.
Figure 1-5 The IBM System Storage TS1120 Tape Drive Model E05
Whether configured as a stand-alone drive or part of an automated tape library, the TS1120 offers both fast access to data and high capacity in a single drive, helping to reduce the complexity of your tape infrastructure. The TS1120 has the same form factor as its predecessor and is machine type 3592 Model E05. The TS1120 Tape Drive was the first tape drive that supported Tape Encryption. For a detailed description of the TS1120 Tape Drive, refer to 3.2, Common characteristics of the 3592 tape drive family on page 93 and 3.4, The IBM System Storage TS1120 Model E05 Tape Drive on page 119.
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Refer to 3.2, Common characteristics of the 3592 tape drive family on page 93 and 3.5, IBM TotalStorage Enterprise 3592 Model J1A Tape Drive on page 122 for more details about the 3592-J1A tape drive.
As the direct successor to the IBM TotalStorage Virtual Tape Server (VTS), the TS7740 Virtualization Engine implements many of its predecessors 3494-related capabilities and improves on VTS technology. Specific functionality and enhancements include: Incremental capabilities: High performance disk cache capacity (increments of 1 TB up to 6 TB) FC5267 Host data transfer performance (increments of 100 MB/s up to 600 MB/s) FC5268 On-demand capabilities: Up to one million logical volumes per TS7700 Virtualization Engine, with a maximum not to exceed two million per Library Manager (LM) 256 virtual tape device addresses per TS7700 4 Gbit FICON host attachments Attachment to the following tape libraries: IBM System Storage TS3500 Tape Library (TS3500 Tape Library) via the IBM TotalStorage 3953 Library Manager L05 (3953-L05 Library Manager) IBM TotalStorage 3494 Tape Library
Support for the following tape drives: IBM System Storage TS1120 Tape Drive (3592 Model E05) IBM TotalStorage 3592 Tape Drive J1A (3592-J1A Tape Drive)
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: TS1120 tape drives, also referred to as 3592-E05 tape drives, can operate in native E05 mode or in 3592-J1A Emulation mode. To use TS1120 tape drives in E05 mode, all drives associated with the system must be TS1120 tape drives. If you intend to use TS1120 tape drives in native E05 mode, the minimum required microcode levels are 8.0.1.xx for the TS7700 Virtualization Engine and 534.2x for the Library Manager. Use FC0521, Functional enhancement field, to receive the latest levels of TS7700 Virtualization Engine and Library Manager code. Encryption is only supported when all drives associated with the TS7740 Virtualization Engine are encryption-capable TS1120 tape drives (FC5592 or FC9592 is ordered against each TS1120 Tape Drive) and FC9900, Encryption configuration, is ordered against the TS7740 Server.
The TS7740 Virtualization Engine Cluster combines the TS7740 Server with a disk subsystem, the TS7740 Cache Controller. This architecture will allow additional disks or
nodes to be added in future offerings to expand the capabilities of the system. Figure 1-9 displays a TS7740 Virtualization Engine configured as a Cluster.
The TS7740 Virtualization Engine Grid, or Grid configuration, is a series of two or three Clusters connected to one another to form a high availability and disaster recovery solution. Logical volume attributes and data are replicated across the Clusters in a Grid to ensure the continuation of production work in case a single Cluster becomes unavailable. A logical volume can be accessed from any virtual device in the system, even if the logical volume has only a single replica. If a failure occurs at the source Cluster, replicated logical volumes will still be available, because any data replicated between the Clusters is accessible through any other Cluster in a Grid configuration. Each copy is a valid source of the logical volume. A Grid configuration looks like a single storage subsystem to the hosts attached to the Clusters; it can be described as a composite library with underlying distributed libraries similar to the prior generations Peer-to-Peer (PTP) VTS. For additional information about data accessibility in the event of a source Cluster failure, refer to Data integrity by volume ownership on page 15. Multiple TS7740 Virtualization Engine Grids can be attached to the same host system and will operate independently of one another. Figure 1-10 on page 11 shows a typical three-Cluster Grid.
10
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
3952 Tape Frame TS7740 node (host connectivity, tape drive virtualization, data organization across physical media) 2 I/O drawers Ethernet to fibre to other Clusters in a Grid 1 or 3 TS7740 cache drawers up to 48 DDMs of RAID DASD FICON (host data to and from tape drivers)
FICON to host
11
The primary operational components of the TS7740 Virtualization Engine are: IBM System Storage 3952 Tape Frame F05 (3952 Tape Frame) The 3952 Tape Frame encloses the operational components described here, additional components, such as routers, and power distribution units for connection to independent power sources. IBM Virtualization Engine TS7740 (TS7740 Server) The TS7740 Server provide the following major functions: Host connectivity Virtualization of tape drives and media Storage, replication, and organization of data across tape libraries, physical media, and geographic replication of volumes The TS7740 Server System Unit includes Gigabit copper and optical fiber Ethernet adapters for Grid configuration connection. The TS7740 Server Expansion Unit includes two input/output (I/O) drawers, which are identically configured and simultaneously active. The I/O drawers contain ports for connection to the host, to other internal component interfaces, and to the tape drives in the tape library. IBM Virtualization Engine TS7740 CX6 (TS7740 Cache Drawer) The TS7740 Cache Drawer acts as an expansion unit for the TS7740 Cache Controller. The TS7740 Cache Drawer contains 16 DDMs with a capacity of 146 GB each, for a total of 2.34 TB of cache. IBM Virtualization Engine TS7740 CC6 (TS7740 Cache Controller) The TS7740 Cache Controller consists of a redundant array of independent disks (RAID) controller and associated disk storage media. These media act as cache storage for client data. There are 16 disk drive modules (DDMs) with a capacity of 146 GB each, for a total of 2.34 TB of cache. Note: The 2.34 TB of cache reflects raw capacity and does not directly correlate to usable client capacity. The TS7740 Cache Controller and the TS7740 Cache Drawers are collectively called the
Virtualization reconfigures the relationship between a physical tape drive, storage media, and the application that reads and writes data. In addition, by presenting virtual tape drives and volumes to host systems, virtualization decreases the logical volume access time of data storage and retrieval. The TS7740 cache uses DDMs as storage media, and the TS7740 Server emulates the function and operation of IBM 3490 Enhanced Capacity (3490E) tape drives. These emulated tape drives are called virtual tape drives, and to an attached host, they appear identical to physical tape drives. Data written or read through a virtual tape drive resides in a virtual volume on the DDMs in the TS7740 cache. To a host application, a virtual volume shows the same characteristics as a physical tape volume. The size of virtual volumes is dependent upon the size of data received from the host; virtual volumes will only be as large as necessary to hold the host data. This characteristic of virtual volumes increases the efficiency of layered storage and permits physical tape volumes to maximize available storage. The TS7740 Server manages the physical tape drives, or physical volumes, in the tape library and controls the movement of data between physical and virtual volumes. The TS7740 cache temporarily holds data before writing it to tape, caches the data after a read or write operation to provide fast subsequent access, and provides source data when replicating to another Cluster in a Grid. Caching algorithms ensure the cache is full of the most recently created and accessed data. The caching algorithms can also be influenced by cache management policies as part of the advanced policy management functions. When a virtual volume is read from the TS7740 cache DDMs and written to a physical volume, premigration is said to have occurred and the virtual volume becomes a logical volume. Conversely, when a logical volume is moved from a physical volume to the TS7740 cache, a recall is said to have occurred and the logical volume again becomes a virtual volume. A physical volume can contain one or more logical volumes; a physical volume that contains more than one logical volume is referred to as a stacked volume. The replication of a logical volume from one site to another site across the connecting infrastructure (Grid network) is referred to as a copy. Each TS7740 Virtualization Engine manages a set of physical volumes; the TS7740 Server maintains the relationship between logical volumes and the physical volumes on which they reside.
TS7740 Grid
A TS7740 Grid refers to two or more physically separate TS7740 Clusters connected by means of a client-supplied TCP/IP network. The TCP/IP infrastructure connecting a TS7740 Grid is known as the Grid Network. The Grid configuration is used to form a high availability and disaster recovery solution and provide remote logical volume replication. The term Grid refers to the code and functionality that provide the replication and the management of logical volumes and their attributes in Cluster configurations. A Grid can be used to form disaster recovery and high availability solutions. A disaster recovery solution is achieved when multiple Clusters are geographically distant from one another. A high availability solution is achieved when multiple Clusters are located in close proximity to one another. Typically, the Clusters in a TS7740 Grid are geographically distant from each other. In a three-Cluster Grid configuration, two TS7740 Clusters might be located within 100 km (62.1 miles) of one another, while a third TS7740 Cluster might be located more than 1,000 kilometers (621.3 miles) from the other two Clusters. This arrangement provides both a highly available and redundant regional solution while also providing a remote disaster recovery
Chapter 1. Introduction to IBM tape solutions
13
solution outside of the region. All three TS7740 Clusters can also be located in relatively distant proximity to one another; discuss this type of configuration with your IBM representative for any planning considerations. Any TS7740 Clusters located in relatively close proximity typically use an immediate mode copy policy; TS7740 Clusters located in relatively distant proximity typically use a deferred mode copy policy. Refer to Figure 1-12 for an illustration of a typical three-Cluster Grid configuration.
Removal of a Cluster
If you have used the Grid capability for a relocation process or any other temporary purpose, you now have the function (with R1.4A) to remove a Cluster from a Grid nondisruptively. Furthermore, you might want to get rid of all of the information and data on this Cluster. Therefore, you can use the cleanup function. It is a one-time process and contains the following actions: Delete the TS7740 database Logically delete logical volumes from the tape volume cache (this does not delete the data on the disks or back-end tape cartridges) Reset all configuration information set by the IBM service support representative (SSR) during the installation to default manufacturing state The Cluster can then be used as a stand-alone machine or attached to a different Grid. Both the removal function and the cleanup function are available on a feature code basis.
14
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
It supports moving the logical copy of the original to another location and keeping the original logical copy within the original TS7740 available for normal production. The companion to Copy Export is called Copy Export Recovery, where you insert the physical volumes and establish the TS7740 again based of the contents of the physical volumes. Copy Export Recovery requires an empty Single Cluster Grid.
Tape Encryption
Encryption is also supported on TS7740. Encryption of back-end tapes helps control the risks of unauthorized data access without an excessive security management burden or subsystem performance issues. IBM Tape Encryption solutions all use an Encryption Key Manager (EKM) as a central point from which all Encryption Keys are handled. The EKM communicates with the TS7740 Virtualization Engine, and Encryption on the TS7740 is controlled outboard on a physical stacked volume pool basis and is set on the Management Interface (MI). As you set up Encryption for all logical volumes in a specific pool, you can use it in addition to the Copy Export Function, as well, where physical volumes are moved to another location. Refer to 5.1, Tape Encryption concepts on page 240 for more details about Encryption.
15
marked as failed. Full access is allowed through the other TS7700 Cluster in the Grid. The mode for the failed Cluster remains in place until a different mode is selected or the failed Cluster has been restored. Service Preparation/Service Mode: When a TS7700 Cluster is placed in service preparation mode or is in service mode, ownership of its volumes is allowed to be taken by the other TS7700 Cluster. Full access is allowed. The mode for the Cluster in service remains in place until it has been taken out of service mode. Note that you cannot set a Cluster in Service Preparation mode after it has failed already. You can set the level of ownership takeover, Read Ownership (read-only) or Write Ownership, through the TS7700 Management Interface.
Autonomic Ownership Takeover Manager Autonomic Ownership Takeover Manager provides a means of allowing a subsystem to
automatically take ownership of the volumes owned by a failed site. An Autonomic Ownership Takeover requires that a TotalStorage Service Console (TSSC) is attached to each Cluster in a Grid. The path between the TSSCs is used to determine if the remote node is down or if the communication path between the sites is down. If the TSSC is able to reach the TSSC at the remote site, the remote TSSC determines the state and health of the remote node and passes information back to the local site. Only when it has been confirmed that the other TS7700 is no longer operational does the requesting TS7700 automatically enter one of the ownership takeover modes without requiring an intervention by an operator or by service personnel. The TSSCs at each site can be configured to enable or disable this function and to select which ownership takeover mode to enter if the other TS7700 is determined to be no longer operational.
Deferred
No Copy
For each Cluster in a Multi Cluster Grid, you specify a setting for the Cluster settings for the other Clusters. The settings do not need to be the same on all Clusters in a Grid. When a volume is mounted on a virtual tape device, the Copy Consistency Point policy of the Cluster to which the virtual device belongs is honored.
16
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
A significant difference with the TS7700 architecture is that any vNode in the Grid can access the data within the TVC of any Cluster directly. A copy of the data does not have to be in the TVC in the same Cluster as the vNode that the host uses for data access. In a TS7700 Grid, you might want to have multiple copies of a virtual volume on different Clusters within the Grid. You might also want to specify when the copies are performed relative to the job that has written to a virtual volume and specify that differently for each Cluster. The replication policies are defined at the Library Manager associated with the TS7700 Cluster and can be different for each Library Manager, which allows for maximum flexibility to configure the TS7700 Grid for disaster recovery, high availability, or both. For example, you can select a site to always have the most current version of a logical volume.
Time coordination
All nodes within the entire subsystem must coordinate their time with one another. All nodes in the system keep track of time in relation to Coordinated Universal Time (UTC), also known as Greenwich Mean Time (GMT). Statistics are also reported in relation to UTC. The TS7700 logs its UTC time in the Library Manager logs every ten minutes, which provides a means to synchronize the Library Manager and TS7700 logs. The preferred method to keep nodes in sync is with a Network Time Protocol (NTP) server. The NTP server can be a part of the Grid/WAN infrastructure, it can be a part of a client intranet, or it can be a public server in the Internet. If an NTP server is not available, the time in Cluster 0 of the Grid is used and the master time. The other Clusters in the Grid synchronize their time with Cluster 0.
Composite Library
The Composite Library is the logical image of a Multi Cluster Grid, which is presented to the host. As opposed to the IBM Virtual Tape Server, a Single Cluster TS7700 Virtualization Engine also has a Composite LIBRARY-ID defined. From an architectural perspective, a stand-alone TS7700 is considered a Grid consisting of just one Cluster. We refer to this Cluster as a Single Cluster Grid. Both with a Single Cluster Grid configuration and a Multi Cluster Grid configuration, a Composite Library is presented to the host. In the case of a stand-alone TS7700, the host sees a logical tape library with 16 3490E tape control units, each with 16 IBM 3490E tape drives, attached through two or four FICON channel attachments. In the case of a Two Cluster Grid, the host sees one logical tape library with 32 3490E tape control units, each with 16 IBM 3490E tape drives, attached through four, six, or eight FICON channel attachments.
Distributed Library
A Distributed Library is a single TS7700 Virtualization Engine and its associated partition in the IBM 3494 Tape Library. Within the 3494 Library Manager, the TS7700 occupies a Library Manager partition in the same manner that a VTS occupies a Library Manager partition. A Distributed Library comprises the hardware components of one Cluster and consists of: Virtualization Engine Disk Cache controller Disk expansion drawers Attachment to a physical library Frame Number of physical drives
17
In a Multi Cluster Grid configuration, which includes two or three TS7700 Virtualization Engines, each of which has the Grid Enablement Feature installed, a Distributed Library for each Cluster is required. The host has sufficient knowledge about the Distributed Libraries to allow appropriate console message handling of messages from the Library Manager of a Distributed Library. On the host, the Distributed Library is only defined to System-Managed Storage (SMS). It is defined using the existing Interactive Storage Management Facility (ISMF) panels and has no tape devices defined. The tape devices are defined for the Composite Library, not for the Distributed Library.
Management Interface
The storage management interface for the TS7700 Virtualization Engine complies with industry standards that make it easier to manage devices from different manufacturers. It complies with the Storage Management Initiative - Specification (SMI-S) standard. The Storage Networking Industry Association (SNIA) promotes SMI-S as a means to standardize interfaces between management software and storage devices obtained from different manufacturers. The Management Interface (MI) is a Web-based interface that has been introduced with the TS7700 Virtualization Engine. It is used to monitor and configure the system, to manage access, and to manage logical volumes. Many of the tasks that you previously accomplished using the Library Manager Console have been consolidated into this interface.
Architectural capabilities
When you compare a Peer-to-Peer VTS with a TS7700 Two Cluster Grid, the differences are quite obvious. With the TS7700, you do not need any Virtual Tape Controllers, and the peers in a Grid are connected through Ethernet rather than through ESCON or FICON as they were previously with the VTS PtP. When you look at a stand-alone VTS and a Single Cluster Grid, the differences are not as apparent at first glance. They look similar from a functional perspective; however, the architectural design of a TS7700 is completely different from that of a VTS. In the following section, we discuss the architectural design of the TS7700 and its capabilities. Note: In this section, we discuss the potential capabilities that a modular design offers for the future. The current version of the TS7700 Virtualization Engine contains only one gNode per Cluster and two or three Clusters in a Multi Cluster Grid configuration. The modular design of the TS7700 separates the functionality of the system into smaller components with well-defined, open interfaces, which: Provide a platform where the smaller components can be tailored from a small solution into an extremely large one, so that it can eventually give you the capability to grow the solution with your needs. Allow vNode and hNode to run on separate hardware. Allow horizontal scalability, because it uses standardized interfaces to talk with outside components (TCP/IP). Provide the ability in the future to be able to plug in different components of the same functionality to provide a solution for specific environments. With the modular design of the TS7700, it is possible in the future to add gNodes, or to add vNodes and hNodes separately to an existing Cluster configuration. You might want to add vNodes to increase the number of virtual device addresses or to add vNodes with special functionality to perform additional tasks. More hNodes give you better performance and increase availability. Instead of replacing one monolithic system with another, bigger system,
18
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
this modular design will allow you to grow according to your needs by horizontally scaling the components of the system. The standards-based interfaces between the elements are Fibre Channel Protocol (FCP) for data movement and TCP/IP for command and control (including the Management Interface). The current functions of the VTCs in a PtP VTS have been integrated into the hNode in what we call the Grid layer. The Grid layer interconnects all of the nodes whether they are in the same Cluster or in another Cluster. A comparison of the modular design of a TS7700 and the monolithic design of a VTS is shown in Figure 1-13.
Channel Protocol Tape Command Virtualization Tape Drive Virtualization Tape Media Virtualization Channel Protocol Tape Command Virtualization Tape Drive Virtualization Tape Media Virtualization Cache Space Management Data Mover Physical Media Space Management Library Management Management Interface
vNODE
Management Interface Install/Config
Grid Cache Space Management Data Mover Physical Media Space Management Library Management
hNODE
TS7700 Architecture
Serviceability will also profit from having more than one node in a Cluster. A nondisruptive code update will require two gNodes (or a pair of vNodes and a pair of hNodes). Redundant Nodes will eliminate or minimize the risk of planned and unplanned outages. Because the cache is a modular component of the system, you will be able to upgrade the cache with minimal impact to the entire system. When we have discussed a Multi Cluster Grid so far, we have always referred to a Two or Three Cluster Grid, because these designs are the only Grid configurations that we support today. From an architectural perspective, there is no need to limit the number to three Clusters in a Grid.
19
device utilization and hence overall tape subsystem costs. The VTS is transparent to the host software, which eases the migration to this platform.
The advent of high capacity tape drives, whose compressed capacity can be over 2 TB of data, creates the need to stack data on a single tape cartridge to fully utilize the tape media. The IBM System Storage Virtual Tape Server (VTS) is an effective way to store small files on tape media. The VTS initially creates a virtual volume in a buffer known as the Tape Volume Cache (TVC), a RAID-5 disk array. If the host needs to reference these virtual volumes again, they are accessed in most instances from the TVC, helping to eliminate many of the physical delays associated with tape I/O and improving the performance of the tape process. The virtual volume is also written to an attached IBM System Storage TS1120 Tape Drive as a logical volume. A copy of the virtual volume remains in the cache, which can provide fast access to critical data. The VTS stacks files on tape media, thus effectively utilizing your tape media. The use of a VTS to store data on tape can help reduce batch processing time and the total cost of ownership and management. A VTS Peer-to-Peer (PtP) configuration can provide redundancy for greater disaster tolerance with features, such as remote dual copy, for use with Geographically Dispersed Parallel Sysplex (GDPS), disaster backup and recovery, and remote tape vault. Advanced Policy Management allows selective dual copy for noncritical data. You can install the Virtual Tape Server and the new configurations at extended distances. These enhancements address planned outages, such as maintenance and upgrades, as well as unplanned outages by eliminating single points of failure. This data availability improvement further enhances the Virtual Tape Server as a business continuance solution. The VTS design is based on the IBM Storage Enterprise Architecture (SEASCAPE) concept. Integrating built-in blocks of other product lines into the VTS exploits the rapid evolution of processors, disk, adapters, and tape. The result is an outstanding increase in performance, capacity, and functionality since its first availability.
VTS models
Since the introduction of the first IBM Model B16 Virtual Tape Server, IBM has introduced three additional models: Model B18 Virtual Tape Server
20
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Model B10 Virtual Tape Server Model B20 Virtual Tape Server Note: Effective 30 June 2006, IBM withdrew from marketing all remaining features of the 3494 Virtual Tape Server Model B18 and the 3494 Model B18 to B20 miscellaneous equipment specification (MES) upgrade. Effective 01 December 2006, IBM withdrew from marketing the 3494 Models B10 and B20. Some of the MES upgrades for the 3494 Model B10 and Model B20 are still available. In addition, a PtP VTS configuration is available with the B10 and B20 models. By enhancing data backup and recovery capabilities, the PtP VTS configuration provides an outstanding business continuity solution for tape clients. Additionally, the PtP VTS configuration is designed to enhance data availability and to eliminate single points of failure. For an overview of the PtP VTS, refer to IBM TotalStorage Virtual Tape Server, SG24-2229. The Model B10 VTS and Model B20 VTS are based on the pSeries 660 architecture, which features more powerful processors and expanded input/output (I/O) capability. The Model B10 VTS is configured as a cost-effective solution for modest throughput requirements. Meanwhile, the Model B20 VTS establishes higher standards for throughput performance and for the number of managed virtual devices.
21
VTS B10
3494
VTS B10
3494
VTS B10 3494
Logical View
Physical View
CX1
VTS B20
3494
VTS B20
Figure 1-15 Sample PtP configuration
It is important to note that in a mixed PtP configuration the Composite Library assumes the attributes of the smaller VTS in relation to virtual drives.
Logical components
All IBM virtual tape solutions are integrated within a 3494 Tape Library. They appear to the host as a 3494 with their own library name, their own set of tape volumes (each VTS can have up to 500,000 standard 400 MB volumes or enhanced capacity up to 4000 MB volumes per 3494), and their own set of tape drives. The host sees 32, 64, 128, or 256 virtual 3490E drives, attached by up to: Sixteen Enterprise System Connection (ESCON) paths Eight SCSI paths that transfer data concurrently Up to a maximum of eight FICON channels are supported on a VTS Model B20 and four on a VTS Model B10. However, you cannot intermix these channel types with SCSI. The IBM TotalStorage Enterprise Virtual Tape Server can be shared between zSeries servers and Open Systems servers by specifying up to four additional SCSI host attachment features. Each feature provides two SCSI buses and includes data compression compatible with the Enhanced High Performance Option (EHPO). Up to 64 virtual drives can be assigned to Open Systems. Currently, you can integrate two VTS subsystems into a 3494 sharing the maximum number of 500,000 logical volumes equally and providing up to 256 virtual drives. The VTSs can coexist effectively in the same IBM 3494 Tape Library with native tape cartridges and drives.
22
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
With access to a virtual library with up to 500,000 logical volumes and up to 256 logical drives, the host can process significantly more tape workload in parallel without the expense of actually installing 256 physical tape drives. With so many virtual tape drives, you can dedicate drives to different hosts and platforms rather than manage a complex shared environment.
23
24
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 2.
25
This chapter explains and examines: The functions of the Library Manager, which is the focal point of the 3494 Tape Library and communicates with the attached host systems The 3494 Tape Library basic frames, models, and their components The IBM TS7700 Virtualization Engine frame The IBM TotalStorage Enterprise Virtual Tape Server (VTS) and Peer-to-Peer (PtP) Virtual Tape Server frames The 3494 High Availability Frames that allow for nondisruptive operation even in the case of a library component failure The IBM 3953 Tape Frame Model F05 The IBM System Storage (TS3000) System Console (TSSC) All feature codes (FCs) of the IBM 3494 Tape Library For the remainder of this chapter, we will use the term 3592 models E tape drives to identify either the IBM System Storage TS1120 Tape Drive (Model E05) or the IBM System Storage TS1130 Tape Drive (Model E06 and Model EU6).
26
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
27
The Library Manager has three levels of operational authority: General operator Systems administrator Service The general operator has the authority to perform the basic day-to-day operations of the library, such as inquiring about the status of the library and inserting or removing cartridges from the library. The systems administrator can perform all of the functions of the general operator and administrative tasks that require more detailed knowledge of, and training in the use of, the Library Manager and the 3494. An example of a systems administrator function is to perform the initial inventory of the contents of a library or to perform a re-inventory of the librarys contents. The systems administrator has no access to the functions specific to the repair or maintenance of the library. Service access allows all Library Manager functions, including changing the systems administrator password if it is forgotten and backing up or restoring the Library Manager database to the diskette drive in the Library Manager PC. The systems administrator and service levels can be password-protected. The IBM SSR selects this option during the Library Manager installation teach process, or during a re-teach operation at any other time. See 2.5.5, IBM SSR initial operations (teach and initial inventory) on page 70 for more information.
28
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
also allows you to define and modify the constructs and volume pools. For additional details, refer to 9.5, Enterprise Tape Library (ETL) Specialist operations on page 424. TS7700 Management Interface (MI) communicates with the TS7700 Clusters to provide configuration details and status. The MI is used to perform TS7700-specific action, such as inserting logical volumes. The MI operates on the logical view of the TS7700, which is also the Host view. PtP VTS Specialist communicates with the Virtual Tape Controllers (VTCs) to provide configuration details and status. We recommend that you have a PtP VTS Specialist in every PtP VTS installation, which is the only way to receive real-time information about the operation of the PtP VTS Composite Library. The Enterprise Tape Library Specialist allows access to Library Manager information, such as current library status and VTS statistics. This is done with the Web server on the Library Manager PC, which serves Hypertext Markup Language (HTML) pages to a remote Web browser over a user local area network (LAN) connection or through the Remote Service Access connection over a modem for service. Figure 2-3 shows a sample Web page. Depending on the browser software that you are using, the pages might vary slightly.
Note: The ETL Specialist does not provide an interface to all Library Manager functions, for example, setting the Cleaner Mask. When you select the Library Manager options, you see a Web page like the example shown in Figure 2-4 on page 30. It shows the status information from the Library Manager.
29
The capabilities of the IBM TotalStorage Enterprise Tape Library Specialist can simplify management of the VTS and allow management from remote locations. Recently enhanced capabilities are primarily related to the VTS APM functions. They include: Secure interface Access to panels that allow modifications is restricted and only allowed with a valid user ID and password. Query to find the stacked volume containing a specified logical volume This function was only available from the Library Manager Console. The function was enhanced to also show the second stacked volume in case of a spanned logical volume, and the same for the secondary copy of the logical volume if APM Selective Dual Copy was implemented. When a TS7700 is attached, the TS7700 Management Interface is used to obtain a stacked volume map for TS7700 stacked volumes. Request a map of the logical volumes on a specific stacked volume This function was available only from the Library Manager before. It was enhanced to allow you to download the Stacked Volume Map to your PC for further processing. Eject or move one or more stacked volumes The eject function was available only from the Library Manager before. It was enhanced to allow the ETL Specialist and the Library Manager to move stacked cartridges between physical pools when APM Physical Volume Pooling is implemented. Manage volume pools This function was implemented together with APM Physical Volume Pooling. It allows you to define policies for physical pools.
30
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Manage Storage Group, Management Class, Storage Class, and Data Class definitions This function was implemented together with APM. It allows you to define policies and constructs through the ETL Specialist. Administer security The ETL Specialist administrator can define and change user IDs and reset passwords using this function. For more information about implementation of the ETL Specialist, refer to the IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448-14, which also provides a planning template. For more information about the usage of the ETL Specialist, see the IBM TotalStorage Automated Tape Library (3494) Operators Guide, GA32-0449-14.
For more information about customer network interfaces, refer to: IBM System Storage TS1120 Tape Drive and Controller Operator Guide, GA32-0556-02 IBM System Storage TS1120 Tape Drive and Controller Introduction and Planning Guide, GA32-0555-03 IBM TotalStorage 3494 Tape Library Introduction and Planning Guide, GA32-0448-14 IBM Encryption Key Manager component for the Java platform Introduction, Planning, and Users Guide, GA76-0418 IBM Virtualization Engine TS7700 Series Introduction and Planning Guide, GA32-0567-05
31
eight Library Managers. You can monitor multiple Library Managers, but you can control only one at a time. Connection to the Library Manager is password-controlled. The remote console logon password can be changed only from the Library Manager. The Remote Library Manager Console feature includes the software that is needed to control or monitor any Library Manager that is attached to the LAN. The tape library must have one of the LAN attachment features: Token-ring or Ethernet. The Remote Library Manager Console and the host system attachment can use the same LAN attachment feature of the tape library. If the High Availability unit is installed in the IBM 3494, only one FC5226 is required for both Library Managers. The software provided is loaded on both Library Managers. The client is responsible for supplying the remote terminal hardware and software. See the IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448-14, for more information. The Remote Library Manager Console provides the following functions: Switching keystrokes mode The keystrokes mode determines whether the remote consoles input and pointing device movements affect the remote console or one of the connected Library Managers. There are two keystrokes modes: Keystrokes remote mode: All of the keyboard input on the remote console affects the Library Manager, except the remote console operating system hot keys. The operating system hot keys are: Press Ctrl+Esc to display its task list. Press Alt+Esc to show the windows and full displays in an ordered rotation. Press Alt+Tab to show the system menus for the windows and the full display in an ordered rotation.
Keystrokes local mode: All of the keyboard input on the remote console affects the remote console only. Changing session state The session state is the current state of the session between the remote console and the Library Manager. It can be changed from both consoles. If both users try to change the state at the same time, the Library Manager takes precedence. The session can be changed between the following states: Active: The remote consoles control the Library Manager. The Library Manager keyboard and pointing device are not processed. The Library Manager can regain control when you press a hot key combination to change the session state. Monitor: The remote console monitors the Library Manager Console, but the Library Manager user is in control of the keyboard and pointing device input. Suspend: The remote console session is stopped temporarily. Terminate: The remote console session is terminating. Transferring files The file-transfer utility allows you to transfer files from the Library Manager to the remote console. You are not allowed to transfer files to the Library Manager. Only the Remote Library Manager Console can initiate a file transfer.
32
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Tip: Either the remote console or the Library Manager Console can be active at one point in time. When using the remote console, make sure that you terminate the session to re-enable usage of the Library Manager Console.
33
This enables the same functionality as the TSSCs predecessor, the TSMC, such as the remote data monitoring of the subsystems attached to the TSSC. The new TS1120 Model C06 Controller can only be controlled by the TSSC. It is not supported in the TSMC. FC2720 provides the enhanced TS3000 System Console, Ethernet switch, a cable, and the connectors for connecting one of the aforementioned components to an IBM-supplied modem to enable the remote enhanced service. You must specify this feature on the first unit in an installation connected to a TSSC. The Ethernet switch provides 14 additional connections for cables supplied with FC2714 or FC2715.
History table
With recent enhancements to the Library Manager functional microcode to support multiple and simultaneous user interfaces, the history table was created to prevent users from selecting duplicate functions concurrently. The history table: Controls multiple users from performing the same or similar actions at the same time Indicates in-progress and completed actions Can be used to coordinate remote users (Web Specialist and Library Manager operator) Notifies users of possible conflicts Retains the last 50 status lines Figure 2-5 displays the History Table user interface.
34
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
2.1.2 Databases
The Library Manager database is built during the installation of the IBM 3494. It consists of several tables and system files that contain information about the library and its volumes. The database tables are: Cell table Cartridge table Device table Rotating category table These tables hold information about the logical and physical coordinates of all library components, the cartridge location, cartridge status, and cartridge category. The system files hold information about the library serial number, machine type and model, device cleaning schedule, operational statistics, and service information.
Database mirroring is available if the optional second hard disk (FC5214) is installed and enabled on older Library Manager PCs (pre-FC5046/FC9046 PCs). Database mirroring facilitates recovery if the primary Library Manager disk fails. An asynchronous Operating System/2 (OS/2) task updates the second copy of the database each time that the primary database is updated. The secondary database is fully synchronized during the termination of the Library Manager. During Library Manager initialization, the primary and secondary databases are checked, and the Library Manager is initialized according to their status.
If a second copy or backup copy of the database does not exist, and the primary copy is lost, a lengthy library outage occurs. See 9.9.11, Library Manager database recovery on page 446 for more information about resynchronizing the Library Manager database with the host systems. We strongly recommend that you install and enable the second hard disk on all IBM 3494s. When a second copy of the database exists, the primary hard disk only requires repair, and you only need to copy the secondary copy of the database back to the primary disk. Therefore, the duration of the outage is significantly reduced. When the High Availability unit is installed, both Library Managers have the second hard disk feature installed, and there are four disks in the tape library. Although only two copies of the Library Manager database are kept at any one time, this configuration provides the maximum level of availability for the database. The FC5046 and FC5047 Library Managers contain two disks and a mirroring card. In this case, the failure of one disk does not stop the Library Manager. The whole disk, not just the database, is mirrored. The mirroring card automatically fails over to the second, mirrored disk.
35
Refer to Appendix C, Library Manager volume categories on page 499 for a complete list of Library Manager volume categories and their preassigned usage.
36
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 2-6 represents one scratch category. However, a single library can have many categories. The five-digit numbers represent category order numbers, not volume serial numbers. Note the following points: Volumes are arranged in sequence of category order number, not by VOLSER. The pointer to the next volume moves in ascending sequence. Volumes returned to scratch (reassigned to this category) are given a new, higher category order number. Volumes inserted into the library (and assigned to this category) are given a new, higher category order number. Category order numbers are virtually infinite. The Library Manager scratch selection process can skip volumes for the following reasons: Volumes are skipped in the VTS/TS7700 scratch categories to maintain an even-odd balance of volumes currently mounted on virtual drives. Volumes are skipped in a Dual Active Accessor library to facilitate drive and zone affinity to the selected volume. Skipped volumes must wait for the pointer to come around again. The counter begins again at 0 after it passes the highest category order number or after the Library Manager restarts. If volumes are assigned to this category by insertion or return-to-scratch faster than they are selected for use, the pointer does not start over at the bottom of the order numbers.
37
Category order numbers are not reused. Volumes are placed in the category in the order in which they are received. They are assigned the next higher category order number. The category numbers that were used (not skipped) are removed from the database and never reused.
38
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Cartridge accessor
The cartridge accessor identifies and moves cartridges among the storage cells, tape drives, convenience I/O station, and high-capacity I/O facility. The cartridge accessor consists of a carrier, which provides a mounting platform for the gripper, a picker, X and Y axis motors, and a vision system. The cartridge accessor moves through the library on a rail system. The High Availability Frames provide a second cartridge accessor in the IBM 3494. Without the Dual Active Accessor feature installed, at any time, one accessor is active and the other is in standby mode in one of the two service bays of the High Availability Frames. With the Dual Active Accessor feature installed and enabled, both accessors are active at the same time. This allows improved library exchange performance. In either case, if one accessor fails, the remaining accessor takes over all exchange responsibility.
Cartridge gripper
The cartridge gripper holds the cartridges when they are moved among the storage cells, tape drives, convenience I/O station, and high-capacity I/O facility. The gripper is mounted on the picker. The picker provides 180 degree movement, enabling access to cartridges at the front and rear of the library. The optional dual gripper adds a second gripper to the accessor mechanism. Figure 2-7 shows the barcode reader, picker, first gripper, and second gripper mounted below it.
Barcode Reader
If a single gripper is installed, the IBM 3494 has to move to the target drive, remove the unloaded tape, and return it to its storage cell, before picking the new cartridge. When the
Chapter 2. IBM TotalStorage Enterprise Automated Tape Library
39
dual gripper is installed, both grippers operate simultaneously. When a mount is requested, the IBM 3494 picks the requested cartridge and delivers it to the drive. If the drive contains an unloaded cartridge, the second gripper removes that cartridge from the drive, and the first gripper inserts the required tape. If two cartridges are requested to be picked up and delivered, the dual gripper does not pick two cartridges at a time. The operation of the dual gripper, therefore, improves the mount performance of the IBM 3494. Maximum performance is achieved by using a floating home cell mode, which is available only with the dual gripper. The dual gripper reduces the number of available cartridge cells by approximately 10%, because the grippers cannot access the two top and bottom rows of cartridge storage cells. The dual gripper is required on the High Availability Frames when a dual gripper is installed on the 3494 Model L22.
Vision system
The vision system of the IBM 3494 is a single barcode reader similar to those used in point-of-sale equipment (see Figure 2-7 on page 39). The vision system verifies the cartridge VOLSER and media type when a cartridge is inserted into the library by reading the cartridge barcode label. The vision system is used in the teach process to establish the actual physical location of each component and the physical coordinates for each cartridge storage cell. It is also used to audit a specific cell and for library inventory processing. The vision system is not used to verify a cartridges VOLSER before mounting.
Rail system
The rail system consists of two separate horizontal rails, one at the top and one at the bottom of the tape library. The cartridge accessor is carried through the tape library on these rails. As frames are added, the rail system is extended to enable the cartridge accessor to operate throughout the tape library.
Cartridge storage
The IBM 3494 can provide cartridge storage for 140 to 6,240 tape cartridges, depending on the number of frames and the number of tape drives installed inside the 3494 Tape Library. Refer to 2.6, Tape library configuration options on page 73 for details about the number of cartridges available for each frame. The cartridge storage cells are located on the rear wall and inside the front door of each unit. The storage cells are labeled to facilitate identifying the cartridge location. This identification consists of three characters. Figure 2-8 on page 41 shows the cartridge storage labeling for the 3494 Model L22 door.
40
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
An odd wall number indicates the rear wall of a unit, and an even wall number indicates the door. For example, cartridge storage location 1A4 is in the rear wall of the 3494 Model L22, in the first column from the left, the fourth cell down. The cells hold the cartridges horizontally, with the top of the cartridge facing up. Each cell has an empty cell marker. This marker is a barcode label that the vision system can see when a cartridge is not present. The empty cell marker reduces the time required for inventory processing or cell audits, because the IBM 3494 does not have to physically check the cell to verify that it is empty. Storage cells can be either regular cells or reserved cells. As the name suggests, regular cells are used for storing cartridges. You cannot store cartridges in the convenience I/O station or the high-capacity I/O facility. The reserved cells are used to hold CE cartridges and for error recovery. The library reserves certain cells within the library for functions that the operator does not actively control. In non-High Availability models, these locations are error recovery cell 1A1 (1A3 instead of 1A1 if the optional dual gripper feature is installed) and CE cartridge cell 1A20. If 3490E, 3590, and 3592 tape subsystems are present, CE cartridge cells 1A19 and 1A18 are also reserved. In High Availability models, these locations are error recovery cells 1A1 and 1A2, or if the dual gripper feature is installed, these locations are error recovery cells 1A3 and 1A4. CE cartridge cells are in the service bays. Figure 2-9 on page 42 shows the various service cell locations.
41
3592
3592
3592 3590
3590 3490
3592
3490
42
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Safety operations
The tape library uses a safety interlock circuit, which controls the aisle power to the cartridge accessor. This circuit separates motion and electrical hazards in the tape library from the operator and service personnel. The circuit is also used to minimize the damage to a cartridge accessor if its position control system fails. There are also nonelectrical elements of the safety system. For example, the safety labels are placed inside and outside the tape library to caution operator and service personnel.
43
In the front of the Model L22 Frame, you can see the operator panel on the left side, next to the convenience I/O station. It is divided and can be installed to hold up to 10 or up to 30 cartridges. If the 10-cartridge I/O station is installed, you only see the top part. On the right side of the Model L22 Frame door, you see the door handle. Refer to Figure 2-11.
Figure 2-11 3494 Model L22 components with 3592 tape subsystem
44
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 2-11 on page 44 shows the following functional components of the IBM 3494 Model L22 Frame viewed from the front (the numbers relate to the numbers in Figure 2-11 on page 44: 1. Cartridge storage cells located on the interior side of the front doors and on the back walls of the IBM 3494 Tape Library 2. The 3592 tape subsystem can be either the 3592 model E tape drives or 3592-J1A tape drives 3. Rail system 4. Convenience I/O station, see Convenience I/O station on page 48 5. Operator panel, see Operator panel on page 46
Cartridge accessor
Figure 2-12 shows the functional components of the IBM 3494 Model L22 Frame viewed from the rear. Host attachment can be achieved through Ultra-SCSI channel attachments to either Open Systems hosts or to an IBM controller installed in an adjacent IBM 3494 Model D22 frame. The host connection to the Library Manager depends on the host support. Some hosts require a separate connection to the Library Manager to pass library commands. This connection can be either an RS-232 or a LAN. The IBM L22 frame contains zero to four IBM 3592 Model J1A or E05 tape drives and cartridge storage cells, which means that you can install the IBM 3494 Model L22 frame without any tape drives installed. In an Enterprise Systems Connection (ESCON) or Fibre Channel Connection (FICON) environment, both tape data and tape library commands are sent through the tape drive host
45
channels. Therefore, no additional connection is required between the host and the Library Manager. Note: A single 3494 Model Lxx frame is the minimum configuration for a 3494 Tape Library. The 3494 Model L10, Model L14, and Model L12 frames have been withdrawn from marketing.
Operator panel
The operator panel is located on the front door of the 3494 Model L22, to the left of the convenience I/O station if one is installed. Figure 2-13 shows the operator panel without the convenience I/O station. The controls enable you to perform most day-to-day library operations without using Library Manager.
Figure 2-13 IBM 3494 operator panel (without convenience I/O station)
46
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The operator panel controls are (the numbers relate to the numbers in Figure 2-13 on page 46): 1. The Unit Emergency switch shuts down the IBM 3494. Use only in an emergency. Administrator level Library Manager authority is required to recover. 2. Unit Power on/off is the normal way to shut down the IBM 3494. After the IBM 3494 powers off, wait at least 20 seconds before you power it back on. 3. Rack Power Ready, when lit, indicates that power is on to the 3492 Model L22. 4. System Power Ready, when lit, indicates that power is on to the tape subsystems within the IBM 3494. 5. Power Off Pending, when lit, indicates that the Power Off switch has been changed to the off position and the IBM 3494 is powering down. 6. Local/Remote enables the IBM 3494 to be powered on or off by any attached System i servers. If you want the operator panel to control the power, place the switch in the local position. If power is under the control of a remote System i server, place the switch in the remote position. Important: If the switch is set to the remote position and no System i servers are attached that can remotely control the IBM 3494, the IBM 3494 powers off. 7. Auto changes the mode of the IBM 3494 from pause to auto. The LED indicator blinks while the mode of the IBM 3494 is in a transitional state. When the library is in manual mode, both LED indicators blink together. It is impossible to change the mode of the library from manual to auto by using the auto mode switch. Refer to 9.2.1, Operational modes on page 392 for more information about the modes. See 9.2.2, Operational states on page 393 for information about the operational states of the IBM 3494. 8. Pause changes the mode of the IBM 3494 from auto to pause. The LED indicator blinks while the mode of the IBM 3494 is in a transitional state. When the library is in manual mode, both LED indicators blink together. It is impossible to change the mode of the library from manual to pause by using the pause mode switch. Refer to 9.2.1, Operational modes on page 392 for more information about modes. See 9.2.2, Operational states on page 393 for information about the operational states of the IBM 3494. 9. Intervention Required is lit by the Library Manager when the IBM 3494 requires operator intervention. You use the Library Manager or Remote Library Manager Console to determine which operator intervention is needed. Library Manager also sends messages to all attached hosts. How these messages display varies from host to host.
47
The convenience I/O station doors are shaped in a way that makes it impossible to insert cartridges incorrectly with the wrong end visible. The doors only close if cartridges are inserted so that the vision system can read the external cartridge label. The cell capacity of the library control unit frame (without the dual gripper installed) is: 240 if no convenience I/O station is installed 210 if the 10 cartridge capacity convenience I/O station is installed 160 if the 30 cartridge capacity convenience I/O station is installed
48
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: If you do not define a high-capacity output facility and you do not install a convenience I/O station, the library uses cartridge storage cell 2A1 as a default output facility (called the single cell output facility) when the dual gripper is not installed. Cell 2A3 serves the same purpose if the dual gripper is installed. If you define a high-capacity output facility, the first and last cell locations depend on the facility size that you selected and whether you installed the dual gripper feature. See Table 2-4 for the cell locations of the various high-capacity output facility sizes.
Table 2-4 IBM 3494 high-capacity output facility cell locations Number of cartridges 10 20 36 40 72 80 122 Without dual gripper 2A1 - 2A10 2A1 - 2A20 N/A 2A1 - 2A40 N/A 2A1 - 2A40 2B1 - 2B40 N/A With dual gripper 2A3 - 2A13 2A3 - 2A23 2A3 - 2A38 N/A 2A3 - 2A38 2B3 - 2B38 N/A 2A3 - 2A38 2B3 - 2B38 2C16 - 2C38 N/A
130
144
160
49
The library control unit requires additional features to provide (for library commands) host attachment in addition to the tape drive host attachment. For more details, refer to Chapter 8, Software implementation: Open Systems environments on page 331.
50
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
A 3592 Model J70 tape control unit, or if the drives are 3592-J1A tape drives, an IBM 3590 Model A60 control unit that is installed in an adjacent Model D24 frame. A 3592-C06 installed in a 3952-F05 frame. A TS7700 Virtualization Engine. An IBM TotalStorage Enterprise Virtual Tape Server B10/B20. The maximum number of cartridge storage cells in a single Model D22 frame is 400, if no tape drives are installed. Each tape drive installed inside a Model D22 frame reduces the number of available storage cells. Refer to 2.6, Tape library configuration options on page 73 for the exact number for every configuration.
51
Attachment of the TS7700 Virtualization Engine to the 3494 Tape Library involves power control, an interface to tape drives in the tape library, and communication with the Library Manager in the tape library. The attachment of the TS7700 Virtualization Engine to the 3494 Tape Library involves the following connections: Power control: The 3494 Tape Library contains power sequencing and control equipment that remotely turns on and off the power to the TS7700 Virtualization Engine, which is the normal mode of power control for the TS7700 Virtualization Engine. This power control is not a physical connection. For power sequencing and shutdown information, refer to Chapter 5 of the IBM TotalStorage 3494 Tape Library Operator Guide, GA32-0449-14. Library Manager and tape drives: The 3494 Tape Library contains a minimum of one internal Library Manager. There is no need for an external Library Manager as there is for the TS3500 Tape Library.
Communication and control signals travel among the Library Manager, the TS7700 Virtualization Engine, and the tape drives within the 3494 Tape Library through a local area network (LAN). Data between the host and the TS7700 Virtualization Engine travels along FICON connections, while data travels between the TS7700 Virtualization Engine and the tape drives within the 3494 Tape Library along Fibre Channel connections. A Fibre Channel switch routes the data to and from the correct tape drive. The TS7700 Virtualization Engine can only attach to 3592 tape drives. Up to twelve 3592 tape drives in a single model D22 frame in the 3494 Tape Library can be attached to the TS7700 Virtualization Engine. The term 3592 tape drives refers collectively to 3592-J1A tape drives and 3592 models E tape drives. The following 3494 Tape Library feature codes are required to support attachment to the TS7700 Virtualization Engine: FC5214: Second Disk Drive for Library Manager, installed on all Library Managers in the 3494 Tape Library. FC5246: Dual Path Concentrator, installed on all frames in the 3494 Tape Library that contain a Library Manager. Refer to IBM TotalStorage 3494 Tape Library Introduction and Planning Guide, GA32-0448-14, for additional information concerning 3494 Tape Library features.
52
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: You can learn more about the components of the TS7700, including implementation, operation, monitoring, and more in: IBM Virtualization Engine TS7700: Tape Virtualization for System z Servers, SG24-7312 IBM Virtualization Engine TS7700 Series Introduction and Planning Guide: IBM Virtualization Engine TS7740, TS7740 Cache Controller, and TS7740 Cache Drawer, GA32-0567-05
53
54
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
55
maximum of 256 virtual tape drives and up to 250,000 logical volumes. Each virtual volume can have a maximum capacity of 2.4 GB (assuming a 3:1 compression ratio). You can interconnect a Model B20 VTS with PtP VTS copy features with another VTS B20 or VTS B18 and eight IBM TotalStorage Virtual Tape Controllers (Model AX0s) in a Peer-to-Peer VTS configuration to provide both remote and local PtP copy capability between two VTSs using ESCON connections. The Model B20 VTS provides the following significant capabilities: Tape volume cache capacity over 5 TB (with a 3:1 compression ratio) An advanced RISC controller Up to 16 Extended Performance ESCON host channels Up to 8 FICON host channels Up to eight SCSI bus attachments Attachment of up to two VTSs for each 3494 A maximum of 256 virtual tape drives can be addressed A maximum of 250,000 logical volumes for each VTS can be included Two VTSs with PtP VTS copy features interconnected to provide remote copy using ESCON attachments With the Advanced Function feature: DFSMS Tape Volume Cache management Export/import of logical volumes With the Advanced Policy Management feature: Volume pooling Selective dual copy Tape volume cache management Export/import of logical volumes
host channels and the VTSs. For a virtual mount on any of its 16 or 32 addresses, the VTC selects one of the two VTSs to support the requested volume processing activities. Each VTC performs these functions: Maintains synchronization of the dual copy of logical volumes Uses large block transfers of compressed logical volumes to create logical volume copies Balances workload between the VTSs Directs specific volume mounts to the VTSs with a cached copy of the requested virtual volume
Cartridge storage cells are located in the interior side of the front door and on the back interior wall. They are for service use only.
Barrier door used by service personnel to separate the service bay from the main aisle of the IBM 3494. The barrier door allows for concurrent service of the accessor and the associated hardware.
Figure 2-17 shows the functional components of service bay B from the left front.
Chapter 2. IBM TotalStorage Enterprise Automated Tape Library
57
The hot standby Library Manager can take control of all operations in the IBM 3494. Its hardware consists of a controller, display, pointing device, and keyboard. An optional Remote Library Manager Console feature code is also available for remote installation in a LAN environment.
Cartridge storage cells are located in the interior side of the front door and on the back interior wall but are for service use only.
Barrier door used by service personnel to separate the service bay from the main aisle of the IBM 3494. The barrier door allows for concurrent service and the associated hardware.
The second accessor (not visible) is similar in function to the accessor of the 3494 Model Lxx. It can be controlled by either Library Manager. The High Availability Frames must be configured the same as in the 3494 Model Lxx, with either one or two grippers.
58
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The HA1 components are: A second Library Manager, located in the right service frame. A second cartridge accessor. Communication links between the two Library Managers and a LAN hub if a VTS is integrated with the IBM 3494. Shared nonvolatile random access memory (NVRAM) holding the current state of the active and standby Library Manager. It is used when a Library Manager cannot communicate with the second Library Manager on either of the links to decide whether this Library Manager is active. Hardware switches to switch the operator panel from one Library Manager to the other, or to switch hosts or tape controllers to either Library Manager. Digital input/digital output (DI/DO) lines to communicate component commands and status between both Library Managers and the library components, such as the accessors. Two service frames (or bays) for storage of the inactive cartridge accessors, service diagnostics, or accessor repair. Service frames contain rail extenders (to allow the accessor to be stored within the frame) and a barrier door. The right service frame (when you look at the library from the front) contains the second Library Manager. A barrier door in the service frame is used to keep the functioning cartridge accessor from entering the service frame during service. Each service frame has its own AC power control compartment, which is different from the compartment of the 3494 Model L22.
59
A second unit emergency power off (EPO) switch as in the 3494 Model L22 to drop power to the entire library. The active Library Manager controls the active accessor, receives host commands over the control paths, and controls the convenience I/O station. Either Library Manager can be the active Library Manager and either accessor can be the active accessor. If the remote accessor for an active Library Manager is the active accessor (that is, accessor B for Library Manager A or accessor A for Library Manager B), the active Library Manager sends the accessor commands to the standby Library Manager, and the standby Library Manager passes them on to the accessor. There is only one operator panel, which is located on the 3494 Model L22 frame. It is controlled by the currently active Library Manager. With the High Availability Frames installed, the database on the primary disk in the active Library Manager is mirrored onto the primary disk of the standby Library Manager. If the standby Library Manager becomes unavailable, the secondary database is mirrored onto the secondary disk of the active Library Manager. Also, additional circuitry is installed that supports concurrent maintenance. Specifically, when an IBM SSR services an accessor in its service bay and the service frames barrier door is in place, the IBM SSR can open and close the service bay door without affecting the power of the other active accessor in the aisle.
60
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
When LMA comes back up, the secondary copy of the LMB database is copied to the primary disk of LMA. The primary disk of LMA now becomes the secondary copy for the active Library Manager. If the Dual Active Accessor feature is installed and enabled, the operation of the Library Managers remains the same, which happens because there is still only one Library Manager designated as active. The other Library Manager, although it controls the robotics of the second accessor, is still designated as standby.
Cartridge accessor
If accessor A fails, LMA sends accessor commands to LMB over the communication links. LMB then executes the commands, using accessor B. The first operation is to gently push accessor A into its service bay (left side of the library) so that accessor B can access all cartridges in the library. A special pusher bar is added to one of the accessors for this purpose. This operation is called the accessor switchover. On completion, normal library function resumes using accessor B. LMA remains as the active Library Manager. Operation continues automatically after a short time. No operator involvement is required.
61
unit. When the High Availability unit is installed, configurations of 3, 4, 6, 8, 10, 12, and 16 frames are allowed, not counting the two service bays of the High Availability unit. With the Dual Active Accessor feature, you must install at least four frames in the IBM 3494. All configurations must have one 3494 Model Lxx control unit frame. The subsystem can include up to 15 additional frames (in the configurations previously listed). An IBM 3494 can support up to two VTS subsystems. If one is a B16, the other must be a B10, B18, or B20 model. Each VTS requires a separate Dx2 frame to house 3592 or 3590 tape drives. The VTS frame is a stand-alone frame located within 14 meters of the attached D22. The B16 VTS frame is installed in the IBM 3494 and must be located to the immediate left of the associated D22. Except for this one restriction, the frames associated with the VTS subsystems can be in any position in the IBM 3494. If more than eight frames are attached to a 3494 library, one drive frame Model Dx2 or FC9002, FC9003, or FC9006 must be installed in the first eight frames. Feature codes are available to specify the number and position of frames installed in an IBM 3494. See 2.6.1, Specific features on page 73 for a detailed description of the available feature codes. There might be a case where you must change the configuration of frames in an installed IBM 3494. For example, you must move the frames to install a Virtual Tape Server or move the frames from one IBM 3494 to another. In this case, you need to process a Request for Price Quotation (RPQ) before you can reconfigure the library. The RPQ provides the proper cables. Figure 2-19 shows examples of configurations that provide capacity, performance, or both.
In planning the configuration of an IBM 3494, consider the relative ease with which you can add additional frames to the end of an existing library, compared to inserting additional 62
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
frames. Similarly, it is easier to add drives to drive frames that are not fully populated with drives than it is to remove S10 frames and replace them with Dxx frames, or to add additional drive frames when enough free storage slots are available.
3352, 3
3053
2902, 3
2603
2502, 3
2303
4002, 3
3603
3452, 3
3053
3052, 3
2753
63
Frame model B18, B10, and B20 VTS, CX0, Cx1, VTC HA1 Frames (service bays)
1
Optional convenience I/O station features reduce the cartridge capacity by 30 cartridges (FC5210) or 80 cartridges (FC5230). 2 With FC5215 (Dual Gripper) installed, the convenience I/O station features reduce the cartridge capacity by 26 cartridges (FC5210) or 72 cartridges (FC5230). 3 Selecting the high-capacity I/O facility reduces the cartridge capacity, depending on the options chosen. 4 One cell is reserved for ejecting cartridges if you do not install a convenience I/O station feature and you do not define the high-capacity output facility. 5 A maximum of two cells is reserved for certain service representative functions. With the HA1 Frames installed, there are no cells reserved in the L Frame for service functions. 6 One cell is reserved for error-recovery operations in libraries without the HA1 Frames configuration. Two cells are reserved for error-recovery operations in libraries with the HA1 Frames configuration.
Note: Cartridge cells allocated to the high-capacity facility are not available for cartridge storage. See Convenience I/O station on page 48 for a description of the high-capacity facility and the size of the corresponding reserved area.
You can gather information about the number of cartridge storage cells required inside the tape library by analyzing tape usage data generated by analysis tools, tape management software reports, or discussions with storage administrators. There is no one method of gathering this data that applies to all hosts that you can attach to the IBM 3494. For methods available in z/OS, refer to Monitoring and reporting tools on page 482.
feature, its hourly exchange rate might increase. Therefore, the factors that affect tape library performance are: Number of tape drives Drive residence time Library accessor exchange time affected by: Number of active accessors (Dual Active Accessor feature) Relative placement of drives and volumes within the library For example, consider four drives with a 5 minute residence time. It is impossible to have more than 48 exchanges per hour. These values are obtained by multiplying the number of drives by the quotient of 1 hour (60 minutes) divided by the residence time in minutes: (number of drives) x (1 hour / drive residence time) The exchange capability provided by the tape library accessor is the quotient of one hour (3600 seconds) divided by the library accessor exchange time in seconds. If the library accessor exchange time is 15 seconds, the mount capability of the tape library accessor is 240, which far exceeds the availability of volumes to exchange. Current measurements indicate a maximum of 305 cartridge mounts or demounts per hour for the IBM 3494. Therefore, the key to determining tape library performance is often based on drive residence time, not necessarily on library accessor exchange time. Figure 2-20 on page 66 compares average volume residence time and the cartridge exchange capability provided by several configurations of the IBM 3494. The six solid lines in the graph show the maximum exchanges per hour possible for 2, 4, 8, 16, 32, and 66 tape drives with varying drive residence times. Analyses of client data show that average drive residence times typically range between 8 and 12 minutes. This range is indicated on the graph. The broken vertical lines are the maximum exchange rates that the IBM 3494 is capable of executing for several different-size tape libraries and with or without the dual gripper and Dual Active Accessor feature. The purpose of the graph is to show that you can use residence time and the number of drives to determine the accessor performance required in a library.
65
Figure 2-20 IBM 3494 exchange capability and tape drive residence time
66
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
With the Dual Active Accessor feature, cartridge-drive affinity can occur for both scratch and specific mounts. For scratch mounts, affinity is controlled by the Library Managers ability to select the volume to mount from the specified category. See 2.1.4, Library Manager scratch selection on page 36 for details about Library Manager scratch selection. This affinity always occurs when the scratch mount is a true scratch mount (mount from category) and not a specific mount from a private scratch pool. Affinity for scratch mounts is applied to the set of drives in the zone in which the accessor normally operates, not to individual drives. For specific mounts, affinity occurs if: The operating system or tape application uses the drive-string priority list that the Library Manager, on request, sends to the host processor. There is at least one unallocated drive in each zone. Currently, z/OS running JES2 is the only operating system that exploits this priority list. In these environments, with a single accessor, cartridge-drive affinity also occurs (only for specific mounts). However, the effect on exchange capability is not as dramatic as it is in a Dual Active Accessor library. Table 2-6 on page 68 summarizes the conditions under which the two types of cartridge-drive affinity occur.
67
Table 2-6 Cartridge-drive affinity for scratch and specific mounts Accessor Mount type System z System i System p Single Scratch No No No Single Specific Yes No No Dual Scratch Yes Yes Yes Dual Specific Yes No No
A further natural cartridge-drive affinity occurs when the library is partitioned into sections by operating system or drive type. This way, all cartridges in each section are mounted only in the drives in that section. Here are several Dual Active Accessor configuration scenarios that result in a high degree of cartridge-drive affinity and thus optimal Dual Active Accessor exchange performance: A z/OS environment where every host image has access to every library cartridge, and drives are balanced across the two library zones. For scratch mounts, the Library Manager always tries to pick a scratch cartridge in the same zone as the target drive. See 2.1.4, Library Manager scratch selection on page 36 for details about Library Manager scratch selection. For specific mounts, the Library Manager sends to z/OS an ordered list of drives, based on the zone containing the cartridge to mount. If not all drives in the cartridges zone are allocated, z/OS chooses a drive from the ordered list that results in at least cartridge-zone, if not cartridge-drive, affinity. This also assures optimal Dual Active Accessor exchange performance. Therefore, for applications with a high percentage of specific mounts, it is important to have sufficient drives so that cartridge-drive affinity can be achieved even in peak periods. A System i or System p server environment where applications use actual communal scratch pools for scratch mounts, and, if there are a significant number of specific mounts, the applications use the ordered list of drives to achieve cartridge-drive affinity. Note that neither the i5/OS nor AIX operating systems use the ordered drive list for specific mounts. A mixed host environment where all cartridges and drives for one host are together in each library zone. The VTS drives and cartridges fall within this scenario. Any host environment where two drive types are geographically separated enough to be in the two zones. The two different cartridge types are also placed in the different zones. Fixing the zone boundary in the Library Manager might be advantageous for this scenario. Here are two scenarios that do not result in a high degree of cartridge-drive affinity. Therefore, they show minimal performance benefit from the Dual Active Accessor feature: A System i or System p server environment where applications use private scratch pools, or where there are a significant number of specific mounts and the applications do not exploit the ordered drive list Any host environment with a high percentage of specific mounts where it often occurs that all drives in a zone are allocated Laboratory measurements have shown that much better Dual Active Accessor exchange performance occurs when the library is in floating home cell mode rather than fixed home cell mode, for either single or dual grippers. Therefore, we strongly recommend the operation of the Dual Active Accessor in floating home cell mode. For both the single accessor and the Dual Active Accessor libraries, the best exchange performance occurs with dual grippers and floating home cell mode.
68
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Configuration planning is important for achieving optimal exchange performance for the Dual Active Accessor feature. For sample IBM 3494 configurations, refer to the IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448-14. Follow these suggestions when planning the configuration of an IBM 3494 with the Dual Active Accessor feature to minimize accessor interference: Balance drive frames across both halves of the library, using the expected mount activity as the determining factor. Best performance comes from evenly distributed mount activity. If you add the Dual Active Accessor feature to an existing 3494, it might be advisable to redistribute the drives within existing or new drive frames. Try to place storage frames in the center of the configuration. Grouping 3490E drives at one end and 3590 tape drives at the other end helps to migrate cartridges to provide cartridge-drive affinity. Treat each VTS-owned drive frame as a separate drive type, because these frames are logically separate libraries sharing the accessors and slots with the native drives. If a host has access to only a subset of the tape subsystems in a library, attempt to keep all those subsystems in the same half of the library so that the volumes associated with the subsystems remain in the same zone. This consideration also applies to the situation where a library is partitioned between two z/OS hosts sharing all or a subset of the drives. If these drives are manually or automatically switched between the partitions, the volumes owned by the each partition lose the cartridge-drive affinity performance benefit that otherwise exists with the Dual Active Accessor feature. Be prepared to weigh the benefits of sharing drives against the benefits of increased exchange performance with the Dual Active Accessor feature. With the Dual Active Accessor feature installed, the library needs to use floating home cell mode even with single gripper accessors. On initial loading or inventory update, cluster cartridges around the subsystems that will mount them. Define the high capacity I/O near the drives that will write tapes that will be ejected. If you plan to grow the number of drive subsystems in the library over time, provide a balance of empty drive frames in both zones. You can use these D-frames for cartridge storage. Clients can access many tape tools, including SMF94 reporting packages, on the Web at: ftp://ftp.software.ibm.com/storage/tapetool You can find useful information about the tools and their usage in Monitoring and reporting tools on page 482.
69
Inventory performance
The addition of the Dual Active Accessor feature improves the inventory performance of the IBM 3494. Inventory update processing for four frames of library storage was measured in the laboratory. Without the Dual Active Accessor feature, the inventory took 25 minutes. With the Dual Active Accessor feature, the inventory took 13 minutes, which calculates to 3 to 4 minutes per frame.
Site preparation
You must include the following information in the floor plan for the installation of an IBM 3494; for additional detailed plan specifications, see the IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448-14: The installation planning representative and client are responsible for: Power outlet types, locations, and power ratings Operator area (work area) for the Library Manager, convenience I/O station, and access doors Locations of emergency power-off (EPO) switches Frame locations Service clearances Total IBM 3494 area dimensions The client is also responsible for: Cabling and wiring for connections to the host processor Cabling for connection for the Remote Library Manager Console (FC5226). The Remote Library Manager Console also requires the token-ring adapter (FC5219) or the Ethernet adapter (FC5220) in the IBM 3494. Cooling Telephone lines for remote service support Safety and security Fire detection and suppression Floor, raised or not raised, that meets the operational and structural requirements imposed by the IBM 3494. For a raised floor, we recommend that you install stringers between all corner posts and that you place a post under the areas where the 3494 leveling pads will sit. Associated tape library cartridge storage for nonautomated tape library activities Acoustical requirements
70
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
For the teach operation, the IBM SSR specifies the following configuration information on the Library Manager windows: Customer identifier: Enter the clients name. Library sequence number: Enter a unique five-digit number for each logical library in the IBM 3494. A logical library is really a group of tape drives. All non-VTS drives are in one logical library. Each VTS within an IBM 3494 has its own library sequence number as well. The frame serial numbers of the L frame and any B frames are often used as the library sequence numbers, but this naming scheme is not required. Note: The library sequence number is also important for the hardware configuration definition (HCD), the integrated storage management facility (ISMF), and JES3 definitions. To allow easy identification of the library, we recommend that you use the last five digits of the IBM machine number of the Model Lxx frame or, if a VTS is installed, of the Model Bxx frame, as the Library ID. Default media type: The options are: 1 for CST cartridges (MEDIA1) E for ECCST (MEDIA2) J for 3590 HPCT (MEDIA3) K for 3590 EHPCT (MEDIA4) JA for 3592 ETC (MEDIA 5) JW for 3592 EWTC (MEDIA 6) JJ for 3592 EETC (MEDIA 7) JR for 3592 EEWTC (MEDIA 8) JB for 3592 EEETC (MEDIA 9) JX for 3592 EEEWTC (MEDIA 10) None in mixed 3490, 3590, and 3592 device type libraries
Use this default if a cartridge is inserted that is neither labeled with the seventh character identifying the media type nor defined to the Library Manager in a range of a given media type. You can specify none. The barcoded seventh character, default media type, and definitions of volume ranges to the Library Manager are three ways that the IBM 3494 can distinguish to which media type a volume belongs (see 9.4.5, Setting VOLSER ranges for media types on page 410). All three ways can be in use. Password required: Specify whether the Library Manager systems administrator level and service level functions are to be password-protected. Adjacent frame inventory update: Specify whether the IBM 3494 inventories only the frame whose operator door has been opened or the frames next to that frame as well. At any time, you can enable or disable the inventory update through the operator menu of the Library Manager. Library frames: Specify the number and types of frames in the IBM 3494 configuration: control unit frame, drive unit frames, storage unit frames, and Virtual Tape Server. High availability unit: When installed, specify the dual accessors and service bays. Dual Active Accessor: When installed, specify enabled or disabled. Tape subsystems: Specify the number and type of tape drives installed in the control unit frame and each drive unit frame. Device addresses: Specify the client-defined tape drive addresses to simplify identifying the drive if a problem occurs. Dual gripper: Specify whether the dual gripper (FC5215) is installed.
Chapter 2. IBM TotalStorage Enterprise Automated Tape Library
71
High-capacity output facility: Specify the number of cells to reserve for the high-capacity output facility. High-capacity input/output facility: Specify the number of cells to reserve for the high-capacity input/output facility. Convenience I/O station: Specify whether the control unit frame contains the convenience I/O station (FC5210 or FC5230). Plant of manufacture: Enter the prefix from the machine serial number. Home cell mode: Specify the home cell mode as either fixed home cell mode or floating home cell mode. The floating home cell mode is allowed only when the dual gripper or Dual Active Accessor feature is installed. The Library Manager database is then created with one cell table, one device table, and the system files. Starting with the first component in the configuration and continuing until all components are taught, the cartridge accessor is directed to find one or more teach points on the components. The initial location for a teach point is established by the component type and location in the library. A sensor system is then used to center the cartridge accessor on a teach target. When the High Availability unit is installed, the teach process is repeated with the second cartridge accessor. When all component positions are taught, the Library Manager reinitializes itself with the created database. The library can then proceed to the initial inventory operations. A partial teach process is allowed if you add or remove features or frames, modify certain options, or an untaught component exists from a previously taught configuration. A partial teach does not create a new Library Manager database. It only updates the information for those components that changed. After the library is taught, but before you can place it in the online operational state (see Chapter 9, Operating the IBM TotalStorage 3494 Tape Library on page 391), you must perform an initial inventory operation called Inventory New Storage to create entries in the database. The inventory operation uses the barcode reader to scan all cartridge storage cells of the library, looking for volumes with their VOLSER and media type labels. After all frames are inventoried, the database is completed, and the library is made available to enter the online operational state. For libraries equipped with one or two VTS units, it is necessary to perform Insert Virtual Volumes. This insert is permanent, and you must plan this insert carefully. You must not insert more virtual volumes than are necessary. Even though the virtual volumes can be ejected one at a time, this approach is not desirable. It is simple to add more virtual volumes at any time. See IBM TotalStorage Virtual Tape Server Planning, Implementing, and Monitoring, SG24-2229. The IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448-14, provides information about the tasks that you must perform to continue the installation of the IBM 3494. The following chapters in this guide provide detailed information about installation verification and software implementation.
72
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
73
Feature code FC9104 FC9106 FC9109 FC9184 FC9200 FC9201 FC9203 FC9204 FC9210 FC9211 FC9212 FC9215 FC9216 FC9217 FC9492 FC9493 FC9510 FC9511 FC9540 FC9601 FC9602 FC9630 FC9631 FC9632 FC9663 FC9665 FC9666 FC9669 FC9670 FC9671
Maximum quantity 1 (see Note 12) 1 (see Note 12) 1 (see Note 12) 1 per Lxx Frame of HA1 Frame 1 N/A 32 32 32 32 32 1 1 1 1 1 6 (see Note 23) 4 1 (see Note 14) 1 (see Note 15) 2 (see Note 16) x (see Notes 17, 18, and 19) x (see Notes 17, 18, and 19) 2 (see Note 16) x (see Notes 17, 18, and 19) 1 (see Note 19) 1 (see Note 20) x (see Note 21) x (see Note 21) x (see Note 21)
Description System i i5/OS Attach System p AIX attach Attach to S/390 or System z Ethernet-Attached Serial Hub (EASH) Enablement Open Systems Device Drivers VTS Open Systems Device Drivers Virtual Storage Extended LAN Device Driver (withdrawn) Sun Device Driver (withdrawn) Hewlett-Packard UNIX (HP-UX) Attachment Sun Solaris Attach Microsoft Windows Attach Other Linux System Attach System z Linux Attach VTS attached to 3953 Library Manager External Fabric Support: Plant Installation Direct Connect Drives: Plant Installation Plant Install Fibre Drive Plant Install Fibre Drive No Data Cartridge 3490E Model CxA/F1A Plant Installation 3490E Model F1A Plant Installation Field Merge Drives 3590 Model B1A Drive Plant Installation 3490E Model F1A Attachment Hardware for Field Merge 3590 Model E1A Drive Plant Installation (withdrawn) 3590 Model A60 Attachment Hardware for Field Merge (withdrawn) 3590 Model A60 Controller Plant Installation 3590 H1A SCSI Tape Drive Plant Installation (withdrawn) 3590 H1A Fibre Channel Tape Drive Plant Installation (withdrawn) Field Merge 3590 Model H1A Tape Drive (withdrawn)
74
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Feature code FC9673 FC9674 FC9676 FC9678 FC9683 FC9684 FC9690 FC9691 FC9694 FC9700 FC9702 FC9775 FC9780 FC9798 FC9799 FC9865 FC9866 FC9986
Maximum quantity x (see Note 22) x (see Note 22) x (see Note 22) x (see Note 22) x (see Note 23) x (see Note 27) N/A (See Note 26) N/A (See Note 26) x (see Note 28) N/A 4 16 1 (see Note 24) 4 4 1 1 1 (see Note 25)
Description Plant Install 3592 Model J1A Tape Drive (withdrawn) Field Merge 3592 Model J1A Tape Drive Plant Install 3592 Model E05 Tape Drive Field Merge 3592 Model E05 Plant Install 3592-E06 Tape Drive Field Merge 3592-E06 Tape Drive Field Merge AX0 Plant Installation AX0 Field Merge 3592 EU6 Tape Drive FICON Cable From Plant Interposer, Double-Byte Wide 62.5-Micron MT-RJ to ESCON 2 meter ESCON Jumper Cable Extended Media Support Inline SCSI Terminator (withdrawn from marketing) VHDCI Cable/Interposer Field Merge J70 in a 3494 Model D14/D24 Frame (withdrawn from marketing) Plant Install J70 in a 3494 Model D14/D24 Frame (withdrawn from marketing) Chicago Power Cable
Notes: 1. You can configure a maximum of seven FC5300, FC5302, FC5304, FC5400, FC9002, FC9003, and one FC9006 in any combination. When you install the 3494-HA1 option, you can expand the library to five through 10 frames, including the service bays, by the addition of FC9002, FC9003, and one FC9007. 2. You can expand the library to 16 frames by adding any combination of FC9004, FC9005, and one FC9007 for each library. When you install the 3494-HA1 option, you can expand the library to 18 frames, including the service bays, by the addition of any combination of FC9004, FC9005, and one FC9007 for each library. 3. To add a 3494-B16 VTS to a library, you must specify a maximum of one FC9006 or FC9007 for the 3494-Lxx frame to track the number of frames installed in the library and to provide any necessary hardware. 4. The 3494-B16 VTS attachment requires FC5214, FC5228, and FC5229. 5. This feature indicates that the 3590-x1A tape drives inside the 3494-D12 frame or the 3592 tape drives inside the 3494-D22 frame will be used in a VTS. 6. This feature indicates that you plan to use the 3592 tape drives inside the 3494-D22 frame for fibre attachment to the TS1120 Model C06 Controller.
75
7. FC9020 must be on the 3494-Lxx frame for each attached 3494-B18, 3494-B10, or 3494-B20 VTS. 8. There is a maximum of two FC9006, FC9007, and FC9020. 9. Within the 3494-Lxx frame, a maximum of one FC9040 is required if you install the 3494-HA1 option. FC9040 can also be an MES. FC9040 includes the Enhanced Library Manager when the existing Library Manager is not an Enhanced Library Manager. 10.If ordered on the 3494-HA1 option, it indicates LAN or SCSI attachment and you must order it on all library frames. 11.The maximum of 15 FC9060 or FC9061 applies only to the 3494-Lxx frame. A maximum of one FC9060 or FC9061 applies only to 3494-D14 frames that contain the 3590-A60 controller. 12.You must specify a minimum quantity of one FC9104, FC9106, or FC9109. 13.The maximum of six FC9510 applies to any 3494-D12 frame that contains Fibre Channel-attached 3590-E1A tape drives or 3590-H1A tape drives. For 3494-L12 frames that contain Fibre Channel-attached 3590-E1A tape drives or 3590-H1A tape drives, the maximum of FC9510 is two. 14.You must specify either FC9540, FC8410, FC8420, FC8510, FC8520, or FC8610 for each frame. 15.A maximum of one FC9601 or MES 4630 is permitted on a 3494-D10 frame. 16.A maximum of two FC9602, FC9632, or MES4632 is permitted on a 3494-L10 frame or a 3494-D10 frame. 17.A maximum of two FC9630, FC9631, FC9663, MES 4630, or MES 4663 is permitted on a 3494-L12 frame or a 3494-L14 frame. 18.A maximum of six FC9630, FC9631, FC9663, MES 4630, or MES 4663 is permitted on a 3494-D12 frame. When attached to a 3494-B16 VTS, the 3494-D12 frame must contain three, four, five, or six 3590-B1A tape drives. When attached to a 3494-B18 VTS, the 3494-D12 frame must contain three, four, five, or six 3590-B1A tape drives, 3590-E1A tape drives, or 3590-H1A tape drives. When attached to a 3494-B18 VTS with FC5236, the 3494-D12 frame must contain four, five, or six 3590-B1A tape drives, 3590-E1A tape drives, or 3590-H1A tape drives. 19.A maximum of four FC9630, FC9631, FC9663, MES 4630, or MES 4663 is permitted on a 3494-D14 frame. 20.A maximum of one FC9665, FC9666, MES 4665, or MES 4660 is permitted on a 3494-D14 frame. 21.There is a maximum of six FC9630, FC9631, FC9663, FC9669, FC9670, FC9671, FC4630, FC4663, FC4670, or FC4671 on a 3494-D12 frame. This maximum is four for the 3494-D14 frame and two for the 3494-L12 frame. 22.There is a maximum of four FC4673, FC4674, FC4675, FC9673, FC9674, FC9676, or FC9678 in a 3494-D22 frame when FC4065, FC4075, or FC4085 is installed. Otherwise, the maximum is twelve. This maximum is eight in a 3494-D24 frame and four for the 3494-L22 frame. 23.FC9683 causes the plant to install one 3592-E06 tape drive into one of L22 frame, D22 frame, and D24 frame. If you order FC9683 for a 3494-D22 frame or 3494-D24 frame, one of the cradle features, FC4800 or FC4803 with an available canister slot must also be installed. 24.FC9780 must be on the 3494-Lxx frame if 3590 K-type (EHPCT) cartridges exist in the IBM 3494 Tape Library. FC9780 must also be on the 3494-D12 frames and the 3494-D14 frames that contain 3590-x1A tape drives with Extended Media Support.
76
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
25.There is a maximum of one FC9986 per model except for the 3494-S10 frame, which cannot have any, and the 3494-HA1 option, which requires two. 26.FC9690 and FC9691 have been withdrawn from marketing as of 01 December 2006. 27.FC9684 provides for the installation of a client-owned 3592-E06 tape drive in a new order for any of L22 frame, D22 frame, and D24 frame. A cradle with an available canister slot must already be present in the rack to accept the drive canister. The drive installation is done by the IBM SSR at the clients site during the final installation of the 3494-D22 frame or the 3494-D24 frame. 28.FC9694 provides for the installation of a client-owned 3592-E06 tape drive in a new order for any of D22 frame or D24 frame. A cradle with an available canister slot must already be present in the rack to accept the drive canister. The drive installation is done by the IBM SSR at the clients site during the final installation of the 3494-D22 frame or the 3494-D24 frame.
FC4074
FC4630
77
Description FC4633 provides the hardware needed to replace a 3490E Model C1A or C2A tape drive in a D10 frame with a 3490E Model F1A tape drive. There is a maximum quantity of one. FC4646 allows the field installation of a 3490E Model F1A FC3500 controller in an L10 frame or D10 frame. There is a maximum quantity of one for FC4646. FC4660 provides the hardware needed to replace a 3590 Model A00 or A50 controller with a 3590 Model A60 controller in a D14 frame. FC4663 is required to replace a 3590 Model B1A tape drive with a 3590 Model E1A tape drive in a currently installed 3494 frame. The Model B1A and E1A tape drives cannot be attached to the same VTS or the same 3590 Model A50 or A60 controller; therefore, both types of drives cannot be installed together in the L14 frame or D14 frame. FC4665 provides the hardware needed to allow the field installation of one 3590 Model A60 controller in a D14 frame. If you order FC4665 for a D14 frame, you must also order FC4630.
FC4646
FC4660
FC4663
FC4665
FC4670
FC4670 provides the mounting changes needed to replace a 3590-B1A or 3590-E1A tape drive with a 3590-H1A tape drive in a currently installed D12 frame, D14 frame, or L12 frame. The maximum number of features is six for the D12, four for the D14, and two for the L12. FC4671 is required on a D12 frame, D14 frame, or L12 frame in order to add a 3590 Model H1A tape drive to a D12 frame, D14 frame, or L12 frame. There is a maximum of six FC9630, FC9631, FC9663, FC9669, FC9670, FC9671, FC4630, FC4663, FC4670, or FC4671 on a D12 frame. This maximum is four for the D14 frame and two for the L12 frame. FC4673 is required to replace a 3592-J1A tape drive with a 3592-E05 tape drive in a currently installed 3494-D22 frame. The maximum is eight for the 3494-D22 frame if FC4065 or FC4075 is installed. Otherwise, the maximum is twelve. These maximums apply to the sum of FC4673, FC4674, FC4675, FC9673, FC9674, FC9676, and FC9678 in any 3494-D22 frame. FC4673 is not available if FC9010 is installed. FC4674 installs a 3592 Model J1A tape drive in a currently installed 3494 Model D22. A cradle with an available canister slot must already be present in the rack to accept the drive canister. The maximum is eight for the D22 frame if FC4065 or FC4075 is installed. Otherwise, the maximum is twelve. These maximums apply to the sum of FC4674 and FC9673 in any D22 frame. FC4675 installs a 3592-E05 tape drive in a currently installed 3494-D22 frame. A cradle with an available canister slot must already be present in the rack to accept the drive canister. The maximum is eight for the 3494-D22 frame if FC4065 or FC4075 is installed. Otherwise, the maximum is twelve. These maximums apply to the sum of FC4673, FC4674, FC4675, FC9673, FC9674, FC9676, and FC9678 in any 3494-D22 frame.
FC4671
FC4673
FC4674
FC4675
78
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Description FC4676 installs a 3592-E06 tape drive in a currently installed 3494-D22 frame, 3494-D24 frame, and 3494-L22 frame. A cradle with an available canister slot (FC4800 or FC4803) must be already present in the rack to accept the drive canister. The maximum is four. This maximum applies to the sum of FC9673, FC9674, FC9676, FC9678, FC4673, FC4674, FC4675, FC4676, FC4677, and FC9694. FC4677 installs a 3592-EU6 tape drive in a currently installed 3494-D22 frame, 3494-D24 frame, and 3494-L22 frame. A cradle with an available canister slot (FC4800 or FC4803) must be already present in the rack to accept the drive canister. The maximum is four. This maximum applies to the sum of FC9673, FC9674, FC9676, FC9678, FC4673, FC4674, FC4675, FC4676, FC4677, and FC9694. FC4678 replace existing 3592-J1A or E05 tape drives currently installed in a 3494-D22 frame, 3494-D24 frame, and 3494-L22 frame, with the 3592-E06 or EU6 tape drives. A cradle with an available canister slot (FC4800 or FC4803) must be already present in the rack to accept the drive canister. FC4690 provides the hardware needed to allow the field installation of one AX0 in a CX0.
FC4677
FC4678
FC4690 (withdrawn from marketing as of 01 December 2006) FC4691 (withdrawn from marketing as of 01 December 2006) FC4700 FC4701 FC4704
FC4691 provides the hardware needed to allow the field installation of one AX0 in a CX1. The maximum is two.
FC4700 removes a 3490E Model F1A FC3000 or FC3500 controller from an L10 frame or D10 frame. FC4701 removes a 3490E Model F1A tape drive from an L10 frame or D10 frame. FC4704 provides for installation of a Fibre Channel cable from each tape drive to the 2109 Model F16 SAN switch in the 3494-D14 frame with the 3590-A60 controller or the 3592 tape drive for inclusion based on the number of tape drives installed in this frame. FC4730 removes a 3590 tape drive from an L12, L14, D12, or D14 frame. FC4734 removes the 3490E Model F1A FC3000 or FC3500 controller mounting hardware from an L10 frame or a D10 frame. FC4735 removes a 3590 Model A00 controller from an L14 frame or a D14 frame. FC4755 removes a 3590 Model A50 controller from an L14 frame or a D14 frame. FC4765 removes a 3590 Model A60 controller from a D14 frame. FC4772 removes a 3592 Model J1A tape drive from a L22 frame.
79
Description FC4800 provides the hardware needed to allow the field installation of two drive-pair cradles for accepting 3592 Model J1A tape drives in a 3494. FC4801 removes two drive-pair cradles used for accepting 3592 Model J1A tape drives in a 3494. FC4803 reinstalls two drive-pair cradles for accepting 3592 Model J1A tape drives in a 3494. It is equivalent to FC4800, except the assumption is that the majority of the hardware is already available from a previous installation. FC4855 provides the hardware needed to allow the field installation of a 3592 Model J70 Controller in a currently installed D14 or D24 frame. FC4860 provides the hardware needed to allow the field replacement of a currently installed controller with a 3592 Model J70 Controller in a D14 or D24 frame. FC4865 removes a 3592 Model J70 Controller from a D14 or D24 frame. FC5238 provides two fibre cards to support operation of 3592 tape drives in a 3494-B20 VTS. You can only order this feature as a field MES for a 3494-B20 VTS. FC5264 provides 64 additional virtual tape drives. FC5264 is only available for 3494-B18 VTS to 3494-B20 VTS conversions in which the 3494-B18 VTS has 128 virtual tape drives (one FC5264) and the 3494-B20 VTS has 256 virtual tape drives (two FC5264s). FC5265 provides 64 additional virtual tape drives for the 3494-B20 VTS. You can order this feature in a quantity of zero, two, or four for each VTS. FC5265 is not available if FC5264 is installed. In a PtP VTS configuration: Zero FC5265s allow 128 virtual devices with eight VTCs. Two FC5265s allow 128 virtual devices with four VTCs. Four FC5265s allow 256 virtual devices with eight VTCs. Router for Encryption Key Manager (EKM) Attachment. Install one of FC5593 on the 3494 Library Manager (Model L10, L12, L14, and L22) to support up to seven 3592 tape controllers. FC5246, Dual Path Concentrator, is required on the Library Manager, before you can install FC5593. You can install a second Router for EKM Attachment feature on the 3494 Library Manager to support up to fourteen 3592 tape controllers. FC5593 provides two routers for redundant connections between the Encryption Key Manager and the tape control unit. This feature code also provides Ethernet cables from the routers to the control unit.
FC4801 FC4803
FC4855
FC4860
FC4865 FC5238
FC5264
FC5265
FC5593
80
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: For a complete list and description of the IBM 3494 models and feature codes, refer to the IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448-14, or you can also reference the 3494 announcement letters.
Table 2-9 IBM 3494 Tape Library special features Feature code FC0201 FC0202 FC0203 FC0204 FC0205 FC0206 FC0520 FC0521 FC1001 Maximum quantity 8 8 8 8 8 8 N/A N/A 4 per CX1 Description 9 micron LC/LC 31 meter (100 ft.) 9 micron LC/LC 31 meter (100 ft.) 50 micron LC/LC 31 meter (100 ft.) 50 micron LC/LC 31 meter (100 ft.) 62.5 micron LC/LC 31 meter (100 ft.) 62.5 micron LC/LC 31 meter (100 ft.) Library Functional Enhancement (Field Install) (see Note 1) Microcode Update for VTS/VTC (Field Install) (see Note 2) ESCON Virtual Tape Controller (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: Longwave (LW) LW and VTC to VTS: LW LW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: Shortwave (SW) SW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: LW SW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: LW LW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: SW SW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: LW SW (Plant Install) (withdrawn from marketing as of 01 December 2006)
FC1011
4 per CX1
FC1012
4 per CX1
FC1013
4 per CX1
FC1014
4 per CX1
FC1015
4 per CX1
FC1016
4 per CX1
81
Description FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: LW LW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: SW SW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: LW SW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: SW LW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: SW LW (Plant Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: SW LW (Plant Install) (withdrawn from marketing as of 01 December 2006) Convert Longwave (LW) to Shortwave (SW) Adapter (return LW adapter) (withdrawn from marketing as of 01 December 2006) Convert Shortwave (SW) to Longwave (LW) Adapter (return SW adapter) (withdrawn from marketing as of 01 December 2006) Reposition Longwave (LW) and Shortwave (SW) Adapter 8-VTC to 4-VTC PtP VTS Conversion ESCON Virtual Tape Controller (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: LW LW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: SW SW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: LW SW (Field Install) (withdrawn from marketing as of 01 December 2006)
FC1018
4 per CX1
FC1019
4 per CX1
FC1020
4 per CX1
FC1021
4 per CX1
FC1022
4 per CX1
FC1023
FC1024
FC1111
4 per CX1
FC1112
4 per CX1
FC1113
4 per CX1
82
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Description FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: LW LW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: SW SW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: LW SW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: LW LW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: SW SW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: LW SW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: LW LW and VTC to VTS: SW LW (Field Install) (withdrawn from marketing as of 01 December 2006) FICON Virtual Tape Controller with Host to VTC: SW SW and VTC to VTS: SW LW (Field Install) FICON Virtual Tape Controller with Host to VTC: LW SW and VTC to VTS: SW LW (Field Install) (withdrawn from marketing as of 01 December 2006) Dual AC Power Remote Support Facility (Withdrawn as of 31 December 2004) Remote Support Switch (Withdrawn as of 31 December 2004) Remote Support Attachment (Withdrawn as of 31 December 2004) Master Console for Service (Withdrawal from Marketing as of 9 May 2006) Console Expansion Console Attachment Console Additional Modem
FC1115
4 per CX1
FC1116
4 per CX1
FC1117
4 per CX1
FC1118
4 per CX1
FC1119
4 per CX1
FC1120
4 per CX1
FC1121 FC1122
1 1 (see Note 3) 1 (see Note 3) 1 (see Note 3) 1 (see Note 3) 1 (see Note 3) 1 (see Note 3) 1
83
Feature code FC2717 FC2720 FC3000 FC3060 FC3061 FC3200 FC3302 FC3400 FC3412
Maximum quantity 1 1 (see Note 3) 1 (B10); 1 (B20) 4 through 12 (see Note 4) 16 1 (B18 only) 1 (B18 only) 1 2 (B10); 4 (B20)
Description Console A60 Enablement TS3000 System Console FICON Enablement 3592 Drive-to-Switch Cables 3592 Drive-to-Switch Cables ESCON High Performance Option (withdrawn from marketing) Additional Enhanced ESCON Channel Attachment (withdrawn from marketing) Extended High Performance Option (withdrawn from marketing as of 01 December 2006) Extended Performance ESCON Channels (withdrawn from marketing as of 01 December 2006) FICON Channels (longwave) FICON Channels (shortwave) Activate Additional ESCON Channels Activate Additional ESCON Channels (withdrawn from marketing as of 01 December 2006) SC Fibre Drive Attached Controller LC Fibre Drive Attached Controller Fibre Channel switch Mount Kit 2 Gbit Fibre Channel switch (withdrawn as of 29 September 2006) 4 Gbit Fibre Channel switch Redundant Fibre Channel Attach External Fabric Support - Field (J70) External Fabric Support - Field (C06) Direct Connect Drives - Field Install Fibre Channel Drive 36 GB Disk Storage Capacity for Tape Volume Cache, Model B16 (withdrawn from marketing) Disk Storage Capacity (withdrawn from marketing) 72 GB Disk Storage (withdrawn from marketing) 144/216 GB Disk Storage (withdrawn from marketing as of 01 December 2006)
FC3415 FC3416 FC3418 FC3422 FC3464 FC3474 FC3486 FC3487 FC3488 FC3490 FC3491 FC3492 FC3493 FC3511 FC3701 FC3702 FC3703 FC3704
4 (B10); 8 (B20) 4 (B10); 8 (B20) 1 (B10); 4 (B20) 2 (B10); 4 (B20) 1 1 1 2 2 1 1 1 1 6 (see Note 5) 4 (see Note 6) 4 (B18) (see Note 7) 1 (B18) (see Note 8) 1 (B10)
84
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Feature code FC3705 FC4000 FC4001 FC4002 FC4003 FC4004 FC4010 FC4011 FC4012 FC4013 FC4020 FC4021 FC4036 FC4060 FC4064 FC4065 FC4075 FC4084 FC4085 FC4086 FC5001 FC5002 FC5003 FC5004 FC5045 FC5046 FC5047 FC5050 FC5184
Maximum quantity 1 (B10); 4 (B20) 1 (see Note 9) 1 1 1 1 1 (see Note 10) 1 (see Note 10) 1 (see Note 10) 1 (see Note 10) 1 3 5 (see Note 11) 1 1 4 4 2 2 2 8 (see Note 12) 8 (see Note 12) 8 (see Note 12) 8 (see Note 12) 1 (see Note 13) 1 (see Note 14) 8 (see Note 14 1 (see Note 15) 1 per Lxx or Dxx frame
Description 288/432 GB Disk Storage Advanced Function Advanced Policy Management up to 250 GB Advanced Policy Management up to 500 GB Advanced Policy Management up to 1000 GB Advanced Policy Management up to 2000 GB PtP Copy Base PtP Copy Increment 1 PtP Copy Increment 2 PtP Copy Increment 3 High Capacity Cache (withdrawn from marketing as of 01 December 2006) Expanded Storage Capability Logical Volume Expansion Adjacent Frame Support Multiframe Fibre Drives Adjacent Frame 3592 Drive Connection for SC-Duplex Switch Port Adjacent Frame 3592 Drive Connection for LC-Duplex Switch Port Adjacent Frame 2 Gbit (3590) Adjacent Frame 2 Gbit (3592) Adjacent Frame x22 to D22 (3592) 4.5-Meter SCSI Cable (withdrawn from marketing as of 01 December 2006) 10-Meter SCSI Cable (withdrawn from marketing as of 01 December 2006) 20-Meter SCSI Cable (withdrawn from marketing as of 01 December 2006) 10-Meter SCSI VHDCI Cable (withdrawn from marketing as of 01 December 2006) Enhanced Library Manager (withdrawn) PCI Library Manager (withdrawn as of 29 October 2004) LAN PCI Library Manager (Field) Dual Active Accessors Ethernet-Attached Serial Hub (EASH)
85
Feature code FC5210 FC5211 FC5212 FC5213 FC5214 FC5215 FC5216 FC5217 FC5219 FC5220 FC5222 FC5224 FC5225 FC5226 FC5227 FC5228 FC5229 FC5230 FC5232 FC5233 FC5234 FC5235 FC5236 FC5237 FC5238 FC5244 FC5245
Maximum quantity 1 (see Note 16) 8 (see Note 17) 8 (see Note 17) 8 (see Notes 17 and 18) 1 (see Notes 9 and 19) 1 (see Note 20) 1 8 1 (see Notes 9, 21, and 22) 1 (see Notes 20 and 21) 1 16 (see Note 22) 1 1 1 (see Notes 20 and 23) 2 (see Note 24) 1 (see Notes 20, 21, and 24) 1 (see Note 16) 1 (see Notes 25 and 26) 1 1 2 (see Note 27) 1 1 (B18) 1 (B10), 1 (B20), (see Note 28) 1 (B18) 1 (see Note 29)
Description 10-Cartridge Convenience I/O Station System i Host Attachment RS/6000 Host Attachment (withdrawn from marketing) Extended Length RS-232 Host Attachment for System i Second Disk Drive for Library Manager (withdrawn from marketing as of 2 July 2004) Dual Gripper Remote Power Sequence for System i RS-232 15 m (50 ft.) Extension Cable Token-Ring Adapter (withdrawn from marketing as of 2 July 2004) Ethernet Adapter Additional 32 LAN Host Attachments AIX Parallel Channel Tape Attachment/6000 (withdrawn from marketing) Base Tape Control Unit Attachment Remote Library Manager Console 32 Port Attachment Tape Control Unit Expansion Expansion Attachment Card 30-Cartridge Convenience I/O Station Attachment Concentrator SCSI Extender 18-Meter SCSI Cables (withdrawn from marketing) 20-Meter SCSI Drive Cables Performance Accelerator Additional VTS Drives 3592 Drive Attached to VTS Mirrored VTS Boot Disk Dual Path Attachment
86
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Feature code FC5246 FC5250 FC5264 FC5265 FC5266 FC5273 FC5300 FC5302
Maximum quantity 1 1 (B20) 1 (B18) (see Note 30) 4 (B20) 1 1 7 (see Note 31) 7 (see Note 31)
Description Dual Path Concentrator FICON Performance Accelerator (withdrawn from marketing as of 01 December 2006) 64 Additional Virtual Drives Incremental Virtual Drives Outbound TS1120 C06 Controller (installed in 3952-F05 frame) attach to 3494-D24 frame SCSI converter Additional Drive Unit Frame (similar to D10 Frame) (withdrawn from marketing) Additional Drive Unit Frame (similar to D12 Frame) (withdrawn from marketing as of 01 December 2006) Additional Drive Unit Frame (similar to D14 Frame) Additional Storage Unit Frame (similar to S10 Frame) (withdrawn from marketing) Additional Storage Unit (similar to D12 frame without 3590 Model B1As) Drive Unit for B18 (withdrawn from marketing as of 01 December 2006) SCSI Drive Unit ESCON Drive Unit Router for EKM Attach One 3590 Cleaning Cartridge (withdrawn from marketing) One 3490E Cleaning Cartridge (withdrawn from marketing) 210 Cartridges (3490E Data Cartridges) (withdrawn from marketing) 420 Cartridges (3490E Data Cartridges) (withdrawn from marketing) 210 Cartridges (3590 Data Cartridges) 420 Cartridges (3590 Data Cartridges) (withdrawn from marketing) 210 Cartridges (3590 Extended Length Cartridges) One 3592 Cleaning Cartridge
FC5304 FC5400 FC5500 FC5502 FC5503 FC5504 FC5593 FC8002 FC8005 FC8410 FC8420 FC8510 FC8520 FC8610 FC8802
7 (see Note 31) 7 (see Note 31) 1 (see Notes 31 and 32) 1 (see Notes 31 and 32) 1 (see Notes 31 and 32) 1 (see Notes 31 and 32) 2 10 (see Note 9) 10 (see Note 9) 1 1 2 (see Note 9) 1 2 (see Note 9) 5
87
Description Twenty 3592 Data Cartridges (withdrawn as of 29 September 2006) External Fabric Support - Plant (J70) External Fabric Support - Plant (C06) Direct Connect Drives - Plant
Notes: 1. You must order FC0520 against Library Managers installed in 3494-Lxx frames (and the 3494-HA1 option if applicable) shipped prior to 28 October 2005, and also against any installed 3590-A60 Controllers or 3592-J70 Controllers shipped prior to 28 October 2005, in order to support the 3592-E05 tape drive or the 4 Gbit Fibre Channel switch. 2. FC0521 is required to support the 3592-E05 tape drive or the 4 Gbit Fibre Channel switch in VTSs shipped before 28 October 2005. 3. Each 3494-Lxx Frame, 3494-B10 or 3494-B20 VTS, or TS1120 Model C06 Controller must specify one of FC2713, FC2714, FC2715, FC2718, or FC2720. VTCs associated with a 3494-B10 or 3494-B20 VTS in a PtP VTS must have one of these features installed. A 3494-B18 VTS or 3494-AX0 VTC associated with a 3494-B18 VTS in a PtP VTS can optionally have one of these features installed. 4. Each 3592 tape drive ordered for the VTS requires one FC3060. You must order a minimum of four tape drives for the VTS. 5. The maximum of six FC3511 applies to any 3494-D12 frame that contains Fibre Channel-attached 3590-E1A tape drives. For 3494-L12 frames that contain Fibre Channel-attached 3590-E1A tape drives, the maximum of FC3511 is two. 6. FC3701 provides for 36 GB of usable storage capacity for the tape volume cache in a 3494-B16 VTS. You must order a quantity of two or four. 7. You must order FC3702 in a quantity of one, two, three, or four for the 3494-B18 VTS or when converting a 3494-B16 VTS to a 3494-B18 VTS. Ordering FC5236 for an existing 3494-B18 VTS requires a quantity of two or four FC3702. 8. FC3703 is not available for a 3494-B18 VTS with FC5236. 9. Withdrawn as of 2 July 2004. 10.Withdrawn for the 3494-B18 VTS. 11.For the 3494-B20 VTS, you can perform the second through fifth installations of FC4036 concurrently. 12.The maximum of eight FC5001, FC5002, FC5003, or FC5004 applies only to 3494-B10 and 3494-B20 VTSs. For 3494-B18 VTSs, the maximum is four. 13.If the 3494-HA1 option is installed and you order FC5045, you must order FC5045 for both the 3494-Lxx frame and the 3494-HA1option. 14.If you have the 3494-HA1 option installed and you order FC5046 or FC5047, we strongly recommend that you order FC5046 or FC5047 for both the 3494-Lxx frame and the 3494-HA1 option for performance purposes. However, the intermix of a FC5045 400 MHz processor speed Library Manager and a FC5046 or FC5047 1.2 GHz processor speed Library Manager is supported. 15.FC5050 is available only when the library includes the 3494-HA1 option. This feature is available only for systems with at least four frames, not including service bays and 3494-B18, 3494-B10, or 3494-B20 VTSs.
88
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
16.You can select either FC5210 or FC5230. 17.Any combination of FC5211, FC5212, and FC5213 can total no more than eight with FC5229. If you use the LAN attachment, you can attach up to 32 host processors with the appropriate drive switching equipment. 18.Four attachments are standard (up to eight attachments with FC5229). 19.If a 3494-B16, 3494-B18, 3494-B10, or 3494-B20 VTS or a 3494-HA1 option is in the library, FC5214 is required on the 3494-Lxx frame. FC5214 does not apply to 3494-Lxx frames manufactured after October 1999. 20.If FC5215, FC5219, FC5220, FC5227, or FC5229 exist in the Library Manager, you also need to order them for the 3494-HA1 option. 21.You can select an Expansion attachment card and either Token-Ring or Ethernet. 22.Licensing is required for each attached System p. In addition, up to eight System p features are available to permit AIX ESCON tape attachments. 23.If the 3494-Lxx frame was shipped before September 1997, FC9020, FC9040, FC5045, FC5046, or FC5047 is a prerequisite. 24.A 3494-B16 VTS installed in the library requires FC5228 and FC5229. 25.You must order FC5232 for the 3494-Lxx frame when a 3494-B18, 3494-B10, or 3494-B20 VTS or FC9060 is present. 26.If the 3494-Lxx frame was shipped before August 1998, FC9020, FC9040, FC5045, FC5046, or FC5047 is a prerequisite. 27.The maximum of two FC5235s applies only to the 3494-B20 VTS. For the 3494-B10 VTS, the maximum is one. 28.For the 3494-B10 VTS, FC5238 is plant only. For the 3494-B20 VTS, this feature is either plant or field. 29.Ordering FC5245 also requires FC5246 on the 3494-Lxx frame. 30.FC5264 is only allowed for a 3494-B20 VTS for model conversions where the 3494-B18 VTS has FC5264 and the 3494-B20 VTS is ordered with 256 devices (that is, two FC5264s). You are not allowed to order FC5264 against a 3494-B18 VTS in a PtP VTS configuration. 31.A maximum 3494 Tape Library configuration consists of 16 frames: one 3494-Lxx frame and any combination of up to 15 additional frames, not including service bays. You can configure a maximum of 15 FC5300, FC5302, FC5304, FC5400, FC5500, FC5502, FC5503, FC5504, FC9002, FC9003, FC9004, FC9005, FC9006, and FC9007. 32.You must order FC5500, FC5502, FC5503, or FC5504 for the 3494-Lxx frame when converting a 3494-B16 VTS to a 3494-B18 VTS.
89
90
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 3.
91
3.1.2 Nomenclature
The TS1130 Tape Drive actually has several naming attributes similar to the 3592-E05: Machine Type/Model 3592 Model E06 and 3592 Model EU6 are the device models: The Model E06 is the factory build model. The Model EU6 is the field MES upgrade model for E05 to E06 conversions. The 3592 Model E06 and EU6 drives display as a 3592-3E, which indicates that this drive is the third generation 3592 drive and has the Encryption feature enabled. Product name TS1130 is the product name. Because of so many common considerations for the TS1120 and the TS1130 tape drives, and in order to make reading more convenient, we will use the name 3592-J1A for the first 3592 generation and 3592 Model E for the IBM System Storage TS1120 Tape Drive and IBM System Storage TS1130 tape drives in the following chapters.
92
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Virtual backhitch, which is the optimum adaptive format and algorithm designed for
improved start/stop write synchronize performance (refer to Virtual backhitch (nonvolatile caching) on page 100). High performance and robust dual microprocessor architecture. One microprocessor operates the host attachment interface (running what is essentially proven 3590 host attach microcode), while the other microprocessor is allowed to focus strictly on writing data and reading data from tape. Each microprocessor is designed to reset the other microprocessor to act as a fail-safe. S/390 and System z attachment through ESCON and FICON by means of the existing J70 controller, as well as the TS1120 Tape Controller. Statistical Analysis Recording System (SARS) algorithm with extended mount count. Fast random access performance when operating on any of the Short Length Cartridge (SLC) types. Support of an enhanced capacity scaling and segmentation format when operating on the full length Read/Write (R/W) cartridge types JA and JB, enabling very fast locate and read times. Streaming Lossless Data Compression (SLDC) algorithm (enhancement of the Ziv-Lempel (LZ1) algorithm). Cartridge memory of 4K designed for the 3592 to support advanced features.
93
Data band 3
Data band 1 Servo band width Data band 0 Forward (BOT to EOT) Tape Motion
Data band 2
As shown in Figure 3-1, the area between adjacent servo bands is a data band. There are four data bands, each with a number of data tracks (128 - 288 and different for each model), on the 3592 media. The data bands are numbered 2, 0, 1, and 3, with data band 2 nearest the Tape Reference Edge and data band 3 farthest from the Tape Reference Edge. As Figure 3-2 on page 95 shows (here, for example, a J1A written cartridge), each data band is actually composed of eight data sub-bands, one for each of the eight write heads. Each sub-band is written by a given write-head position in a technique called a linear serpentine, which means that the tape moves back and forth longitudinally while the head is indexed up or down laterally at each pass. This technique makes it possible to write multiple distinct tracks in a given data sub-band.
94
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Servo location 0 Servo band N Servo location 7 Centerline of first data track in data sub-band 0 Data sub-band 0
. . .
Centerline of first data track in data sub-band 7 Data sub-band 7
Figure 3-2 Section of tape showing one data band and its surrounding servo bands
Figure 3-3 on page 96 shows an even closer look at a data band. It demonstrates the serpentine method that is used to write data. The numbers on the right indicate the tracks, which are written simultaneously on each data sub-band in a converging spiral in 16 passes for J1A, 14 passes for E05, and 18 passes for E06: down (tape outbound from cartridge) and back (tape inbound to cartridge), each at a different lateral offset. Given the eight or 16 channel heads, eight or 16 tracks of data are written simultaneously in this linear serpentine pattern, each track in separate data sub-bands. After a given data band is full, a coarse-actuator motor moves the head to another quarter of the tape. This process continues until all four data bands are filled.
95
Figure 3-3 Close-up view of two data sub-bands here for J1A with eight tracks and one servo band
Servo tracks
Servo tracks enable accurate positioning of the tape drive head over the data track, ensuring
that the head does not stray onto an adjacent track. They are necessary to support high-data densities on the tape where the tracks are very close together. The servo tracks are written at the time of cartridge manufacture, before the cartridge is usable for data storage and retrieval. Each tape write head has two servo heads, one servo head for each of the two servo bands that it spans. As shown in Figure 3-1 on page 94, five servo bands numbered 0 through 4 make up the servo tracking mechanism on the 3592 tape. They are each located at specific distances from the tape reference edge. Within the servo bands are servo stripes, groups of which make up servo bursts. Four servo bursts make up a servo frame; the first two bursts (as written in the forward tape-motion direction) contain five servo stripes, and the second two bursts contain four servo stripes.
Track following
Each pair of servo bursts is at an angle to each other, and the servo heads move so that they keep a constant value for the distance between the bursts by measuring the time taken between each burst (timing-based servo (TBS)). In this way, the servo is able to follow a straight line within the servo band; any small deviation away from the correct path causes a variation (plus or minus) in the gap between the bursts (see Figure 3-4 on page 97). Provided that the servo head element follows a straight line along the servo band, then the distance x shown in the figure remains constant.
96
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
X -0
X + 0
Two servo bands are used simultaneously to provide two sources of servo information for increased accuracy. For this format, there are control positions within the servo band used to reposition the head in order to write forward and reverse wraps, within each of the four data bands. This timing-based servo technology can be finely tuned and is capable of supporting extremely high track densities, because more than eight positions can be defined within the same servo band, thus expanding the potential track densities. In addition to the significant advances in the tape coating process using the high-quality metal particle media, this means that we can confidently fulfill the road map design for reformatting this same media at higher densities.
Improved availability
Improved availability characteristics include: Single field-replaceable unit (FRU) When you place a service call, the IBM service support representative (IBM SSR) does not replace any parts or subassemblies inside the canister. The new smaller drive unit means that for any failure within the drive, the IBM SSR quickly exchanges the entire unit rather than perform lengthy diagnostics or component replacement in the field. Redundant, hot-pluggable power supplies In all configurations, the drives are seated in cradles that contain two power supplies. Each pair of power supplies can be used by one or two drives. One of these power supplies is sufficient to run both drives, and the second power supply is provided for redundancy. Retention of Fibre Channel Worldwide Name ID during service action This retention means that when a failed drive is exchanged; you do not have to reconfigure the attached hosts to recognize a replacement drive. This retention also eliminates any issues with SAN hosts finding incorrect addresses during a system reboot.
97
Advanced technology
Advanced technology characteristics include: Robust loader mechanism The loader mechanism has been designed to be suitable for the heavy duty cycle usage in mainframe systems. The leader block on the tape cartridge is replaced by a metal pin, which is enhanced over previous drive implementations for increased robustness. Elimination of drive pneumatics and mechanical adjustments The aerodynamic movement of the tape over the flat lap head pulls the tape very close to the head while the tape is moving and provides maximum efficiency in reading and writing. Because of the shape of the head, particles do not accumulate on the tape, eliminating the possibility of debris contaminating the tape surface. Air-bearing heads effectively cushion the tape moving across the head, but whenever the tape stops, it relaxes toward the head surface. The head has a two stage actuator: one mechanism for moving to the required tape wrap and another finer actuator for adjustments to the track-following servo. Straighter and shorter tape path for better tape tracking Tape tracking is improved by using grooved rollers to provide surface-controlled guiding. This feature not only decreases potential wear or damage on the edges of the tape, but in conjunction with the shorter tape path, lateral movement is decreased. Speed matching to reduce backhitching. Refer to 3.2.4, Features designed for capacity and performance on page 99 for further details. Buffering, speed matching, and virtual backhitch algorithms all serve to eliminate physical backhitching, which not only improves performance, but reduces the wear on the drive mechanics caused by continual braking and reversing direction. Channel calibration to optimize performance and data integrity The drive uses individual R/W data channel calibration, exploiting sophisticated techniques that were originally implemented in disk technology.
Drive status indicators and reliability, availability, and serviceability (RAS) functions on the library drive interface The drive provides indicators for Fibre Channel status, whether the power is good, and faults. However, the drive hot-pluggable service panel is the key service tool to perform test procedures and interpret results. You can now access many functions and information that was previously available only from this panel from the 3494 Library Manager interface, which is more convenient and accessible to clients, as well as service personnel. Concurrent microcode update, switch new/old copy of drive code Backup drive Vital Product Data (VPD card) stored from the drive When a drive is replaced, you can quickly download the VPD to the drive using the backup, which reduces the time taken for repair. Functional microcode updates through the Library Manager broadcast You can update the firmware (microcode) in the 3592 Tape Drive in several ways, and the update no longer requires an Field Microcode Replacement (FMR) tape. You can update the firmware by using the: FMR cartridge that contains the updated code Host attachment (FC bus) using the write buffer command RS-422 port to the drive if supported by the library automation RS-232 debug port at the rear of the canister
Preventive maintenance The 3592 Tape Drive requires no preventive maintenance beyond the use of the cleaning cartridge. The 3592 media cartridges require proper care and appropriate handling and shipping procedures.
Data buffer
The drive has a large data buffer with read-ahead buffer management, which addresses the lowest band of data rates, effectively collecting more blocks of data together in the buffer before writing out at a higher speed to the drive. As a result of this data buffer, the drive stops and starts less often, which in general improves the overall performance and reliability of the drive and tape.
Speed matching
For medium data rates when operating from a host that cannot sustain the maximum 3592 data rate, the drive performs dynamic speed matching. The drive adjusts the native data rate of the drive as closely as possible to the net host data rate (after data compressibility has been factored out). The 3592 drive operates at different speeds (between six and seven speeds depending on the drive used) when reading or writing the 3592 format in an attempt to match the effective host data rates. If the net host data rate is between two of the speed matching native data rates, the drive calculates at which of the two data rates to operate. Speed matching reduces the number of required backhitches. In some environments, the drives backhitch is completely masked by the drives data buffer, and thus, the system throughput is not improved or reduced by speed matching.
99
Nonvolatile Caching (NVC) is a 3592 feature that can help greatly improve write performance through backhitch reduction. This system temporarily reserves portions of physical tape for cache areas. Data received from the host is written to the volatile buffer as usual and also to nonvolatile tape cache areas with the exception that no backhitch is typically necessary when writing temporary copies to cache areas of tape. This temporary capacity loss is easily recouped. The data is written to temporary cache areas and is not released in the volatile buffer, but instead it accumulates. This accumulation typically continues until the buffer is
100
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
nearly full. At this time, the accumulated data in the buffer is rewritten through a streamed write to the standard area of tape. When the rewrite is complete, the temporary cache areas of tape are released so that they can be overwritten. Writing temporary copies to the cache areas of tape without backhitching until the buffer is nearly full and then streaming a rewrite of the data to the standard area of tape can help significantly improve the average write throughput to tape. As an example, if a synchronizing event occurs after every 256 KB of data, the best that the 3590 can average is about 0.4 MB/s; basically, 256 KB divided by the backhitch time plus some system overhead. The 3592-J1A for example can average about 2.9 MB/s under the same conditions, which is more than a factor of eight better in write throughput because of the backhitches eliminated by NVC writing. Aside from the potentially improved write throughput performance, the second effect of NVC writing is to recover the capacity lost by the standard writing technique. Data received between synchronization events fills containers of data to be written to tape called device blocks or datasets. The standard writing technique calls for padding out the last partially filled dataset. This padding on average typically amounts to half the size of the last dataset. Given the large dataset sizes of modern tape drives, this loss can be substantial. For example, some systems write as little as 64 KB of data between synchronizations. The minimum dataset size of the 3592 Tape Drive can hold about 400 KB of data. The 64 KB of data might compress to about 20 KB of data. If so, the dataset containing this 20 KB of compressed data is going to be written with 380 KB of unused space, which amounts to a 95% capacity loss in that dataset. The streaming rewrite of the data that is accumulated in a buffer causes nearly all the datasets written to a standard area of tape to be written out in full, which can be thought of as dataset packing. For example, NVC written data might allow in excess of 900 GB of 3:1 compressible data to be written to JA media on a J1A drive, even if the data written is synchronized every 64 KB. Writing in NVC mode is automatically invoked by the drive when host writing behaviors are detected that get better performance when in NVC writing mode. Similarly, NVC writing is discontinued when host commands are received that do not benefit from NVC writing, or when commands, such as rewind, are received. When NVC writing is exited, the drive writes any packed datasets that are accumulated in its buffer before beginning execution of the command that caused NVC mode to be exited. Because it is automatically invoked and exited, NVC writing is designed to be transparent to host applications. The only indication that NVC writing occurs is the improved capacity and performance that can result from this new mode of writing. The two components of nonvolatile caching, backhitch reduction and dataset packing, are designed to provide major performance and capacity improvements over standard tape drive, such as 3590, or Linear Tape-Open (LTO) writing of synchronized data. Dataset packing improves overall tape capacity. Backhitch reduction decreases the frequency of mechanical repositions. Nonvolatile caching provides an innovative approach to increasing both capacity and write performance in a way that is designed to be transparent to host applications.
101
Performance scaling, also known as capacity scaling, is a function that allows you to contain data in a specified fraction of the tape, yielding faster locate and read times. This function is made possible through the action of modifying internal formatting indicators in the medium (and in the CM chip), so that the normal serpentine track format is altered in such a way as to limit the recorded portion of the tape to a specified fraction of the linear dimension of the medium (illustrated for 3592-J1A in Figure 3-5). The 3592 allows an application to issue a command to scale an individual cartridge (Mode Select command). It pertains only to the cartridge that is currently loaded; it is not persistent. The result of performance scaling a tape to a percentage value (for example, 20%) is that the maximum number of recordable gigabytes is reduced to 20% of the normal value, and the average time to locate a random record on a full tape starting from load point is (very roughly) 20% of the time to locate a random record from load point for a full, unscaled tape. To compare, the average time to locate a random record on an unscaled (serpentine) tape that has only been filled to 20% capacity is nearly the same as the average time to locate a random record on an unscaled tape that has been filled to 100%. Scaling cuts the access time proportionately, and it also introduces normal end-of-tape programmatic warnings when approaching the scaled capacity limit in the same sense that those indicators are returned at end-of-tape when unscaled.
Beginning of Tape
100%
Beginning of Tape
Not used
20%
Figure 3-5 Examples for a 100% tape and tape scaled by 20%
The details of how different capacities are set are: The 3592 drive does not change current cartridge scaling unless a SCSI Mode Select command (CDB) specifying Mode Page X'23' (with appropriate non-default parameter settings) is received while the cartridge is positioned at the beginning of tape.The drive can sense and report the scaling state of the current medium through a Mode Sense command specifying Mode Page X'23'. The cartridge can be rescaled from any current value to any supported new value. Tape is logically erased by this rescaling (the end of data mark is written at the beginning of the tape), but not physically erased as with the long erase command. Scaling or rescaling one cartridge does not cause rescaling of the next cartridge; you must issue an explicit command for each cartridge to be scaled or rescaled. The drive provides the option of setting scaling values of N/256ths of full capacity, where N ranges from x16 (22 decimal equals about 8% capacity) to xEB (236 decimal equals about 92%). Refer to Table 3-1 on page 103 for a complete list of capacity scaling options. For scaling factors, N, greater than x4B, the drive scales to the specified amount and creates a fast access segment in the beginning of the scaled region. At all scaling factors, the drive supports early warning at the end of the scaled region (appropriate unit attention message to inform software that it must flush buffers and close
102
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
volume) and reports the physical end-of-tape check condition at the end of the scaled region just as it does at the real physical end-of-tape if the region is unscaled.
Performance segmentation
Performance segmentation provides fast access and capacity by allowing the tape to be divided into two segments: one segment as a fast access segment to be filled first and the other segment as additional capacity to be filled after the first segment. It is high performance in two ways. It has segmentation, so it has high performance random access in the first segment, as though it was a scaled cartridge, while still providing an additional larger capacity as shown in Figure 3-6. Implications: If host systems provide a means to limit the amount of data that a client places on the media, for example, with a % utilization construct, the user gets much faster average access time to the first data; also, additional locates on the same volume improve significantly. With segmentation, there is a small, less than 1% degradation in the data rate due to the increased number of wrap changes. Segmentation also reduces the nominal cartridge capacity by approximately 10%.
~60 G B
~200 G B
Table 3-1 summarizes which capacity settings yield segmentation for JA media.
Table 3-1 Capacity scaling settings Capacity scaling setting 0x00 0x01 0x15 0x16 0x4A 0x4B 0xE0 0xE1 0xEB 0xEC 0xF0 0xF1 0xFF 3592-J1A capacity in GB 300 27 27 - 87 88 - 262 263 - 275 281 300 3592-E05 capacity in GB 500 45 45 - 145 145 - 437 437 - 460 470 500 3592-E06 capacity in GB 640 60 58 - 185 185 - 560 560 - 585 600 640 Segmentation NO NO NO YES YES NO NO
103
104
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The 3592 cartridges have a form factor similar to the 3590 tape cartridge. They are supported in the IBM TotalStorage 3494 Tape Library, IBM System Storage TS3500 Tape Library, and StorageTek Automated Cartridge System (ACS) automation environments. The 3592 cartridge contains 0.15 m (.5 inch) tape media with a new dual-coat, advanced-particle media and has improved areal density capabilities that differ from the tape media in any previously shipped cartridge. The 3592 cartridge is designed to have the strength and durability of an enterprise cartridge. Enhanced assembly strengthens the cartridge at critical locations and helps make the 3592 cartridge less susceptible to damage, for example, if you drop it. The tape is pulled from the cartridge by means of a leader pin rather than a leader block as in the 3590, and a sliding door covers the area formerly occupied by the leader block in a 3590 cartridge. A locking mechanism prevents the media from unwinding when the cartridge is not located within a drive. A special mechanical design provision prevents the 3592 cartridge types from being loaded into 3590 or 3490 drives; if inadvertently loaded into a 3590, the cartridge present sensor does not change state and the drive does not attempt to load.
Media types
The 3592-J1A uses four media cartridge types: JA, JJ, JW, and JR. The 3592-E05 and the 3592-E06 use six media cartridge types: JA, JJ, JW, JR, JB, and JX. All six cartridge types contain the same dual-coat, advanced-particle media. Capacity on these media types depends on whether the cartridge is used by Model 3592-J1A, 3592-E05, or 3592-E06. Table 3-2 shows the six media types and the capacity options that are available with 3592 tape drives.
Table 3-2 IBM 3592 media types Media type and description Media type Length Native capacity 3592-J1A (E1 format) 300 GB 300 GB 60 GB Native capacity 3592-E05 emulating J1A (E1 format) 300 GB 300 GB 60 GB Native capacity 3592-E05 (E2 format) 500 GB 500 GB 100 GB Native capacity 3592-E06 (E3 format) 640 GB 640 128 GB Native capacity 3592-E06 (writing in format E2) 500 GB 500 GB 100 GB
MEDIA5 DATA MEDIA6 ECONOMY MEDIA7 WORM MEDIA8 ECONOMY WORM MEDIA9 EXTENDED DATA MEDIA10 EXTENDED WORM
JA JW JJ
609 m (1998 ft) 609 m (1998 ft) 246 m (807 ft) 246 m (807 ft) 825 m (2706.9 ft) 825 m (2706.9 ft)
JR
60 GB
60 GB
100 GB
128 GB
100 GB
JB
N/A
N/A
700 GB
1 TB
700 GB
JX
N/A
N/A
700 GB
1 TB
700 GB
Figure 3-7 on page 106 shows four of the media types. The WORM cartridges pictured on the left have a platinum color shell, and the R/W cartridges on the right have a black shell. The write protect tab, door, and label for the full length cartridges (both WORM and R/W) are dark blue. The write protect tab, door, and label for the extended length cartridges (both WORM
Chapter 3. Tape drives and controllers
105
and R/W) are dark green. The write protect tab, door, and label for the economy (short length) cartridges are light blue.
Figure 3-7 IBM TotalStorage Enterprise 3592 WORM and R/W cartridges
Figure 3-7 shows two WORM cartridges on the left and two R/W cartridges on the right.
Labels
The 3592 cartridges use a media label to describe the cartridge type. Figure 3-8 shows a 3592 cartridge with a JA label. In tape libraries, the library vision system identifies the types of cartridges during an inventory operation. The vision system reads a volume serial number (VOLSER), which appears on the label on the edge of the cartridge. The VOLSER contains from one to six characters, which are left-aligned on the label. If fewer than six characters are used, spaces are added. The media type is indicated by the seventh and eighth characters.
Cleaning cartridges
There is one cleaning cartridge designed specifically for the 3592 drives. As with the data cartridges, the 3592 cleaning cartridges are not interchangeable with any other model cleaning cartridges (that is, LTO), so you must have both types of cleaning cartridges if you have both types of drives in your environment. The cleaning cartridge also contains a cartridge memory (CM) device, which automatically tracks the number of times that the cleaning cartridge has been used. Cleaning cartridges need to be replaced after 50 uses. The physical characteristics of the 3592 cleaning cartridge can be used to distinguish it from the 3592 data cartridges. The product label on the top of the cartridge is white with the word cleaning printed on it. Instead of the write-protect switch, there is a non-movable light gray block. The cartridge door is also light gray. If you order cleaning cartridges with pre-attached labels, the first three characters of the volume serial number (VOLSER) are CLN.
106
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Basic WORM
The 3592 tape drives support both the 3592 R/W cartridges, as well as 3592 WORM cartridges. The WORM cartridge is geometrically identical to a R/W cartridge and uses the same rewritable media formulation. The servo format, which is mastered onto the tape at manufacturing, is different for WORM cartridge types, however. The WORM function comes not from any inherent non-reversible media characteristic (such as permanent WORM on optical media, such as CD-R or ablative optical WORM), but rather by the way that the 3592 drives microcode handles a WORM cartridge. The drives microcode does not allow overwrite or erasure of previously written user data, such as records or file marks; however, the drives microcode supports appending new data following existing data.
107
It permits overwrite to allow appending files. WORM permits overwrite in order to allow relabeling a new scratch tape. It then overwrites the VOL1 record if there are no subsequent records on the tape. WORM relies on known header/trailer constructs. Statistical Analysis and Reporting System (SARS) data can be written and updated on WORM tapes, because the SARS data is not in the user area of the tape.
JA
011
Yes
3592 Enterprise Tape Cartridge with Labeling and Initialization 3592 Enterprise Tape Cartridge with Volume serial labels only 3592 Enterprise Tape Cartridge without Labels or Initialization
012
2020
Yes
013
Not L + I
N/A
N/A
3020
No
108
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Media type
3599 model
RFID label
Description
JB
014
Yes
Tape Cartridge 3592 Extended with Labeling and Initialization Tape Cartridge 3592 Extended with Volume serial labels only Tape Cartridge 3592 Extended Data without Labeling or Initialization 3592 Enterprise Tape Cartridge (Economy) with Labeling and Initialization 3592 Enterprise Tape Cartridge (Economy) with Volume serial labels only 3592 Enterprise Tape Cartridge (Economy) without Labels or Initialization 3592 Enterprise Tape Cartridge (Economy WORM) with Labeling and Initialization 3592 Enterprise Tape Cartridge (Economy WORM) with Volume serial labels only 3592 Enterprise Tape Cartridge (Economy WORM) without Labels or Initialization
015
5020
Yes
016
Not L + I
N/A
N/A
6020
No
JJ
E11
L + Ia
9050
9051c
1120
Yes
E12
1220
Yes
E13
Not L + I
N/A
N/A
1320
No
JR
E21
L + Ia
9042
9043c
3120
Yes
E22
3220
Yes
E23
Not L + I
N/A
N/A
3320
No
109
Media type
3599 model
RFID label
Description
JW
021
Yes
3592 Enterprise Tape Cartridge (WORM) with Labeling and Initialization 3592 Enterprise Tape Cartridge (WORM) with Volume serial labels only 3592 Enterprise Tape Cartridge (WORM) without Labels or Initialization Tape Cartridge 3592 Extended WORM with Labeling and Initialization Tape Cartridge 3592 Extended WORM with Volume serial labels only Tape Cartridge 3592 Extended WORM without Labels or Initialization 5-pack 3592 Cleaning Cartridges, 50 uses
022
2220
Yes
023
Not L + I
N/A
N/A
2320
No
JX
024
L + Id
9044
9045c
2420
Yes
025
2520
Yes
026
Not L + I
N/A
N/A
2620
No
JA
017
L+I
7005
7006
N/A
No
a. FC9080 is related to E1 Format (3592-J1A), FC9081 is for E2 Format (3592-E05), and FC9082 is for E3 Format (3592-Ex6). b. FC9060 ships cartridges pre-initialized to 20% of total capacity of the cartridge. FC9062 provides for a single partition of approximately 80% of total capacity with the first 20% of capacity having fast record access characteristics. c. If the cartridges are to be used on a Silo Compatible Tape Drive Frame 3592 Model C20, order FC described to provide the Cartridge without Media ID Letters. d. Only FC9081 (E2 Format) and FC9082 (E3 Format) are supported.
For ordering using the IBM part number through an IBM authorized distributor, IBM Business Partner, or IBM marketing representative, refer to Table 3-4 on page 111, which lists the data cartridges and media supplies that you can order using part numbers. For information about the closest distributor, refer to the following Web site: http://www.ibm.com/storage/media 110
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Table 3-4 Ordering media using part number examples Supply item IBM System Storage Tape Cartridge 3592 - Data IBM System Storage Tape Cartridge 3592 - Economy IBM System Storage Tape Cartridge 3592 - WORM IBM System Storage Tape Cartridge 3592 - Economy WORM IBM System Storage Tape Cartridge 3592 - Cleaning IBM System Storage Tape Cartridge 3592 - Extended IBM System Storage Tape Cartridge 3592 - Extended WORM Capacity 300/500 GB 60/100 GB 300/500 GB 60/100 GB Cleaning, 50 uses 700 GB 700 GB Part number 18P7534 24R0316 18P7538 24R0317 18P7535 23R9830 23R9831
111
The IBM TS1130 Tape Drive maintains the same features and technology enhancements introduced with the 3592 Model J1A and extended by the TS1120. In addition, the TS1130 offers several enhancements over the predecessor models, which we explain in more detail on the following pages. Features introduced with the 3592-J1A and 3592-E05 include: Digital speed matching Channel Calibration High resolution tape directory Recursive Accumulating Backhitchless Flush or Nonvolatile caching (NVC) Backhitchless backspace Streaming Lossless Data Compression (SLDC) Capacity scaling Single field-replaceable unit (FRU) Error detection and reporting Statistical Analysis and Reporting System (SARS) Encryption support Dual stage 16-head actuator Offboard data string searching Enhanced logic to report logical end-of-tape
112
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Table 3-5 Subsystem support summary Subsystem 3494-L22 3494-D22 3494-D24 Support within a frame 3584-L23 3583-D23 Support within a frame J70 Controller 3592-E06 Four drives per frame 12 drives per frame Eight drives per frame Must be all of the same model 12 drives per frame 12 drives per frame Full mix of all models allowed Only homogenous drive types Only homogenous drive types Not supported Not supporteda Full mix of all models allowed (20 drives/C20) Supported Supported (two drives/unit) Supported (12 drives/frame) 3592-E05 Four drives per frame 12 drives per frame Eight drives per frame Mix with 3592-J1A is allowed 12 drives per frame 12 drives per frame Full mix of all models allowed Only homogenous drive types Only homogenous drive types Supported in J1A mode Supported Mix of E05 and J1A models allowed (20 drives/C20) Supported Supported (two drives/unit) Supported (12 drives/frame) 3592-J1A Four drives per frame 12 drives per frame Eight drives per frame Mix with TS1120 is allowed 12 drives per frame 12 drives per frame Full mix of all models allowed Only homogenous drive types (or E05 in J1A emulation mode) Only homogenous drive types (or E05 in J1A emulation mode) Supported Supported Mix of E05 and J1A models allowed (20 drives/C20) Supported Not supported Supported (12 drives/frame)
TS1120-C06 Controller
a. IBM intends to provide this support after general availability of the TS1130.
113
The TS1130 supports downward reading of 3592-J1A and TS1120 native formats and writing the TS1120 format: n-2 for read and n-1 for R/W You must apply the appropriate microcode levels available for 3592-J1A and TS1120, which enable the recognition of the E06 format and allow reuse of the media in the older formats. Thus, a model J1A or E05 drive is able to reformat media previously written in the E06 format and to write on it in the appropriate format. Note: This reuse allows a common scratch pool by media type regardless of last written format or allocation target drive.
Capacity improvement
We get a capacity improvement using the 3592-E06 logical format: A 42% capacity uplift for JB/JX (extended length media) from 700 GB to 1 TB A 28% capacity uplift for JA/JW (standard length media) from 500 GB to 640 GB A 28% capacity uplift for JJ/JR (economy short media) from 100 GB to 128 GB
Performance improvement
The overall performance is increased by various improvements, such as higher data rates, a larger buffer, better backhitching, improved speed matching, Read Ahead, faster locate, and improved communication links.
114
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Table 3-6 Capacity and performance summary Media E06 format capacity data rate (min - max) 1 TB 40 MB/s - 160 MB/s 640 GB 40 MB/s - 140 MB/s 128 GB 40 MB/s - 140 MB/s E05 format capacity data rate (min - max) 700 GB 40 MB/s - 150 MB/s 500 GB 40 MB/s - 140 MB/s 100 GB 40 MB/s - 140 MB/s J1A format capacity data rate (min - max) N/A 300 GB (read only) 30 MB/s - 70 MB/s 60 GB 30 MB/s - 70 MB/s
Larger buffer
The main buffer size is increased to 1 GB. This increase improves the drive agility, the file access, and small file handling, which might still be a requirement on z/OS platforms. Furthermore, the buffer reduces backhitches for all workloads and improves the overall read and write performance.
Speed matching
The speed matching function is improved on the TS1130 drive. Both the number of speeds and the range of supported data rates are improved, while the data rate range depends on the logical format and the media type: Seven R/W speeds are supported for JB media: For EFMT3/EEFMT3 format, the range is 31 MB/s to 163 MB/s For EFMT2/EEFMT2 format, the range is 29 MB/s to 150 MB/s Seven R/W speeds are supported for JA media: For EFMT3/EEFMT3 and for EFMT2/EEFMT2, the range is 27 MB/s to 139 MB/s For EFMT1 format, the range is 14 MB/s to 70 MB/s
Virtual backhitch
The small file write synchronize feature is improved, so we get a 30% - 50% net data rate improvement for write synchronize workload. Find more about write synchronize in Virtual backhitch (nonvolatile caching) on page 100.
Read Ahead
On sequential reads, we automatically read ahead and fill the buffer with data sequentially beyond the target block (n). If one of these blocks is a target of the next command (such as n+200), it is already in the buffer and thus transfer is very fast. And we then automatically fill
Chapter 3. Tape drives and controllers
115
the buffer sequentially with data past (n+200). Due to the large data buffer, the 3592-E06 supports Read Ahead of approximately 1000 MB of compressed data from tape. So for applications that issue many repeating sequential short-hop locates (skipping over files and reading the file headers, for example), we outperform with this unique functionality competitive drives that simply stop and wait for the next command.
116
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
3592-E06 EFMT3 or EEFMT3 66 s for JA/JW 18 s for 20% scaled JA 18 s for JJ/JR 90 s for JB/JX 24 s for 20% scaled JB 8.551 m/s 1152 321 kbpi 5 16 1 GB
3592-E05 EFMT2 or EEFMT2 66 s for JA/JW 18 s for 20% scaled JA 18 s for JJ/JR 90 s for JB/JX 24 s for 20% scaled JB 6.21 m/s 896 282 kbpi 5 16 512 MB
Read/write speed maximum Number of tracks Linear density Servo regions Data tracks recorded simultaneously Buffer size
117
The TS1130 continues to support concurrent microcode load with deferred activation. The TS1130 has a single microcode image unique from previous models.
3.3.9 RAS
With the TS1130 Tape Drive, the reliability, availability, and serviceability (RAS) features are improved or maintained. As with its predecessor models, the TS1130 is a single field-replaceable unit (FRU), is hot-pluggable without a maintenance window, and allows for nondisruptive code load. Fan speed management and a unique device microcode file management are available through a LOAD ID. Support is maintained for a larger service display panel. The end of life usage alert for media becomes activated on full file pass usage. Nearing Media Life (alert x13) is given at 19900 mounts or 295 full-file passes and media Life (alert x07) is given at 20000 mounts or 300 full-file passes.
118
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
reinitialized. This CM copy is also readable on a down-level 3592-J1A drive to preserve SARS information between logical format conversions.
3.3.11 Encryption
The TS1130 Tape Drive automatically is encryption-enabled in a System z environment when it is attached to a tape controller. There is no need to enable the drive explicitly as there was with the TS1120 Tape Drive. Refer to Chapter 5, Tape Encryption on page 239.
3.4 The IBM System Storage TS1120 Model E05 Tape Drive
IBM System Storage TS1120 Tape Drive Model E05 is the second generation of the 3592 tape drives. It has the same machine type as the 3592-J1A, with the model type E05, and is designed for applications that require high capacity and fast access to data across a wide range of environments. The TS1120 Tape Drive provides you with the ability to encrypt your data at the drive. For more information about Encryption, refer to Chapter 5, Tape Encryption on page 239. The TS1120 Tape Drive features dual 4 Gb Fibre Channel interfaces, a native data rate of up to 100 MB/s, and a native physical capacity of up to 500 GB on the JA cartridge or 700 GB on a JB cartridge. As with the previous 3592-J1A, the 3592-E05 includes an RS-422 library interface port for communication with the TS3500 Tape Library. The 3592-E05 has support for attachment to ESCON and FICON channels on System z servers through the following tape subsystems: TS1120 Tape Controller 3592-J70 Tape Controller TS7700 Virtualization Engine1 B10 and B20 Virtual Tape Server (VTS) (in J1A Emulation mode) Figure 3-10 on page 120 shows the front view of the IBM TS1120 Tape Drive.
You can configure TS1120 Model E05 in native E05 mode or J1A Emulation mode. All drives have to operate in the same mode behind a given tape subsystem. You must configure all drives in native E05 mode to enable the support of the 3592 Extended Data cartridge (JB media). You can intermix encryption-capable and non-encryption-capable drives. However, all drives must be encryption-capable to enable Encryption for the TS7700.
119
120
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The 3592-E05 can also read and write in Enterprise Format 1 (EFMT1 or E1) when emulating the 3592-J1A.
Encryption support
The IBM System Storage TS1120 Tape Drive provides you with an option to use drive-based data Encryption, which is now standard on all TS1120 tape drives. A chargeable upgrade feature to enable your drive for Encryption is available for existing installed TS1120 tape drives. All 3592 media, including Write Once Read Many (WORM) and extended cartridges, can be encrypted. Based on the Data Class that you have defined, the TS1120 Tape Drive can write in either encrypted or non-encrypted format. Note: When using Tape Drive Encryption, all the TS1120 tape drives that are attached to a single 3592-J70 or TS1120 Tape Controller must be encryption-enabled.
J1A emulation
The 3592-E05 has an emulation mode that enables it to emulate the previous 3592-J1A Model. When attached to a TS7700 Virtualization Engine, a 3592-J70, or a TS1120 Model C06 Tape Controller in heterogeneous frames containing J1A drives, the 3592-E05 drives automatically operate in J1A Emulation mode in these subsystems, even when they are set to operate as native E05 drives. When attached to a VTS, the E05 tape drives always operate in J1A Emulation mode. In this mode, the 3592-E05 drives read and write only in E1 format at the J1A performance and capacity ratings. When removed from these subsystems, the drives automatically revert to native E05 operation, and no action is necessary to restore normal mode.
121
In J1A Emulation mode, the TS1120 cannot be enabled for Encryption. It can read and write in a format that is compatible with the 3592 Model J1A Tape Drive: The TS1120 Tape Drive can read and append to cartridges written by the 3592 Model J1A Tape Drive. The TS1120 Tape Drive can write cartridges in a 3592 Model J1A format that can be read and appended to by the 3592 Model J1A Tape Drive. The TS1120 Tape Drive cannot read cartridges written by the 3590 or 3490. Cartridges written by the TS1120 Tape Drive cannot be read by the 3590 or 3490. Even though the cartridges are similar in size, they contain different media and thus are not interchangeable. The 3592-J1A cannot read or append to cartridges that were created on a TS1120 Tape Drive in either EFMT2 or EEFMT2 mode. The TS1120 Tape Drive can be attached to the same 3592 Model J70 or C06 Controller, TS7700 Virtualization Engine, or 3494 VTS Models B10 or B20 with 3592 Model J1A tape drives. This attachment is only supported when the TS1120 is running in J1A Emulation mode. After TS1120 drives are set to run in E05 native mode, intermix is not supported.
122
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 3-11 IBM TotalStorage Enterprise Tape Drive 3592 Model J1A
For its high capacity capability, the 3592 uses the IBM TotalStorage Enterprise Tape Cartridge 3592 (Model 3599), which provides a native cartridge capacity of up to 300 GB. The 3599 media models include: Read/Write (R/W) 300 GB data cartridge R/W Economy 60 GB data cartridge Write Once Read Many (WORM) 300 GB data cartridge WORM Economy 60 GB data cartridge
123
Figure 3-12 IBM TotalStorage Enterprise Tape Drive 3590 Model E1A
3.6.1 Technology
The IBM 3590 High Performance Tape Subsystem provides high capacity, performance, reliability, and a wide range of host connectivity. This technology exploits a fourth generation
124
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
magneto resistive (MR) head, a 16 MB buffer, predictive failure analysis, and state-of-the-art electronic packaging. While reading or writing 16 tracks at a time, the 3590 models use serpentine, interleaved, and longitudinal recording technology for a total of four, eight, or twelve round-trips from the physical beginning to the physical end of the tape and back again. The tape R/W head indexes, or moves vertically, when it completes each round-trip so that the recorded tracks are interleaved across the width of the tape. The IBM 3590 tape drives use a metal particle medium in the tape cartridge that can store 10, 20, 30, 40, or 60 GB of uncompressed data, depending on the cartridge type and the drive model. The integrated control unit uses a compaction algorithm that can increase the storage capacity of these cartridges. Assuming a compression ratio of three to one (3:1), the cartridge capacity increases to 120 GB on E models and to 180 GB on H models when using an extended length cartridge.
125
- Servo Track
Because of the way that the 3590 tape drive writes data onto the tape, we achieve RAID-like tape storage: Multiple write elements are used for improved performance. Data is spread across multiple tracks to achieve improved availability. Recovery bits are written for improved error recovery.
126
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
For more information about SARS, refer to the IBM TotalStorage Enterprise Tape System 3590 Introduction and Planning Guide, GA32-0329, and the SARS documentation, which you can find on the Web at: http://www-1.ibm.com/support/docview.wss?uid=ssg1S7000247
3.6.2 Characteristics
Table 3-8 compares the drive capabilities and provides an overview of the characteristics of the IBM TotalStorage Enterprise Tape Drive models H, E, and B.
Table 3-8 IBM TotalStorage Enterprise tape drive characteristics 3590 Model H Display panel Cartridge Loader Models x1A Models x11 Host attachment 3590 Model E Alphanumeric liquid crystal display None 10-cartridge capacity Automatic Cartridge Facility (ACF) FICON through 3590-A60 ESCON through 3590-A60 SCSI direct attach Fibre Channel attach 14 MB/s 34 MB/s with Ultra SCSI 42 MB/s with Fibre Channel 100 MB/s with FICON 17 MB/s with ESCON 40 MB/s with Ultra SCSI 100 MB/s with Fibre Channel 3.14 m/sec (124 inches/sec) 5 m/sec (198 inches/sec) 332 m/sec (1089.3 ft/sec) 2 seconds 3590 High Performance Cartridge Tape (HPCT) 3590 Extended High Performance Cartridge Tape (EHPCT) 60 seconds for 3590 High Performance Cartridge Tape 120 seconds for Extended High Performance Cartridge Tape 300 m (984.3 ft) for 3590 High Performance Cartridge Tape (HPCT) 600 m (1968.5 ft) for Extended High Performance Cartridge Tape (EHPCT) 30 GB 60 GB 20 GB 40 GB 10 GB 20 GB 166 m/sec (544.6 ft/sec) FICON through 3590-A60 ESCON through 3590-A60 SCSI direct attach 9 MB/s 27 MB/s with Ultra SCSI 100 MB/s with FICON 17 MB/s with ESCON 40 MB/s with SCSI 2.0 m/sec (79 inches/sec) 3590 Model B
Native device data rate Sustained device data rate (3:1 compression) Maximum instantaneous data transfer rate Tape R/W access speed Search/rewind speed Data search rate Full cartridge rewind time (at end of volume) Media Maximum cartridge rewind time Tape length Uncompressed data capacity HPCT Uncompressed data capacity EHPCT
127
Ul
tra
Fibre Channel
SC SI
Fibre Channel
Ultra SCSI
tra Ul
ESCON FICON
System z Host
Figure 3-14 3590 Model A60 attachment options for System z servers
Table 3-9 details the attachment options provided for the 3590 models B, E, and H tape drives to the server platforms.
Table 3-9 IBM TotalStorage Enterprise tape drive attachment summary Server 3590 Model H Ultra SCSI System z System i System p System x SUN Hewlett-Packard Intel Compatible Compaq Alpha Using J70 Yes Yes Yes Yes Yes Yes No 3590 Model E Ultra SCSI Using J70 Yes Yes Yes Yes Yes Yes No 3590 Model B Ultra SCSI Using J70 Yes Yes Yes Yes Yes Yes No
128
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Server
Yes
a. 3590 tape drives, when attached to an IBM TotalStorage Virtual Tape Server, are exclusively used by the VTS and are not available to any other host.
For a detailed list of supported servers and adapters, go to: http://www.storage.ibm.com/hardsoft/tape/3590/3590opn.pdf For the latest information about applications and which application levels support 3590 tape drives, refer to the Independent Software Vendor (ISV) matrixes on: http://www.storage.ibm.com/hardsoft/tape/conntrix/index.html
Cartridge types
All 3590 tape drive models support the use of the two existing cartridge types: High Performance Cartridge Tape (HPCT): An HPCT cartridge is also called a
J-cartridge, because the media type is identified by a J as the seventh character of the
external volume label that is used inside a 3494 Tape Library. In a system managed storage (SMS) environment, HPCT cartridges are also referred to as MEDIA3. The length of the tape is 300 m (984.2 ft). The capacity varies depending on the tape drive model as described in Table 3-8 on page 127. Extended High Performance Cartridge Tape (EHPCT): An EHPCT cartridge is also called a K-cartridge, because the media type is identified by a K as the seventh character of the external volume label that is used inside a 3494 Tape Library. In an SMS-managed environment, they are also referred to as MEDIA4. The length of the tape is 600 m (1968.5 ft). The capacity varies depending on the tape drive model as described in Table 3-8 on page 127. If you have different 3590 models installed, you can use cartridges on either of these drive models. The tape drives are upward read compatible, which means: Cartridges that were written on a Model B tape drive can be read on a Model E or Model H tape drive. Cartridges that were written on a Model E tape drive can also be read on a Model H tape drive. Cartridges that were written on a Model H tape drive can only be read on a Model H tape drive. Cartridges written with a specific recording technology (128, 256, or 384 tracks) can only be modified on a drive using the same technology with which the cartridge was written before.
129
Cartridges that were returned to scratch and are then written from load point can be reused on any tape drive. In this case, the cartridge is internally relabeled. For a detailed description of the required specifications for read compatibility in a z/OS environment, refer to 6.3, Managing different 359x models in a 3494 Tape Library on page 269.
130
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Feature code 9211 9212 9213 9221 9222 9223 9400 9510 9590 9600 9702 9790 9798 9799 SUN attachment
Description
Hxx models H1x H1x H11 H11 H11 H11 H1x H1x H11 H1x H1x N/A H1x H1x
Exx models E1x E1x E11 E11 E11 E11 E1x E1x E11 E1x E1x N/A E1x E1x
Bxx models B1x B1x B11 B11 B11 B11 B1x N/A B11 B1x B1x B1x B1x B1x
Windows or xSeries attachment Other non-IBM attachment First B11 or E11 plus rack shelf installed in a rack Second or fourth B11, E11, or H11 installed in a rack Third B11 or E11 plus rack shelf installed in a rack AS/400 or iSeries attachment Fibre Channel attachment (plant install) No data cartridges RS/6000, pSeries, or RS/6000 SP attachment Interposer, double-byte Ultra SCSI attachment (plant install) Inline SCSI Terminator VHDCI cable/interposer
For a detailed description of the feature codes listed in Table 3-10 on page 130 and the IBM 3599 models, refer to the IBM TotalStorage Enterprise Tape System 3590 Introduction and Planning Guide, GA32-0329.
131
operations. Or, it might yield up to eight concurrent ESCON transaction I/O operations (depending on the channel utilization of the ESCON channels), because ESCON provides 17 MB/s, half duplex. A higher data rate means less fiber for a given rate. In certain countries or regions, fiber is very expensive. Therefore, FICON, by allowing aggregation of paths onto a single fiber, might be extremely cost-effective. Utilization of fiber infrastructure is improved. The same amount of fiber and repeaters might be used to carry significantly more traffic, offsetting a possible future cost of additional fiber and repeaters needed to carry more data. You can obtain a greater distance with dark fiber. In certain countries or regions, clients typically use dark fiber without retransmission through repeaters. The use of FICON can provide a significantly greater distance of 10 km (6.2 miles), or 20 km (12.4 miles) with a Request for Price Quotation (RPQ), compared to ESCON light emitting diode (LED) limits of 3 km (1.86 miles) for 62.5 micron fiber, or 2 km (1.24 miles) for 50 micron fiber. FICON channels can use existing 9 micron single-mode fiber, or 50 or 62.5 micron multimode fiber. FICON can use any existing fiber in use by ESCON. Note that 50 and 62.5 micron fiber is only supported up to 550 m (1804.6 ft), where 9 micron fiber is supported up to 10 km (6.2 miles) (or 20 km (12.4 miles) with an RPQ). FICON is the foundation for high-performance channels. The architecture and implementation allow for: Initial implementation to ESCON devices through the IBM 9032 Model 5 ESCON director acting as a bridge Point-to-point to I/O subsystems with System z FICON interfaces Switched point-to-point through a FICON director to I/O subsystems with System z FICON interfaces Figure 3-15 on page 133 presents an overview of the components of the fiber optic technology. It shows the dimension of a human hair compared to the diameter of the fiber. The bottom of Figure 3-15 on page 133 shows the connectors used for multimode and single mode fiber, as well as for ESCON attachment.
132
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
For comparison purposes, this is the relative size of a human hair (@ 70 microns)
Multimode fiber
"Multiple paths" for the light to travel
LED
or
Light Emitting Diode Core 50 or 62.5 micron diameter Cladding 125 micron diameter Outer coating 250 micron diameter
SX Laser
LX Laser
Core 9 micron diameter Cladding 125 micron diameter Outer coating 250 micron diameter
SC Duplex multimode
FICON attachment allows for longer distances between the host and the tape controller than ESCON without the performance drop known from ESCON attachments at longer distances.
133
As well as supporting the new 3592-J1A drives, the 3592-J70 is capable of attaching 3590 tape drives. It is a suitable replacement for users of 3590-A00, A50, and A60 controllers, who need the additional performance and attachment capabilities that the 3592-J70 Controller provides. Enhancements incorporated into the 3592 Model J70 Tape Controller include: Support for an intermix of ESCON and FICON attachments Attachment of up to twelve 3592-J1A or 3590 B, E, and H tape drives Up to 1.5 times the throughput of the 3590-A60, with FICON attachment using the 3592-J1A tape drive Support for capacity scaling with the 3592 Model J1A tape drive Support for 3592 drive hot swap capabilities Dual-mirrored hard drive for redundancy Redundant, hot-swappable power supplies and cooling components with automatic failover Support for Tape Encryption with the TS1130 Tape Drive Note: When using Tape Encryption in a library that has a mix of controller models, you need to upgrade the microcode firmware of your controllers if you intend to use tape cartridges from a common tape cartridge scratch pool. The minimum level of microcode firmware is 1.19.5.x for the 3592-J70 Enterprise Tape Controller, 1.21.x.x for the TS1120 Tape Controller (3592-C06), and 1.16.1.11 for the 3590-A60 Enterprise Tape Controller.
134
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: You cannot intermix 3592 and 3590 drive models behind a single 3592-J70 Controller. You cannot intermix TS1120 tape drives running in Enterprise Tape Format 2 (EFMT2) and TS1120 tape drives running in Enterprise Tape Format 1 (EFMT1), which is also called J1A Emulation mode, behind a single 3592-J70 Controller. You cannot intermix TS1120 tape drives running in Enterprise Tape Format 2 (EFMT2) and TS1120 tape drives running in Enterprise Tape Format 2 with Encryption enabled (EEFMT2) behind a single 3592-J70 Controller. Figure 3-17 Illustrates the characteristics of the 3592 Model J70.
135
Model J70 is designed to exploit the performance and function of the 3592 tape drive, including the high capacity, fast access, and the WORM tape formats. To assist in data migration to new more cost-effective technologies, you can install the 3592-J70 with its associated tape drives in the same IBM 3494 Tape Library with existing 3490 or 3590 models. You can intermix the 3592-J70 in the same 3494 Tape Library with the predecessor 3590 Model A60, A50, or A00 controllers, offering a unique and flexible growth opportunity. A 3952 Tape Frame Model F05 is now available for connection to the 3494 Tape Library, a StorageTek Silo, or as a stand-alone frame. Refer to 2.2, IBM 3494 basic tape library frames and models on page 38 for more details about this new frame. Note: IBM 3590 models A14, C10, and C12 were withdrawn from marketing, effective 29 September 2006. The 3592-J70 Controller was withdrawn from marketing, effective 1 December 2006.
Host attachment
The J70 controller has been designed to provide greater throughput and connectivity than previous IBM controllers, offering up to eight ESCON attachments, or up to four FICON attachments, or an intermix of ESCON and FICON attachments. The following feature codes are applied to the Model J70 to order either ESCON or FICON attachments or a mixture of the two. You must have at least one of these features: FC3413 dual ESCON attachment Each feature provides a dual-ported ESCON host adapter. Up to four of these features can be ordered, for a total of up to eight ESCON port attachments. Each port can support up to 64 logical paths. FC3434 2-Gbps FICON long wavelength attachment feature Each feature provides one FICON adapter that can support up to 128 logical paths (maximum of four features). FC3435 2-Gbps FICON short wavelength attachment feature Each feature provides one FICON adapter that can support up to 128 logical paths (maximum of four features). Table 3-11 on page 137 shows how you can intermix the attachments. Note that FICON columns show the number of FICON channels (which is equal to the number of FICON
136
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
features), and the ESCON columns show the number of ESCON channels (which is double the number of ESCON features).
Table 3-11 Permitted combinations of FICON and ESCON attachments 3592-J70 FICON 4 3 2 1 0 ESCON 0 2 4 6 8 3590-A60 FICON 2 2 2 1 0 ESCON 0 2 4 6 8
Feature conversions are available to convert an installed FC3413 to FC3434 or FC3435, as well as to convert an installed FC3434 to FC3435, or FC3435 to FC3434.
Drive attachment
The 3592-J70 Controller can be ordered with a choice of either: Two LC Fibre Channel adapters (FC3476) Two dual-ported SCSI adapters (FC3477) The SCSI adapters are only required if you want to attach 3590 drives with SCSI adapters. Otherwise, for 3590 (E or H) models with FC adapters, 3592-J1A drives, or TS1120 tape drives, the FC adapter feature is required. In order to provide Fibre Channel connectivity between a maximum of 12 drives and the controller, you also need to configure a 2109 Model F16 switch. You can use a Model S16 switch to provide a valid configuration, and you will see that many of the available features refer to the use of the S16 switch, although it is no longer marketed by IBM. In general, the required cabling between the controller and the drives for a particular configuration will be supplied, provided that all the correct features have been specified, validating any orders with IBM representatives or IBM Business Partners who will use the IBM configuration tool. It is essential that the 2109 Model F16 or S16 switch has the appropriate number of Gigabit Interface Converter (GBIC) features configured to support the drives, because these features are not automatically supplied. Detailed feature descriptions and information about the required features in specific configurations are described in the IBM System Storage Tape System 3592 Introduction and Planning Guide, GA32-0464. We provide a general example of the drive attachment requirements that is designed to demonstrate how the configurations in different frames are built up. Figure 3-18 on page 138 shows a simplified diagram of twelve 3592-J1A drives within a 3494 library attached to a 3592-J70 Controller using a 2109-F16 switch. Eight of the drives are in the same frame as the controller and switch, and the other four drives are in the adjacent frame.
137
210-F16-
J J
D24 Controller frame
J J J J
3592 D22 Adjacent frame
J J
J J
J J
J70
Sample configuration
Figure 3-19 on page 139 shows in more detail the connections between host, controller, switch, and drive. In order to deliver the correct licensed internal code and hardware to install this configuration, a number of features are required for the controller, the switch, and the frames in which they are housed. Features on the 3592-J70 in our sample configuration include: FICON and ESCON features (either FC3434, FC3435, or FC3413) The number and type of these features are dictated by throughput and connectivity requirements for the System z host. Fibre Channel adapter feature (FC3476) This feature provides the adapter hardware to attach the drives. For 3592 drives, the FC adapters are required, because the 3592 drive has only FC connectivity. (The other option is FC3477 for SCSI adapters if 3590 drives are used.) J1A drive attached to controller feature (FC9476) This is a mandatory feature on the controller to provide code support for the 3592-J1A drives. It is mandatory on both the J70 and the A60 controllers to support the new drives. Fibre drive attach LC switch feature (FC3484) This feature indicates that the configuration includes an F16 switch that has LC connectors. For an SC switch (the S16), FC3483 is required. This feature ensures the correct type of cables are shipped to attach the drives to the switch. In our example, LC connectors are required at both ends of the cables, because both the drive and the switch have LC connectors. The 3590 drives have SC connectors. Each of these different combinations triggers the shipment of different cables of the required length. Drive-to-switch cables (FC3059) In our configuration, we need eight of these features, because one feature must be specified on the J70 for each 3592 tape drive attached to the Model J70 controller in the
138
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
rack that contains the Model J70. These features ensure shipment of the correct number of cables to use between the drives and the switch. Use FC9059 for 3590 drives. Features on the 3494 in the sample configuration: LC Fibre Drive-attached controller feature (FC3474) This feature is required to install the 3592-J70 Controller in conjunction with the 2109-F16 switch into the 3494-D24 frame. A different feature is required for the 3590 drives in a D14 frame. Different features are required if the switch is an SC switch (that is, the Model S16). Adjacent frame 3592 with LC attachment feature (FC4075) This feature provides the hardware to support the attachment of the 3592-J1A drives housed in a 3494-D22 frame to the 3592-J70 Controller housed in the adjacent Model D24 frame, using the F16 switch. This feature ensures that the correct type of cables (in our example, LC/LC) are shipped to connect the four drives in this frame to the switch in the adjacent frame. The correct number is shipped based on the number of drives installed in this frame (in our example, four). This feature also applies if all twelve 3592 drives are attached to a Model A60 controller. However, if the switch used was a Model S16 (SCC-attached), FC4065 applies. If 3590 drives are used, different features are used on the D12 frame.
3592
M od el J70
21 09 F 16 co n n e ctio n s:
2G b LC conn ectors req uire LC /LC cables
2109-F 16
ad jacen t fram e
Figure 3-19 Example of the drive connection to the controller installed in a 3494
139
drives attached to the controller beyond six. So, in our example, order six FC2210s to attach 12 drives to the controller. The 2109 switch also has an optional feature (FC6203) for an additional redundant power supply, enabling dual power source configurations to minimize power outages. Do not specify the non-rack install feature (FC9205), because the switches are dedicated to the controller and are always housed in a frame or rack.
140
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Feature code 9595 9700 9752 9753 9762 9763 9770 9771 9775 9789 9790 9793 9794 9861a 9862a 9865 9866 9867 9868 9877
Description CU Encryption configuration - Plant-Installed No Factory Cables 9-micron LC/LC 31 m Fibre Cable 9-micron LC/LC 2 m Fibre Cable 50-micron LC/LC 31 m Fibre Cable 50-micron LC/LC 2 m Fibre Cable 62.5 Micron MT-RJ to ESCON Riser-Rated 31 meter ESCON Cable 62.5 Micron MT-RJ to ESCON Plenum-Rated 31 meter ESCON Cable 62.5 Micron MT-RJ to ESCON 2 meter ESCON Jumper Cable 62.5 Micron MT-RJ to MT-RJ Plenum-Rated 31 meter ESCON Cable 62.5 Micron MT-RJ to MT-RJ Riser-Rated 31 meter ESCON Cable 9-micron LC/SC 31 m Fibre Cable 50-micron LC/SC 31 m Fibre Cable Field Merge J70 in C10 Plant Install J70 in C10 Field Merge J70 in a 3494 Model D14 or D24 Frame Plant Install J70 in a 3494 Model D14 or D24 Frame Plant Install J70 in a 3590 A14 Frame Field Merge J70 in a 3590 A14 Frame Field-Installed J70 in 3952-F05
a. Applies only to the C20 frame in a StorageTek (ACS) environment. Refer to the IBM TotalStorage Silo Compatible Tape Frame 3592 Introduction, Planning, and Users Guide, GA32-0463, for information regarding this installation.
For a full description of the 3592 Model J70 Controller features, refer to the publication IBM System Storage Tape System 3592 Introduction and Planning Guide, GA32-0464.
141
Call Home
The IBM 3592 Model J70 Controller supports the Call Home function. The Call Home function opens a service alert in the event that a problem occurs with the Model J70 Controller. An IBM SSR can then respond to fix the problem. The Call Home feature is now available through the IBM TS3000 System Console, which we explain in Call Home on page 152. IBM 3494 Tape Libraries that were already configured and using the TotalStorage Master Console (TSMC) will still function, and they will only need to use the new features with any additional frame that is purchased.
microcode. In this mode, the TS1120 Tape Drive will read and write only in J1A format at the J1A capacity and approximate performance ratings. This configuration requires J70 code level 1.19.1.xx and Library Manager 532.xx. Encryption-enabled TS1120 tape drives in a library cannot be attached to the same 3592 Model J70 with TS1120 tape drives that are not encryption-enabled or 3592-J1A drives.
Write Throughput
highly compressible data
Throughput (MB/sec)
A60 with two FICON channels J70 with four FICON channels
143
Write Throughput
data compresses 1:1
Throughput (MB/sec) 300 250 200 150 100 50 0 A60 attached to 3590 H11 J70 attached to 3592 J1A
12
Summary
The J70 Controller has been designed to provide up to one and a half times the throughput of the A60. It has been designed to provide numerous functions to allow better performance for applications that require high data transfer rates, write many files to a tape cartridge, regularly synchronize records to the cartridge, or randomly retrieve records or files from a high capacity tape cartridge. This functionality is delivered by a combination of the J70 Controller microcode and OS/390 or z/OS operating system support. Figure 3-20 on page 143 and Figure 3-21 illustrate the J70 Controller; when attached to the 3592-J1A tape drive, it offered significantly better performance than its predecessor. Although designed to complement the high capacity and high performance of the 3592 tape drive, the J70 Controller is backward-compatible with the 3590 tape drive. This compatibility enhances the flexibility of the J70 Controller to fit into various storage environments, including those environments with existing 3590 tape systems, which helps to protect prior investments in tape storage hardware.
144
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The TS1120 Model C06 Controller is supported in the following configurations: Silo: The TS1120 Model C06 Controller resides in a rack or in a 3952-F05 frame (replaces 3590-C10 frame). This controller is then connected to the 3592 drives residing in a 3592-C20 frame. Stand-alone: The TS1120 Model C06 Controller resides in a rack or in a 3952-F05 frame. This controller is then connected to the 3592 drives residing in a rack. Note: The TS1120 Model C06 Controller supports 3592-J1A and TS1120-E05 tape drives; it does not support 3590 tape drives. The TS1120 Model C06 Controller within a 3952 Tape Controller Model F05 frame can go to different library models.
145
Up to sixteen attached 3592-E05 (or 3592-J1A) tape drives (up to twelve in a stand-alone rack) Two 4 Gbps Fibre Channel adapters for attaching 3592 tape drives or switches Support for 3592 drive hot swap capabilities Support for capacity scaling and segmentation with the 3592 tape drives Support for WORM capabilities with the 3592 tape drives Support for an outboard search interface for increased performance of certain applications. Currently, DFSMShsm audit is the only application written to take advantage of this capability. Support for Tape Encryption Note: For Encryption support, the minimum level of microcode firmware for the TS1120 Controller is 1.21.x.x.
Note: When using Tape Encryption in a library that has a mix of controller models, you will need to upgrade the microcode firmware of your controllers if you intend to use tape cartridges from a common tape cartridge scratch pool. The minimum level of microcode firmware is 1.19.5.x for the 3592-J70 Enterprise Tape Controller, 1.21.x.x for the TS1120 Model C06 Controller (3592-C06), and 1.16.1.11 for the 3590 A60 Enterprise Tape Controller. When using Tape Encryption, you can only attach TS1120 tape drives that are encryption-enabled to a single TS1120 Tape Controller. When using a TS1120 Model C06 Controller with an IBM 3494 Tape Library, the controller resides in a 3952 Tape Frame that is detached from the library. This extra frame is required, because the TS1120 Model C06 Controller is an unmodified System p processor. The drives and operator panels are on one side, and the cable connections are on the other side. The controller cannot be serviced in an IBM 3494 Tape Library, because only one side is accessible. This design differs from the 3592-J70 Controller that was modified so that the drives, operator panels, and cables were all on one side, which enabled access and service in an IBM 3494 Tape Library. There are two versions of the 3952 tape frame: the 3494 attachment frame and the silo-attached frame. A maximum of three TS1120 Model C06 Controllers can be installed in the 3494 attachment frame, as detailed in Table 3-13.
Table 3-13 TS1120 Tape Controllers in 3952 tape frames Frame 3952 Tape Frame Model F05 (3494 attachment) 3952 Tape Frame Model F05 (Silo attachment) Attachments One to three TS1120 Model CO6 Controllers One to three TS1120 Model C06 Controllers
The TS1120 Model C06 Controller connects to the library through a 3494-D24 or 3494-D22 frame. The 3494-D24 frame or 3494-D22 frame contains the Fibre Channel switches that the controller uses to communicate to the TS1120-E05 (or 3592-J1A) drives, the Ethernet router through which the controller communicates with the Library Manager, and up to 12 IBM TS1120-E05 (or 3592-J1A) tape drives. You can connect additional drives (up to a total of 16
146
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
per TS1120 Model C06 Controller) in an adjacent 3494-D22 frame or 3494-L22 frame with current feature codes. Table 3-14 lists the frame capacities for drives and controllers.
Table 3-14 3494 maximum frame capacities for drives and controllers Frame 3494 Model L22 Attachments Up to four 3592 tape drives Note: If a Model D22 frame is installed with the adjacent frame FC4085, the maximum number of attached 3592 drives is four. If a Model D22 frame is installed with the adjacent frame FC4086, the maximum number of attached 3592 drives is four. Up to twelve 3592 tape drives Note: If a Model D22 frame is installed with the adjacent frame FC4085, the maximum number of attached 3592 drives is eight. If a Model D22 frame is installed with the adjacent frame FC4086, the maximum number of attached 3592 drives is four. One 3592 Model J70 or 3590 Model A60 controller, or TS1120 Model C06 Controllera and up to eight 3592 tape drives One 3592 Model J70 or 3590 Model A60 controller or attachment through the outboard TS1120 Model C06 Controller, and up to four model H1A, four model E1A, or four model B1A 3590 tape drives
a. The TS1120 Model C06 Controller is installed remotely from the tape library in an IBM 3952 frame. b. This frame and controller combination is supported only for 3590 drive attachments.
Host attachment
The TS1120 Model C06 Controller has been designed to provide greater throughput and connectivity than previous IBM controllers, offering up to eight ESCON attachments or up to four FICON attachments. An intermix of ESCON and FICON attachments is also available in either short wavelength or long wavelength on the same controller. Table 3-15 on page 148 shows how you can intermix the attachments.
Chapter 3. Tape drives and controllers
147
Table 3-15 Permitted combinations of FICON and ESCON attachments TS1120 Model C06 Tape Controller FICON (4 Gbps) 4 3 2 1 0 ESCON 0 2 4 6 8 3592-J70 Controller FICON (2 Gbps) 4 3 2 1 0 ESCON 0 2 4 6 8
Apply the following feature codes to the TS1120 Model C06 Controller to order either ESCON or FICON attachments, or a mixture of the two types. You must have at least one of these features: FC3440 dual ESCON attachment Each feature provides dual-ported ESCON host adapters. You can order up to four of these features for a total of up to eight ESCON port attachments. Each port can support up to 64 logical paths and, using ESCON directors, can be up to 43 kilometers (26.7 miles) from the host system. FC3441 4-Gbps FICON short wavelength attachment Each feature provides one FICON adapter with an LC duplex connector for attachment to a FICON host system long wave channel, utilizing a 50-micron multimode fibre cable. The total length of the cable cannot exceed 150 meters (492 ft.) and can connect up to 128 logical paths. FC3442 4-Gbps FICON long wavelength attachment Each feature provides one FICON adapter with an LC duplex connector for attachment to a FICON host system long wave channel utilizing a 9-micron multimode fibre cable. The total length cannot exceed four kilometers (2.48 miles) and can connect up to 128 logical paths. FC3443 4-Gbps FICON 10 km long wavelength attachment Each feature provides one FICON adapter with an LC duplex connector for attachment to a FICON host system long wave channel utilizing a 9-micron single mode fibre cable. The total length cannot exceed10 kilometers (6.2 miles) and can connect up to 128 logical paths.
Drive attachment
The TS1120 Model C06 Controller is attached through FC3478 to up to sixteen 3592 tape drives. This feature installs two short wavelength 4 Gbps dual-ported Fibre Channel adapters with LC connectors. The following features are available depending on how you install the controller: FC3488 4 Gbit Fibre Channel switch, maximum of two FC4888 or FC4887 Fibre Channel switch mount kit, one for each controller FC3492 external fabric support, maximum of one FC3493 or FC9493 direct connect drive, maximum of one FC3494 Fibre Channel switch rack mount, maximum of one FC9885 field merge TS1120 Model C06 Controller into 3952 Tape Frame, maximum one FC9886 plant install TS1120 Model C06 Controller into 3952 Tape Frame, maximum one
148
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: For a complete list of the required feature codes for 3494 attachment, their prerequisites, or corequisites, refer to Table 2-7 on page 73.
3952-F05
D24
D24 D22
L22 D24
8 Drives
16 Drives
12 Drives
D22
D22 D22
L22 D22
12 Drives
16 Drives
16 Drives
Figure 3-23 Examples of drive connection with TS1120 Model C06 Controller
Direct Connect
For limited configurations, the TS1120 Model C06 Controller can have four 3592-E05 (or 3592-J1A) tape drives attached using direct connect support (FC3493 or FC9493). This configuration is only supported if the number of tape drives is four or less. The client is responsible for providing the cables from the TS1120 Model C06 Controller installed in a 3952 Tape Frame to the 3592 tape drives. Cables from the controller to the tape drives can be ordered with the tape drives or supplied by the client.
149
Table 3-16 TS1120 Model C06 Controller feature codes Feature code 0520 Machine type and model TS1120 (3592-C06) Controller, 3592 Model J70, 3494 models Lxx TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller, 3952 Frame F05 TS1120 (3592-C06) Controller, 3952 Frame F05 TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller 3952-F05 Frame 3952-F05 Frame TS1120 (3592-C06) Controller 3952-F05 Frame TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller, 3952-F05 Frame 3952-F05 Frame Description Functional Enhancement Field
2714 2715 2720 3062 3440 3441 3442 3443 3478 3488 3492 3493 3494 3495 3516 3517 4641 4870 4887 4897 5593 5594
Console Expansion Console Attachment IBM System Storage TS3000 System Console Drive-to-Switch Cables/Rack Dual ESCON Attachment for C06 FICON Short Wavelength Attachment FICON Long Wavelength Attachment FICON 10 km Long Wavelength Attachment Two Dual-Ported Fibre Drive Adapters 4 Gbit Fibre Channel Switch External Fabric Support (Field install) Direct Connect Drives (Field install) Fibre Channel switch Rack Mount Kit Redundant Fibre Channel Attach Fibre Channel switch Mount Kit Redundant Fibre Channel Attach Install Controller in Rack Replace Controller with TS1120 (C06) Controller Reinstall 2 Gbit Fibre Channel switch Reinstall 4 Gbit Fibre Channel switch Router for Encryption Key Manager (EKM) Attach Attach Additional CU to Router
150
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Feature code 5595 5875 5877 5878 5879 5880 7315 7316
Machine type and model TS1120 (3592-C06) Controller 3952-F05 Frame 3952-F05 Frame 3952-F05 Frame 3952-F05 Frame 3952-F05 Frame 3952-F05 Frame 3952-F05 Frame
Description CU Encryption Configuration (Field install) Field Merge 3592-J70 Controller Field Install 3592-J70 Controller Field Merge TS1120 (C06) Controller Field Install TS1120 (C06) Controller Field Install TS1120 (C06) Controller in a 3952-F05 Frame TS7640 Silo Compatible Controller Attachment Enterprise Tape Library Attachment (3494 Outbound Controller Frame) Attach to S/390 or System z 3592 Drive Attach to C06 Controller External Fabric Support (Plant install) Direct Connect Drives (Plant install) CU Encryption configuration (Plant install) Field Merge C06 into 3952-F05 Plant Install C06 into 3952-F05 Field Merge C06 into 3953-F05 Plant Install C06 into 3953-F05 Plant Install C06 in 3952 for 3494
9000 9478 9492 9493 9595 9885 9886 9887 9888 9889
TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller, 3952-F05 Frame TS1120 (3592-C06) Controller, 3952-F05 Frame TS1120 (3592-C06) Controller TS1120 (3592-C06) Controller, 3952-F05 Frame TS1120 (3592-C06) Controller, 3952-F05 Frame TS1120 (3592-C06) Controller, 3952-F05 Frame TS1120 (3592-C06) Controller 3592-F05 Frame
For a full description of the TS1120 Model C06 Controller features, refer to Introduction and Planning Guide 3592 Models J1A, E05, J70 and C06, GA32-0555.
151
3592-J70 Controller with 3592-J1A tape drives. This controller has many of the reliability and availability characteristics that the 3592 Model J70 offered, such as redundant power supplies with automatic failover, hot swap capabilities, and redundant cooling.
Call Home
The TS1120 Model C06 Controller supports the Call Home function by providing support for the IBM TS3000 System Console (TSSC) attachment (this attachment was previously known as the IBM TotalStorage Master Console (TSMC). The Call Home function can report any error alerts for early detection of problems, might expedite microcode updates, reduce service times, and enhance local service. FC2720 TS3000 System Console replaces FC2713, Master Console for Service. Call Home functionality with features FC2714, FC2715, and FC2720 connected through Ethernet to the various ATL frames sends wellness monitoring data through the TSSC. Your IBM SSR can activate the Call Home function during the installation of the controller. The following environments support Call Home: TS1120 Model C06 Controller or 3592-J1A in a stand-alone frame or rack TS1120 Model C06 Controller or 3592-J1A in the 3494 Tape Library TS1120 Model C06 Controller or 3592-J1A in the 3952 Tape Frame TS1120 Model C06 Controller or 3592-J1A in the 3952-F05 Tape Frame TS1120 Model C06 Controller or 3592-J1A in a StorageTek Automated Cartridge System environment
To take advantage of the performance improvements of the TS1120 Model E05 drive or its Encryption capability, you must only attach native TS1120-E05 drives to the TS1120-C06 Controller.
152
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Compatibility considerations include: The TS1120 Model C06 Controller must be installed in a 3952 Tape Frame Model F05 to to control 3592 tape drives in a 3494 Tape Library. This frame is external to the 3494 Tape Library and can hold up to three TS1120 Model C06 Controllers. Ensure that you have the correct features depending on where your tape drives are located within your 3494 Tape Library.
C 0 6 / E 0 5 W R I T E S tr e a m in g P e r fo r m a n c e - 2 G b p s
C 0 6 /E 0 5 W r it e P e r f o rm a n c e - 2 G b F IC O N
S in g le D r i v e
25 0 20 0 15 0 10 0 50 0 1 2 4 8 16 32 64 12 8 256
B l o c k S i z e (K B )
Figure 3-24 TS1120 Model C06 Controller write streaming performance with 2 Gbps
153
C 0 6 / E 0 5 W R I T E S tr e a m in g P e r fo rm a n c e - 4 G b p s
C 0 6 /E 0 5 W r it e P e r f o rm a n c e - 4 G b F IC O N
S in g le D r i v e
25 0 20 0 15 0 10 0 50 0 1 2 4 8 16 32 64 12 8 256
B l o c k S i z e (K B )
Figure 3-25 TS1120 Model C06 Controller write streaming performance with 4 Gbps
S tr e a m in g W r ite P e rfo r m a n c e C o m p a r is o n
W r i te P e r fo r m a n c e C o mp a r is on
6 4 K B B lo c k s ize - L a rg e Co m p a c t io n
7 00 6 00 Data Rat e (MB/s ec ) 5 00 4 00 3 00 2 00 1 00 0 1 2 # o f D r i ve s 4 8 J7 0 /J1 A 2 Gb F IC ON J7 0 /E05 2 Gb F IC ON C0 6/ E0 5 2 Gb FICO N C0 6/ E0 5 4 Gb FICO N
154
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
z / O S D F S M S d s s F u ll V o lu m e D um p
DF S M S ds s F ul l V ol um e D um p Ag gr e g a te T hr o ug h pu t 60 0
Throughput (MB/Sec)
50 0 40 0 30 0 20 0 10 0 0 1 (C C ) 1 2 (C C) 2 4 (C C ) 4 8 (C C ) 8 12 16
# o f Ta sks ( CC = > C o n c u rre n t C o p y u s e d )
J 7 0 /E 05 2 Gb FICON C 0 6 /E 05 2 Gb F IC ON C 0 6 /E 05 4 Gb F IC ON
z / O S D F S M S d s s F u ll V o lu m e R e s to re
D F S M S d s s F u ll V o lu m e R e s to re A g g re g a te T h ro u g h p ut 600 500
Throughput (MB/Sec)
12
16
Summary
The TS1120 Model C06 Controller has been designed to provide 1.7 times the throughput of the 3592-J70. It has built on the success of the 3592-J70 while adding extra features and reliability. Although designed to complement the high capacity and high performance TS1120-E05 tape drive, the TS1120 Model C06 Controller can also use the existing 3592-J1A tape drive. You can utilize the TS1120 Model C06 Controller in an existing IBM TotalStorage 3494 Tape Library, therefore, protecting the investment made in this infrastructure. The
155
TS1120 Model C06 Controller can be used in concert with the 3592-J70 to further utilize your already implemented tape infrastructure.
156
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 4.
157
158
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Non-System-Managed Volume
Not Assigned
Assigned
Here are some examples of what system-managed tape allows you to do: Direct all of your off-site backup volume allocations to an IBM 3494 Tape Library in an off-site, protected location for disaster recovery. Ensure that all volumes for a particular application use the same kind of drives in an intermixed library. Migrate easily to a new drive generation. Encrypt selected data. The ACS routines are invoked for every new allocation. Tape allocations are passed to the object access method (OAM), which uses its library control system (LCS) component to communicate with the Library Manager. Figure 4-2 on page 160 shows an overview of the system-managed tape environment.
159
TCDB
CDS
z/OS
ISMF
CBRUXVNL CBRUXCUA Object Access Method LCS CBRUXEJC CBRUXENT Tape Management System
CDS
The basics of system-managed tape are: OAM and LCS Storage management subsystem (SMS address space) Tape configuration database (TCDB) Integrated storage management facility (ISMF) Tape management system Additional z/OS commands Note: The discussion in this chapter addresses the most common situation in which you have system-managed tape in an automated tape library (ATL) environment, such as an IBM 3494 Tape Library. Nevertheless, you can also have system-managed tape in a manual tape library (MTL) environment. In this situation, users can define one or more manual tape libraries with each library consisting of a set of stand-alone drives and volumes. Read about this support in z/OS DFSMS Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries, SC35-0427.
160
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
LCS is the internal interface from z/OS to the Library Manager. All information about physical movement (mount and demount requests) goes through LCS to the selected library. z/OS commands, the ISMF interface, and certain tape management systems also use this interface. Library functions, such as entering cartridges and inventories, communicate through this interface with the TCDB and with the tape management systems. Certain programming interfaces and installation exits belong to the OAM LCS component: The programming interface provided by the LCS External Services macro (CBRXLCS) to support functions, such as: Query the name and type of the tape library in which a volume resides Change volume attributes Change current operating modes of a Peer-to-Peer (PtP) VTS library Note: For a complete list of the functions that you can perform when invoking the LCS External Services programming interface through the CBRXLCS macro, refer to Chapter 6 of z/OS DFSMS Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries, SC35-0427. Installation exits CBRUXENT, CBRUXEJC, CBRUXCUA, and CBRUXVNL to manage entry, exit, change use attribute, and volume-not-in-library handling. Use of these exits is optional and depends on how your tape management system supports the IBM 3494 Tape Library. For more information about OAM, see z/OS DFSMS Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries, SC35-0427.
161
Compaction: Unknown None Compacted Special attributes, either: None Read only A volume catalog contains entries for tape volumes and tape libraries but does not contain entries for individual datasets. You must define at least one general volume catalog and any number of specific volume catalogs. Storing the information for any particular range of volume serial numbers in a specific volume catalog aids performance in accessing the TCDB and might ease the use of TCDBs across systems and applications. Note: Even though Access Method Services (IDCAMS) commands can change the content in a TCDB, we recommend highly that you use ISMF to perform functions against a tape library. Changes through IDCAMS commands in the TCDB are not transferred to the Library Manager in the IBM 3494 Tape Library. Therefore, discrepancies can occur. Use the IDCAMS CREATE, ALTER, and DELETE commands only to recover from volume catalog errors. If you run SMSplex (more than one z/OS image uses the same SMS), the TCDB must be shared in this SMSplex. Therefore, it is possible to allow access to a volume by more than one system in the SMSplex.
162
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
dataset (CDS) and the TCDB is to use Removable Media Manager (RMM) panels or the RMM TSO subcommands for movement processing instead of ISMF. Entering a physical cartridge into the library can cause actions in DFSMSrmm (depending on the customization of RMM). Also, the output from housekeeping runs are transferred directly through OAM LCS to the Library Manager inventory (scratch update). Independent software vendor (ISV) tape management systems also provide the OAM installation-wide exits that support the IBM 3494 Tape Libraries. If you use an ISV product, we recommend that you contact the vendor to learn which release provides this support. Also, ask for the necessary customization to exploit as much benefit as possible from the OAM Installation Exits (for example, automatic scratch update after housekeeping).
163
For options 1 to 5, specify the name of the IODF to be used. I/O definition file . . . 'SYS1.IODF02.ATLGUIDE.WORK' +
F1=Help F22=Command
F2=Split
F3=Exit
F4=Prompt
F9=Swap
F12=Cancel
164
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
2. To define the control unit, select option 4 on the Define, Modify, or View Configuration Data panel (see Figure 4-4).
-------- Define, Modify, or View Configuration Data ------------CBDPHW10 Select type of objects to define, modify, or view data. _4 1. Operating system configurations consoles system-defined generics EDTs esoterics user-modified generics 2. Switches ports switch configurations port matrix 3. Processors partitions channel paths 4. Control units 5. I/O devices F1=Help F2=Split F3=Exit F9=Swap F12=Cancel
Figure 4-4 HCD display: Define, Modify, or View Configuration Data panel
3. Press F11 (Add) on the Control Unit List panel (Figure 4-5).
Goto Filter Backup Query Help -------------------------------------------------------------------------Control Unit List Row 1 of 1495 Command ===> ___________________________________________ Scroll ===> CSR Select one or more control units, then press Enter. / _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ CU 0000 0010 0020 0030 0110 0140 0141 0142 0143 0144 0145 0146 0147 0148 0149 Type + OSA OSA OSC OSC 3274 3490 3490 3490 3490 3490 3490 3490 3490 3490 3490 To add, use F11.
#CSS #MC Serial-# + Description 4 __________ OSA GIGABIT,SUBAREA 214 2 __________ OSA GIGABIT,SUBAREA 204 1 __________ FASTETHERNET ICC 3 __________ FASTETHERNET ICC 1 __________ ________________________________ 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52 1 __________ BUCKSKIN BARR52
165
4. When the Add Control Unit panel displays (Figure 4-6), enter the responses that match your environment. You might want to update this panel with the machines serial number and a description. If you are uncertain about any of the required responses, press F1 for help. Fields that have a plus sign next to them return prompts when you press F4. We do not have a switch in our configuration. Press Enter.
------------------------- Add Control Unit --------------------Specify or revise the following values. Control unit number Control unit type . . . . 0700 + . . . . . 3590 +
Serial number . . . . . . . __________ Description . . . . . . . . ________________________________ e Connected to switches . . . 50__ e Ports . . . . . . . . . . . 08__ If connected to a switch: Define more than eight ports.2 1. 2. Yes No __ __ __ __ __ __ __ __ __ __ __ __ __ + __ +
Yes No
F1=Help F12=Cancel
F2=Split
F3=Exit
F4=Prompt F5=Reset
F9=Swap
166
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
5. On the Select Processor/Control Unit panel (Figure 4-7), select the processor to which you will attach the control unit. Type an s next to its entry and press Enter. If you will attach the control unit to multiple processors, type a g next to each processor that you want attached to the control unit.
--------------------- Select Processor / Control Unit -------------------CBDPCUP0 Row 1 of 3 More: Command ===> __________________________________________ Scroll ===> PAGE Select processors to change CU/processor parameters, then press Enter. Control unit number . . : 0700 Control unit type . . . : 3590
/ Proc. ID Att. Log. Addr. ------Channel Path ID . Link Address + -------(CUADD) + 1---- 2---- 3---- 4---- 5---- 6---- 7---- 8---s PROC1 _ _____ _____ _____ _____ _____ _____ _____ _____ _ PROC2 _ _____ _____ _____ _____ _____ _____ _____ _____ _ P9021 _ _____ _____ _____ _____ _____ _____ _____ _____ ***************************** Bottom of data *****************************
F3=Exit F8=Forward
F4=Prompt F9=Swap
F5=Reset F12=Cancel
167
6. The Add Control Unit panel displays (see Figure 4-8). For each processor to which you will attach the control unit, add the channel path ID (CHIPID), the base unit address, and the number of units. Press Enter.
-------------------------- Add Control Unit ------------------------CBDPCU12 Specify or revise the following values. Control unit number . : 0700 Processor ID . . . . . : PROC1 Channel path IDs . . . . 38 Link address . . . . . . __ Unit address . . . . . . 00 Number of units . . . . 4__ Logical address . . . . _ 39 __ __ __ Type . . . . . . : 3590 This is the main processor __ __ __ __ __ __ __ __ __ + __ + __ + ___
__ __ ___ ___
__ __ ___ ___
__ __ ___ ___
+ (same as CUADD)
F1=Help
F2=Split
F4=Prompt
F5=Reset
F9=Swap
F12=Cancel
This completes the definition of the control unit. Note: There is no difference in the HCD definitions for the control units and the devices between the attachment to a Fibre Channel Connection (FICON) and an Enterprise Systems Connection (ESCON) channel, as long as you do not implement any FICON cascading. You specify channel type (ESCON or FICON) in the channel definitions, which we do not include here. Table 4-1 summarizes the major HCD panel fields for the control unit definitions. You use the same panels to define 3490E control units, 3590-A60 tape controllers, and the new 3592 Model J70 Tape Controller. Note: The IBM System Storage TS1120 Tape Controller and the IBM TotalStorage Enterprise Tape Controller 3592 Model J70 use the same definition as the 3590 Model A60 controller, but the total number of drives can be up to 16 (TS1120) or 12 (J70).
Table 4-1 HCD configuration options for 3590, 3592, and 3490 control units Model Control unit type Unit address Number of units 3590-A60 3590 0 10 3592-J70 3592-C06 3590 0 12/16b 3490-F1A (FC3000) 3490-C2Aa 0 4
168
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
a. The FC3000 Controller with attached 3490E-F1A devices is defined as a 3490-C2A controller in the HCD dialog. b. When attached to a TS1120 Tape Control Unit, up to 16 tape drives are supported.
Next you must define the devices that attach to this controller. 7. Press F3, save your responses, and exit from the Control Unit Definition menu. 8. Go to the Add Device panel (Figure 4-9) by choosing either of the following options: Select option 1 and then option 5 from the main panel (Figure 4-4 on page 165). Type an s next to the control unit that you defined on the Control Unit List panel (Figure 4-5 on page 165). 9. On the Add Device panel, add the device number, number of devices, device type, and connected control unit (CU). Press Enter.
------------------------------- Add Device --------------------------CBDPDV10 Specify or revise the following values. Device number . . . . . . . . 0700 (0000 - FFFF) Number of devices . . . . . . 12___ Device type . . . . . . . . . 3590_________ + Serial number . . . . . . . . __________ Description . . . . . . . . . ________________________________ Connected to CUs . . 0700 ____ ____ ____ ____ ____ ____ ____ +
F1=Help F12=Cancel
F2=Split
F3=Exit
F4=Prompt
F5=Reset
F9=Swap
Restriction: You cannot use device number 0000. As documented in APAR OW56336, a restriction exists on the use of device address 0000 for all SMS-managed tape libraries, because software uses 0000 to indicate a null entry in library-related tables and control blocks.
169
10.The Device/Processor Definition panel (Figure 4-10) displays. Type an s next to the processor that will use the devices. Press Enter.
------------------- Device / Processor Definition -------------------CBDPDV11 Row 1 of 1 Command ===> ____________________________________ Scroll ===> PAGE Select processors to change device/processor definitions, then press Enter. Device number . . : 0700 Device type . . . : 3590 / Processor ID UA + Time-Out Number of devices . : 12
Preferred Explicit Device CHPID + Candidate List s_ PROC1 __ No Yes __ No ************************** Bottom of data ***************************
STADET
F2=Split F7=Backward
F3=Exit F8=Forward
F4=Prompt F9=Swap
F5=Reset F12=Cancel
11.The Define Device/Processor panel displays (Figure 4-11). This panel describes the processors view of the device. Press Enter.
------------------------ Define Device / Processor ------------------CBDPDV12 Specify or revise the following values. Device number . : 0700 Device type . . : 3590 Processor ID . . : PROC1 Number of devices . . . . : 12 This is the main processor
Unit address . . . . . . . . . . 00
+ (Only necessary when different from the last 2 digits of device number Time-Out . . . . . . . . . . . . No (Yes or No) STADET . . . . . . . . . . . . . Yes (Yes or No) Preferred CHPID . . . . . . . . __ Explicit device candidate list . No F1=Help F2=Split F4=Prompt + (Yes or No) F5=Reset F9=Swap F12=Cancel
170
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
12.The Define Device to Operating System Configuration panel (Figure 4-12) displays. Type an s next to the operating system or systems that will use the IBM 3494 Tape Library. Press Enter.
----------- Define Device to Operating System Configuration ---------CBDPDVOS Row 1 of 5 Command ===> ____________________________________ Scroll ===> PAGE Select OSs to connect or disconnect devices, then press Enter. Device number . : 0700 Device type . . : 3590 Number of devices : 12
/ Config. ID Type Description Defined s AB MVS MVS operating system _ AC MVS MVS operating system _ MVSFP1 MVS _ OPSYS01 MVS MVS operating system _ OPSYS02 VM VM operating system ************************** Bottom of data ***************************
F2=Split F7=Backward
F3=Exit F8=Forward
F4=Prompt F9=Swap
F5=Reset F12=Cancel
Figure 4-12 HCD display: Define Device to Operating System Configuration panel
171
13.The Define Device Parameters/Features panel (Figure 4-13) displays. On this panel, link the operating system to the tape subsystem that you plan to install.
CBDPDV13 Define Device Parameters / Features Row 1 of 9 Command ===> __________________________________________ Scroll ===> PAGE Specify or revise the values below. Configuration ID . : AB MVS operating system Device number . . : 0A40 Number of devices :12 Device type . . . : 3590 Parameter/ Value P Req. Description Feature OFFLINE No Device considered online or offline at IPL DYNAMIC Yes Device supports dynamic configuration LOCANY Yes UCB can reside in 31 bit storage LIBRARY Yes Device supports auto tape library AUTOSWITCH Yes Device is automatically switchable LIBRARY-ID 12345 5 digit library serial number LIBPORT-ID 02 2 digit library string ID (port number) SHARABLE No Device is Sharable between systems COMPACT Yes Compaction ***************************** Bottom of data ****************************
F1=Help F8=Forward
F2=Split F9=Swap
F4=Prompt F12=Cancel
F5=Reset F22=Command
F7=Backward
You can accept all of the default parameters, except the following parameters: OFFLINE depends on your environment. It specifies whether z/OS is to consider the device online or offline at IPL. If YES, the device is considered offline at IPL. If NO (the default), the device is considered online at IPL. We recommend that you specify YES and use the COMMNDxx member of PARMLIB to vary drives online. This method is also necessary if you want to use Automatic Tape Switching (ATS STAR or IEFAUTOS). DYNAMIC specifies whether you allow dynamic activation through an activate command. Always specify YES. LOCANY specifies whether the unit control block (UCB) can reside in 31-bit storage. Always specify YES. LIBRARY specifies whether to indicate that the device belongs to an automated tape library. Specify YES. AUTOSWITCH defines the devices as automatically switchable. Specify YES to indicate that the device is automatically switchable. For tape drives to be automatically switchable, they must be shared by systems in a Parallel Sysplex. LIBRARY-ID and LIBPORT-ID are optional parameters. LIBRARY-ID is the unique identification number of a tape library. It specifies the hardware ID associated with the tape library that you define. The IBM service support representative (SSR) defines it at the time of the library installation. The value is returned by the control unit in response to a Read Device Characteristics command. See 4.3.8, Defining the library through ISMF on page 195 for the method to identify the LIBRARY-ID to DFSMS. 172
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
In terms of the z/OS operating system, LIBPORT-ID reflects the order in which the tape control units connect to the Library Manager, and LIBPORT-ID provides the tape drive pool ID, which is transparent and only used by allocation. For each logical library (LIBRARY-ID) in the 3494, the LIBPORT numbers always start with 01, and increase as you move away from the L frame. Therefore, the first 3490, 3590, or 3592 tape drives in the frame have a LIBPORT of 01, and as you move out, each frame increments by 1. There is one exception to this rule. Each IBM 3490E Model F1A tape drive has its own LIBPORT-ID. That is, the devices do not share LIBPORTS. Also, each SCSI-attached drive (non-VTS/TS7700, non-ESCON) counts as one LIBPORT, even though you do not define it through HCD. Note: You can refer to the Library Manager configuration panels to match the information for the LIBPORT-IDs assigned to the drives. For the VTS or TS7700, it is much simpler. Each VTS or TS7700 has its own LIBRARY-ID, so the LIBPORTs start at 01 again. The lowest order logical drives attached to the first control unit (with a CUADD or logical address of 0) are given 01 as a LIBPORT. Each group of 16 is then increased by an increment of 1. These parameters allow HCD to provide the library configuration information that is normally obtained from the device at IPL time. For devices that are available during IPL, the HCD information is redundant. Note: If you do not use LIBRARY-ID and LIBPORT-ID, devices that are unavailable during IPL cannot be varied online without reactivating the IODF. The LIBRARY-ID coded in HCD and later in ISMF must match exactly the LIBRARY-ID specified during the library installation. Otherwise, the library cannot be varied online to z/OS. In an existing installation, you can use the new DEVSERV QTAPE system command to see the LIBRARY-ID and LIBPORT-ID. Refer to 9.7.2, MVS operator commands on page 438 for the syntax of the z/OS DEVSERV QTAPE operator command. The LIBRARY-ID also shows on the Library Manager display (see 9.4.1, Discovering the LIBRARY-ID given during the teach process on page 402). SHARABLE specifies whether you want to share the defined device between multiple processors. Specify YES. For tape drives, the OFFLINE parameter must be set to YES for using sharable tape devices. COMPACT specifies whether to indicate that compaction is available for tape devices. Compaction is standard on 3490, 3490E, and all 3590 and 3592 tape drives. Specify YES. Press Enter. 14.The Assign/Unassign Device to Esoteric panel displays. You do not have to define IBM 3494 Tape Library resident devices to an esoteric in system-managed tape. Use esoteric device names when the number of physical installed drives is less than the number of devices defined to the HCD to prevent allocations going to offline devices in the tape library. You must handle the esoteric device names in your SMS ACS routines and assign them to an appropriate tape storage group. Your IBM 3494 Tape Library and drives are now defined, and a production IODF is built and then activated.
173
Table 4-2 summarizes the major HCD panel fields for IBM 3590, IBM 3592, and IBM 3490E tape device definitions.
Table 4-2 IBM 3494 HCD configuration options for 3590, 3592, and 3490E devices Model 3590-B1A 3590-E1A 3590-H1A 10 3590 1a 3592-J1A 3592-E05 3592-E06 12 or 16c 3590 1a 3490E-F1A
4 3490 1 to 2b
a. Specify one LIBPORT-ID. Each tape unit attached to the control unit has the same LIBPORT-ID assigned. b. Specify one LIBPORT-ID per F1A tape unit. Each physical installed F1A tape unit attached to the FC3000 control unit has its own LIBPORT-ID assigned. c.When attached to a TS1120 Tape Controller, up to 16 TS1120 drives are supported; otherwise, only 12 drives can be attached to a single controller.
Note: IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229, describes the HCD definitions for a VTS. IBM Virtualization Engine TS7700 Series Introduction and Planning Guide, GA32-0567, describes the HCD definitions for a TS7700.
174
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
where xxxx is a 4-digit hexadecimal category code COMMNDxx: Add the VARY XXXX,ONLINE command if you want to bring certain tape drives online after IPL. GRSCNFxx (optional): If you plan to share the tape library among two or more systems in an SMS complex, a global resource serialization ring can be created to include all sharing systems, which allows OAM to serialize the cartridge entry process. LOADxx (optional): Update columns 64 through 71 of the SYSCAT statement with the 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 IODF volume. If you perform an IPL on your system using the SYSCATLG member of SYS1.NUCLEUS, the respective update is done there. COFVLFxx (optional): Add the volume catalogs to the IGGCAS class definitions where you have other ICF catalogs. ALLOCxx (optional): Add policies for tape automation. IECIOSxx (optional): Set values for Missing Interrupt Handler (MIH).
You must add the OAM module. If you already use OAM for object support, you might not need to change this member. We recommend that you review the definition.
175
You must also define this console name during ISMF library definition to SMS (see 4.3.8, Defining the library through ISMF on page 195). The library console name is the name that is used when you define the IBM 3494 Tape Library to SMS through the ISMF panels. We recommend that the console is authorized for SYS and IO, which allow an operator to issue z/OS MODIFY and VARY commands.
COMPACT = YES: With COMPACT set to YES, the installation uses the compaction feature. With COMPACT set to NO by default, the installation does not use the compaction feature of the tape drive. The Job Control Language (JCL) parameter (TRTCH) and DATACLAS override this setting. The DATACLAS cannot override the JCL parameter if specified. VOLNSNS = YES: This setting is only necessary if you have different generations of one device type installed, such as a mix of 3590-Bxx, 3590-Exx, and 3590-Hxx, or a mix of 3592-J1A and TS1120 tape drives. It allows cartridges to be relabeled from a device, which cannot read the actual label (for example, EFMT2 relabeled to EFMT1 or 256 tracks relabeled to 128 tracks). The relabel process to a higher format (for example, EFMT1 to
176
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
EMFT2 or 128 tracks to 256 tracks) is always possible, regardless of what you specify in this parameter. To partition the tape library into logically independent libraries, the following parameters are available. Use these parameters only if you plan to share the library among other systems. Use the DEVSUPxx parameters to specify volume category codes for library partitioning: MEDIA1 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3490 CST scratch volume category code. The default value is 0001. MEDIA2 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3490 ECCST scratch volume category code. The default value is 0002. MEDIA3 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3590 high performance cartridge tape scratch volume category code. The default value is 0003. MEDIA4 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3590 high performance extended length cartridge tape scratch volume category code. The default value is 0004. MEDIA5 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3592 Enterprise Tape Cartridge (300 GB) scratch volume category code. The default value is 0005. MEDIA6 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3592 Enterprise WORM Tape Cartridge (300 GB) scratch volume category code. The default value is 0006. MEDIA7 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3592 Enterprise Economy Tape Cartridge (60 GB) scratch volume category code. The default value is 0007. MEDIA8 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3592 Enterprise Economy WORM Tape Cartridge (60 GB) scratch volume category code. The default value is 0008. MEDIA9 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3592 Enterprise Data Extended Tape Cartridge (700 GB) scratch volume category code. The default value is 0009. MEDIA10 = xxxx: Specifies a 2-byte hexadecimal value to use as the 3592 Enterprise Data Extended WORM Tape Cartridge (700 GB) scratch volume category code. The default value is 0010. ERROR = xxxx: Specifies a 2-byte hexadecimal value to use as the error volume category code. The default value is 000E. PRIVATE = xxxx: Specifies a 2-byte hexadecimal value to use as the private volume category code. The default value is 000F. You might need to update member IEASYSxx to point to a new DEVSUPxx member. If a syntax error occurs because of a missing comma in DEVSUPxx, no error message is issued, and your partitioning efforts will yield unpredictable results. Note that updating DEVSUPxx can require an IPL, which you might want to schedule in advance.
177
It is a common practice to not bring tape drives online at IPL time, but rather to vary them online with the COMMNDxx member. If you define the drives in the HCD to come online at IPL and no cartridge is mounted in the drive, the drive will not be ready and will remain OFFLINE. We recommend that you add VARY statements for all drives that need to be online to a particular system after that system runs the IPL.
USERHLQ1 is any name that is not used as an alias entry in the master catalog. Updating LOADxx can require an IPL, which you might want to schedule in advance.
Because a volcat can have many updates against volume entries, use the virtual lookaside facility (VLF) function with caution. The F CATALOG,REPORT,VLF command displays the hit
178
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
rates for each catalog defined for VLF use. If hit rates are below 50% for a catalog, we recommend that you do not use VLF for that catalog.
179
IEF244I - Unable to allocate nnn units. At least nnn allocated or offline units are needed. IEF433D - Wait requested, reply hold or nohold. IEF488I - Must wait for a unit, or volume on unit. In addition, the system issues one or more of the following messages in response to an invalid reply to the preceding messages: IEF434D - Invalid reply (to message IEF433D). Reply hold or nohold. IEF490I - Invalid reply (to message IEF238D) for one of the following reasons: Device is not accessible (no paths available, boxed, or cannot be assigned). Required system-managed volume is not available. Required volume is not available. Replied device is not eligible. Device is found in an offline library. Coupling facility error.
WAITHOLD: The installation policy is for the system not to release any of the devices that have been allocated to this job before it waits for the required units or volumes. Note: Use of WAITHOLD can result in deadlock, particularly when the device is in use by a job that is going to wait. The system does not release any direct access storage devices (DASDs) that have been allocated to the job before it waits for the required units and volumes. To avoid this problem, do not specify WAITHOLD. When devices for a job are held during a wait, and a device that was eligible for allocation to the job becomes ineligible for allocation (because of its use by a system utility, for example), the job can fail, because it does not have enough devices to complete successfully. Message IEF700I in the job log identifies this failure. Refer to message IEF700I for information about how to respond to this failure. WAITNOH: The installation policy is to let the job wait while not holding the obtained resources. The system releases those devices that have been allocated to this job but cannot be shared with other jobs. For an example of the WAITHOLD option compared to the WAITNOH options, consider Job A that owns an automatically switchable device and is waiting for a printer. Job B owns the printer that Job A needs and is waiting for the automatically switchable device that Job A owns. If the reply is WAITHOLD for each job, the two jobs wait until one job is canceled. This deadlock can be even more complex, depending on the number of jobs waiting. If the reply is WAITNOH for each job, allocation responds on a first-come, first-served basis. After the first job finishes using a resource, the resource is available to the second job. CANCEL: The installation policy is to cancel the allocation request. If a TSO/E user issued the allocation request, the user receives an error message. If a batch job or started task issued the request, the system cancels the job or task. Default: WTOR MAXNWAIT(nnn): Specifies the number of WAITNOH decisions that are allowed for the specific volume or unit allocation request before the default specified on the POLICYNW parameter takes effect. The WAITNOH decisions that are counted are those that are 180
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
specified either through the default on the POLICY parameter or through an installation exit. WAITNOH decisions made by the operator are not included in the MAXNWAIT count. The value range is 1 to 255. Default: 5
POLICYNW(CANCEL|WTOR)
This parameter specifies how the system should handle the allocation request under the following circumstances: Either WAITHOLD or WAITNOH is specified on the POLICY parameter, and the system does not allow the job to wait for resources. The system is to either cancel the allocation request (CANCEL) or issue a WTOR. When you select CANCEL, the system cancels the allocation request depending on how the request was issued. If a TSO/E user issued the allocation request, the user receives an error message. If a batch job or started task issued the request, the system cancels the job or task. The default is WTOR. Figure 4-14 shows a sample ALLOCxx member in an unattended environment. Figure 4-14 shows only those parameters that affect tape allocation.
/*Always cancel job*/ /*Always issue the WTOR*/ /*Wait while not holding resources*/ /*7 "wait nohold" decisions allowed*/ /*Cancel if wait is not allowed*/ /*Wait while not holding resources*/ /*7 "wait nohold" decisions allowed*/ /*Cancel if wait is not allowed*/
ALLC_OFFLN
181
than the IBM-supplied default of three minutes. If so, specify the timeout for each device. You specify MIH timeout values only by class (for example, all tapes) or on an individual device basis. Specification of an MIH timeout value for the entire tape class negates the 3590 or the 3592 devices recommended values. It adversely affects MIH recovery processing on 3590 or 3592 devices. You can specify the MIH values either in PARMLIB member IECIOSxx or with the OS/390 operator command SETIOS. Figure 4-15 shows how to specify MIH values for: IBM 3480 devices (addresses 800 through 807) IBM 3490E drives using CST cartridges (addresses 900 through 907) IBM 3490E drives with ECCST cartridges (addresses 9E0 through 9EF) VTS/TS7700 virtual drives (A40 through A5F) at 25 minutes This is a starting point. Under certain conditions, you might experience missing interrupts at 25 minutes. If you experience missing interrupts, increase the time to 45 minutes.
MIH=(0800-0807),TIME=03:00 MIH=(0900-0907),TIME=10:00 MIH=(09E0-09EF),TIME=20:00 MIH=(0A40-0A5F),TIME=25:00 Figure 4-15 Sample MIH specification in PARMLIB member IECIOSxx
ISMF
You can use RACF to limit access to individual ISMF applications, such as TAPE LIBRARY CONFIGURATION or STORAGE CLASS DEFINITION. You can also protect ISMF line operators, such as AUDIT. For example, you can protect the EJECT line operator as shown here: RDEFINE PROGRAM DGTFEJ01 UACC(NONE) + ADDMEM('loadlib'/VOLSER/NOPADCHK) PERMIT DGTFEJ01 CLASS(PROGRAM) ACCESS(READ) ID(userid) See the z/OS DFSMSdfp Storage Administration Reference, SC26-7402, for a complete list of all profiles and command-to-program tables.
SMS constructs
You can restrict the use of SMS storage and management classes to certain users in a system-managed tape environment.
182
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
STGADMIN
To control the ability to perform functions associated with storage management, define profiles in the FACILITY class, whose profile names begin with STGADMIN. For tape library operations, the following profiles are important: Control the ability to activate an SMS configuration: RDEFINE FACILITY STGADMIN.IGD.ACTIVATE.CONFIGURATION UACC(NONE) PERMIT STGADMIN.IGD.ACTIVATE.CONFIGURATION CLASS(FACILITY) ACCESS(READ) ID(userid) Control the ability to DEFINE, DELETE, or ALTER library and volume entries in a tape library (TCDB updates): RDEFINE FACILITY STGADMIN.IGG.LIBRARY UACC(NONE) PERMIT STGADMIN.IGG.LIBRARY CLASS(FACILITY) ACCESS(READ) ID(userid) For a complete list of RACF profiles protecting storage administration functions, refer to the z/OS DFSMSdfp Storage Administration Reference, SC26-7402.
DFSMSrmm
By defining RACF profiles, you authorize DFSMSrmm users to various levels of access: Access to information in the DFSMSrmm control dataset: REDFINE FACILITY STGADMIN.EDG.MASTER UACC(NONE) PERMIT STGADMIN.EDG.MASTER CLASS(FACILITY) ACCESS(CONTROL) ID(userid) Use of the INIT and ERASE function: REDFINE FACILITY STGADMIN.EDG.OPERATOR UACC(NONE) PERMIT STGADMIN.EDG.OPERATOR CLASS(FACILITY) ACCESS(UPDATE) ID(userid) Changing information recorded by DFSMSrmm during O/C/EOV processing: REDFINE FACILITY STGADMIN.EDG.FORCE UACC(NONE) PERMIT STGADMIN.EDG.FORCE CLASS(FACILITY) ACCESS(UPDATE) ID(userid) For a complete list of RACF profiles protecting DFSMSrmm resources, refer to the z/OS DFSMSrmm Implementation and Customization Guide, SC26-7405.
183
Stacked volume
As long as a 3494 has installed native drives with the same device capabilities, there is a slight chance that stacked volumes from a VTS/TS7700 can be corrupted. A user with Bypass Label Processing (BLP) rights still can mount them on a native drive. With the RACF facility class TAPEVOL, you can restrict any access from any user. Stacked volumes are not needed by any z/OS application directly, so this is an additional protection. In our example, all volumes beginning with any character and with the second character P are restricted by native usage: SETR CLASSACT(TAPEVOL) GENERIC(TAPEVOL) GENCMD(TAPEVOL) RDEFINE TAPEVOL %P* UACC(NONE) Refer to z/OS Security Server RACF Command Language Reference, SA22-7687, and z/OS V1R3.0 MVS Planning: Operations, SA22-7601, for a complete list of RACF profiles to protect z/OS commands for more information.
You must allocate the TCDB before you can define an IBM 3494 Tape Library to the system. Define one general volcat in a system-managed tape SMSplex. Figure 4-16 on page 185 shows a sample job to allocate the TCDB.
184
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
//DEVCAT JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE USERCATALOG (NAME(SYS1.VOLCAT.VGENERAL) VOLCATALOG VOLUME(VOLSER)CYLINDERS (30,30)) /*
Note: Instead of SYS1, you can use a different high-level qualifier. To do so, you must update the LOADxx member in PARMLIB. Select the HLQ name carefully. There is no documented easy way to rename the VGENERAL after you define and use it. In a multihost environment, allocate a general volcat on a shared volume and use the IDCAMS IMPORT CONNECT command on all other z/OS systems in the SMSplex to define the volcat to the respective master catalogs. The volume catalogs are defined with SHAREOPTIONS(3,4) so that the TCDB can be fully shared among two or more systems. For exclusive control of the catalogs volume, a task in any accessing system issues the RESERVE macro. If multiple systems share the library (and therefore, share the TCDB), we recommend strongly that you use GRS or another means to serialize access to tape drives. Figure 4-17 shows a sample job to connect the TCDB to a shared system.
//SYSMVCT EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //SYSIN DD * IMPORT CONNECT VOLCATALOG OBJECTS((hlq.VOLCAT.VGENERAL DEVICETYPE(3390) VOLUMES(VOLSER))) CATALOG(SYSB.MASTER.CATALOG) /*
Optionally, you can define one or more specific volcats. For example, consider SYS1.VOLCAT.Vx, where x represents the first character of the tape volume serial numbers to be stored in this specific volume catalog. It must have a valid character value (A to Z and 0 to 9). A specific volume catalog might be appropriate due to: Performance considerations Multisystem considerations
185
Note: A tape configuration database (TCDB) with EFMT3/EEFMT3 volume records can coexist with lower level systems. OAMs existing coexistence support prevents the lower level system from retrieving and displaying an unsupported volume record.
The applications use of confined tape ranges Figure 4-18 shows a sample job that defines a specific volcat. This volcat contains all of the system-managed tape volume entries starting with the character T.
/DEVCAT JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE USERCATALOG (NAME(SYS1.VOLCAT.VT) VOLCATALOG VOLUME(VOLSER)CYLINDERS (30,30)) /*
Notes: It is important that you remember that: Library records cannot be stored in a specific volume catalog. In a multihost environment, the same considerations apply as for a general volcat.
186
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
//OAM PROC OSMC=YES,MAXS=2,UNLOAD=9999,EJECT=LRW,RESTART=YES //IEFPROC EXEC PGM=CBROAM,REGION=0M, // PARM=('OSMC=&OSMC,APLAN=CBROAM,MAXS=&MAXS,UNLOAD=&UNLOAD', // 'EJECT=&EJECT','RESTART=&RESTART') //SYSABEND DD SYSOUT=A
If you already use OAM for object access, you might not have to change this member. However, we recommend that you review the definition. The RESTART parameter is important to tape library users. It allows you to indicate whether you want the OAM address space to automatically restart on an SMS Control Dataset (SCDS) activation. A restart from OAM through an SCDS activation performs these tasks: Transfers to OAM relevant SMS definitions and constructs to the OAM address space Sets all the defined libraries to the defined state in SMS, regardless of their current operational state Therefore, if your SCDS changes rarely affect the tape library-related constructs, you might want to specify RESTART=NO, and the OAM address space stays up during an SCDS activation. If you added information that affects OAM, you can subsequently issue the command: F OAM,RESTART Note: A manual restart of OAM differs slightly from a restart that is scheduled through SMS-SCDS activation. If a library is set offline for a reason (such as maintenance), a manual restart does not set it online again. A restart caused by SMS-SCDS activation sets the specific library online.
187
OAM provides four installation-wide exits that take control at various processing points. They promote and verify changes: Cartridge entry exit (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: When a volume is entered into an IBM automated or manual tape library, the cartridge entry installation exit (CBRUXENT) is invoked to approve or deny an enter request and to set or verify the recording technology to be associated with a volume. If a volume record for the entered MEDIA5-MEDIA8 volume does not exist in the TCDB and the volume is being entered as a private volume, EFMT1 will be passed to the exit. If the exit returns with a recording technology for a MEDIA5-MEDIA8 volume and the recording technology is not EFMT1, EFMT2, EEFMT2, EFMT3, or EEFMT3, the specification is considered invalid and the exit is disabled. If a volume record for the entered MEDIA9 or MEDIA10 volume does not exist in the TCDB and the volume is being entered as a private volume, EFMT2 will be passed to the exit. If the exit returns with a recording technology for a MEDIA9 or MEDIA10 volume and the recording technology is not EFMT2, EEFMT2, EFMT3, or EEFMT3, the specification is considered invalid and the exit is disabled. If a volume record for the entered MEDIA5-MEDIA10 volume does not exist in the TCDB and the volume is being entered as a scratch volume, UNKNOWN will be passed to the exit and will be assigned when the volume is used during job processing. If a TCDB volume record exists and the volumes recording technology or media type is not supported on the system processing the volume, in an ATLDS, the volume is left in the library manager insert category to be processed by a system with appropriate support. If you need to code this exit routine, you can use SYS1.SAMPLIB member CBRSPUXE as a model. Cartridge eject exit (CBRUXEJC) The cartridge eject installation exit routine is called to approve or disapprove ejecting a cartridge from a library. It also determines the TCDB volume disposition and contents for each volume to eject. If you need to code this exit routine, you can use SYS1.SAMPLIB member CBRSPUXJ as a model. Change use attribute exit (CBRUXCUA) The change use attribute installation exit routine is called when the use attribute of a volume is to be changed (S S, S P, P P, or P S). The exit is called to approve or disapprove of the change and is called before the TCDB volume record and the LM database record are updated. If you need to code this exit routine, use SYS1.SAMPLIB member CBRSPUXC as a model. Cartridge not in library exit (CBRUXVNL) The volume not in library installation exit routine is invoked when there is a request to process tape volumes that do not reside in a library but must reside for processing to continue. This exit routine is invoked to give you the opportunity to insert a volume into an IBM 3494 Tape Library to prevent job failures. If you need to code this exit routine, you can use SYS1.SAMPLIB member CBRSPUXV as a model.
188
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
These installation exits are provided by DFSMSrmm. If your installation does not use DFSMSrmm and your tape management vendor has not supplied an exit, OAM provides a sample exit in SAMPLIB that you can customize to fit your needs. The OAM installation exits have been changed to support the EFMT3 recording technology: Change use attribute (CBRUXCUA) installation exit: Tape recording technology fields for EFMT3 and EEFMT3 have been updated. The UXCVWORM indicator is set to on if MEDIA10 to indicate that this is a WORM volume as was done with previous WORM media types. The tape management system is alerted that the CUA function is performed for a WORM volume when invoking the CBRUXCUA installation exit. Cartridge entry (CBRUXENT) installation exit: Tape recording technology fields and media type fields have been updated with EFMT3. Cartridge eject (CBRUXEJC) installation exit: Tape recording technology fields and media type fields have been updated with EFMT3. Volume not in library (CBRUXVNL) installation exit: Tape recording technology fields and media type fields have been updated with EFMT3. Note: Support for MEDIA9 and MEDIA10 requires release z/OS V1R5 or later. Use of the installation-wide exits is optional. However, if you use a tape management system, you need the exits to invoke your tape management system. For example, if the CBRXLCS eject interface or an operator command is issued to eject a cartridge from a library, the CBRUXEJC exit notifies DFSMSrmm that the cartridge has been ejected from the library so that DFSMSrmm can update its location. If the tape management system does not use the CBRUXCUA or CBRUXEJC exit, changes made at the z/OS console through the LIBRARY command or through the ISMF volume application are not forwarded to the tape management system. Cartridges can end up in unpredictable states. If you use DFSMSrmm as your tape management system, the exits are fully provided by DFSMSrmm. They are installed in SYS1.LINKLIB during SMP/E installation of DFSMSrmm. No customization is needed at all. To obtain information about the recording technology and the media type for volume AN4441, issue the command:
DISPLAY SMS,VOLUME(AN4441)
If you use any other tape management system, contact your software vendor. Most of them support several or all OAM exits. Note: With the introduction of Advanced Policy Management (APM) for VTS/TS7700, the exits have changed to support this new function. However, if you do not use APM, changing your existing exits is unnecessary. For detailed information about the exit routines, refer to z/OS Object Access Method Planning, Installation and Storage Administration Guide for Tape Libraries, SC35-0427.
189
coexistence support is needed in RMM even if the 3592 Model E06 drive is not being used.
This section provides the required customization steps, as well as additional information about: Tape initialization Scratch pooling Duplicate volume serial numbers To implement an IBM 3494 Tape Library with DFSMSrmm, you must define cartridge entry rules for cartridge entry processing with DFSMSrmm. This step is required. The following additional steps are not mandatory but extremely useful in live production: Define library-resident cartridges to DFSMSrmm: New cartridges Existing DFSMSrmm-managed cartridges Define procedures to eject cartridges. Define procedures to ensure database synchronization with the TCDB.
the exception of those starting with PRD) are available for input processing only. When a cartridge matches the REJECT ANYUSE statement, a return code of 12 is set in the CBRUXENT exit, which tells OAM to leave this cartridge to be processed by another host. If a cartridge is not rejected, the entry processing is approved, and a TCDB entry for the volume and an RMM Entry (if not already available) are created. Depending on the settings for cartridge entry processing (ISMF), the cartridge is handled as private or scratch. If the cartridge is handled as scratch, the Library Manager gives this cartridge the appropriate MEDIAx category value that is specified in DEVSUPxx. For more information about categories, see Appendix C, Library Manager volume categories on page 499.
Important: Missing EDGRMM entries can cause you many problems if you share a library among different z/OS users. We strongly recommend that you do not implement new sharing partners without reviewing the EDGRMM member of all users of this library.
New cartridges
If the EDGRMMxx PARMLIB member is correctly specified and activated, there is no need to specify the new cartridges in DFSMSrmm. The entry process also creates TCDB and DFSMSrmm entries.
191
The DFSMSrmm ADDVOLUME, CHANGEVOLUME, and SEARCHVOLUME commands have been expanded for RECORD FORMAT to include the EEFMT2, TS1120 Tape Encryption. See IBM System Storage TS1120 Tape Encryption Planning, Implementation, and Usage Guide, SG24-7320, for more information about TS1120 Tape Encryption.
//SEARCH EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * RMM SEARCHVOLUME VOLUME(*) OWNER(*) LOCATION(ATL) DESTINATION(*) INTRANSIT(NO) LIMIT(*) CLIST('RMM CV ',' EJECT') EX EXEC.RMM.CLIST Figure 4-21 RMM EJECT sample step
Note: DFSMSrmm sets the INTRANSIT(YES) flag for ejected volumes as soon as EJECT occurs. You must then issue the CONFIRMMOVE command just as you do without an IBM 3494 Tape Library.
Tape initialization
For volumes in an automated tape library data server, you have the option to use DFSMSdfp OPEN processing as an alternative to using DFSMSrmm EDGINERS or IEHINITT to label scratch volumes. Note: Initialization for either stacked or logical volumes is not required with the VTS/TS7700. Stacked and logical volumes are initialized transparently to the user and host at the time of the first use. Also, initialization for native 3590 or 3592 drives is not required. In an environment with a mixed 3590 or 3592, it is not even useful. Scratch cartridges are initialized from the drive if a label is detected that does not match the external label or has a different recording format. If the automated tape library data server is fully functional (vision system working) and the VOL1 label for a scratch volume does not match the external label, DFSMSdfp rewrites the VOL1 label with the correct volume serial number (VOLSER). DFSMSrmm turns off the initialization action to defer the labeling to OPEN processing under DFSMSdfp control if you request the initialization before entering a scratch volume into the automated tape library data server. DFSMSrmm automatically replies to the messages issued at open time that are due to label changes allowed and supported by DFSMSrmm.
192
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
DFSMSrmm automatically replies to label messages when: A label change is allowed by DFSMSrmm. The volume is not rejected by DFSMSrmm. DFSMSrmm is not running in record mode. DFSMSrmm does not reply when the wrong volume is mounted, unless the volume is in a library and the mounted volumes barcode matches. If you want to use DFSMSrmm instead of DFSMSdfp to initialize new tapes in a library, follow the steps in this procedure: 1. Perform one of the following actions: Enter the undefined volumes into the IBM 3494 while DFSMSrmm is active. Define the volumes as scratch to DFSMSrmm with LOCATION(atlname) and enter the volumes into the IBM 3494 with DFSMSrmm active. 2. Volumes are now defined to DFSMSrmm with scratch status. They are known to be in the library. 3. Use the RMM CV VOLSER INIT(Y) command to set the initialization action for each volume. Use the following command to build the commands: RMM SV VOL(*) STATUS(SCRATCH) LOC(atlname) 4. Run EDGINERS in automatic mode. In the sample DFSMSrmm EDGINERS (Figure 4-22 on page 194), an automatic run of EDGINERS is scheduled to find and initialize up to 99 volumes residing in an automated tape library data server called MYATL. All tape cartridges are labeled as appropriate for the drive type on which they are mounted and for their current media characteristics. 5. DFSMSrmm temporarily sets the TCDB status to private for the tapes to initialize, because no specific mounts (because they are required for labeling a cartridge) are allowed for scratch tapes inside a library. Note: The automatic synchronization between DFSMSrmm and the TCDB works only if DFSMSrmm runs in PROTECT mode. EDGINERS determines whether a volume in a system-managed tape library can be mounted on the current system. If the volume cannot be mounted, possibly because it is defined in a TCDB on another system, DFSMSrmm skips that volume. The control statement description is: Tape DD and SYSIN DD are not required for a system-managed tape environment. PARM values request initialization of 99 cartridges in library MYATL. There is no verification performed. Verification causes each cartridge to be mounted twice: once for initialization and once for verification. DFSMSrmm ensures that volumes in a system-managed tape library to be initialized or erased are in the private category, because the automated tape library data server does not support specific mounts of scratch volumes. You must define a volume in a system-managed tape library to DFSMSrmm before you can initialize or erase it. Any volume that is not defined to DFSMSrmm is requested to be mounted on the drive allocated by the TAPE DD statement in the JCL for EDGINERS as long as the drive is not in a system-managed library. During demount processing, DFSMSrmm ensures that errors detected on volumes mounted in an automated tape library are reflected in the TCDB. For example, DFSMSrmm ensures
193
that the TCDB contains information about write-protected, wrong volume, and wrong label type errors. DFSMSrmm skips the volume rather than asking the operator to correct the error.
//STEP1 EXEC PGM=EDGINERS, // PARM='COUNT(99),LOCATION(MYATL),INITIALIZE,NOVERIFY' //SYSPRINT DD SYSOUT=A Figure 4-22 Sample DFSMSrmm EDGINERS
Scratch pooling
The system-managed tape does not support multiple scratch pools of a single media type in its current release. The libraries can contain different types of scratch cartridges (Table 4-4).
Table 4-4 Media type descriptions Media type MEDIA1 MEDIA2 Name Cartridge System Tape (CST) Enhanced Capacity Cartridge System Tape (ECCST) IBM 3590 High Performance Cartridge Tape (HPCT) IBM 3590 Extended High Performance Cartridge Tape (EHPCT) IBM 3592 Enterprise Tape Cartridge (ETC) Device type 3490 or VTS/TS7700 3490 or VTS/TS7700 3590 Recording format 32-track 32-track WORM or R/W R/W R/W Cartridge capacity 400 MB 800 MB
MEDIA3
128-track 256-track 384-track 128-track 256-track 384-track EFMT1 EFMT2 EEFMT2 EFMT3 EEFMT3 EFMT1 EFMT2 EEFMT2 EFMT3 EEFMT3 EFMT1 EFMT2 EEFMT2 EFMT3 EEFMT3 EFMT1 EFMT2 EEFMT2 EFMT3 EEFMT3
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W WORM WORM WORM WORM WORM R/W R/W R/W R/W R/W WORM WORM WORM WORM WORM
10 GB 20 GB 30 GB 20 GB 40 GB 60 GB 300 GB 500 GB 500 GB 640 GB 640 GB 300 GB 500 GB 500 GB 640 GB 640 GB 60 GB 100 GB 100 GB 128 GB 128 GB 60 GB 100 GB 100 GB 128 GB 128 GB
MEDIA4
3590
MEDIA5
3592
MEDIA6
3592
MEDIA7
3592
MEDIA8
3592
194
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Recording format EFMT1 EFMT2 EEFMT2 EFMT3 EEFMT3 EFMT1 EFMT2 EEFMT2 EFMT3 EEFMT3
WORM or R/W R/W R/W R/W R/W R/W WORM WORM WORM WORM WORM
Cartridge capacity 500 GB 700 GB 700 GB 1000 GB 1000 GB 500 GB 700 GB 700 GB 1000 GB 1000 GB
MEDIA10
3592
The scratch cartridges are selected according to DATACLAS definitions for non-specific allocations. If you have two or more systems attached to a library, and you do not want to have a common pool for scratch volumes, you must partition the library as explained in 6.2, Partitioning tape libraries among multiple z/OS systems on page 267. For detailed coverage of sharing and partitioning, see the Guide to Sharing and Partitioning IBM Tape Library Data, SG24-4409. Both the DFSMSrmm control database and the TCDB maintain the RECORDINGFORMAT information. Regardless of the tape management software that you use, you must record the recording format of each tape volume. Many installations have tape volume serial number standards that match the media format to tape VOLSER. However, if you use different 3590 models in one installation, this practice does not work when managing a single scratch pool. Note: For specific details about the changes in DFSMSrmm for the new IBM TotalStorage Enterprise Tape Media models support, refer to the DFSMS Software Support for IBM TotalStorage Enterprise Tape System 3592, SC26-7514-01.
195
When you define your library, you specify: LIBRARY-ID: Enter the five-character hardware ID associated with the IBM 3494 Tape Library. Console name: Type the optional z/OS console name if you defined one in SYS1.PARMLIB member CONSOLxx. Entry default Data Class: This name is the Data Class that you want as the default for tape cartridges entered into the IBM 3494 Tape Library that you define. Entry default use attribute: This use attribute is for cartridges that are entered into the library (scratch or private). Eject default: This value is the default action for the TCDB volume record when a tape cartridge is ejected from the library (PURGE or KEEP). Scratch threshold: Enter the threshold below which a message is issued to the operator requesting that scratch volumes of the specified media type are entered into the library. Initial online status: This status specifies whether the IBM 3494 Tape Library is online, offline, or unconnected to the systems or system groups in the SMSplex each time that the SCDS is activated. We recommend that you specify online to ensure that the library is accessible after activation of an updated SCDS. Note: When you connect a 3494 Tape Library to a system group rather than to a system, you lose the ability to vary that library online or offline to the individual system in the group. We recommend strongly that you connect the 3494 Tape Library to individual systems only.
196
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Panel Utilities Help -----------------------------------------------------------------------------TAPE LIBRARY APPLICATION SELECTION Command ===> To Perform Library operations, Specify: CDS Name . . . . . . . 'SMS.SCDS' (1 to 44 Character Data Set Name or 'Active') Library Name . . . . . LIBLCL (For Tape Library list, fully or Partially Specified or * for all) Select one of the 1 1. List 2. Display 3. Define 4. Alter following options : Generate a list of Libraries Display a Library Define a Library Alter a Library
_ _
Use ENTER to Perform Selection; Use HELP Command for Help; Use END Command to Exit. Figure 4-23 TAPE LIBRARY APPLICATION SELECTION panel
3. In the Library Name field, enter the SMS friendly name for your tape library. This name relates your tape library to your SMS tape storage group, which you define later. There is a minor restriction when you name the library, which is that the first character of a library name must not be V. Also, the library name must not be one of the DFSMSrmm-defined locations (LOCAL, REMOTE, or DISTANT). 4. Choose option 3 (Define) to display the TAPE LIBRARY DEFINE panel as shown in Figure 4-24 on page 198 and Figure 4-25 on page 198. Note: Deleting a tape library from this window has no effect on the TCDB. Instead, the library definition is removed only from the specified SCDS. To delete a tape library from the TCDB, use the IDCAMS DELETE command.
197
Panel Utilities Scroll Help -----------------------------------------------------------------------------TAPE LIBRARY DEFINE Page 1 of 2 Command ===> SCDS Name . : SCDS.TEMP.PRIMARY Library Name : LIB1 Entry Default Data Class . . . . ECCST Entry Default Use Attribute . . S Eject Default . . . . . . . . . P
Media Type: Scratch Threshold Media1 . . . . 0_____ (0 to 999999) Media2 . . . . 100___ Media3 . . . . 0_____ (0 to 999999) Media4 . . . . 0_____ Media5 . . . . 0_____ (0 to 999999) Media6 . . . . 0_____ Media7 . . . . 0_____ (0 to 999999) Media8 . . . . 0_____ Media9 . . . . 0_____ (0 to 999999) Media10 . . . . 0_____ Use ENTER to Perform Verification; Use DOWN Command to View next Panel; Use HELP Command for Help; Use END Command to Save and Exit; Cancel to Exit. Figure 4-24 TAPE LIBRARY DEFINE panel (page 1 of 2)
Panel Utilities Scroll Help -----------------------------------------------------------------------------TAPE LIBRARY DEFINE Page 2 of 2 Command ===> SCDS Name . : SCDS.TEMP.PRIMARY Library Name : LIB1 Initial Online Status (Yes, No, or Blank): *SYSPLX01 ===> YES *SYSPLX02 ===> *SYSPLX03 ===> NO *SYSPLX04 ===> SYSSTM01 ===> YES SYSSTM08 ===> YES SYSSTM15 ===> SYSSTM22 ===> SYSSTM02 ===> SYSSTM09 ===> SYSSTM16 ===> SYSSTM23 ===> SYSSTM03 ===> SYSSTM10 ===> SYSSTM17 ===> SYSSTM24 ===> SYSSTM04 ===> SYSSTM11 ===> SYSSTM18 ===> SYSSTM25 ===> SYSSTM05 ===> SYSSTM12 ===> SYSSTM19 ===> SYSSTM26 ===> SYSSTM06 ===> SYSSTM13 ===> SYSSTM20 ===> SYSSTM27 ===> SYSSTM07 ===> SYSSTM14 ===> SYSSTM21 ===> SYSSTM28 ===> WARNING: When you connect a tape library to a system group rather than a system, you lose the ability to vary that library online or offline to the individual systems in the system group. It is strongly recommended that the tape library be connected to individual systems only. Use ENTER to Perform Verification; Use UP Command to View Previous Panel; Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit. Figure 4-25 TAPE LIBRARY DEFINE panel (page 2 of 2)
5. Specify the following information for the tape library: Description: This 120-byte field allows you to enter a description of the library definition for use by the installation. There are no restrictions on its content. LIBRARY-ID: Specify the hardware ID associated with the tape library you define. One physical 3494 library has more than one LIBRARY-ID if it holds native drives and VTS/TS7700 subsystems. All LIBRARY-IDs have to be defined to ISMF. A valid value is
198
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
entered as five hexadecimal digits. To learn how to find the correct LIBRARY-ID, see 9.4.1, Discovering the LIBRARY-ID given during the teach process on page 402. Console name: Specify the name of the z/OS console associated with the tape library defined in the CONSOLxx PARMLIB member. Entry default Data Class: Specify the name of the Data Class that you want as the default for tape cartridges that are entered into this tape library. Entry default use attribute: Specify the default cartridge use attribute for the cartridges that are entered into this library: Private: Use these tape cartridges to satisfy specific cartridge requests. Scratch: Use these tape cartridges to satisfy nonspecific cartridge requests.
Eject default: Specify the default action for the TCDB cartridge record when a tape cartridge is ejected from this library: PURGE: The cartridge record is deleted from the TCDB. KEEP: The cartridge record is kept in the TCDB.
Scratch threshold: Specify the minimum acceptable number of scratch cartridges for each media type in this library. There are eight recognized media types (see Table 4-4 on page 194). Note: When the number of scratch cartridges in the library falls below the scratch cartridge threshold for that media type, an operator action message displays requesting that scratch cartridges of the required media type are entered into the library. When the number of scratch cartridges exceeds twice the scratch cartridge threshold for that media type, the message disappears. In the case of the VTS/TS7700, the above numbers apply to the number of logical cartridges (CST or ECCST) available inside the VTS/TS7700. Initial online status: Specify whether the library you define will be online (YES), offline (NO), or unconnected (blank) to each system in the SMSplex defined by this SCDS each time that it is activated. YES is equivalent to VARY SMS,LIBRARY(libname),ONLINE. We recommend that you set the initial state to online. After you enter all of this information, an entry containing the information is added to the TCDB. Note: Only one SCDS can be activated at any time. Activating another SCDS or reactivating the current SCDS while OAM is running causes OAM to restart. During this restart, all libraries are set to either online or offline according to the attributes defined in the SCDS that caused the restart. After the restart completes, display all libraries to verify that they are set to the desired operational status. Use care when you restart OAM with actions pending that have not been accepted by the Library Manager, for example, mass ejects. They might get discarded during the restart.
199
EFMT3 or EEFMT3. Performance scaling and performance segmentation options are also allowed for MEDIA5 and MEDIA9 with EFMT3 or EEFMT3. You do not have to specify new Storage Classes. You can use existing classes. The Storage Class is used only to indicate an allocation to a system-managed tape library. However, we recommend that you create new Storage Classes for tape, so that you can select Storage Groups on the basis of the Storage Class assignment and keep the ACS routines simple. 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 use a tape management system, specify a retention limit of NOLIMIT. You need to define a tape Storage Group and specify which IBM 3494 Tape Libraries belong to that Storage Group. You also define the Storage Group status. Although a blank Storage Group is allowed for system-managed tape volumes, we strongly recommend that you assign a Storage Group to private volumes when they are entered into the IBM 3494 Tape Library. The blank Storage Group is always enabled for all attached systems. You can specify the Storage Group during definition of an existing private volume to DFSMSrmm or during cartridge insert processing. For information about VTS, TS7700, and Advanced Policy Management, refer to the following publications: IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229 IBM TotalStorage Peer-to-Peer Virtual Tape Server Planning and Implementation Guide, SG24-6115 z/OS DFSMS Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries, SC35-0427 IBM Virtualization Engine TS7700 Series Introduction and Planning Guide, SG24-0567 Compared to the implementation of DFSMS for DASD, system-managed tape has the following differences: Tape datasets do not have to be cataloged. If they are cataloged, the tape datasets are cataloged at step termination time. System-managed tape is the management of tape cartridges, not tape datasets. No dataset-related information is stored in the TCDB. A DASD (type POOL) Storage Group comprises one or more DASD volumes. A tape (type TAPE) Storage Group comprises one or more tape libraries. Cartridge information is stored in the TCDB, not in the SMS ACDS. Tape volumes are not preassigned to Storage Groups. They are assigned a Storage Group when their status changes to private. Scratch volumes do not have a Storage Group assigned. A blank Storage Group is allowed for system-managed tape. In the following sections, we discuss the SMS constructs and their role in system-managed tape support.
200
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
F8=Down
F9=Swap
4. Now, the first page of the DATA CLASS DEFINE or ALTER panel displays as shown in Figure 4-27 on page 202. The panels are the same for both Data Class Define and Data Class Alter. In our example, we chose DATA CLASS ALTER.
201
Specify the following information for the Data Class definition in the current SCDS: Retpd or Expdt: Specify how long the datasets in this Data Class remain valid (Figure 4-34 on page 209). Volume Count: Specify the maximum number of cartridges that you expect to use to store a dataset in this Data Class. Note: Coding a small value in the volume count parameter can cause job abends, especially if you migrate from a native 3590 or 3592 environment to a VTS/TS7700 solution without changing your JCL. Job abends occur because the cartridge capacity is significantly different between a 3590 or a 3592 and a 3490E. 5. Figure 4-28 on page 203 shows the second page of the Data Class definition process. You use this display to specify compaction:
202
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Compaction: Specify whether to use data compaction for datasets assigned to this Data Class. Improved Data Recording Capability (IDRC) uses a binary arithmetic compression algorithm and is used by 3490E tape drives; the Ziv-Lempel algorithm (IBMLZ1) is used by 3590 tape drives. A modified and more efficient Ziv-Lempel algorithm, the Stream Lossless Data Compression (SLDC), is used by 3592 tape drives. We recommend that you always set the compaction to Y, especially when you use a VTS/TS7700. The compaction attribute overrides the system default that is located in PARMLIB member DEVSUPxx, but is overridden by JCL specification TRTCH. The valid Data Class values for the compaction attribute are Y, N, T (TCOM), G (GEN), or blank. TCOM and GEN do not apply to tape. 6. On the third page of the Data Class definition (Figure 4-29), you provide the Media Type and Recording Technology:
Figure 4-29 DATA CLASS ALTER panel (page 3 of 5) Chapter 4. Software implementation in z/OS
203
Media Type: Specify the tape cartridge type used for datasets associated with this Data Class. If this field is not specified (field is blank), the library that has the most scratch cartridges is selected. This field is optional if only one media type is used within a 3494 library. However, the definition is mandatory to allow selection of a media pool for nonspecific mounts if multiple media types are present (see Table 4-4 on page 194). Note: Logical volumes in a VTS/TS7700 are 3490 volumes and, therefore, MEDIA1 with 400 MB of uncompressed capacity or MEDIA2 with 800 MB. Larger logical volumes are supported with VTS Release 7.4, which provides support for 1000, 2000, and 4000 MB logical volumes. Larger logical volumes are supported in the TS7700 from the initial delivery. MEDIA3 and MEDIA4 are invalid in a TS3500 Tape Library, because the library only supports 3592 media types. Support for MEDIA9 and MEDIA10 requires z/OS V1R5 or later. If you use a VTS/TS7700, you must verify the type of logical volumes that you defined on the Library Manager and select MEDIA accordingly (MEDIA1 or MEDIA2 only). Refer to IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229. Recording Technology: Specify the number of tracks on tape cartridges used for datasets associated with this Data Class. This field is optional unless MEDIA TYPE is specified. MEDIA2 is recorded only in 36-track mode, and MEDIA3/MEDIA4 is either 128-track, 256-track, or 384-track mode. If you are using MEDIA5 to MEDIA10, you must specify the EFMT1, EFMT2, or EFMT3 option for using the 3592 media. Performance Scaling: The 3592 tape drives allow you to record the data on the initial one-fifth (20% per default) of the media when performance is your main consideration. If you want fast access to the Media5 or Media9 3592 data cartridge, the option Performance Scaling=y allows you to keep the data on the initial 60 GB (for EFMT1) or 100/128 GB (for EFMT2/EFMT3) with MEDIA5 or 140/200 GB (for EFMT2/EFMT3) with MEDIA9 at the beginning of the media. This function is dynamic. If the tape is returned to scratch and later reused, the cartridge is reformatted to its scaled or full capacity as indicated through the Data Class assigned. Performance Segmentation: Performance segmentation, if selected, divides the tape into two segments: one segment is a fast access segment to be filled first and the other segment is additional capacity to be filled after the fast access segment: With the 3592 Model J1A and EFMT1 (or the 3592 Model E05 and EFMT1), the MEDIA5 cartridge can be segmented into a 60 GB fast access segment and a 200 GB slower access segment. With the 3592 Model E05 and EFMT2, the MEDIA5 cartridge can be segmented into a 100 GB fast access segment and a 333 GB slower access segment. With the TS1120 Tape Drive, the MEDIA9 cartridge can be segmented into a 140 GB fast access segment and a 466 GB slower access segment. With the 3592 Model E06 and EFMT3, the MEDIA5 cartridge can be segmented into a 128 GB fast access segment and a 426 GB slower access segment. With the TS1130 Tape Drive, the MEDIA9 cartridge can be segmented into a 200 GB fast access segment and a 667 GB slower access segment.
204
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: Performance scaling and performance segmentation are mutually exclusive functions. You can define either one for a cartridge, but not both. 7. Press F8 after you have entered or updated the Recording Technology. On the following panel, you specify whether to encrypt the data. If you plan to encrypt the data in this Data Class, you need to enter the Key Labels and the Encoding for the Key Labels as shown in Figure 4-30.
To activate the new SMS definitions: 1. Translate the Data Class ACS routine. 2. Validate the ACS routines. 3. Activate the SMS Control Dataset (SCDS). If you change existing Data Classes, verify your Data Class ACS routine to make sure that you assign the correct constructs. If you create new Data Classes, update your Data Class ACS routine to assign the new constructs to those tape datasets that you want to encrypt. In addition to using a Data Class construct or instead of using a Data Class construct, you can also request Tape Encryption through job control language (JCL) as shown in Example 4-1.
Example 4-1 Sample JCL to write an encrypted cartridge
//C02STRW1 JOB CONSOLE, // MSGCLASS=H,MSGLEVEL=(1,1),CLASS=B, // TIME=1440,REGION=2M /*JOBPARM SYSAFF=* //* //* ENC KEY MASTER JOB //* //CREATE1 EXEC PGM=IEBDG //SYSPRINT DD SYSOUT=* 205
//SEQ001 DD DSN=TAPE.C02M5CX2.PC5.NOPOOL.C02STRS1.MASTER, // KEYLABL1='TAPE_SOL_TST_SHR_PVT_1024_LBL_02', // KEYENCD1=L, // KEYLABL2='TAPE_SOL_TST_SHR_PVT_2048_LBL_03', // KEYENCD2=H, // LABEL=(1,SL),UNIT=C02M5CX2,DISP=(,CATLG), // DCB=(DSORG=PS,RECFM=FB,LRECL=2048,BLKSIZE=6144) //SYSIN DD * DSD OUTPUT=(SEQ001) FD NAME=A,STARTLOC=1,LENGTH=10,FORMAT=ZD,INDEX=1 FD NAME=B,STARTLOC=11,LENGTH=13,PICTURE=13,'PRIMER RECORD' CREATE QUANTITY=25,FILL='Z',NAME=(A,B) END /* The job log for the job in Example 4-1 on page 205 lists the keys that were used. See Figure 4-31.
Figure 4-31 MSGIEC205I indicates the key labels and the key codes that were used
Note: The JCL data definition (DD) statements overwrite Encryption specifications in the Data Class. If only one KEYLABL1 statement and only one KEYENCD1 are coded in the JCL, a second key label and key code with the same information are generated on the cartridge automatically. Whenever the first standard label (SL) on a cartridge contains encrypted data, all following SL file data after that is encrypted. Therefore, you do not need any further JCL or Data Classes to write encrypted data to the same cartridge; you prepare cartridges for Encryption purposes by writing a small file with LABEL=(1,SL) to a cartridge.
206
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
4. In the fifth page of the Data Class definition (Figure 4-32), nothing applies to tape datasets. We provide this display for your convenience.
Note: Remember that the Data Class ACS routine is driven for both system-managed and nonsystem-managed datasets. Currently, Data Class definitions are not used by APM.
207
Panel Utilities Scroll Help -----------------------------------------------------------------------------STORAGE CLASS DEFINE Page 1 of 2 Command ===> SCDS Name . . . . . : SMS.SCDS Storage Class Name : SCTAPLCL To DEFINE Storage Class, Specify: Description ==> ==> Performance Objectives Direct Millisecond Response . . Direct Bias . . . . . . . . . . Sequential Millisecond Response Sequential Bias . . . . . . . . Initial Access Response Seconds Sustained Data Rate (Mb/sec) . Availability . . . . . . . . . . Accessibility . . . . . . . . . Backup . . . . . . . . . . . . Versioning . . . . . . . . . .
. . . . . . . . . .
. . . . . . . N . N . .
(1 to 999 or blank) (R, W or blank) (1 to 999 or blank) (R, W or blank) (0 to 9999 or blank) (0 to 999 or blank) (C, P, S or N) (C, P, S or N) (Y, N or Blank) (Y, N or Blank)
Use ENTER to Perform Verification; Use DOWN Command to View next Page; Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
You can define the Storage Class with defaults, because none of the attributes applies to system-managed tape. The one and only purpose of STORCLAS is to drive the ACS routines and assign a STORGROUP with connected tape libraries to the dataset that is allocated. If you do not want a dataset to be system-managed, such as a dataset that belongs to a job with special requirements, you can assign a null (blank) Storage Class by ACS routine filtering. If you have a VTS or TS7700 subsystem installed and use native 3490 drives within the library, we recommend that you use the STORCLAS as a means to distinguish between native and emulated drives. The STORCLAS then allows you to influence allocation by using simple ACS routines. If you want to migrate a given subset of tape data to a VTS or TS7700, you only have to define another STORGROUP for the respective STORCLAS. If you want to hold virtual volumes longer in cache than others, specify an Initial Access Response Time (IART) value of 0. To choose volumes that are unlikely to be recalled for migration first, assign a Storage Class with an IART value of 100 or greater. See Table 4-5. Using IART requires FC4000, Advanced Function.
Table 4-5 Cache preference group summary Cache group preference 0 1 IART 100 seconds or more Fewer than 100 seconds Management technique Preferred removal of cache, largest first Removal of volumes after group 0, least recently used first
With the introduction of Advanced Policy Management (sometimes referred to as Outboard Policy Management (OPM)) for VTS/TS7700, cache management has been moved outboard.
208
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Refer to IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229, for detailed information.
Panel Utilities Scroll Help -----------------------------------------------------------------------------MANAGEMENT CLASS DEFINE Page 1 of 5 Command ===> SCDS Name . . . . . . : SMS.SCDS Management Class Name : MCTAPE To DEFINE Management Class, Specify: Description ==> ==> Expiration Attributes Expire after Days Non-usage . . NOLIMIT Expire after Date/Days . . . . . NOLIMIT
Use ENTER to Perform Verification; Use DOWN Command to View next Panel; Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
The SCDS Name and Management Class Name are output fields that you specified in the MANAGEMENT CLASS APPLICATION SELECTION panel: Expiration Attributes: The attributes are required values that indicate when a dataset becomes eligible for expiration. They have no impact on tape data. Retention Limit: This required value limits the use of retention period (RETPD) and expiration date (EXPDT) values. RETPD and EXPDT are: Explicitly specified in JCL Derived from Data Class definitions
If the value of a user-specified RETPD or EXPDT is within the Retention Limit value, it is saved for the dataset. If values specified by users or the Expiration Attributes values exceed the Retention Limit value, the retention limit is saved. If the retention limit is 0,
209
any user-specified or Data Class values are ignored, and the expiration attributes of the Management Class are used. We recommend that you use the tape management system to control the retention policy. Do not assign a Management Class or define a Management Class retention limit of NOLIMIT. Note: If you use DFSMSrmm, you can use the Management Class name to select vital record specifications (VRSs) for the cartridge. With the introduction of Advanced Policy Management and Outboard Policy Management for VTS/TS7700, you can use the Management Class to create a selective dual copy for virtual volumes. You do not define these functions in the SMS Management Class directly, but the assigned Management Class value transfers to the Library Manager. If there is a matching construct (the same name) defined in the OPM, the defined values for dual copy or PtP copy mode are used. The control of the PtP copy mode is based on a single volume. That way, you can control the copy mode (certain workloads are handled in IMMED mode and other workloads are handled in DEFERRED mode) for different workloads, unless you assign a Management Class and introduce the OPM. Note: For more information about Management Classes, APM, and OPM, refer to IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229.
210
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
DSN=XYZ
STORGRP=STORGR01
DSN=ABC
STORGRP=STORGR04
STORGR04
DSN=999
STORGRP=STORGR03
DSN=123
STORGRP=STORGR02
With the Storage Groups defined as shown in Figure 4-35, the following actions occur: Dataset XYZ is assigned STORGR01 and written on a volume residing in the left tape library. Dataset 123 is assigned STORGR02 and written on a volume residing in the right tape library. Dataset 999 is assigned STORGR03, which is associated with both tape libraries, and is written in either tape library depending on the availability of tape drives and the number of available scratch volumes. Dataset ABC is assigned STORGR04 and written on a volume residing in the right tape library. To define a Storage Group, you must complete the following steps: 1. Choose option 6 (Storage Group) on the ISMF PRIMARY OPTION MENU display. The STORAGE GROUP APPLICATION SELECTION panel (Figure 4-36 on page 212) displays.
211
Panel Utilities Help -----------------------------------------------------------------------------STORAGE GROUP APPLICATION SELECTION Command ===> To perform Storage Group Operations, Specify: CDS Name . . . . . . . 'SMS.SCDS' (1 to 44 character data set name or 'Active' ) Storage Group Name . . SGTAPLCL (For Storage Group List, fully or partially specified or * for all) Storage Group Type . . TAPE (VIO, POOL, DUMMY, OBJECT, OBJECT BACKUP, or TAPE) Select one of the 1 1. List 2. Define 3. Alter 4. Volume following options : Generate a list of Storage Groups Define a Storage Group Alter a Storage Group Display, Define, Alter or Delete Volume Information
Use ENTER to Perform Selection; Use HELP Command for Help; Use END Command to Exit.
2. On the STORAGE GROUP APPLICATION SELECTION panel, enter a name for the Storage Group Name, and enter a type for Storage Group Type (TAPE, in our case). 3. Choose option 2 (Define). The TAPE STORAGE GROUP DEFINE panel (Figure 4-37) displays.
Panel Utilities Help -----------------------------------------------------------------------------TAPE STORAGE GROUP DEFINE Command ===> SCDS Name . . . . . : SMS.SCDS Storage Group Name : SGTAPLCL To DEFINE Storage Group, Specify: Description ==> My local tape library ==> Library Names ===> LIBLCL ===> (1 to 8 characters each): ===> ===> ===> ===>
===> ===> (Y or N)
Use ENTER to Perform Verification and Selection; Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
212
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The parameter explanations are: Description: This 120-byte field allows you to enter a description of the tape storage group that you create. There are no restrictions on its content. Library Names: Use this field to specify the name of the tape library or libraries to which the cartridges will be assigned. A value must appear in this field to generate a new list. An asterisk character (*) or the last value used displays in this field. DEFINE SMS Storage Group Status: Use this field to indicate that you want the SMS STORAGE GROUP STATUS DEFINE panel to display after you press Enter. You can enable up to 32 systems to the Storage Group. Additional systems are on page 2 of 2. 4. Enter Y for the DEFINE SMS Storage Group Status field. Then, the SMS STORAGE GROUP STATUS DEFINE panel (Figure 4-38) displays:
Panel Utilities Scroll Help -----------------------------------------------------------------------------SMS STORAGE GROUP STATUS DEFINE Command ===> SCDS Name . . . . : SMS.SCDS Storage Group Name : SGTAPE Storage Group Type : TAPE To DEFINE Storage Group System/ Sys Group Status, Specify:
System/Sys SMS SG System/Sys SMS SG Group Name Status Group Name Status ----------------------------MVS1 ===> ENABLE MVS2 ===> ENABLE *SYSPLX1 ===> NOTCON ===> ===> ===> ===> ===> ===> ===> * SYS GROUP = sysplex ===> ===> minus Systems in the ===> ===> Sysplex explicitly ===> ===> defined in the SCDS Use ENTER to Perform Verification; Use DOWN Command to View next Panel; Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.
( Possible SMS SG Status for each: - Pool SG Type NOTCON, ENABLE DISALL, DISNEW QUIALL, QUINEW - Tape SG Type NOTCON, ENABLE, DISALL, DISNEW )
System/Sys Group Name: The column lists the names of systems known to SMS through the base configuration definition. SMS SG Status: Use this field to define or alter the relationship between the Storage Group and each system in the same SMSplex. Typically, you specify ENABLE for all systems that are going to use the IBM 3494. A Storage Group can share up to 32 systems. Each system must be physically connected to the storage devices in its Storage Group. To change the status of a system, type one of the described values. Note: When a private cartridge is entered into the library and the cartridge entry exit (CBRUXENT) does not supply a Storage Group name, OAM sets the Storage Group name to blank. The blank Storage Group name is enabled on all systems within the SMSplex. For considerations about sharing and partitioning tape Storage Groups among systems in an SMSplex, see the Guide to Sharing and Partitioning IBM Tape Library Data, SG24-4409.
213
Use care when you must connect multiple libraries to the same Storage Group. The algorithm used to select a library and drive takes into account the following information at the time of allocation: A list of tape device pools is built for all tape libraries that belong to the Storage Group. A device pool is a collection of tape drives attached to one controller that is part of a system-managed tape library. Based on SMS DATACLAS attributes for MEDIA for this allocation, drives that cannot satisfy the request are removed from the list. The preferred tape device pools belong to tape libraries that are above their scratch volume threshold. Drives with an active cartridge loader of the appropriate media type get a high priority. The ordered list of tape device pools is used to select the tape drive, randomizing the library selection. Not considered in the allocation process are: The number of available drives inside the library, as long as there are enough drives to satisfy the total number of concurrent allocation requests The number of available scratch cartridges, as long as the library is above the defined threshold A busy condition of the control unit or the accessor A busy condition of the VTS/TS7700 subsystem or its components Note: With the introduction of APM, the Storage Group name is passed to the Library Manager. If a matching construct in OPM is coded, physical volume pooling is available, which means that specific logical volumes reside only on physical volumes in specific pools. For more information, refer to IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229.
vaulting requirements of the datasets that are allocated. Because this information is already available within the tape management system, this exit provides a way to make this information accessible to the ACS routines. Note: DFSMSrmm does not use this exit. An equivalent interface exists (EDGUX100). For more information regarding this pre-ACS routine exit, refer to z/OS DFSMS Installation Exits, SC26-7396.
Table 4-7 Sample Storage Group attribute Storage Group name SGTAPLCL SGTAPRMT Library name LIBLCL LIBRMT Accessible system MVS1, MVS2 MVS1, MVS2
215
Table 4-8 Sample Management Class attribute Management Class name MCTAPE Table 4-9 Sample Storage Class attributes Storage Class name SCTAPLCL SCTAPRMT Availability NOPREF NOPREF Accessibility NOPREF NOPREF Guaranteed space NO NO Retention limit NOLIMIT
For the ACS routines, we make the following assumptions: 3490E, 3590, and 3592 subsystems are configured in an IBM 3494. MEDIA1, MEDIA2 (36 track), MEDIA3, and MEDIA4 (128-track, 256-track, and 384-track Read/Write (R/W)) and MEDIA5 to MEDIA8 (EFMT1) are possible. Tape mount management (TMM) methodology is not included. DASD DFSMS is not described. The libraries contain DFSMShsm-owned data. The extended length cartridge is introduced. The libraries are in different buildings: local (LCL) and remote (RMT).
216
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
FILTLIST PGMATL INCLUDE('ADRDSSU',I%%GENER) FILTLIST ABARS INCLUDE(outputdatasetprefix.%.C%%V%%%%) FILTLIST TAPEDC INCLUDE(DCTAP*) FILTLIST TAPESC INCLUDE(SCTAP%%%) /***************************************************/ /* SELECT DATA CLASS FOR DATASET GOOD FOR ATL */ /***************************************************/ SELECT WHEN (&DATACLAS = &TAPEDC && &UNIT = &CSTTAPE) DO SET &DATACLAS = &DATACLAS /* Allow users to specify */ EXIT /* Data Class for tape */ END WHEN (&UNIT = 'LIBLCL') DO SET &DATACLAS = DCTAPLR
/* Allow users to specify */ /* unit for atls */ WRITE 'DC: DEFAULT DC ASSIGNED DUE TO ATL UNIT SPECIFICATION' EXIT END
Example 4-3 Sample Data Class ACS routine (page 2 of 2) WHEN (&UNIT = &CSTTAPE) DO SELECT WHEN (&DSN = &LARGE_TAPE | &DSN = DFSMShsm | &DSN = &HSMCOPY) DO SET &DATACLAS = 'DCTAP5H' /* 3592 tapes for large datasets*/ EXIT END WHEN ( &DSN = &DUMPATL | &DSN = &ABARS) DO SET &DATACLAS = 'DCTAPSM' /* Abars on 3490, with compaction */ EXIT END WHEN ( &PGM = &PGMATL ) DO SET &DATACLAS = 'DCTAPLR' EXIT END WHEN (&DSN = &EXCHANGE ) DO SET &DATACLAS = 'DCTAPEX' EXIT END END
217
FILTLIST CSTTAPE INCLUDE('3490',348%,'3590','CART','LIBLCL') FILTLIST LARGE_TAPE INCLUDE(GSNATE.*.DBSAV*, **.*TAG*.**, I0000.**.SARTAPE.T*) FILTLIST VITALREC INCLUDE(**.LEGAL.**) FILTLIST EXCHANGE INCLUDE(PORTABLE.**,CITI*.**,SWISSBNK.CORP.**) FILTLIST HSM FILTLIST HSMCOPY INCLUDE(*.HMIGTAPE.DATASET, *.BACKTAPE.DATASET) INCLUDE(*.COPY.HMIGTAPE.DATASET, *.COPY.BACKTAPE.DATASET)
FILTLIST DUMPATL INCLUDE(*.DMP.*.V*.D*.T*) EXCLUDE(*.DMP.OUTLIB.V*.D*.T*) FILTLIST PGMATL INCLUDE('ADRDSSU',I%%GENER) FILTLIST ABARS INCLUDE(outputdatasetprefix.%.C%%V%%%%) FILTLIST TAPEDC INCLUDE(DCTAP*) FILTLIST TAPESC INCLUDE(SCTAP%%%)
Example 4-5 Sample Storage Class ACS routine (page 2 of 2) /****************************************************/ /* SELECT STORAGE CLASS FOR DATASET GOOD FOR 3494 */ /****************************************************/ SELECT WHEN (&DSN = &HSMCOPY | &DSN = &DUMPATL) DO /* this data is kept in the remoteLib*/ SET &STORCLAS = 'SCTAPRMT' EXIT END
218
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
WHEN (&DSN = DFSMShsm ) DO SET &STORCLAS = 'SCTAPLCL' EXIT END WHEN (&DATACLAS = DCTAP* ) DO SET &STORCLAS = 'SCTAPLCL' EXIT END
/****************************************************/ /* ABARS OUTSIDE Tape Library */ /****************************************************/ WHEN (&DSN = &ABARS ) DO SET &STORCLAS = '' EXIT END /****************************************************/ /* We do not intend to manage anything else */ /****************************************************/ OTHERWISE DO SET &STORCLAS = '' EXIT END END /*End of Dataset selection */ /*End of storage Class PROC for dataset*/
END
/****************************************************/ /* SELECT MGMT CLASS FOR DATASET GOOD FOR 3494 */ /****************************************************/ SELECT WHEN (&DATACLAS = DCTAP* ) DO SET &MGMTCLAS = 'MCTAPE' EXIT END /****************************************************/
219
/* WE DO NOT INTEND TO MANAGE ANYTHING ELSE */ /****************************************************/ OTHERWISE DO SET &MGMTCLAS = '' EXIT END END /* END OF DATASET SELECTION */ END /* END OF MGMT CLASS PROC FOR TAPE DATASET */
END END
2. In the SCDS Name field, specify the name of your SCDS. 3. Enter an asterisk character (*) in the ACS Routine Type field to indicate that you want to validate the entire SCDS. The validation process reports any logical errors. If it is unsuccessful, it prevents the configuration from activating.
We recommend that you prepare a set of test cases for all applications that are system-managed on either DASD or tape. Using this kit of test cases, you can verify the logic of your ACS routines after introducing changes and updates. In this way, you can detect errors before you activate a new configuration and run into any trouble that might affect your production environment. Refer to 4.3.16, Testing ACS logic with NaviQuest on page 233 for additional information about testing ACS routines. The ACS TESTING RESULTS panel in Figure 4-39 on page 222 shows the result of checking the specified input against the SCDS.
221
ACS TESTING RESULTS CDS NAME : SMS.SCDS0 ACS ROUTINE TYPES: DC SC MC SG ACS TEST LIBRARY : SMS.TESTCASES.DATA ACS TEST MEMBER EXIT CODE RESULTS ------------------ -----------------------------------NONLIB1 0 DC = NULL VALUE ASSIGNED MSG : ANY-MESSAGE-YOU-WRITE-IN-THE-ACS-ROUTINES 0 SC = NULL VALUE ASSIGNED NOTE: MC AND SG NOT EXECUTED WHEN ACS READ/WRITE VARIABLE STORCLAS = '' TAPE1 0 0 0 0 0 0 0 0 DC SC MC SG DC SC MC SG = = = = = = = = DCTAPLR SCTAPLCL MCTAPE SGTAPLCL DCTAPSM SCTAPRMT MCTAPE SGTAPRMT
TAPE2
222
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Userunittable
The 3592-2, 3592-2E, 3592-3E tape units are allowed into the same esoteric, because they also share common write formats. Careful planning is required to ensure that the drives in a mixed esoteric will be used with a common recording technology. For example, if any 3592-1 drives are included, all drives in the esoteric must use EMFT1 for output. If the esoteric mixes 3592-2 and 3592-2E drives, all drives must be set up to use EFMT1 or EFMT2. If the esoteric contains mixed 3592-3E and 3592-2E tape units, all drives must be set up to use EFMT2 or EEFMT2, the write formats that they have in common.
Media utilization
The 3592-E06 can utilize scratch MEDIA5, MEDIA7, and MEDIA9 tapes for all DFSMShsm functions, and also MEDIA6, MEDIA8, and MEDIA10 tapes for ABARS. Because the 3592-E06 can write both in its native EFMT3 and in the older EFMT2 recording technologies, the recording technology used on scratch media will be controlled by the Data Class assigned to the tape by the ACS routines. EFMT3 is the default if no recording technology is specified. The ACS routines often use the single file format tape dataset name to make the Data Class selection. This control is transparent to DFSMShsm.
223
Input tapes
DFSMShsm can utilize the following media types: MEDIA5, MEDIA7, and MEDIA9 can be used as input for all functions. MEDIA6, MEDIA8, and MEDIA10 can be used with the ABARS function. MEDIA5, MEDIA6, MEDIA7, and MEDIA8 tapes can be in either the EFMT1, EFMT2, or EFMT3 recording technology. The MEDIA9 and MEDIA10 tapes can only be in the EFMT2 or EFMT3 recording technology. The choice of the correct recording technology when the tapes are mounted on a TS1130 will be transparent to DFSMShsm.
Reuse capacity
The current scheme has one reuse capacity for each media type regardless of the recording technology, which encourages media used with multiple recording technologies to move from older to newer technologies. This scheme will continue with the 3592-E06.
224
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
HSMplex considerations
In an HSMplex, all systems in the HSMplex must have full support for the 3592 Model E06 tape subsystem before any instance of DFSMShsm uses the 3592 Model E06. If any system does not fully support the 3592 Model E06 in an HSMplex using E06 drives, a request for tape input can fail, because a 3592 Model E06 device is not available on that system. The support code is also needed to handle the change in units for certain logical size fields from 1 KB to 16 KB when the HSMplex contains tapes recorded with the EFMT3 and newer recording formats.
Allocation
With system-managed tape, DFSMShsm has no decisive role for unit allocation. If the ACS routines direct a DFSMShsm allocation request to a library, the DFSMShsm unit names have no affect on allocation. However, the names are passed to the ACS routines. See the DFSMShsm unit parameters in Table 4-10 for a complete list of all parameters that have unit options. For SMS-managed output tape selection, DFSMShsm performs a non-specific allocation; it then finds an acceptable output tape for the already allocated drive. If you use a 3590-1 generic that contains mixed devices, see APAR OW57282 for information about disabling the 3590-1 mixed device checking and the corresponding ARC0030I failure message. If the tape is not system-managed, the unit name retains the controls. Note: If you are using the &UNIT variable in your ACS routines to select HSM datasets as candidates for the library, you must explicitly specify a unit name in the respective HSM parameters.
Table 4-10 DFSMShsm unit parameter Command ABACKUP ADDVOL ARECOVER DEFINE Parameter UNIT(tape-unitname) UNIT(tape-unitname) UNIT(tape-unitname) TARGETUNIT(tape-unitname) UNIT(tape-unitname) ABARSUNITNAME(tape-unitname) ARECOVERML2UNIT(tape-unitname) ARECOVERUNITNAME(tape-unitname) BACKUPTAPE(tape-unitname) CDSVERSIONBACKUP(UNITNAME(tape-unitname)) MIGUNITNAME(tape-unitname) RECYCLEOUTPUT(BACKUP(tape-unitname) migration(tape-unitname)) SPILL(TAPE(tape-unitname)) TAPEMIGRATION(DIRECT(TAPE(tape-unitname)) ML2TAPE(TAPE(tape-unitname)) NONE(ROUTETOTAPE(tape-unitname))) TAPEUTILIZATION(UNITNAME(tape-unitname)) UNITNAME(tape-unitname) ALTERNATEUNITNAME(tape1-unitname,tape2-unitname) ALTERNATE3590UNITNAME(tape1-unitname,tape2-unitname) ALTERNATEUNIT(tape-unitname)
TAPECOPY TAPEREPL
The Data Class MEDIA TYPE and RECORDING TECHNOLOGY parameters are honored. They are used to select the allocation of a library device. They override parameter settings in the ARCCMDxx member of PARMLIB. TAPEHARDWARECOMPACT only relates to 3480
225
output and is superseded by the Data Class. If no Data Class is assigned to a DFSMShsm-generated tape inside a library, compaction is the default. When you want to implement DFSMShsm functions in a tape library, you must determine which functions will use it. Then, set up the ACS routines to assign a Storage Class, a Data Class for IDRC and the recording format, and a Storage Group for tape. To use tape hardware encryption, you must modify your SMS Data Class definitions to request Encryption from the encryption-enabled tape drives. With the support for the encryption-enabled 3592-E tape drive, hardware Encryption joins software (or host-based) Encryption as another means of encrypting your installations dump data. As a result, the method for requesting Encryption now depends on whether you plan to use hardware Encryption or host-based Encryption: To request hardware Encryption for a dump class, specify it in the SMS Data Class for the dump data. To request host-based Encryption for a dump class, use the DFSMShsm DEFINE DUMPCLASS(ENCRYPT) command. With ENCRYPT, include the Rivest-Shamir-Adleman (RSA) or KEYPASSWORD subparameters (or NONE) to specify the type of host-based Encryption. If your dump classes are currently defined to use host-based Encryption (and possibly host-based compression before Encryption), we recommend that you remove the host-based Encryption requests from any dump classes for which you plan to use tape hardware Encryption. See IBM System Storage TS1120 Tape Encryption Planning, Implementation, and Usage Guide, SG24-7320, for more information. To define the tape environment (global scratch pool or DFSMShsm-specific scratch pool), make the required updates to the following DFSMShsm commands: SETSYS SELECTVOLUME(SCRATCH): For performance reasons, use a global scratch pool for a DFSMShsm function that uses the library. If you use a DFSMShsm-specific scratch pool, you must assign a private category to the scratch tape volumes for DFSMShsm to use when they are added to the tape library. SETSYS TAPEDELETION(SCRATCHTAPE): This option tells DFSMShsm to return recycled migration and backup tapes, along with expired dump tapes, to a global scratch pool. SETSYS PARTIALTAPE(MARKFULL|REUSE): Migration and backup tapes that are partially filled during tape output processing are marked full if you specify the MARKFULL option. This enables a scratch tape to be selected the next time the same function begins. When the total tape-media use and low recycle overhead are more important (and for all IBM 3494s), specify PARTIALTAPE(REUSE). Specifying a REUSE environment fully uses the tapes and reduces the amount of recycle processing. We recommend that you use PARTIALTAPE(MARKFULL) for VTS/TS7700 logical volumes. It enables the VTS/TS7700 to use fast ready allocation in the Tape Volume Cache. MARKFULL is also a requirement if you use TAPECOPY to make off-site copies of HSM media.
Dataset names
Output device selection is based on the dataset name given to the ACS routines. The dataset name here is the name of the single-file dataset on tape. It is related to the DFSMShsm function that performs the output (for example, MIGRATE or BACKUP). This dataset name has no relation to the original DASD level 0 users dataset name. The 3592-E05 can write in either of two recording formats EFMT1 or EFMT2. The 3592-E06 can write in either of two recording formats EFMT2 and EFMT3, but only read the EFMT1 format. You must modify 226
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
your installations ACS routines to select the recording format to use on a scratch mount (through the Data Class assigned to the tape) to allocate the correct device type and recording technology. Here is a list of the dataset names used for tape allocation with BACKUP, MIGRATION, DUMP, DUPLEX, and TAPECOPY: backup_prefix.BACKTAPE.DATASET (backup) migration_prefix.HMIGTAPE.DATASET (migration) backup_prefix.DMP.dclass.VVOLSER.Dyyddd.Tssmmhh (dump) backup_prefix.COPY.BACKTAPE.DATASET (tapecopy, duplex of backup) migration_prefix.COPY.HMIGTAPE.DATASET (tapecopy, duplex of migration) Here is a list of the dataset names used for tape allocation with control dataset backups: uid.BCDS.BACKUP.Vnnnnnnn (DATAMOVER=HSM) uid.MCDS.BACKUP.Vnnnnnnn (DATAMOVER=HSM) uid.OCDS.BACKUP.Vnnnnnnn (DATAMOVER=HSM) uid.JRNL.BACKUP.Vnnnnnnn (DATAMOVER=HSM) uid.BCDS.BACKUP.Dnnnnnnn (DATAMOVER=DSS) uid.MCDS.BACKUP.Dnnnnnnn (DATAMOVER=DSS) uid.OCDS.BACKUP.Dnnnnnnn (DATAMOVER=DSS) uid.JRNL.BACKUP.Dnnnnnnn (DATAMOVER=DSS) If you use multicluster control datasets (supported for both MCDS and BCDS if the control dataset size increases beyond one volume), the dataset name changes for the backup copies as follows: uid.BCDS.BACKUP.DSy.Dnnnnnnn (DATAMOVER=DSS) uid.MCDS.BACKUP.DSy.Dnnnnnnn (DATAMOVER=DSS) uid.OCDS.BACKUP.DSy.Dnnnnnnn (DATAMOVER=DSS) uid.JRNL.BACKUP.DSy.Dnnnnnnn (DATAMOVER=DSS) Each low-level qualifier must be preceded by DSy where y is a number from 1 to 4, representing the number of volumes in the multicluster CDS. Here is a list of the dataset names used for tape allocation with ABARS: outputdatasetprefix.C.CccVnnnn (control file) outputdatasetprefix.D.CccVnnnn (data file) outputdatasetprefix.I.CccVnnnn (instruction file) outputdatasetprefix.O.CccVnnnn (internal data file) If you request PARTIALTAPE(REUSE), the tape volume selected after allocation of a unit is one that can be mounted on the allocated unit. The use of the specific scratch pool with DFSMShsm is still supported with system-managed tape. When input datasets are allocated for DFSMShsm, the situation is more strictly controlled. A tape unit within the proper library is always selected for a library-resident volume. It is not possible to use a tape unit in one library for tapes that reside in another library.
227
SETSYS TAPESPANSIZE
Set this parameter to get a balance between the amount of tape that remains unused and the number of cases where a dataset goes to two volumes. The value is best described as the smallest size data that you are willing to allow to span multiple tapes. Knowing the statistical distribution of the dataset sizes can help you set this value. If your installation has an excessive number of spanning datasets, consider specifying a larger value in the SETSYS TAPESPANSIZE command. A larger absolute value is needed to represent the same amount of unused capacity on a percentage basis when the tape has a larger total capacity. For example, to allow 2% unused tape for a MEDIA5 tape on a 3592 Model E05 device (no performance scaling), specify a TAPESPANSIZE of 9999 MB. All size calculations for scaled tapes are based upon the scaled size and not the unscaled size. DFSMShsm calculates the estimated size based on the IDRC effect and gaps for 3490 and position information reported by the tape subsystem if a 3590 or a 3592. If the dataset is larger than SPANSIZE, it is written on the tape. Otherwise, DFSMShsm compares the dataset size with the remaining media space. If the small dataset is calculated to fit entirely on the current tape, DFSMShsm begins to write. If it is calculated not to fit, DFSMShsm issues an FEOV to change tapes. The tape volumes created by DFSMShsm migration and backup functions can contain datasets that span from one tape volume to another. Each case of a dataset spanning volumes in this manner is said to create a connected group. Every succeeding connection
228
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
from the second volume to a third one, and so on, extends the size of the connected volume group. An FEOV between datasets reduces the occurrence of datasets spanning tape volumes. If you specify SETSYS TAPEUTILIZATION(NOLIMIT), no action is taken to reduce dataset tape volume spanning. We recommend that you avoid NOLIMIT for several reasons, many of which relate to recycle.
SETSYS DUPLEX
You can use this function to create concurrent copies of either backup or migration tapes. The resulting structure and dataset names are exactly the same as though you used TAPECOPY to copy the tape asynchronously. Using ACS routines, it is simple to route duplicate output to a different library that might be located in an off-site location. For duplexed tapes, ensure that the Data Class selects the same media type and recording technology for the original and the alternate copy. Not doing so can result in failure when the duplex tape is mounted for output, or when using the alternate copy after a tape replace. If the original and alternate tapes need different media or machine types, see APARs OW52309, OA04821, and OA11603 for more information.
DEFINE ABARSTAPES(STACK|NOSTACK)
If you use a native 3590 with ABARS output tapes, use this parameter to force ABARS to use a single tape for its four types of output files created during ABACKUP.
229
The LIST TTOC SELECT(LIB|NOLIB) command can list only original backup or migration volumes that are in libraries, or it can list volumes that are outside all libraries. The LIST TTOC SELECT(LIB(ALT)|NOLIB(ALT)) command can list information about original volumes whose alternate tape is or is not in a library. The LIST TTOC SELECT(FULL|NOTFULL|EMPTY) command can list migration and backup tape volumes with full, partially full, or empty status. The LIST TTOC SELECT(ALTERNATEVOLUME) command can list tape volumes that are marked full and have an alternate volume. This command provides you with the capability to identify the full backup and migration tape volumes that have an alternate tape. LIST TTOC SELECT(NOALTERNATEVOLUME) lists all volumes that are full but have no alternate volume, and therefore, you need to be copy these volumes. You can also use the LIST TTOC command to display tapes of a particular recording technology. LIST TTOC SELECT(EFMT1) or LIST TTOC SELECT(EFMT2) lists all volumes recorded in EFMT1 or EFMT2 format respectively. The library dependency parameter is also available when listing dump volumes.
230
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
and tape mounts during premigration. It also reduces the need to recycle the tape. Reconnection can take place during individual dataset migration or during volume migration. Without Fast Subsequent Migration, when a dataset that has been migrated to ML2 tape is recalled, the migration copy of the dataset remains on the tape. DFSMShsm CDS records recognize that copy as an invalid copy. When the dataset that is recalled is remigrated in the normal manner, it is copied to a new tape. Eventually, tapes with invalid datasets are recycled, and only the still-valid data is consolidated onto new tapes. You enable Fast Subsequent Migration by specifying the RECONNECT subparameter of the SETSYS TAPEMIGRATION command. For more information about this parameter, see DFSMShsm Storage Administration Reference, SC35-0422. RECYCLEINPUTDEALLOCFREQUENCY(BACKUP(bfreq) MIGRATION(mfreq)) is an optional parameter. You use it to periodically deallocate an input unit during recycle processing, particularly in a tape environment where contention for tape drives can be a consideration. This dynamically changeable parameter prevents DFSMShsm from possibly keeping an input unit allocated for hours. BACKUP(bfreq) and MIGRATION(mfreq) specify that, during recycle processing of backup or migration volumes, deallocation of an input unit occurs after the specified number of input-connected sets representing single-file-format cartridges is processed. Specifying 0 retains the input unit until recycle processing completes. For example, to deallocate the input unit every 20 input backup-connected sets, specify: SETSYS RECYCLEINPUTDEALLOCFREQUENCY(BACKUP(20)) Use the following statement to deallocate the input unit after each input migration-connected set is processed: SETSYS RECYCLEINPUTDEALLOCFREQUENCY(MIGRATION(1)) Always use a value of 1 if the command processes physically incompatible cartridges that claim to be the same, such as true 3490 compared to emulated 3490. An alternative way of moving ML2 and user tape data to a new media or tape library is to use ABARS. ABACKUP MOVE in combination with ARECOVER REPLACE can move data into an IBM 3494 Tape Library or a VTS/TS7700. ABARS has the advantage that you can specify dataset name patterns that are moved into a device.
When you enter the selected DFSMShsm-owned tape volumes, assign them the attributes of private and Storage Groups.
231
Consider using SETSYS TAPESPANSIZE and SETSYS TAPEUTILIZATION to reduce the number of connected volumes. TAPESPANSIZE determines whether a dataset is small or large. A dataset smaller than the value specified must fit on the tape being processed. If DFSMShsm calculates that the dataset will span to another tape, it issues an FEOV and starts writing the whole dataset to a new tape. A large dataset is allowed to span volumes. Do not specify TAPEUTILIZATION(NOLIMIT), because that prevents TAPESPANSIZE from taking effect. SETSYS TAPEUTILIZATION(PERCENTFULL(97)) is a good value.
This is only applicable at migration time. This is only applicable if you introduced ATS STAR or a vendor product. RESERVE if no GRS is introduced, or if the enqueue is not converted. This is only applicable in new environments.
232
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Task Test the stand-alone procedure with the IBM 3494. Test the vaulting procedures.
ACS TEST SELECTION COMMAND ===> SELECT ONE OF THE FOLLOWING OPTIONS ===> 1 2 3 DEFINE ALTER TEST - Define an ACS Test Case - Alter an ACS Test Case - Test ACS Routines
IF OPTION 1 OR 2 CHOSEN ABOVE, SPECIFY: ACS TEST LIBRARY ===> 'DFRES1.TCASE1.CNTL' ACS TEST MEMBER ===> TAPE1
USE ENTER TO PERFORM SELECTION; USE HELP COMMAND FOR HELP; USE END COMMAND TO EXIT.
In addition to basic ISMF functions, NaviQuest provides several functions to ease and automate the creation and comparison of test cases for the entire SMS environment. A special function that NaviQuest delivers is to set up test cases based on volume mount analyzer (VMA) data taken from your site. Because this function is closely related to the implementation of a library, we discuss it briefly here. For more information, see the NaviQuest Demonstration and Hands-On Usage Guide, SG24-4720. To access NaviQuest if it is installed in your environment, select option 11 from the ISMF Primary Menu. Then, you see the NaviQuest PRIMARY OPTION MENU panel (Figure 4-41 on page 234).
233
NaviQuest PRIMARY OPTION MENU ENTER SELECTION OR COMMAND ===> SELECT ONE OF THE FOLLOWING: 1 2 3 4 5 6 GENERATE TEST CASES ACS COMPARISON TEST GENERATE ACS XREF UPDATE TEST CASE RESULTS GENERATE SMS REPORTS GENERATE MODEL COMMANDS Generate test cases from saved lists/records Compare the BASE and NEW ACS listings Enhanced XREF ACS test listing Update test cases with expected results Create reports from ISMF lists or DCOLLECT Generate model commands from ISMF or DCOLLECT
Select option 1 (GENERATE TEST CASES). Next, you see a menu to select the type of test case data for NaviQuest to use. To build test cases from VMA data, select option 4. The panel shown in Figure 4-42 on page 235 appears, where you can choose: Number of test cases to create Member name prefix for the resulting members Selection filter to apply against the input data Note: The input to this process is not raw SMF data but VMA-extracted SMF data. See Volume mount analyzer (VMA) reporting for tape utilization on page 482 for more information.
234
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
BULK GENERATION OF TEST CASES FROM VMA EXTRACT FILE COMMAND ===> TO GENERATE TEST CASE LIBRARY, SPECIFY: DATA SET NAME CONTAINING VMAXTRT DATA ===> 'NAVIQ1.GFTAXTR.DATA' NUMBER OF TEST CASES ===> 10 MEMBER NAME PREFIX ===> HSM PROGRAM NAME TO FILTER ON ===> ARCCTL (1 to 9999, blank) (1 to 4 alphabets)
Note:
Before running this function you must have run GFTAXTR from your saved SMF type 14,15,21, and type 30 records.
USE ENTER TO PERFORM GENERATION; USE HELP COMMAND FOR HELP; USE END COMMAND TO EXIT.
The output written to the specified dataset has the same format as output without NaviQuest. However, NaviQuest generates more detailed information and enables you to test with real-life data instead of a randomly generated subset of examples. We show two test cases: one for DFSMShsm data (Figure 4-43) and one for DFSMSdss data (Figure 4-44 on page 236).
DESCRIPTION1: From VMA EXTRACT file 'NAVIQ1.GFTAXTR.DATA' on 08/03/96 at 7:08pm DSN: HSM.COPY.BACKTAPE.DATASET DSTYPE: PERM DSORG: PS ACSENVIR: ALLOC SIZE: 179328 EXPDT: 1999365 VOL: 01 100017 JOB: HSM DD: SYS0512 PGM: ARCCTL UNIT: 348X
235
DESCRIPTION1: From VMA EXTRACT file 'NAVIQ1.GFTAXTR.DATA' on 08/03/96 at 7:08pm DSN: GSMVSE.DATA.SAVDAY DSTYPE: GDS DSORG: PS ACSENVIR: ALLOC SIZE: 0 EXPDT: 1995033 VOL: 01 100369 JOB: SAVTSO01 DD: OUTDD1 PGM: ADRDSSU UNIT: 348X
The result of checking the specified input against the SCDS that you are about to test looks similar to the panel shown in Figure 4-45. DSS0017 and HSM0001 are the member names created by NaviQuest. You see the specified classes, which are to be assigned to the dataset names, and you can check if this assignment is what you intend.
ACS TESTING RESULTS CDS NAME : SMS.SCDS0 ACS ROUTINE TYPES: DC SC MC SG ACS TEST LIBRARY : SMS.TESTCASES.DATA ACS TEST MEMBER ---------
RESULTS -----------------------------------SG = SGTAPLCL DC SC MC SG DC SC MC SG DC SC MC SG = = = = = = = = = = = = DCTAPLR SCTAPLCL MCTAPE SGTAPLCL DCTAPLR SCTAPLCL MCTAPE SGTAPLCL DCTAPLR SCTAPRMT MCTAPE SGTAPRMT
DSS0017
HSM0000
HSM0001
However, you cannot see the dataset names and other input criteria in the list. That is why you go back to NaviQuest and select option 3 (GENERATE ACS XREF) to generate the ACS CROSS REFERENCE REPORT (Figure 4-46 on page 237).
236
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
ACS CROSS REFERENCE REPORT COMMAND ===> TO GENERATE REPORT, SPECIFY: ISMF TEST CASE LISTING ===> 'DFRES1.LISTING' DSN FOR CROSS REFERENCE LISTING ===> 'DFRES1.XREF.LISTING' REPLACE CONTENTS IF DSN EXISTS ===> Y (Y or N) VARIABLES TO INCLUDE IN REPORT: DSN ===> Y UNIT ===> N EXPDT ===> N JOBNAME ===> Y (Y or N) SIZE ===> N PROGRAM ===> N
USE ENTER TO PERFORM GENERATION; USE HELP COMMAND FOR HELP; USE END COMMAND TO EXIT.
The input is the ACS test output listing dataset, and the output is a new listing dataset as shown in Figure 4-47. You can specify which columns you want NaviQuest to add. If you are not using the program name in your ACS routines to make decisions, you might not need it on the output listing.
ACS TESTING RESULTS CDS NAME : SMS.SCDS0 ACS ROUTINE TYPES: DC SC MC SG ACS TEST LIBRARY : SMS.TESTCASES.DATA ACS TEST MEMBER EXIT CODE --------- ---------DSS0017 0 0 0 0 0 0 0 0 0 0 0 0
RESULTS ----------DC SC MC SG DC SC MC SG DC SC MC SG = = = = = = = = = = = = DCTAPLR SCTAPLCL MCTAPE SGTAPLCL DCTAPLR SCTAPLCL MCTAPE SGTAPLCL DCTAPLR SCTAPRMT MCTAPE SGTAPRMT
DSNAME ------------------GSMVSE.DATA.SAVDAY
PROGRAM ------ADRDSSU
HSM0000
HSM.BACKTAPE.DATASET
ARCCTL
HSM0001
HSM.COPY.BACKTAPE.DATASET
ARCCTL
Figure 4-47 ACS TESTING RESULTS panel Chapter 4. Software implementation in z/OS
237
The obvious results are: HSM and DSS datasets are assigned Data Class DCTAPLR, which comprises 36-track, MEDIA2 cartridges. DSS save and HSM backup datasets are directed to Storage Group SGTAPLCL, which is the local tape library. HSM TAPECOPY datasets are directed to Storage Group SGTAPRMT, which is the remote tape library.
238
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 5.
Tape Encryption
In this chapter, we discuss basic Encryption and cryptographic terms and concepts. We introduce you to the IBM Tape Drive Encryption solution, including the IBM Encryption Key Manager. We discuss Tape Drive Encryption in the System z and Open Systems environments. We also outline the hardware and microcode firmware that you need to upgrade in order to implement tape drive Encryption. For more information about the IBM Tape Drive Encryption solution, see the IBM System Storage Tape Encryption Solutions: Planning, Implementation, and Usage Guide, SG24-7320.
239
Application-Managed: The TS1120 Tape Drive and TS1130 Tape Drive support Application-Managed Encryption for Open Systems environments. The application controls the Encryption process and generates and provides keys to the TS1130 Tape Drive through the Atape device driver. Tivoli Storage Manager has been enhanced to support this capability. Currently, Application-Managed Encryption support is only available on IBM Tivoli Storage Manager. System-Managed: With System-Managed Encryption, the Encryption policy is passed between the server and the drives, which is the way that System z encrypts data. It requires the Encryption Key Manager program. DFSMS supports the Encryption Key Manager component. System-Managed Encryption is also available for AIX servers. This support requires a new AIX Atape device driver, as well as the Encryption Key Manager program. Sun Solaris is also supported through the IBMTape device driver. Library-Managed: Encryption by tape library-based policy is supported with the TS1120 Tape Drive and TS1130 Tape Drive. The user sets up and controls the Encryption process through the library interface. This method of Encryption is supported for the IBM TS3500 Tape Library and the 3494 Tape Library in Open Systems environments. The Encryption Key Manager component is required for this support. Library-Managed Encryption is available for AIX, i5/OS, Linux, Linux on System z Fibre Channel Protocol (FCP)-connected tape drives, HP, Sun, and Windows.
The Encryption Key Manager (EKM) is a software program designed to complement IBM encryption-enabled tape drives in generating, protecting, storing, and maintaining Encryption Keys that are used to encrypt information being written to and decrypt information being read from 3592 tape media. The Encryption Key Manager operates on multiple platforms and is designed to be a shared resource deployed in multiple locations within an enterprise serving IBM encryption-enabled tape drives, regardless of where those drives reside.
240
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The Encryption Key Manager (EKM) component uses standard key repositories on supported platforms. You must install this software on a supported server and interface with the tape drive to support Tape Encryption in a System-Managed Encryption or Library-Managed Encryption implementation.
1. Load cartridge, specify encryption Encryption Key Manager 2. Tape drive requests a data key
Encrypted Data Key
5. Tape drive writes encrypted data and stores encrypted data key on cartridge
The IBM Tape Drive Encryption solution encrypts the data in the drive using the 256-bit Advanced Encryption Standard (AES) algorithm, rather than receiving previously encrypted data. There are several advantages to this approach. By encrypting data in the drive, the drive can offer the most efficient data compression. The drive first compresses the data, then
Chapter 5. Tape Encryption
241
encrypts it, thus providing more efficient data storage and media usage. Encrypting in the drive eliminates the need for any additional machines or appliances in the environment. The TS1120 Tape Drive and TS1130 Tape Drive can also process unencrypted workloads, further simplifying your IT environment. For an encrypted tape cartridge, the cartridge stores both the encrypted user data and the critical key management-related information needed to interact with the Encryption Key Manager when decrypting data on the cartridge. A mix of data written in encrypted and unencrypted formats is not supported on the same tape cartridge. Whether the data on a cartridge is written in encrypted format or in the clear is determined during OPEN processing, when the first file sequence on the tape is written. If the first file written to a tape is in encrypted format, all subsequent files written to the same tape cartridge must be written in encrypted format. All files written to a single cartridge in encrypted format are encrypted using the same data key. The exception to this rule is the volume label structure for the first file sequence, which is encrypted using a key known to all encryption-enabled TS1120 drives, which means it is effectively in the clear.
242
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
ALLOCATE), Data Class, or Encryption Key Manager (EKM) component for the Java platform defaults. The communication path to the Encryption Key Manager (EKM) is across TCP/IP with the choice to go either in-band or out-of-band for the key management flow. With out-of-band key management, the communication path to the Encryption Key Manager is handled by the control unit going directly to the Encryption Key Manager. For in-band key management, the communication path to the Encryption Key Manager is handled across Enterprise Systems Connection (ESCON)/Fibre Channel Connection (FICON) with a z/OS proxy interface, which handles the key exchange (across TCP/IP) with the Encryption Key Manager.
In-band is where the tape drive requests that the Encryption Key Manager component travel over the ESCON/FICON channels to the server proxy that is TCP/IP-connected to the EKM. In-band is the preferred method for z/OS. Out-of-band is where the tape controller establishes the communication to the EKM server over TCP/IP connections between the tape controller and the EKM server. ESCON/FICON System z environments utilizing out-of-band support for Encryption require a router to allow the tape controller to communicate with the Encryption Key Manager. FC5593 (Router for EKM Attach) provides dual routers to allow redundant connections between the tape controller and the EKM. See Figure 5-2.
z/OS
Java Virtual Machine Key Manager (TCP/IP) Common Platform Java Code Key Store Another z/OS (or Open System) Host
-OR- TCPIP
TCPIP
FICON Proxy to Key Manager In-band Key Management Across ESCON/FICON Encrypt? Key Labels? SMS Policy
Key Manager
TCP/IP
ESCON / FICON (in-band key management) J70 or C06 Control Unit 3592 Model E05,E06 Open System Hosts (VM, VSE, TPF or even z/OS) - out-of-band key management (TCP/IP) Control Unit across TCP/IP to z/OS or elsewhere
The in-band z/OS proxy allows you to exchange key management information with a tape drive over existing ESCON/FICON, instead of requiring the deployment of a secondary IP network. The reliability and physical security of the existing I/O attachments are major reasons that clients might choose to use the in-band key management path to the Encryption Key Manager. The z/OS proxy interface communicates with the tape drive (through the control unit) in the current data path and then uses a TCP/IP connection to communicate with
Chapter 5. Tape Encryption
243
the Encryption Key Manager. Because in-band is managed by the I/O supervisor (IOS), it also allows you to display and alter EKM primary and secondary server addresses from the operator console. With out-of-band, the EKM server addresses are only visible on the Library Manager Console. One other consideration is that with out-of-band, any z/OS image using a drive also has to use the EKM for which that drive was set up. With in-band, you can potentially have each z/OS image point to a different EKM, with each EKM pointing to a different keystore. This approach allows images sharing drives to use different keystores. You might find this approach useful if you need to support a client or application where each client requires its own keystore for security or regulatory needs. For z/OS tape Encryption, both methods allow you to configure whether to encrypt the data based on Data Class definitions. You can specify the key labels through the Data Class or through the DD statement (JCL, dynamic allocation, or TSO ALLOCATE). You can also use the Encryption Key Manager-assigned defaults if the key labels are not provided through z/OS. For tapes that will be encrypted or decrypted, you must define and keep track of the key information that you use. DFSMSrmm also tracks the key labels that were used for a given cartridge.
keyword on existing IOS commands. For additional information about the TKLM, see the IBM
5.2.2 Overview
For an encrypted tape cartridge, the cartridge stores not only the encrypted user data, but also critical key management-related information needed to interact with the EKM. The EKM communicates over TCP/IP connections with the tape drive (in-band or out-of-band) to provide the key information required by the tape drive to encrypt or decrypt the data. This TCP/IP connection needs to be secure, and you can achieve this security either by physical security or with IP security protocols, such as virtual private network (VPN). The method for securing this TCP/IP connection relies on existing system capabilities and is outside the scope of the key management system. The EKM is a common platform application written in Java that runs under the Java Virtual Machine (JVM). The EKM interfaces with an existing keystore, which under z/OS can be one of the hardware-based keystores (JCE4758KS (JCECCAKS) or JCE4758RACFKS (JCECCARACFKS)) that works with the Integrated Cryptographic Service Facility (ICSF), or it can be one of the software-based keystores (JCEKS or JCERACFKS). If the EKM resides outside of the z/OS environment, you can use the JCEKS and IBMi5OSKeyStore (System i) software-based keystores or the PKCS11IMPLKS hardware-based keystore.
245
Obtain KEK labels/methods Request DK using KEK labels/methods Validate drive in Drive Table Request a Data Key (DK) Generates a random DK Request KEK/KEKs using KEK labels/method Retrieves KEK pair/pairs
TS1130
Request DK to be wrapped with public half of KEK/KEKs generating two EEDKs
Keystore
Create EEDKs Send EEDKs Writes EEDKs to three locations on tape and into CM Encrypts write data using DK
EKM
Crypto Services
The server sends a write request to the drive. The drive is encryption-capable, and the host requests that the data is encrypted. As part of the initial write, the drive obtains two Key Encrypting Key (KEK) labels from the host or a proxy, which are aliases for two Rivest-Shamir-Adleman (RSA) KEKs. When an encryption-capable tape drive needs a key to perform an encrypted write, the EKM generates a data key. The data key (DK) that is used to encrypt the data on a tape cartridge is itself encrypted (using the public key of the public/private key pair) with either one or two key encrypting keys (KEK) stored in the keystores. The KEKs are maintained by the EKM through an existing keystore and are pointed to by the appropriate KEK label, also referred to as the key label. The drive requests that the EKM send it a data key (DK) and to encrypt the DK using the public KEKs aliased by the two KEK labels. The EKM can reside on that same host system, on another host system, or even on another platform server. For z/OS, the drive request for the data key and the passing of key management-related information can be in-band between the drive and the Encryption Key Manager (through the control unit and host across ESCON/FICON), or it can be out-of-band (through the control unit across TCP/IP). EKM only has a TCP/IP interface, so in-band communication to the EKM is handled by the z/OS proxy interface. The z/OS proxy interface receives the request from the drive across ESCON/FICON and then interfaces with the established EKM for that system across TCP/IP. The z/OS proxy then communicates back to the drive (through the control unit across ESCON/FICON), providing the key management-related information that the drive needs. With z/OS, we recommend that the communication path to the EKM is in-band across ESCON/FICON under the same system that initiated the read or write request.
246
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
For Open Systems, the drive to EKM conversation travels through the tape device driver on the host for System-Managed Encryption (SME) or through the tape library for Library Managed-Encryption (LME). The EKM validates that the drive is in its list of valid drives. After validation, the EKM obtains a random DK from crypto services. EKM then retrieves the public halves of the KEKs aliased by the two KEK labels. The EKM then requests that crypto services create two encrypted instances of the DK using the public halves of the KEKs creating two Externally Encrypted Data Keys (EEDKs). The encoding mode (label or hash) provides instructions that the EKM uses to build the EEDKs that are stored on the tape cartridge. There are two modes for creating the EEDK: CLEAR or LABEL: In this mode, the key label is stored as part of the EEDK structure on the tape cartridge. HASH: In this mode, a hash of the public key referenced by the key label is stored as part of the EEDK structure on the tape cartridge. Storing the hash value rather than the key label allows for greater flexibility when you export tape cartridges to another location, especially if that location might use a different key label (than the originating site) to refer to the same key. When sharing business partner KEKs, we recommend using the HASH mode, which lets each party use any KEK label when importing a certificate into that partys keystore. The alternative is to use the CLEAR or LABEL mode and then have each party agree on a KEK label. The EEDKs are passed from the EKM to the drive in a secure manner and stored on the tape cartridge. The drive stores the EEDKs at several locations on the tape and in the Cartridge Memory. The EKM also sends the DK to the drive in a secure manner. It is the separately secured DK that the drive uses to encrypt the data. On subsequent mounts of the cartridge, the drive passes the EEDKs to the EKM so that the EKM can extract the data key that was used. The EKM then passes that data key back to the drive in another encrypted form that the drive can decrypt. Remember that all data on a single cartridge must be encrypted using the same key. This passing of the EEDKs to the EKM is the process to ensure that the same key is used. The role of DFSMS and policy management is to indicate to the drive during OPEN processing (file sequence 1, DISP=NEW) that the mounted tape volume is to be encrypted (as indicated through the SMS Data Class policy and the specification of EEFMT2 for the recording format). OPEN processing also passes to the drive critical key management-related information, such as the key encrypting key (KEK) labels and the encoding mechanism (label or public key hash) specified through Data Class or through the DD statement (JCL, dynamic allocation, or TSO ALLOCATE). The values specified through the DD statement override any Data Class specification. If the key management-related information is not specified through the DD statement or Data Class, Encryption Key Manager-established defaults are used that can be specified on both a global and a drive level. See Defining Data Classes on page 201 for more information about how to specify which Data Classes contain information to encrypt. For Open Systems SME, Encryption occurs based on which drive is selected. The tape device driver (Atape or IBMTape) is configured with which drives will encrypt and which drives will not encrypt. The key label defaults in the EKM, either the global EKM defaults or the per drive defaults, are used to indicate which KEKs to use to encrypt the data key. For Open Systems LME, the library policies are used to determine which volumes are to be encrypted. These same policies define which KEKs to use to encrypt the data. The policy can
Chapter 5. Tape Encryption
247
either the Barcode Encryption Policy (BEP) or, if Veritas NetBackup is the application, Internal Label Encryption Policy (ILEP) can be used.
TS1130
Keystore
Unwrap DK from EEDKs
Send DK
EKM
Crypto Services
Figure 5-4 Data and decryption key flow
An encrypted tape is mounted for a read or a write append. The two EEDKs are read from the tape. The drive asks the EKM to decrypt the DK from the EEDKs. The EKM validates that the tape drive is in its list of valid drives. After validation, the EKM requests that the keystore provide the private halves of each KEK that was used to create the EEDKs. The KEK label associated with EEDK1 cannot be found in the keystore, but the HASH of the public key for EEDK2 is found in the keystore. The EKM asks crypto services to decrypt the DK from EEDK2 using the private half of the KEK associated with EEDK2. The EKM then sends the DK to the drive in a secure manner. The drive either decrypts the data for a read operation, or it uses the DK to encrypt data for a write-append. For additional information about the Encryption Key Manager, see the IBM System Storage Encryption Key Manager Introduction, Planning, and Users Guide, GA76-0418, and the IBM System Storage TS1120 Tape Encryption Planning, Implementation, and Usage Guide, SG24-7320.
248
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
For Open Systems SME, the EKM addresses are specified in the Atape or IBMTape EKM Proxy Configuration File. Up to 16 EKM addresses can be specified. For more information, refer to the IBM System Storage TS1120 Tape Encryption: Planning, Implementation, and Usage Guide, GA24-7320. For Open Systems LME, the EKM addresses are specified at the Library Manager interface or Web Specialist as shown in Figure 5-6 on page 250. Up to two EKM IP addresses can be specified. For more information, refer to the IBM TotalStorage Tape Library 3494 Operator Guide, GA32-0449.
249
Figure 5-6 LME EKM IP address entry and key label entry
For information about key management and the role of the Encryption Key Manager (EKM), refer to IBM System Storage Tape Encryption Key Manager, Introduction, Planning, and User Guide, GA76-0418.
250
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Know the tape drives that will be used. For each tape drive used to read or write to an encrypted tape cartridge, you need to determine the drive serial number as input into the EKM drive table. However, if you use the EKM acceptunknowndrives=true function, this is handled automatically for you. Are there existing keys and certificates that you can use? If there are existing keys and certificates that you can use, you can import and create keys and certificates into the keystore. Determine the keystore type that will be employed. The keystore holds the public/private keys and certificates used by the EKM in assisting the tape drives in generating, protecting, and retrieving symmetric Encryption Keys. Depending on the keystore chosen, a keystore can be shared between EKM servers (RACF, Sysplex, and so forth). If EKM servers run on separate systems, you likely will use separate keystores. Note: For EKM servers used to handle requests from the same set of tape drives, the information in the associated keystores must be kept the same. This design allows any of the EKM servers that are contacted to have access to the necessary information to support the requests that the server receives from the tape drives for EKM server keystore information.
Important: Although IBM has services that can help you to recover data from a damaged tape cartridge, if the data on the damaged tape cartridge is encrypted, the data returned to you will be encrypted data. So if you lose your keys, you have lost your data.
251
252
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
encryption-enabled can write, on separate media, either Encryption or non-Encryption format based on your needs. Note: Tape drives attached to the same tape control unit are not supported. Tape drives must all write in the same format. For example, if you attach both TS1130 tape drives and 3592-J1A tape drives to the same controller, the TS1130 Tape Drive operates in TS1120 (3592-A05) emulation mode. With encryption-enabled tape drives, the access time to data on the tape drive increases. This increase is due to the time needed to retrieve, read, and write the Encryption key.
Note: The 3590-A60 Enterprise Tape Controller does not support the attachment of an IBM TS1130 Tape Drive. If you mix 3590-A60 tape controllers in a library with other tape controllers that have attached encryption-enabled drives and use a common tape cartridge scratch pool, you need to update the microcode firmware of your 3590-A60 to 1.16.1.11.
253
254
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Linux on System z
Linux on System z has limited capabilities with respect to tape drives. Although it can access a tape drive directly that is attached using either ESCON/FICON or Fibre Channel Protocol (FCP) protocols, Linux on System z does not have the ability to manage a library by itself. Now, in todays environment, it is impractical to access tape drives attached directly, because all drives are usually contained in a library in the mainframe environment. This approach is also true in an Open Systems environment, where the drives are FCP-attached, because Linux on System z coexists usually in large Open Systems environments. So, you need a method to manage the library. Tivoli Storage Manager or iRMM can be used to manage the library. These products are used to manage the library and move the appropriate tape cartridge to and from the drive. Tivoli Storage Manager is best for small to medium installations. iRMM is best for medium to large installations. Both solutions only support FCP-attached libraries. There is no library support for FICON-attached libraries. Encryption for Linux on System z is supported using Library-Managed Encryption. Library-Managed Encryption is available for System z servers connected to the 3494 through FCP, running one of the following Linux on System z distributions: SUSE Linux Enterprise Server 9 (SLES 9) Red Hat Enterprise Linux (RHEL 4) Library-Managed Encryption with Linux on System z requires: An Encryption Key Manager component available to the 3494 An IBM 3494 Tape Library If the Encryption Key Manager is run on a Linux on System z partition, you need to install and update one of the following Java 2 SDKs: Java 2 Standard Edition SDK 5 Java 2 Standard Edition SDK 1.4.2 You can obtain updates to the Linux Java SDK at this Web site: http://www-128.ibm.com/developerworks/java/jdk/linux/download.html
255
256
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
257
258
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
259
In other words, in addition to storing your data Encryption Key on your tapes, wrapped using your organizations public/private key, the data key is also stored on the same tapes wrapped using the DR sites public key (certificate). This method allows a functioning EKM at that site to use its own keystore, with its own public/private key, to read the tapes. If your DR site uses different tape drives than your primary site, the configuration file and tape drive table must contain the correct information for the recovery site. Consider setting the EKM variable drive.acceptUnknownDrives in the configuration file to true. See IBM System Storage TS1120 Tape Encryption Planning, Implementation, and Usage Guide, SG24-7320, for more information about this variable.
260
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 6.
261
A) Replacement library without changing the media or 359x models B) Replacement library with changing drive models (no old drive models left?) C) Replacement library with changing media
No
Yes
No/Yes
No
Yes
No/Yes
Yes
Yes
262
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Scenario
D) Changing drives or media in existing library E) Replacement of hardware not containing 3590
The following section offers a detailed explanation for each of the scenarios in Table 6-1.
Scenarios A and B
The physical movement of the cartridge to the new environment is the easiest way. However, physical movement requires special considerations (see 6.1.3, Moving native cartridges to another library on page 266). After the movement, the old hardware is ready for removal. To redirect the new traffic to the new library, you must add the new library to the appropriate Storage Class. You do not need to perform any data migration. In scenario B, you must follow the instructions in Special migration considerations for applications and products on page 270 for applications, such as Hierarchical Storage Manager (HSM) or OAM, to avoid problems.
Scenario C
Introducing new media (regardless of whether you are also upgrading the drive models) depends on your new library to determine whether you want to move the old cartridges to the new library. If there are enough free slots, you can move them, which frees the old hardware quickly. This approach is helpful if you must migrate before the end of the lease for the old hardware. If this situation is not the case, it is best to put the new media in the new library and change the ACS routines to direct to the new hardware. Follow this action with data migration. Refer to 6.1.2, Planning data migration details on page 263.
Scenarios D and E
Moving physical cartridges is unnecessary or inapplicable. Redirection of the new datasets through ACS routines is the first step. Data migration needs the most attention. Refer to the following sections for more information.
263
Special products
There are products from third-party vendors that do not use the tape standard support of tape labels or tape marks. Several of them do not support multivolume processing. If you use these products, migration to a different media type is only possible if the media has more capacity than the old one. Migration from a 3590 or 3592 media to a VTS or TS7700 reduces the capacity of a single volume. Multivolume processing and correct tape mark processing are necessary in this case. Therefore, copying data from the original source might be impossible. Make a list of the software that writes datasets on tape, and check whether certain data needs special treatment.
Compressed data
Volume mount analyzer (VMA), the tape tools, or other monitoring and sizing tools cannot distinguish between compressed and uncompressed data. In a z/OS environment, you can use compression tools or use compression components in applications, such as DB2 compression, DFDSS, or HSM-ML2 compression. The information regarding MB or GB traffic shows you the amount of compressed data. The calculation of the tape utilization might be wrong, because the assumption of three to one (3:1) is incorrect. Instead, use one to one (1:1). Consider using compressed data if you monitor or size your environment in regard to: Throughput Necessary cartridges and slots Necessary cache in VTS or TS7700 Necessary stacked volumes in VTS or TS7700
264
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Make a list of the volumes and data that you must copy and the copy mechanism that you intend to use for the process. Using a copy tool can make the migration easier (refer to Additional software for data migration: Copy tool on page 265) and provides a lot of additional functionality (for example, keeping the original tape management system entries). There are still many time-consuming migration tasks left. Do not underestimate the necessary effort for this task.
265
Flexibility in filtering the datasets by wildcards or other criteria, such as the expiration date or the creation date Failure management, such as input volume media failures, during the copy operation
Table 6-2 Tape copy product examples Product name Tape copy Tool/ DFSMSrmm Tape optimizer Beta55 CA-1/TLMS Copycat Rocket Tape Optimizer for z/OS Tape/Copy TelTape Zela Vendor name International Business Machines Web address for more information Contact your IBM marketing representative for more information about this service offering. http://www.ibm.com/software/tiv oli/products/tape-optimizer-zos http://www.betasystems.com http://www.cai.com http://www.rocketsoftware.com/p ortfolio/tapemedia/ http://www.opentechsystems.com/ tape-copy.php http://www.cartagena.com http://www.seasoft.com/zela.asp
Tivoli Beta Systems Software AG Computer Associates International, Inc. Rocket Software, Inc. OpenTech Systems, Inc. Cartagena Software Ltd. Software Engineering of America
266
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Table 6-3 Comparison between system-controlled and manual methods of moving cartridges Consideration Outage time Need manipulation on tape management and TCDB Risk of data loss Risk of losing cartridge Risk of forgetting cartridges System-controlled moving Middle to long None None, only if you drop a cartridge No difference None, ejects can be created by procedures or TMS. Manual moving Short to middle High (home location Storage Class) Middle risk, manipulation of TMS is always a risk. No difference High risk if cartridges must be selected manually from the frame. Middle risk if all cartridges are transferred.
267
268
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
SYS1.PARMLIB DEVSUPxx COMPACT = YES MEDIA1 = 0011 MEDIA2 = 0012 MEDIA3 = 0013 MEDIA4 = 0014 MEDIA5 = 0015 ERROR = 001E PRIVATE = 001F
SYS1.PARMLIB DEVSUPxx COMPACT = YES MEDIA1 = 0021 MEDIA2 = 0022 MEDIA3 = 0023 MEDIA4 = 0024 MEDIA5 = 0025 ERROR = 002E PRIVATE = 002F
PLEX1
PLEX2
R M M TCDB
A C D S
R M M TCDB
A C D S
SYS1A
SYS1B
SYS2A
SYS2B
SYS2C
Note the following points: Scratch mounts from systems in PLEX1 get volumes from Library Manager categories X0011, X0012, X0013, X0014, or X0015 assigned as specified in the DEVSUPxx members of SYS1.PARMLIB, depending on the requested media type in the Data Class. Scratch mounts from systems in PLEX2 get volumes from Library Manager categories X0021, X0022, X0023, X0024, or X0025 assigned as specified in the DEVSUPxx members of SYS1.PARMLIB, depending on the requested media type in the Data Class. The setting for the private category is optional, because specific mount requests use the TCDB volume entry information. The Library Manager private category is not used for specific mount requests. To reflect the host category assignment on the Library Manager, we recommend that you always specify a category for private volumes on all hosts. For details regarding partitioning and sharing, refer to the Guide to Sharing and Partitioning IBM Tape Library Data, SG24-4409.
269
You can copy existing datasets using standard z/OS software. If you do not use multilabel processing, the same number of volume serial numbers (VOLSERs) is needed. You cannot exploit capacity. Output management systems: Typically, these systems have the capability to exploit higher capacity. Refer to your specific software customization. Most output management systems have their own databases that keep track of which output resides on which cartridge and where. Therefore, you cannot copy the data with standard z/OS software. Most vendor systems provide utilities to upgrade to a higher device. If you have different 359x models installed (for example, 3590, 3590E, or 3590H, or 3592-J1A, 3592-E05, and 3592-E06), one of the following implementation steps applies: To direct new tape allocations to a specific drive model, you need to define a Data Class. Specify Recording Technology with the appropriate value for each model. Also, update the ACS routines for new tape allocations accordingly to assign the new Data Class. Refer to the Data Class definition (shown in Example 4-2 on page 216) for a detailed description of the Data Class. To allow scratch cartridges to be relabeled as a down-level drive, include the VOLNSNS=YES definition in the SYS1.PARMLIB member DEVSUPxx. Refer to DEVSUPxx member of SYS1.PARMLIB on page 176 for a detailed description of DEVSUPxx. To allow a private cartridge written with 128 or 256 tracks to be mounted for a read operation on a drive with higher track capability, set the TCDB volume entry definition of SPECIALATTRIBUTE(READCOMPATIBLE). You can verify the TCDB Special Attribute field using the ISMF MOUNTABLE TAPE VOLUME LIST shown in Figure 6-2.
Panel List Utilities Scroll Help -----------------------------------------------------------------------------MOUNTABLE TAPE VOLUME LIST Command ===> Scroll ===> HALF Entries 1-14 of 157 Enter Line Operators below: Data Columns 9-12 of 20 LINE OPERATOR ---(1)---VOLUME SERIAL -(2)-DA0018 DA0019 JA1054 JBZ085 JBZ086 JBZ087 JBZ088 JBZ089 JJH960 JJH961 JJH962 JJH963 JJH964 JJH965 RECORDING TECHNOLOGY ---(9)---EEFMT3 EEFMT2 EFMT2 EFMT3 EFMT3 EFMT3 EEFMT3 EEFMT3 EFMT3 EFMT2 EEFMT3 EFMT3 EEFMT3 EEFMT3 SPECIAL ATTRIBUTE --(11)----------------------------------------------------------------------------------------------------LAST WRITTEN DATE ----(12)---2008/04/17 ---------2008/04/17 2008/04/17 2008/04/17 2008/04/22 2008/04/22 2008/04/21 2008/04/03 2008/02/27 2008/05/02 2008/05/02 2008/04/30 2008/03/12
271
In addition to browsing through ISMF panels, you can list the information in the TCDB by using the LISTC command. To verify volume entries, specify the VOLUMEENTRIES parameter as shown in the LISTC command in Figure 6-3. This example lists all tape volume entries whose names begin with the letters D* and J* in the CASH02 tape library.
------------------------- TSO COMMAND PROCESSOR ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
---------------------
LISTING FROM CATALOG -- SYS1.VOLCAT.VGENERAL VOLUME-ENTRY-----------VJBZ085 DATA-VOLUME LIBRARY-----------CASH02 LOCATION-----------LIBRARY RECORDING----------EFMT3 MEDIATYPE-----------MEDIA9 STORAGE-GROUP---*SCRTCH* USE-ATTRIBUTE------PRIVATE CHECKPOINT-------------N ERROR-STATUS-------NOERROR SHELF-LOCATION------------(NULL) OWNER---------------(NULL) CREATION-DATE---2008-02-29 ENT-EJ-DATE---2008-02-29 COMPACTION------------NONE EXPIRATION------2008-05-05 WRITE-PROTECTED----------N SPEC-ATTRIBUTE -----NONE LAST-MOUNTED--2008-04-17 LAST-WRITTEN--2008-04-17
The default of this parameter is SPECIALATTRIBUTE(NONE), (SPEC-ATTRIBUTE -----NONE in Figure 6-3). There is a high probability that you need to update it in your system. You can update this parameter either through IDCAMS ALTER VOLENTRY or by using DFSMSrmm if this is your tape management system. The IDCAMS command for volume VJBZ085 looks like this example: ALTER VJBZ085 VOLUMEENTRY SPECIALATTRIBUTE(READCOMPATIBLE)
272
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Clients, who currently use MEDIA5 tapes both with and without the Performance Scaling option, might want to reclaim the performance-scaled tapes for full capacity use and start using MEDIA7 tapes for high performance functions. For example, perhaps the installation uses MEDIA5 60 GB for ML2 and MEDIA5 300 GB for backup and dump. ML2 migration and recycle output can be redirected to MEDIA7 and all of the MEDIA5 ML2 tapes can be either specifically recycled by VOLSER, or marked full and recycled generically. The released MEDIA5 tapes can then be used to their full capacity for backup and dump processing. All HSMs in an HSMplex must have the DFSMShsm full support PTFs installed if any HSM in the HSMplex has access to MEDIA6, MEDIA7, MEDIA8, MEDIA9, or MEDIA10 tapes. This PTF prevents accidentally mounting WORM tapes for DFSMShsm functions and avoids including MEDIA10 or MEDIA7 tapes with MEDIA5 tapes for recycle reuse capacity calculations. For OAM: a. Find out which volumes are in filling status. The OAM/OSMC system programmer must perform this task. The OAM/OSMC system programmer can give you a volume table, extracted from DB2, which shows the volume and filling state. b. Set the volumes in filling state to FULL. Enter: F OAM,UPDATE,VOL,volumeserialnumber,FULL,Y c. Set the volume to read-only. Enter: F OAM,UPDATE,VOL,volumeserialnumber,WRITABLE,N Perform these actions before you change the ACS routines to direct HSM or OAM/OSMC traffic to the new drive models.
273
When the dataset is not cataloged, its VOLSER must be indicated through JCL or parameters in a dynamic allocation request. Searching the z/OS dataset catalog is bypassed. 2. The TCDB is searched to find the volume entry for the volume. If the volume entry is found, and it indicates that the volume is within a library (and not in SHELF), the library name, Storage Group, recording format (128, 256, 384, E1, E2, EE2, or EE3), and device type are extracted from the TCDB entry. They are used to allocate a tape unit for reading the dataset.
z/ O S
Catalog
Reading a data set
1
Volser
RMM
T a p e L i b r a r y
190
Device
4/7
275
Device
6
LM-DB
Library Manager
Stor-cell
Note: If a volume entry is found in the TCDB and the LOCATION indicates LIBRARY, allocation always goes inside a tape library. When a foreign tape comes to your system with a VOLSER that already is in a tape library, since DFSMS 1.4.0 and later, we recommend this way to read it on a tape device outside of the library: STORCLAS=DUPT@SMS,DISP=OLD,VOL=SER=xxxxxx (specific mount)UNIT=uuuu (nonsystem-managed tape devices) SMS checks against the TCDB are bypassed and the UNIT parameter is honored, which drives the allocation to a nonsystem-managed tape device. Prior to DFSMS 1.4, you must use Bypass Label Processing (BLP) in your JCL. Remove the existing volume entry from the TCDB. After you read the foreign tape, add the volume entry to the TCDB using IDCAMS commands.
274
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
3. If the volume entry is not found in the TCDB, and the volume that is not in the library installation exit (CBRUXVNL) does not prompt the operator to enter the volume into the library, allocation is directed to a device that is outside of the library. 4. Allocation or OPEN requests that the volume is mounted on the selected unit. For a discussion of device selection, refer to 6.4.3, Device and library selection in a 3494 environment on page 276. In the case of a library, this request is transformed into a channel command, which requests the Library Manager to mount the volume. 5. The Library Manager searches its database to find the storage cell ID where the cartridge is stored. The Library Manager constantly keeps its database up-to-date and records the fact that the volume has been moved to the tape unit. 6. When the dataset is opened, the correctness of the tape volume selection is verified with information from the volume and dataset labels on the tape. Next, the users right to access the tape volume and the dataset is verified with RACF through System Authorization Facility (SAF). The volume and the dataset usage are reflected in the TCDB and DFSMSrmm database by updating the relevant records there. 7. When the dataset is closed after it is used and the volume is demounted, the Library Manager receives a request to move the volume from the tape unit to a storage cell in a library.
275
Catalog Volser
z/ O S
SMS
ACS Rout ines const ruct s
RMM
6
5 2
T a p e L i b r a r y
190
Device
4 8
275
Device
LM-DB
Library Manager
Stor-cell
5. If no Storage Class is derived from SMS, the dataset is written on a device outside of the tape library. 6. The dataset is opened. Again, the users right to access the volume is checked, based on the volume serial number, which now becomes known to z/OS. 7. The TCDB, RACF database, and DFSMSrmm CDS are accessed to verify authorization. The volume must be known to DFSMSrmm, and it must be a scratch volume. The CDS is updated to indicate the new dataset on the tape volume, to record the SMS classes assigned, and to indicate the changed status (scratch or private). The update to the TCDB also indicates which Storage Group is selected for the volume and the changed status. 8. The Library Manager database is updated to indicate the changed category of the volume (from scratch to private). 9. If cataloging is requested for the dataset, it is performed at disposition time. The z/OS dataset catalog is updated to indicate the dataset name and its volume serial.
The higher the viewpoint is in the priority list, the higher the assigned weight for the device is. The weights given for each viewpoint are added together. The device with the highest sum is selected for allocation. Note: Device selection does not consider the following conditions: Number of available drives Busy condition of control unit or library accessor
277
Table 6-4 CBRUXENT return codes Return code 0 Meaning Perform the cartridge entry as requested. No changes are made to the parameter list (CBRUXEPL). Use what existed at the time that the installation exit was called. Perform the entry as requested. Perform the cartridge entry and note that one or more fields in the parameter list (CBRUXEPL) have changed. Do not allow this cartridge to be entered. For an automated tape library data server, OAM schedules the cartridge to be ejected. Ignore the cartridge entry request. For an automated tape library data server, OAM leaves the cartridge in the library (volume left in the insert category). Reject the cartridge entry request. The cartridge will be ejected from the tape library.
4 8 12 16
Note: If an invalid return code is passed back, OAM discontinues cartridge entry processing. After OAM is told not to invoke the installation exit again (return code 16), or cartridge entry processing is discontinued, the only way to reactivate the exit is to stop and restart OAM or to issue the LIBRARY RESET,CBRUXENT command. The cartridge entry exit has two major purposes. The first purpose is to verify and change information on cartridges as they are inserted into the library. The information is transferred through the CBRUXENT. With the introduction of Advanced Policy Management (APM) for a VTS/TS7700 installation, the parameter list has extended significantly. For a detailed list of parameters of this exit, refer to z/OS V1R8 DFSMS Object Access Method Planning, Installation, and Storage Administration Guide for Tape Libraries, SC35-0427. The second purpose in an environment where a library is shared among multiple hosts is to ensure that the current host has access to its cartridges only. If more than one SMSplex and tape management system share a library, the entry exit must be common across members of an SMSplex. If practical, use the same exit across all members of all SMSplexes. Code the entry exit so that the return code set causes a tape to be accepted into or ejected from the library. If any non-SMS hosts use the library, ignore their volumes. If a cartridge remains unclaimed by the attached hosts, it remains in the library manager INSERT category. If there is no TCDB entry for a cartridge, it cannot be ejected from the library through ISMF, the LIBRARY command, or the CBRXLCS macro.
278
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
279
Panel Utilities Help ------------------------------------------------------------------------------MOUNTABLE TAPE VOLUME ALTER ENTRY PANEL Command ===>
Number of Volumes to be Altered: 10 Specify New Values for the Following Fields (Blank means no change): Use Attribute Storage Group . . . . (P - Private, S - Scratch, or blank)
Use ENTER to Perform ALTER; Use HELP Command for Help; Use END Command to Exit.
Figure 6-6 ALTER command from the MOUNTABLE TAPE VOLUME ALTER ENTRY panel
280
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
When you enter the ALTER line operator from the MOUNTABLE TAPE VOLUME LIST panel, the next MOUNTABLE TAPE VOLUME ALTER ENTRY panel (Figure 6-7) displays to enable you to enter the new values for the specific volume requested. The panel examples in Figure 6-7 through Figure 6-10 on page 284 provide more information regarding the ALTER function for a specific tape volume.
Panel Utilities Help ------------------------------------------------------------------------------MOUNTABLE TAPE VOLUME ALTER ENTRY PANEL Command ===> Tape Volume : DA0018 Specify New Values for the Following Fields: Use Attribute: Old Value : SCRATCH New Value . . P Old Value : New Value . . (leave as-is if no change)
(P - Private or S - Scratch)
Storage Group:
Shelf Location: Old Value : New Value . . Owner Information: Old Value: New Value . . Use ENTER to Perform ALTER; Use HELP Command for Help; Use END Command to Exit.
281
When the volume was entered into the library, if no values were specified for Storage Group name, Shelf Location, or Owner Information, the Old Value fields on this panel are blank. The tape volume record reflects blanks in these fields in the TCDB. You then add the values for Owner Information, Storage Group, and Shelf Location into the New Value fields and press Enter. The fields are updated in the TCDB, and the next time that the volume is displayed, the new information appears in the Old Value fields. The New Value fields are primed with the same information (see Figure 6-8).
Panel Utilities Help ------------------------------------------------------------------------------MOUNTABLE TAPE VOLUME ALTER ENTRY PANEL Command ===> Tape Volume: DA0018 Specify New Values for the Following fields: Use Attribute: Old Value : PRIVATE New Value . . P Old Value : SGTAPLCL New Value . . SGTAPLCL (leave as-is if no change)
(P - Private or S - Scratch)
Storage Group:
Shelf Location: Old Value : BASEMENT1 New Value . . BASEMENT1 Owner Information: Old Value: ST6T25B New Value . . ST6T25B Use ENTER to Perform ALTER; Use HELP Command for Help; Use END Command to Exit.
Figure 6-8 Both old value fields and new value fields are assigned to the volume
282
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
If you type blanks over the New Value for Storage Group, Shelf Location, or Owner Information, the corresponding field in the tape volume record is set to blank. Then, the New Value fields appear blank the next time that you display the record (see Figure 6-9).
Panel Utilities Help ------------------------------------------------------------------------------MOUNTABLE TAPE VOLUME ALTER ENTRY PANEL Command ===> Tape Volume: DA0018 Specify New Values for the Following Fields: Use Attribute: Old Value : PRIVATE New Value . . P Old Value : New Value . . (leave as-is if no change)
(P - Private or S - Scratch)
Storage Group:
Shelf Location: Old Value : BASEMENT1 New Value . . BASEMENT1 Owner Information: Old Value: ST6T25B New Value . . ST6T25B Use ENTER to Perform ALTER; Use HELP Command for Help; Use END Command to Exit.
283
Note that both the Old Value and New Value fields for Storage Group are now blank. To add a Storage Group again, indicate the new value for Storage Group in the New Value field and press Enter (see Figure 6-10).
Panel Utilities Help ------------------------------------------------------------------------------MOUNTABLE TAPE VOLUME ALTER ENTRY PANEL Command ===> Tape Volume: DA0018 Specify New Values for the Following Fields: Use Attribute: Old Value : PRIVATE New Value . . Old Value : New Value . . SGTAPRMT (leave as-is if no change)
(P - Private or S - Scratch)
Storage Group:
Shelf Location: Old Value : BASEMENT1 New Value . . BASEMENT1 Owner Information: Old Value: ST6T25B New Value . . ST6T25B Use ENTER to Perform ALTER; Use HELP Command for Help; Use END Command to Exit.
ISMF validates the New Value input for the use attribute to allow only P or S. The New Value input for Storage Group is validated on the same selection entry panel. However, blanks are acceptable in this field. ISMF does not validate the existence of the Storage Group in the active configuration. However, if the tape volume is library-resident, OAM provides the validation to ensure: The volumes Storage Group is defined in the current ACDS as a tape Storage Group. The volumes library is defined in the specified Storage Group. The volumes library is defined in the current ACDS as a valid tape library. Note: If the tape volume is shelf-resident, only the first check is made. If OAM detects an error in any of these conditions, neither the use attribute nor the Storage Group is changed. However, shelf location and owner information can be altered even though a storage error is detected. When an error occurs during the ALTER function, a message is stored in the message history for the entry. You can issue the message line operator to obtain the error information.
284
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
When you press Enter to perform the alter operation, the CONFIRM ALTER REQUEST panel (Figure 6-11) displays. It shows the number of volumes to be altered. Change N to Y and press Enter to confirm the alter request.
Y Perform Alter
Use ENTER to Perform Operation; Use HELP Command for Help; Use END Command to Exit.
285
Confirm Alter of Volume: DA0018 Currently this Volume is Private and Its Expiration Data has not yet Passed. Enter "/" to select option _ Do you still want to change it to scratch?
You may specify that all private volumes on the list should be changed to scratch whether or not their expiration dates have passed. If you do, the volumes will be changed without redisplaying this confirmation panel. Enter "/" to select option _ Allow All Private Volumes to be Changed to Scratch?
Use ENTER to Perform Operation; Use HELP Command for Help; Use END Command to Exit.
If the response is the forward slash (/) on either confirmation panel, OAM changes the following items: The use attribute is changed to S in the TCDB. The Storage Group name is set to *SCRTCH* in the TCDB. The expiration date in the TCDB is blanked out. The volume error status is reset to NO ERROR in the TCDB. The Library Manager category of the cartridge is changed from private to scratch.
286
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
287
11.Using DFSORT or a similar facility, sort the SMF output from ICFRRSV. 12.Execute the ICFRRAP program, using the output from the sort as input, with the EXPORT copy identified. 13.Use IDCAMS to delete the TCDB for RECOVERY. 14.Import the EXPORT copy produced by ICFRRAP. 15.Back up the TCDB to start a new recovery cycle. 16.Vary the tape library online. The procedure shown in Figure 6-13 on page 290 is similar to a normal ICF catalog recovery. For a complete description of a TCDB recovery, refer to the ICF Catalog Backup and Recovery: A Practical Guide, SG24-5644.
289
290
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Recover your TCDB using the REXX utility as we describe in the following steps: 1. Obtain the 3494 Library Manager database list: a. On the 3494 Library Manager, use the Database menu and select List database. b. For the output column, select Volser, Category, and Media type. c. Insert a formatted disk into drive A: (the output file is in a text format). Note: You perform this function in library offline mode. The library does not have to be in service mode to perform this function. 2. Upload the file to your host system. 3. Modify the REXX program. Note: This program was designed for VM. However, you can make small modifications to execute on MVS. In addition to these changes, you must enter your tape category code, which is defined in DEVSUPxx PARMLIB member and library name. This program reads the input file named TCDBRECV INFILE A. If you use another name, you are required to make a small change to the source program. Enter the following code: 'EXECIO * DISKR TCDBRECV INFILE A TCDBRECV OUTFILE A' 4. Execute the REXX program. 5. Allocate a new VOLUME CATALOG (TCDB) as shown in Figure 6-14.
//TCDBALLOC EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //SYSIN DD * DEFINE UCAT(NAME(TEST.VOLCAT.VGENERAL) VOLCATALOG VOLUME(VOL001) CYLINDER(10 1)) /* Figure 6-14 Allocating a new volume catalog
6. Create the library entry. Creating a library definition outside of ISMF is only for recovery purposes. Therefore, Figure 6-15 shows only certain parameters. However, in several cases, more than the required parameters are necessary. The best preparation for this recovery is to prepare a job with all of the library information in advance. The list output from the IDCAMS TCDB List library entry is the best source.
//STEP2 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * CREATE LIBRARYENTRY (NAME(LIBATL1) LIBID(F4001) CREATE LIBRARYENTRY (NAME(LIBVTS1) LIBID(22051) SCRATCHTHRESHOLD(MEDIA2(10)) Figure 6-15 TCDB recovery with REXX: Creating a library entry
291
//LOCKCAT EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //SYSIN DD * ALTER SYS1.VOLCAT.VGENERAL LOCK /* Figure 6-17 Moving the TCDB: Locking the TCDB
3. Verify whether the integrity and structure of the volcat help you to determine and solve problems in the actual TCDB before you move it. See Figure 6-18.
//IDCAMS EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * EXAMINE NAME(SYS1.VOLCAT.VGENERAL) ITEST NODTEST . //IDCAMS EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * EXAMINE NAME(SYS1.VOLCAT.VGENERAL) DTEST NOITEST . //IDCAMS EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //DIAGDD DD DSN=SYS1.VOLCAT.VEGNERAL,DISP=SHR //SYSIN DD * DIAGNOSE ICFCATALOG INFILE(DIAGDD)
ELIMIT(99)
ELIMIT(99)
Figure 6-18 Moving the TCDB: Verifying the structure of the TCDB
4. Export the TCDB with the EXPORT command (see Figure 6-19 on page 293).
292
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
//IDCAMS EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * EXPORT 'SYS1.VOLCAT.VGENERAL' DISCONNECT /* Figure 6-19 Moving the TCDB: Exporting the TCDB
You must disconnect the catalog from all systems in an SMSplex. 5. Import the TCDB to the different volume (see Figure 6-20). If you want the attributes of the catalog to change, define the catalog with the desired attributes on newvol. Then, import the original catalog into the newly defined catalog. If the import is successful, the old, exported catalog is deleted.
//IDCAMS EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //EXPORTDS DD DSN=hlq.VOLCATMV.EXPORT,DISP=SHR //SYSIN DD * IMPORT INFILE(EXPORTDS) OUTDATASET('SYS1.VOLCAT.VGENERAL')OBJECTS(('SYS1.VOLCAT.VGENERAL' VOLUMES(NEWVOL))) UNLOCK /* Figure 6-20 Moving the TCDB: Importing the TCDB
You connect the catalog again to all master catalogs. The import connects only automatically to one master catalog (where the import was executed). 6. Vary the IBM 3494 Tape Library online. You must vary the library online again to all systems in the SMSplex. Enter the following command: V SMS,LIB(libname),ONLINE
293
------------------------- TSO COMMAND PROCESSOR ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
---------------------
LISTING FROM CATALOG -- SYS1.VOLCAT.VGENERAL VOLUME-ENTRY-----------VJJH978 DATA-VOLUME LIBRARY----------------CASH02 RECORDING---------------EFMT2 STORAGE-GROUP----------(NULL) CHECKPOINT------------------Y SHELF-LOCATION--------------(NULL) OWNER------------------(NULL) CREATION-DATE------2008-02-27 COMPACTION---------------NONE EXPIRATION---------2008-05-05 WRITE-PROTECTED-------------N Figure 6-21 LISTC command for library entry
294
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
AUDIT can also be invoked as an ISMF command to audit all eligible volumes on the MOUNTABLE TAPE VOLUME LIST panel (volume list audit). ISMF is an important part of the audit scheme, because it allows you to start with an entire tape volume list. Then, using sorting and filtering capabilities, you reduce that list to a subset of volumes, for example, all volumes in a single Storage Group. At that point, you can use the AUDIT command to request an audit of all of the volumes in that subset list. You might want to use the following criteria when filtering a volume list: Fully or partially qualified VOLSER Fully or partially qualified Storage Group name Fully or partially qualified library name Other criteria that uses ISMF VIEW, SORT, and HIDE Before you schedule an audit request for a library, ensure that the library meets the following criteria: The library must be defined in the SMS configuration. The library must be online, operational, and not pending offline. The library must not be in manual mode, and the vision system must be operative. Enter the AUDIT line operator next to the row of the suspected VOLSER on the MOUNTABLE TAPE VOLUME LIST panel as shown in Figure 6-22.
Panel List Utilities Scroll Help -----------------------------------------------------------------------------MOUNTABLE TAPE VOLUME LIST Command ===> SCROLL ===> PAGE Entries 1-11 of 11 Enter Line Operators Below: Data Columns 3-7 of 20 LINE VOLUME USE VOLUME CHECKPT OPERATOR SERIAL ATTR ERROR STATUS VOLUME ---(1)---- -(2)-- --(3)-- -------(4)-------- --(5)-VOL01 PRIVATE I/O ERROR NO VOL02 SCRATCH UNEXPIRED SCRATCH --VOL101 SCRATCH NO ERROR NO VOL102 SCRATCH PASSWORD CONFLICT NO VOL103 SCRATCH SECURITY CONFLICT NO VOL104 PRIVATE SCRATCH IN USE --VOL105 PRIVATE VOLSER MISMATCH NO VOL106 SCRATCH CHCKPOINT CONFLICT YES VOL107 SCRATCH WRITE CONFLICT YES AUDIT VOL108 PRIVATE VOLUME MISPLACED NO VOL109 PRIVATE NO ERROR NO ---------- ------ ----------- BOTTOM OF DATA ----Figure 6-22 AUDIT line operator command from ISMF LIBRARY NAME --(6)--SHELF SHELF SHELF LIB1 LIB2 LIB2 LIB1 LIB2 LIB1 LIB1 LIB1 ---STORAGE GRP NAME --(7)--TAPE1 *SCRTCH* *SCRTCH* *SCRTCH* *SCRTCH* TAPE1 TAPE1 *SCRTCH* *SCRTCH* TAPE1 TAPE1 -------
The library vision system on a library verifies the external label on the volume at the physical location specified in the Library Manager database. The cartridge is neither mounted nor read. Only the external label is verified. The following actions are performed when an audit is requested against volumes in a library: 1. The system verifies that the tape volume has an entry in the Library Manager. 2. The vision system verifies that the tape volume is in its assigned location in the library.
295
3. The vision system verifies that the external cartridge label of the tape volume is present and readable. 4. The system verifies that the tape is accessible in the library. To perform a volume list audit from the MOUNTABLE TAPE VOLUME LIST panel, use the AUDIT command on the command line of the ISMF panel. To perform a library audit from the TAPE LIBRARY LIST panel, use the AUDIT line operator next to the tape library name. When you specify a library audit, all VOLSERs assigned to that library by the host are audited. Because a library audit and a volume list audit can take a long time to complete, a confirmation panel displays whenever you request these audits. This panel gives you the opportunity to confirm or cancel the audit request. To confirm, type Y and then press Enter. See Figure 6-23 for the CONFIRM AUDIT REQUEST panel. Note: In an environment with multiple systems at different DFSMS/MVS software levels, but that share a common TCDB, perform library audits on the system with the highest software level of DFSMS/MVS. A library audit on a lower DFSMS/MVS software level does not include higher release level volumes if they are media types unknown to the lower level software.
Panel Utilities Help ------------------------------------------------------------------------------CONFIRM AUDIT REQUEST Command ===> Number of Volumes to be Audited: 5
_ Perform Audit
Note:
If audit is performed, audit requests will be interspersed with other requests, with the audit request having low priority.
Use ENTER to Perform Operation; Use HELP Command for Help; Use END Command to Exit. Figure 6-23 CONFIRM AUDIT REQUEST panel
Note: The audit operation can be a lengthy process. During AUDIT execution, other activity in the library is not quiesced, and AUDIT requests are given a lower priority than other requested functions. It might take several hours for you to receive notification that a full library audit or an extensive volume list audit has completed. Therefore, when scheduling an audit, consider workload and time factors.
296
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
When the AUDIT is complete, a message indicating its success or failure is sent to your user ID. Refresh the list and check the VOLUME ERROR STATUS column for the following errors: EXTERNAL LABEL ERR INACCESSIBLE NOT IN LIBRARY NOT IN SLOT Refer to the help index for an explanation of the volume error states. During the audit process, if the vision system detects an unexpected volume in the specified cell address, it searches the Library Managers database. If there is an entry in the database for the unexpected VOLSER, the database is updated to reflect its current cell location. If the unexpected volume is identified as a misplaced volume, all hosts are notified, and the TCDB is updated. If the vision system detects an empty cell, you might need to run the inventory process.
//ALTERVOL JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //SYSIN DD * ALTER VGRKB01 VOLUMEENTRY LIBRARYNAME(ATLO1) Figure 6-24 TCDB alter volume entry
Figure 6-25 on page 298 shows an example of how to create a volume entry.
297
//ALTERVOL JOB ... //STEP01 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * CREATE VOLUMEENTRY (NAME(VUK0000) LIBRARYNAME(LIIBMETB) STORAGEGROUP(*SCRTCH*) USEATTRIBUTE(SCRATCH) MEDIATYPE(MEDIA5) RECORDING(EFMT1) COMPACTION(YES) NOWRITEPROTECT LOCATION(LIBRARY))
Figure 6-25 TCDB creating a volume entry example for a scratch volume
Refer to z/OS DFSMS Access Method Services for Catalogs, SC26-7394, for the syntax of the IDCAMS command.
Figure 6-26 Sample DFSMSrmm VERIFY with VOLCAT (prior to Release 2.10)
Figure 6-27 Sample DFSMSrmm VERIFY with SMSTAPE (Release 2.10 and later)
298
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Refer to DFSMSrmm Primer, SG24-5983, and z/OS DFSMSrmm Implementation and Customization Guide, SC26-7405. For a vendor tape management system, use the functions that are provided with the system-managed tape support.
299
Writing documentation
Reviewing all of your existing documentation to implement the changes for the new environment is extremely important. Make sure that you take this opportunity to ensure completeness of the documentation. You need to have the documentation (handling, explanations, short introduction, and so forth) ready at the start of your production period.
300
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 7.
301
No
Yes
Yes
Yes 1
Yes
Yes
Yes
No
No
No
No
Yes
No 2
No
No
No
No
Yes
1. With restrictions, see 7.1.1, Other System z platforms and VTS support on page 302. 2. Support will be available post GA of the TS1130.
302
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
303
The default scratch pool is defined in the Library Control Device Driver (LCDD) with an LCDD control statement or in Tape Library Support (TLS) in the define library procedure. If there is no scratch category specified, z/VSE uses scratch category X00A0.
304
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
In this section, we also provide information about third-party vendor tape management systems. We include test cases for verifying your installation and considerations for data migration. Additionally, we discuss information about drive allocation and how hardware errors are reported.
305
Mount Requester
1
RMSMASTR
5,6
2,3,4
z/VM
FICON/ESCON Channels
Tape Drives or VTS
Library Manager
LMDB
The process shown in Figure 7-1 (the numbers correspond to the numbers in Figure 7-1) is: 1. Request for library function: A user sends a request (such as mount a volume) for a library function to RMSMASTR. 2. Tape drive assigned: RMSMASTR uses the 3490 device specified on the request or attempts to find an available device if no device is specified. If a specific device is requested and that device is unavailable, the request fails. If a specific device is not requested and no available device can be found, the request fails. 3. Library command issued: If the specified device is available (or if a device is free for a non-device-specific request), the device is attached to RMSMASTR. The library control command is issued to the Library Manager through the device path. 4. Status returned: A status is returned to RMSMASTR when the command completes. 5. Device attached: If a free device is used and no mount request is issued, the device is detached. If it is a mount request, the device is detached from RMSMASTR with the LEAVE option to avoid rewind and unload. It is then attached to the requester. 6. Data transfer: The requester of the tape library device does its own data transfer. RMSMASTR is not involved. Access to the IBM 3494 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
306
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
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, you can add tape management system-type functions by tailoring installation-wide exits.
307
keeps an inventory of volumes and their location (for example, the library name or off-site location where a volume is stored).
USER RMSMASTR password 32M 32M BG ACCOUNT 12345678 MACHINE XA STDEVOPT LIBRARY CTL IPL CMS IUCV ALLOW IUCV *IDENT RESANY GLOBAL REVOKE OPTION MAXCONN 400 QUICKDSP ACCT SHARE RELATIVE 1300 CONSOLE 009 3215 T DFSMS SPOOL 00C 2540 READER * SPOOL 00D 2540 PUNCH A SPOOL 00E 1403 A MDISK 0191 3390 scyl 001 RMSDISK MR LINK DFSMS 01B5 0192 RR LINK MAINT 0190 0190 RR LINK MAINT 019E 019E RR
The PROFILE EXEC for the RMS service machine is placed on its A disk during the installation of DFSMS/VM. In the CP directory entry, modify the device type, starting cylinder, and device ID of the disk.
308
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
DGTVCNTL DATA
The DGTVCNTL DATA file is where you define: DFSMS RMS machine name IBM 3494 Tape Library name and LIBRARY-ID Name of the Advanced Program-to-Program Communication (APPC) resource to use Name of the DFSMS work directory Default scratch pool Severity level of messages written to the RMS console Severity level of messages written to the RMS machine log file Whether library requests are queued in the Library Manager Whether write protection is enabled when a tape is mounted As shown in the following example, the DFSMS_MASTER_VM parameter defines the name of the RMS machine. The name is one to eight characters long and must be unique. The default name provided is RMSMASTR. DFSMS_MASTER_VM RMSMASTR
The RM_AUTO_LIBRARY parameter defines the name and sequence number (the five digits of the IBM 3494 Tape Librarys serial number) of every IBM 3494 Tape Library that you use. In the following example, the friendly name of the IBM 3494 Tape Library is MARVIN, the library sequence number is 12345, and messages relating to RMS processing will be sent to the user ID OPER: RM_AUTO_LIBRARY MARVIN 12345 OPER To find the library sequence number on the Library Manager, refer to 9.4.1, Discovering the LIBRARY-ID given during the teach process on page 402. As shown in the following example, the GLOBAL_RESOURCE_ID parameter defines the name of the global APPC resource by which DFSMS/VM is to be known. The name must be unique. If it is not, DFSMS/VM does not start. There is no default, but the sample name used is DFSMS001. GLOBAL_RESOURCE_ID DFSMS001 * Global APPC Resource
The WORK_DIRECTORY parameter, shown in the following example, defines the name of the work directory that DFSMS will use. The first five characters must be DFSMS. The file pool must be enrolled and running before DFSMS can start. WORK_DIRECTORY VMSYSU:DFSMS.WORK The RM_DEFAULT_SCRATCH_POOL parameter, shown in the following example, is optional. It defines the default scratch pool to use for the scratch category. RM_DEFAULT_SCRATCH_POOL SCRATCH0 The RM_ACCOUNTING parameter, shown in the following example, is optional. It defines whether RMS provides accounting information. The default is that accounting is turned off (N). RM_ACCOUNTING N
You can find more information about accounting in the DFSMS/VM Function Level 221 Removable Media Services Users Guide and Reference, SC35-0141.
309
The RM_LOG_TO_CONSOLE parameter defines the severity of the messages to send to the RMS machine. The message severity levels are: 0: No messages are logged. 1: Severe messages are logged. 2: Severe and error messages are logged. 3: Severe, error, and warning messages are logged. 4: Severe, error, warning, and informational messages are logged. RM_LOG_TO_CONSOLE and RM_LOG_TO_FILE are paired parameters. You cannot code 0 for both. We recommend that you code 4 at least one time to aid in problem determination. The following example shows a sample RM_LOG_TO_CONSOLE parameter: RM_LOG_TO_CONSOLE 3 * Messages logged to console
The RM_LOG_TO_FILE parameter defines the severity of messages to write to the RMS machines log file and the name of the directory that will contain the log file. Because DFSMS holds this file open, you use XEDIT with the NOLOCK option in order to browse it. The message severity levels are the same as they are for the RM_LOG_TO_CONSOLE parameter. Here is a sample of an RM_LOG_TO_FILE parameter: RM_LOG_TO_FILE 4 DFSMS.WORK * Messages logged to file
The RM_REQUEST_QUEUING parameter defines whether requests sent to the Library Manager are queued if the IBM 3494 Tape Library is in pause mode. Y is the default and the recommended value as shown in the following example: RM_REQUEST_QUEUING Y
The RM_WRITE_PROTECT parameter defines the default write protect mount if it is not specified on the mount request. Acceptable values are READONLY and READWRITE. The default and recommended value is READONLY, which sets logical write protection on in the tape control unit. See the following example: RM_WRITE_PROTECT READONLY
RMCONFIG DATA
RMS maintains data about the tape drive configuration in its internal storage by rereading the RMCONFIG DATA file. Figure 7-3 on page 311 shows an example of an RMSCONFIG DATA file.
310
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+--------------------------------------------------------------- DFSMS RM MASTER CONFIGURATION FILE +---------------------------------------------------------------================================================================= Required file name, type, and location: RMCONFIG DATA in VMSYS:DFSMS.CONTROL. ================================================================= Required record format: Fixed ================================================================= Maximum logical record length: 255 ================================================================= Comments: Comments begin with an asterisk (*). Comments do not span lines. That is, a comment is considered to be completed when the end of line (logical record length) is reached. To continue a comment on the next line, start the next line with the comment indicator. Comments can start anywhere on the line. However, anything following the comment indicator is considered to be a comment. ================================================================= Blank Lines: Blank lines are ignored. ================================================================= Formats of entries: Each non-comment entry in this file is a single device address, or a range of addresses. If a range, the beginning and ending addresses of the range must be separated by a dash (-), and optionally by one or more spaces. Ranges can not span lines. The ending address of the range must be greater than the beginning address. ================================================================= * Sample entry for a single device * Sample entry for a range of devices * Live entry for library devices
RMBnnnnn DATA
DFSMS/VM can use RMS bulk processing files to define the category in which to place volumes when they are entered into the IBM 3494 Tape Library. There is one bulk processing file for every IBM 3494 Tape Library known to the RMS machine. The files are used for either automatic-insert or on-request bulk processing. An automatic-insert file name is of the form RMBnnnnn DATA, where nnnnn is a library sequence number that is defined in the RM_AUTO_LIBRARY parameter. The file is located in VMSYSU:DFSMS.WORK or a directory that is defined by the RM_WORK_DIRECTORY parameter. Notification of insert processing is sent to the user ID specified in RM_AUTO_LIBRARY.
311
An on-request bulk processing file can have any name and be in any directory accessible to RMSMASTR and the requesting user. On-request bulk processing is initiated through either the DFSMS SET VOLCAT BULK command or a CSL call to RMS. Figure 7-4 shows an example of an RMS bulk configuration file when the host is notified that cartridges are in the Library Manager INSERT category. RMS sets the cartridges defined in RMBnnnnn to the defined category. Volumes that are not defined in the RMBnnnnn DATA file are ignored, and insert processing can be completed on other hosts. In this example, we set cartridges with volume serial numbers (VOLSERs) in ranges 000001 through 000849 and VM0000 through VM0099 to the VOLUME SPECIFIC or private category. We also set cartridges with VOLSERS in the UN0000 to UN0099 range to the EJECT category, which enables you to stop cartridges from being entered into the IBM 3494 Tape Library. We recommend that you assign all volumes to the VOLUME SPECIFIC category. Then, the tape management system can assign a cartridges true Library Manager category.
RMS does not keep a record of the volumes in the IBM 3494 Tape Library. RMS is provided as an interface to an IBM 3494 Tape Library and not for the management of volumes within a library. The Library Manager stores the information for the volumes in the IBM 3494 Tape Library. A tape management system provides management of volumes for VM/ESA users, keeping an inventory of volumes and their location (for example, the library name or off-site location in which a volume is stored).
RMS security
RMS functions can be protected by using RACF/VM. Simply set up RMS so that it uses the RACROUTE interface. You authorize users through the use of the STGADMIN or a user-defined group.
In the last two cases, automatic insert processing is totally independent of the actual command issued, but the command must be valid. 312
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Automatic insert processing uses a different tape device address, which RMSMASTR selects. If an unused tape device address is not available when insert processing starts, the process does not continue. Because insert processing most likely starts 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, you 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 RMBnnnnn DATA. You might want to disable automatic insert processing on a particular VM/ESA system when you share your IBM 3494 Tape Library with multiple VM/ESA systems. It is impossible to create an SMSplex between a VM/ESA system and a z/OS system. RMS does not provide tape management functions. Several software vendor products provide VM tape management functions. However, 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. You can find additional information in Lights Out! Advanced Tape Automation Using VM/ESA, GG24-4347.
313
processing, run the tape management system procedure to synchronize its database with the Library Manager database.
Return to scratch
The Library Manager category indicates whether a cartridge is private or scratch. The Library Manager automatically updates a cartridge to a private category when it is used. It is the responsibility of the tape management system to instruct the Library Manager to change a cartridge category back to scratch. This instruction is normally carried out as part of the tape management system return-to-scratch processing, which is invoked with either an operator command or a batch job.
N/A
Operator commands might not exist for your tape management system. N/A N/A N/A N/A N/A N/A
314
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
315
IBM TotalStorage Enterprise Tape System 3590 Introduction and Planning Guide, GA32-0329 IBM TotalStorage 3592 Tape System Introduction and Planning Guide, GA32-0464 IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448
316
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
VSE/ESA
TMS
LCABAT Batch Pgm. LIBSERV ARs
LIBSERV JCL
LIBSERV API
XPCC
VSE/ESA Console
MSG Operator Command
I/O
ESCON/FICON Channel
Tape drives
Library Manager
There are five interfaces to the LCDD: LIBSERV attention routines (ARs) LIBSERV JCL statements LBSERV application programming interface (API) MSG operator command Batch program LCABAT The LCDD interfaces enable mounting 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, disposition of inserted volumes is handled by the tape management system product through the LBSERV API or by LCABAT batch jobs that specify a list of volumes. You can handle ejecting or changing the category of cartridges on an individual volume basis or by specifying the file name of a list of volumes to process. Query functions return status information about IBM 3494 tape units, 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
317
recovery purposes, because VSE/ESA does not have a permanent tape inventory dataset like DFSMS/MVS and BTLS systems have. When jobs running on VSE/ESA use the 3494, typically the tape management system product gets control at dataset OPEN time and requests the tape mount through the LBSERV API. A tape management system might help this operation, but IBM does not provide a tape management system for VSE/ESA. Ask the software vendors, who offer tape management systems, which systems support VSE/ESA products. Note: With VSE/ESA 2.7 and APAR DY45905, an LCDD enhancement is provided. It introduces the support and the usage of more than one subsystem with non-unique subsystem serial numbers.
7.4.5 Considerations
Consider these points when you use the LCDD for VSE/ESA: LCDD for VSE/ESA is included in the VSE base code. One of the LAN adapter features is required for the IBM 3494. The choice is Ethernet (FC5220) or token ring (FC5219). LCDD requires the following network hardware (or equivalent) and software to attach a native VSE/ESA system to a 3494: ACF/VTAM IBM 3174 establishment controller IBM 3745, 3720, or 3725 communication controller IBM 9221 with a token-ring communications subsystem
Volumes can be mounted in any of the scratch categories. All of the 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 systems volumes. IBM does not provide a tape management system for VSE/ESA.
318
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Any other vendors tape management system must be able to use the LBSERV API of the LCDD. Do not use the batch program interface, LCABAT, to mount a volume.
For native support under VSE, select TLS. Note: There is a skeleton in ICCF LIB59 to tailor and submit.
319
ACCESS S=IJSYSRS.SYSLIB CATALOG TLSDEF.PROC REPLACE=YES LIBRARY_ID TAPELIB1 SCRDEF=SCRATCH00 INSERT=SCRATCH00 LIBRARY_ID TAPELIB2 * SECOND LIB DEF DEVICE_LIST TAPELIB1 460:463 * DRIVES 460 TO 463 DEVICE_LIST TAPELIB2 580:582 * DRIVES 580 TO 582 QUERY_INV_LISTS LIB=TLSINV * MASTER INVENTORY FILES MANAGE_INV_LISTS LIB=TLSMAN * MANAGE FROM MASTER /+
LIBSERV
The communication from the host to the Library Manager is through the LIBSERV JCL or the macro interface. Example 7-2 shows a sample job using LIBSERV to mount volume 123456 for write on device address 480 and, in a second step, to release the drive again.
Example 7-2 Sample LIBSERV JCL $$ JOB JNM=BACKUP,CLASS=0,DISP=D $$ JOB BACKUP // ASSGN SYS005,480 // LIBSERV MOUNT,UNIT=480,VOL=123456/W // EXEC LIBR BACKUP S=IJSYSRS.SYSLIB TAPE=480 /* // LIBSERV RELEASE,UNIT=480 /& $$ EOJ
LIBSERV provides the following functions: Query all libraries for a volume LIBSERV AQUERY,VOL=123456 Mount from category LIBSERV CMOUNT,UNIT=480,SRCCAT=SCRATCH01 Query count of volumes LIBSERV CQUERY,LIB=TAPELIB1,SRCCAT=SCRATCH01 Query device LIBSERV DQUERY,UNIT=480 Query inventory of library LIBSERV IQUERY,LIB=TAPELIB1,SRCCAT=SCRATCH01 Query library LIBSERV LQUERY,LIB=TAPELIB1 Manage inventory LIBSERV MINVENT,MEMNAME=ALL,TGTCAT=SCRATCH01 Change category LIBSERV SETVCAT,VOL=123456,TGTCAT=SCRATCH01 Query library for a volume LIBSERV SQUERY,VOL=123456,LIB=TAPELIB1 For additional information, refer to the z/VSE System Administration Guide, SC33-8224, and the z/VSE System Macros Reference, SC33-8230.
320
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Return to scratch
The Library Manager category indicates whether a cartridge is private or scratch. The Library Manager automatically updates a cartridge to a private category when it is used. It is the responsibility of the tape management system to instruct the Library Manager to change a cartridge category back to scratch. This instruction is normally carried out as part of the tape management system return to scratch processing, which is invoked with either an operator command or a batch job.
321
Table 7-5 VSE/ESA testing procedures Task Check that automatic insert processing works as expected. Check that the Library Manager category and tape management system catalog synchronize correctly. Check the tape management system vaulting procedures. They need to eject the cartridges from the library. Check that the tape management system operator commands work as expected with the library. Allocate a standard dataset in the IBM 3494. Allocate a multivolume dataset in the IBM 3494. Allocate several datasets as multifile on one cartridge in the 3494. Modify a previously written dataset. Initialize a new cartridge (if using new media). Re-initialize an already initialized cartridge (if the drive model changed). Comment N/A Check by using either a command or a batch job. N/A Operator commands might not exist for your tape management system. N/A N/A N/A N/A N/A N/A
Noneb
a. See section 7.5, z/VSE native environments with Tape Library Support on page 319. b. See section 7.6.4, VSE/ESA and z/VSE under z/VM using Dynam/T on page 324.
323
324
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
z/VSE
Library DYNAM/T Control VSE Tape I/O
RMSMASTR
z/VM
FICON/ESCON Channels
Tape Drives
Library Manager
LMDB
325
RMSMASTR handles all requests to the Library Manager. z/VSE uses tape drives inside the library in the same way that it uses drives outside of the the library. This operation is the same operation in z/VSE native support. To enable z/VSE guest support on z/VM, PTFs to both z/VSE and z/VM provide an API in z/VSE and the VGS. Note: The VGS provides the only way to communicate between RMSMASTR and the VSE/ESA guest machine. There is no direct interface from the VGS to the IBM 3494 Tape Library and the tape drive inside the library. Figure 7-7 shows the z/VSE guest support for the IBM 3494 Tape Library. Although we show only a single z/VSE guest machine here, multiple z/VSE guests can share one VGS machine.
z/VSE
Library Control Tape I/O AP I APPC/VM VSE Guest Server (VGS) Standard RMS Interface RMSMASTR
VM/ESA
FICON/ESCON Channels
Library Manager
LMDB
Figure 7-7 z/VSE as a z/VM guest using the VSE Guest Server
The VGS supports a full set of library functions, including inventory functions, which entail reading and updating inventory lists that reside on z/VSE as librarian members. Because the interactions required for processing the inventory functions are elaborate and can run for a long time, a secondary VGS 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 7-8 on page 327 shows the flow of an inventory request as follows (the numbers correspond to the numbers in Figure 7-8 on page 327): 1. The inventory request is sent using 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 that the librarian server on VSE/ESA 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 and result for changing volume category) to the inventory support server.
326
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
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.
327
Query a volume, checking all attached libraries Query a category count Query status of the IBM 3494 Tape Library Query status of a drive Mount a volume Mount from a category Release a drive Cancel a mount Eject a volume Set a volume category Query the inventory Manage the inventory Note: The VGS uses the inventory support server as a secondary VGS when processing the above query and managing inventory requests. An interface for explicit demount is intentionally not provided. The IBM 3494 Tape Library automatically queues demount operations at rewind and unload time. The VGS is given privilege class B to perform these functions and to attach and detach tape drives to and from VSE/ESA.
7.7.4 Considerations
Consider these points when you introduce z/VSE as a guest under VM: Multiple VSE/ESA guests can share one VGS machine. A VGS machine can manage more than one IBM 3494 Tape Library. VSE/ESA guests have access to the same set of scratch pools that RMS uses. VSE/ESA can eject volumes from the library by direct command and can change the category of volumes in the insert category. However, a z/VSE guest lacks the capability to be automatically notified that new volumes are inserted. Also, there is no IBM-provided mechanism to check whether new volumes are inserted.
328
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM-supplied tape management system products are not available for VSE/ESA. z/VSE with the LCDD can run as a guest of VM/ESA. DFSMS/VM is not required in this environment.
329
330
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 8.
331
332
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
In the IBM 3494 Tape Library, the communication between the tape drives and the attached servers goes over SCSI or FC (the IBM 3592 only supports FC). On the other side, the communication between the servers and the library goes over LAN (Ethernet or token-ring) or over serial connections (RS-232) (refer to Figure 8-1). The current state of the art is using FC connections to attach the tape drives and the servers while using LAN (Ethernet) connections between the servers and the library (as illustrated in Figure 8-1).
Server
Server
Server
mtlib
Library Commands (LAN Attachment) Data Path SCSI/Fibre Channel
mtlib
Data Path SCSI/Fibre Channel
mtlib
Data Path SCSI/Fibre Channel
Cartridges
For detailed discussion when installing the IBM 3494 in a SAN environment, as well as additional detailed considerations about FC host bus adapter (HBA) installation, refer to the following books: Implementing IBM Tape in Linux and Windows, SG24-6268 Implementing IBM Tape with UNIX Systems, SG24-6502 The device drivers allow the operating system and the application software to manage the tape devices and the library medium changers. The tape devices and medium changers are managed using a special device file name used to address each tape operation (mount, demount, write, and read). This special device file name is specific for each Open Systems platform. Table 8-1 on page 344 shows the most commonly used names for AIX, Sun Solaris, and HP-UX.
333
Example 8-1 Special device file names used with UNIX operating systems AIX Medium changer Tape device smc[0-255] rmt[0-255] rmt[0-255].1a Solaris [0-255]smc [0-255]st [0-255]stbb [0-255]stcc [0-255]stnd [0-255]stbnb,d [0-255]stcbb,c [0-255]stcnc,d [0-255]stcbnb,c,d HP-UX [0-255]chng [0-255]m [0-255]mbb [0-255]mnd [0-255]mnbb,d [tTGTdLUNe]BEST [tTGTdLUNe ]BESTbb [tTGTdLUNe ]BESTnd [tTGTdLUNe ]BESTnbb,d
a. Adding .1 to the device name means that it is a No Rewind on Close device. Some backup applications write a file mark on the volume at the end of each backup. When the next backup occurs, the backup application appends data to the volume based on the position of the file mark. If a device automatically rewinds the tape, the file mark position is lost and the next backup overwrites the data. This option is used by some application software, such as Legato NetWorker. b. A b stands for Berkeley Software Distribution (BSD) compatibility. The BSD device special file modifies close behavior for non-rewind devices. If the device is opened for no rewind on close, in non-BSD mode, and if the last command before closing the device was a read, the tape is positioned after the file mark immediately following the last block read. If the device is opened for no rewind on close, in BSD mode, and if the last command before closing the device was a read, the tape is left positioned exactly where it was following the last block read. If the device is opened for rewind on close, the BSD mode is irrelevant. c. A c stands for Compression: the compression device special file determines whether the tape device will use built-in hardware compression while storing data on the tape. d. An n stands for no rewind on close: the no rewind on close device special file does not rewind the tape during a close operation. Otherwise, the tape is rewound when the device is closed. e. The TGT is the SCSI target ID, and LUN is the Logical Unit Number associated with the device.
In the following sections, we give detailed examples of installing the drivers in AIX, SUN Solaris, and HP-UX environments.
334
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
2. Next, you also need to provide the library LAN information (IP address of the library). Go to Commands LAN Options LM LAN information and type the Library IP Address (see Figure 8-3), which you will need later. Click OK.
Library IP Address
After physically installing and connecting the tape drives, the library (FC cables, LAN connections, and so forth), and the servers, the next step is the installation of the device drivers.
335
The following sections provide examples of how to install the drivers for the AIX, SUN Solaris, and HP-UX environments.
8.4 AIX
In this section, we discuss how to install the drivers when you work with AIX servers. The first step is to download the latest tape device driver (called Atape) and the latest library device driver (Automated Tape Library Device Driver (atldd)) from the FTP server: ftp://ftp.software.ibm.com/storage/devdrvr/AIX/
2. If you have downloaded the driver to your local system, use this command: installp -acXd /directory/filename Atape.driver For other methods of installing, refer to IBM TotalStorage Tape Device Drivers Installation and Users Guide, GC35-0154. 3. Assuming that you have downloaded the file Atape.8.1.9.0 to the directory /home/itso/, use this command string: installp -acXd /home/itso/Atape.8.1.9.0 Atape.driver This command installs and commits the Atape driver in your system. Example 8-3 is an example of the installp command output.
Example 8-3 AIX Atape installation output # installp -acXd /tmp/Atape.8.4.1.0.bin Atape.driver +-----------------------------------------------------------------------------+ Pre-installation Verification... +-----------------------------------------------------------------------------+ Verifying selections...done Verifying requisites...done Results... SUCCESSES --------Filesets listed in this section passed pre-installation verification and will be installed. Selected Filesets
336
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
FILESET STATISTICS -----------------1 Selected to be installed, of which: 1 Passed pre-installation verification ---1 Total to be installed 0503-409 installp: bosboot verification starting... installp: bosboot verification completed. +-----------------------------------------------------------------------------+ Installing Software... +-----------------------------------------------------------------------------+ installp: APPLYING software for: Atape.driver 8.4.1.0
. . . . . << Copyright notice for Atape >> . . . . . . . IBM AIX Enhanced Tape and Medium Changer Device Driver (C) COPYRIGHT International Business Machines Corp. 1993 1997 All Rights Reserved Licensed Materials - Property of IBM US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. . . . . . << End of copyright notice for Atape >>. . . . Checking for existing Atape devices... Installing AIX Version 5.2 Atape.driver... Adding device prototype... Adding odm and smit entries... Adding catalogs... Adding trace template... Adding error template... 5 entries added. 0 entries deleted. 0 entries updated. Adding utility programs... Finished processing all filesets. (Total time:
11 secs).
0503-409 installp: bosboot verification starting... installp: bosboot verification completed. 0503-408 installp: bosboot process starting... bosboot: Boot image is 18316 512 byte blocks. 0503-292 This update will not fully take effect until after a system reboot. * * * System system and to A T T E N T I O N * * * boot image has been updated. You should reboot the as soon as possible to properly integrate the changes avoid disruption of current functionality.
337
installp: bosboot process completed. +-----------------------------------------------------------------------------+ Summaries: +-----------------------------------------------------------------------------+ Installation Summary -------------------Name Level Part Event Result ------------------------------------------------------------------------------Atape.driver 10.3.9.0 USR APPLY SUCCESS
338
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 8-4 shows that scsi_id is the port ID of the SAN switch, because this tape drive is a FC-attached tape drive. Also, ww_name shows the worldwide name (WWN) of the FC tape drive.
Example 8-4 The lscfg command output of the 3592 drive lscfg -vl rmt3 rmt3
P1-I1/Q1-W5005076300410811-L0
Manufacturer................IBM Machine Type and Model......03592E05 Serial Number...............000001300280 Device Specific.(FW)........04B8 Loadable Microcode Level....A1700D5C
Example 8-4 (lscfg) shows: The serial number and firmware level of the drive The number 3592E05 under Machine Type and Model indicates that this is a 3592 drive.
339
From the SMIT menu, select Devices Tape Drive Change/Show Characteristics of a Tape Drive. Select the device(rmtx) that you want to change from the list, which displays output similar to Example 8-5.
Example 8-5 SMIT characteristics of a 3592 tape drive Change / Show Characteristics of a Tape Drive Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] rmt3 3592 fcp IBM 3592 Tape Drive (> Available 20-58-01-PRI fscsi0 2 0x10db1 0x0 0x5005076300410811 [] yes + [0] +# yes + yes + no + [500] +# SCSI + no + no +
Tape Drive Tape Drive type Tape Drive interface Description Status Location Parent adapter Connection address SCSI ID Logical Unit ID World Wide Name New Logical Name Enable Alternate Pathing Support Block Size (0=Variable Length) Use DEVICE BUFFERS during writes Use Hardware Compression on Tape Activate volume information logging Maximum size of log file (in # of entries) Backward Space/Forward Space Record Mode Use Immediate Bit in Rewind Commands Trailer Label Processing
Change any updateable device options required and press Enter. Check for the output message rmtx Changed. The default for hardware compression on the tape is yes for every Linear Tape-Open (LTO) Ultrium and 3592 device, which is the normal recommended setting for performance reasons (however, this setting might vary with particular applications). Blocksize=0 means that the device uses variable block size; certain application software might override this value.
340
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Automatic failover The automatic failover support provides error recovery on an alternate path when a
permanent error occurs on one path. This error recovery is transparent to the application that is running. For example, consider a simple multipath connection consisting of two HBAs in an AIX host, connected over a SAN to a 3590 or 3592 drive. The IBM TS1120 has two fibre ports available on the back of each drive for increased redundancy. The IBM TS1120 can achieve complete redundancy of the SAN components (see Figure 8-5). This simple configuration provides two physical paths to the same drive providing redundancy if one path from an HBA to the drive fails. When you boot the AIX server or run cfgmgr, each HBA detects the drive and two logical devices will be configured (for example, rmt0 and rmt1). Each logical device is a physical path to the one tape drive. An application can open and use only one logical device at a time, either rmt0 or rmt1. When the alternate pathing support is enabled on both rmt0 and rmt1, the device driver configures them internally as a single device with multiple paths. The application can still open and use only one logical device at a time (either rmt0 or rmt1). If an application opens rmt0 and a permanent path error occurs, the driver initiates failover error recovery automatically on the alternate path (rmt1), and the current operations continue on the alternate path without interrupting the application. Without the Atape alternate pathing support, if an application opens rmt0 and a permanent path error occurs (for example, because of an HBA or cable failure), the application fails. It is possible to initiate manual failover by changing the device path to the alternate path (rmt1), but this change is a manual operation and you must resubmit the last failing job. Sometimes, manual failover can require operator intervention to reset the drive, because a SCSI reservation can still exist on the failing HBA path.
Server
Application
Device Driver
rmt0
FC Adapter
rmt1
Dynamic load balancing The dynamic load balancing support optimizes resources for devices that have physical
connections to multiple HBAs in the same machine. When an application or job opens a device that has multiple HBA paths configured, the device driver determines which path has the HBA with the lowest usage and assigns that path to the application or job. When another
341
application or job opens a different device with multiple HBA paths, the device driver again determines the path with the lowest HBA usage and assigns that path to the second application or job. The device driver will update the usage on the HBA assigned to the application when the device is closed. Dynamic load balancing will use all HBAs whenever possible and balance the load among them to optimize the resources in the machine. For example (refer to Figure 8-6), consider a server with two HBAs, HBA1 and HBA2, and with four tape drives attached. Each tape drive is connected to both HBA1 and HBA2. The server sees rmt0 to rmt3 through HBA1 and rmt4 to rmt7 through HBA2. The device files rmt0 and rmt4 point to the same physical tape drive (similarly, for rmt1 and rmt5, rmt2 and rmt6, rmt3 and rmt7). Initially, there are no tape drives in use. The application is assigned the first four tape drives (rmt0 - rmt3). When the first job (Job 1) opens a tape drive (rmt0), the device driver will use HBA1. When the application starts a second job, which opens rmt1, the device driver will use HBA2. A third job is assigned to HBA1 (with rmt2), and a fourth job is assigned to HBA2 (with rmt7). There are two jobs using HBA1 and two jobs using HBA2. If the first job finishes and closes the device, there is now one job using HBA1, and two jobs using HBA2. When the next job opens a tape drive (rmt0), it is assigned to HBA1, so again there are two jobs using HBA1 and two jobs using HBA2. Likewise, if the second job finishes and closes the device, HBA2 has one job using it, and the next job that opens a tape drive (rmt1) is assigned to HBA2. The dynamic load balancing support is independent from the automatic failover support. Regardless of the path assigned initially for load balancing, if that path fails, the automatic failover support will attempt recovery on the next available path.
Application
Job 1 Job 2 Job 3
rmt2
Job 4
rmt3
rmt0
rmt1
Device Driver
FC Adapter
Note that dynamic load balancing works on opened tape drives and not on the load of the tape drive. The device driver tries to balance the usage of drives opened over several HBAs, but it is not possible to balance the workload or throughput of the HBAs. Therefore, the throughput of one HBA can be significantly different than the throughput of the other HBAs. Also, if a failover happens, all open devices are switched to the next available HBA regardless of the dynamic load balancing. The next time that the driver opens the devices, it will then try to balance, because failover is more critical than load balancing, and failover must be resolved quickly to avoid application impacts.
342
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
F4=List F8=Image
You can also enable or disable the support using the chdev command: chdev -l device_name -a alt_pathing=yes Example 8-7 shows you output of the chdev command.
Example 8-7 Enable alternate pathing support on command line chdev -l rmt0 -a alt_pathing=yes rmt0 changed
When the device driver configures a logical device with alternate pathing support enabled, the first device configured always becomes the primary path. On FC-attached devices, -PRI is appended to the location field of the device. When a second logical device is configured with alternate pathing support enabled for the same physical device, it configures as an alternate path. The device driver supports up to 16 physical paths for a single device. On FC-attached devices, -ALT is appended to the location field of the device. A third logical device is also configured as an alternate path with -ALT appended, and so on. For example, if an rmt0 is configured first, then an rmt1, and an rmt2, the lsdev -Cc tape command output will look as shown in Example 8-8 (assuming the function has been enabled for each rmt device).
343
Example 8-8 Alternate data path: Configured FC tape devices # lsdev -Cc tape rmt0 Available 30-68-01-PRI IBM 3592 (FCP) rmt1 Available 20-58-01-ALT IBM 3592 (FCP) rmt2 Available 10-70-01-ALT IBM 3592 (FCP)
You can see by the location code which HBA connection is associated with the primary and alternate paths. In Example 8-8, rmt0 is the primary device, which is connected to the HBA in location 30-68-01. You also see that the three HBAs are on three separate Peripheral Component Interconnect (PCI) buses to distribute the I/O workload among them, therefore improving the performance. Different types of PCI buses have different performance specifications (see Table 8-1). It does make sense to put one 2 Gbps HBA in a 32/33 PCI bus; however, it does not make sense to put more than one 2 Gbps HBA in a 64/33 PCI bus, because the throughput will be saturated.
Table 8-1 PCI bus performance specifications Width 32 bit 64 bit 64 bit 64 bit Speed 33 MHz 33 MHz 64 MHz 132 MHz Bandwidth 132 MB/s 264 MB/s 512 MB/s 1056 MB/s
The labeling of a logical device as either a primary or alternate path is for information only in order to: Be able to identify the actual number of physical devices configured on the system and the specific logical devices associated with them. There will be only one logical device labeled as the primary path for each physical device. However, there might be many (multiple) logical devices labeled as alternate paths. Provide information about which logical devices configured on the system have alternate pathing support enabled. You can display the primary and alternate path configuration for all devices with the lsdev command. There might be two or more logical devices configured for a single physical device, but the first device configured is identified as the primary device. All other logical devices configured after the first device are identified as alternate devices. To see this, run the lsdev -Cc tape command and look at the location field in the data. By running lsdev -Cc tape | grep P, for example, you can easily determine how many physical devices are configured with alternate pathing support.
344
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
After the software is installed, you must edit the /etc/ibmatl.conf file to define the tape libraries to the lmcpd. The format of the file is: Symbolic name Connection type Identifier Alternate LAN Connection Symbolic name Connection type Identifier Used to identify each library. Used to define the IP address of the Library Manager. Used to specify a name by which the Library Manager identifies the host machine. We suggest that you use the same identifier name that you used on the Library Manager (the host alias as illustrated in Figure 8-2 on page 335).
Alternate LAN Connection Used to specify an alternate IP address for a 3494 High Availability LAN-attached configuration. The following example shows how to define the library name: lib3494 9.xxx.xx.177 itsolib 9.xxx.xx.178 This stanza defines the lib3494 High Availability library connected through TCP/IP to the workstation. The IP addresses of the dual Library Managers are 9.xxx.xx.177 and 9.xxx.xx.178 (see discussion related to Figure 8-3 on page 335).
345
mtlib -l /dev/lmcp0 -C -VAIX001 -t1000 mtlib -l /dev/lmcp0 -m -f /dev/rmt0 -VAIX001 mtlib -l /dev/lmcp0 -m -f /dev/rmt1 -VAIX002 tar -cvf /dev/rmt0 ./ tar -cvf /dev/rmt1 ./ mtlib -l /dev/lmcp0 -d -f /dev/rmt0 -VAIX001 mtlib -l /dev/lmcp0 -d -f /dev/rmt1 -VAIX002 mtlib -l /dev/lmcp0 -C -VAIX001 -tFF10 mtlib -l /dev/lmcp0 -qL mtlib -l /dev/lmcp0 -m -f /dev/rmt0 -VAIX002 tar -tvf /dev/rmt1 mtlib -l /dev/lmcp0 -d -f /dev/rmt0 -VAIX002
The following list explains the commands shown in Figure 8-7: mtlib -l /dev/lmcp0 -C -VAIX001 -t1000 This command changes the cartridge AIX001 Library Manager category to x'1000', which is not reserved by any other hosts or for any Library Manager function. mtlib -l /dev/lmcp0 -m -f /dev/rmt0 -VAIX001 This command mounts cartridge AIX001 onto device rmt0. mtlib -l /dev/lmcp0 -m -f /dev/rmt1 -VAIX002 This command mounts cartridge AIX002 onto device rmt1. tar -cvf /dev/rmt0 * tar -cvf /dev/rmt0 This is the tar command used to perform normal backup. You normally use this command to back up the whole file system from which you run the MTLIB command. mtlib -l /dev/lmcp0 -d -f /dev/rmt0 -VAIX001 This command demounts cartridge AIX001 from device rmt0. In a script, this command is not issued until the tar command completes. mtlib -l /dev/lmcp0 -d -f /dev/rmt1 -VAIX002 This command demounts cartridge AIX002 from device rmt1. In a script, this command is not issued until the tar command completes. mtlib -l /dev/lmcp0 -C -VAIX001 -tFF10 This command changes the Library Manager category of cartridge AIX001 to FF10. Setting the Library Manager category instructs the Library Manager to eject the cartridge from the library through the convenience I/O station (see Appendix C, Library Manager volume categories on page 499 for a full list of Library Manager volume categories). mtlib -l /dev/lmcp0 -qL This command requests status information about the library from the Library Manager (see Figure 8-8 on page 347 for the response to this command). mtlib -l /dev/lmcp0 -m -f /dev/rmt0 -VAIX002 This command remounts cartridge AIX002 to device rmt0. tar -tvf /dev/rmt0 This is the tar command to list the files on the cartridge. Use this command to ensure that all files are backed up as needed.
346
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
mtlib -l /dev/lmcp0 -d -f /dev/rmt0 -VAIX002 This command demounts the cartridge from rmt0. The example in Figure 8-8 shows the response to an MTLIB query library command.
Performing Query Library Data using /dev/lmcp0 Library Data: state................Automated Operational State Dual Write Disabled input stations.......1 output stations......1 input/output status..All input stations empty All output stations empty machine type.........3494 sequence number......12345 number of cells......207 available cells......0 subsystems...........1 convenience capacity.20 accessor config......01 accessor 0 status....Accessor available Gripper 0 available Gripper 0 vision operational Gripper 1 not installed Gripper 1 vision not operational accessor 1 status....00 accessor 2 status....00 accessor 3 status....00 accessor 4 status....00 accessor 5 status....00 accessor 6 status....00 accessor 7 status....00 comp avail status....Primary Library Manager installed. Primary Library Manager available. Primary hard drive installed. Primary hard drive available. Secondary hard drive installed. Secondary hard drive available. Convenience input station installed. Convenience input station available. Convenience output station installed. Convenience output station available.
For more detailed information about the installation procedures for the required drivers, refer to the publication IBM TotalStorage Tape Device Drivers Installation and Users Guide, GC35-0154.
Operational considerations
The MTLIB command is supplied with the tape library device driver as described earlier. It provides the operational interface in an AIX environment.
Return to scratch
Use the MTLIB command to change cartridges in the Library Manager category back to a scratch category:
Chapter 8. Software implementation: Open Systems environments
347
mtlib -l /dev/lmcp0 -C -VAIX001 -txxxx Here, xxxx is the scratch category that you have chosen. You can add insert processing support to applications. For example, the IBM Tivoli Storage Manager CHECKIN processing changes the Library Manager category of a cartridge from INSERT to the Tivoli Storage Manager scratch category.
348
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
other suppliers SCSI tape device drivers that you have installed from claiming IBMtape-owned devices. Use the following steps to perform the installation. In our example, we detail the installation for a Solaris system without any previous tape subsystem configured. This example assumes that we have downloaded a package file named IBMtape.4.0.9.0.bin into the /export/home/pkgadd/IBMtape directory: 1. Log on to the target system as root. 2. Ensure that all user and tape drive activity on the system has halted. 3. Use pkgadd to install the driver: pkgadd -d /export/home/pkgadd/IBMtape/IBMtape.4.0.9.0.bin 4. You see the output shown in Example 8-9.
Example 8-9 IBMtape install output on Solaris The following packages are available: 1 IBMtape IBM 32-bit and 64-bit Tape & Medium Changer Device Driver 4.0.9.0 (sparc) 4.0.9.0 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: y ERROR: Entry does not match available menu selection. Enter the number of the menu item you wish to select, or the token which is associated with the menu item, or a partial string which uniquely identifies the token for the menu item. Enter ?? to reprint the menu. Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: Processing package instance <IBMtape> from </export/home/pkgadd/IBMtape/IBMtape.4.0.9.0> IBM 32-bit and 64-bit Tape & Medium Changer Device Driver 4.0.9.0 (sparc) 4.0.9.0 IBM Tape & Medium Changer Device Driver for Sun Solaris 7, 8 and 9 Version 4.0.9.0 Contains Licensed Internal Code Licensed Materials - Property of IBM (C) Copyright 1994-2003. IBM Corporation All Rights Reserved Portions (C) 1994 Sun Microsystems US Government Users Restricted Rights Use, duplication, or disclosure restricted by GSA ADP Schedule Contract with IBM (R) IBM is a registered trademark of IBM Corporation (R) Solaris is a registered trademark of Sun Microsystems Using </opt> as the package base directory. ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. Chapter 8. Software implementation: Open Systems environments
349
This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of <IBMtape> [y,n,?] y Installing IBM 32-bit and 64-bit Tape & Medium Changer Device Driver 4.0.9.0 as <IBMtape> ## Installing part 1 of 1. /opt/IBMtape/IBMtape.conf /opt/IBMtape/diags_info /opt/IBMtape/tapelist /opt/IBMtape/tapeutil /opt/IBMtape/tapeutil.c /opt/IBMtape/tmd /opt/IBMtape/tmd.conf /usr/include/sys/oldtape.h /usr/include/sys/smc.h /usr/include/sys/st.h /usr/include/sys/svc.h /usr/kernel/drv/IBMtape /usr/kernel/drv/sparcv9/IBMtape [ verifying class <none> ] ## Executing postinstall script. ## The /usr/kernel/drv/IBMtape.conf file already exists. ## It will be preserved as the current configuration file ## for the IBM Tape & Medium Changer Device Driver. ## Stopping any running instances of tape monitor daemon... ## Installing the /etc/tmd.conf file. ## Creating the directory of /var/opt/IBMtape. ## Adding control node entry to /usr/kernel/drv/IBMtape.conf. ## Adding new tmd entry to /etc/inittab... ## Loading IBM Tape & Medium Changer Device Driver. ## Starting IBMtape Monitor Daemon (tmd)... Installation of <IBMtape> was successful. *** IMPORTANT NOTICE *** This machine must now be rebooted in order to ensure sane operation. Execute shutdown -y -i6 -g0 and wait for the "Console Login:" prompt.
Before using the tape devices and the library, configure the device driver parameters that we describe in the following section.
350
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
We recommend that you use persistent binding, which is described in Implementing IBM Tape with Unix Systems, SG24-6502, so that you can identify or nominate the SCSI ID to use. Identifying the SCSI ID to use can help you to create the IBMtape.conf file, because you simply add stanzas for every SCSI (target) ID. Example 8-10 shows three Fibre Channel tape drives with persistent binding.
Example 8-10 Persistent binding of three native FC drives #Binding hba1-SCSI-target-id-8-fibre-channel-name="5005076300410801"; hba1-SCSI-target-id-9-fibre-channel-name="5005076300410802"; hba1-SCSI-target-id-10-fibre-channel-name="5005076300410803";
Because of persistent binding, we know that the tape drives will use SCSI IDs 8 to 10. Therefore, IBMtape.conf needs entries for target IDs 8 to 10 (see Example 8-11).
Example 8-11 IBMtape.conf for three FC drives name="IBMtape"class="scsi" target=8 lun=0 .............. name="IBMtape"class="scsi" target=9 lun=0 ............... name="IBMtape"class="scsi" target=10 lun=0 ..............
Tip: The persistent binding and the IBMtape.conf entries must be sequential and contiguous so that the tape special file names will also be in sequence. To prevent the Solaris standard tape driver from claiming the devices, comment out the target ID and LUN for the IBM tape devices from the file /kernel/drv/st.conf.
Example 8-12 File /kernel/drv/st.conf example with three native FC drives .............. #name="st" class="scsi" # target=8 lun=0; #name="st" class="scsi" # target=9 lun=0; #name="st" class="scsi" # target=10 lun=0; ..............
After editing these files, reboot the system to enable the changes. We show one common method to perform a reboot here, but use your normal installation procedures: reboot -- -r
351
Example 8-13 Verifying Solaris device configuration ls -l /dev/rmt/*stbn lrwxrwxrwx 1 root root 58 Mar 24 17:33 /dev/rmt/0stbn -> ../../devices/pci@1f,4000/fibre-channel@2/IBMtape@8,0:stbn lrwxrwxrwx 1 root root 57 Mar 29 13:22 /dev/rmt/1smc -> ../../devices/pci@1f,4000/fibre-channel@2/IBMtape@8,1:smc lrwxrwxrwx 1 root root 58 Mar 24 17:33 /dev/rmt/2stbn -> ../../devices/pci@1f,4000/fibre-channel@2/IBMtape@9,0:stbn lrwxrwxrwx 1 root root 57 Mar 29 13:22 /dev/rmt/3smc -> ../../devices/pci@1f,4000/fibre-channel@2/IBMtape@9,1:smc lrwxrwxrwx 1 root root 58 Mar 24 17:33 /dev/rmt/4stbn -> ../../devices/pci@1f,4000/fibre-channel@2/IBMtape@a,0:stbn lrwxrwxrwx 1 root root 57 Mar 29 13:22 /dev/rmt/5smc -> ../../devices/pci@1f,4000/fibre-channel@2/IBMtape@a,1:smc
Example 8-13 shows: 0stbn Because this device has a SCSI ID of 8 and a LUN of 0 (8,0), it is most likely that this device special file represents the device with a WWN of 5005076300410801 from the persistent binding setting in Example 8-10 on page 351, which is the first tape drive. Similarly, 2stbn is the device special file name for the second tape drive. And, 4stbn is the device special file name for the third tape drive.
2stbn 4stbn
In the newer versions of IBMtape device drivers, there is a useful tool called tapelist for identifying the relationship between the device special file and the physical device that it represents. Example 8-14 uses the tapelist tool.
Example 8-14 Tape entries in the server using the tapelist tool Inst # Special File Device Serial No TGT/LUN Ucode World Wide NN World Wide PN Device Physical Path Path Type ------ --------------- ------------- ------------ ------- ------ ------------------------------- -------------------------------------------- ---------3682 /dev/rmt/10st 03592J1A 000001300280 8/0 04B8 5005076300010811 5005076300410811 /devices/pci@1f,4000/fibre-channel@2/IBMtape@8,0:st N/A 3683 /dev/rmt/13smc 03584L22 000001310008 8/1 404e N/A N/A /devices/pci@1f,4000/fibre-channel@2/IBMtape@8,1:smc N/A 3715 /dev/rmt/12st 03592J1A 000001300178 9/0 04B8 5005076300010812 5005076300410812 /devices/pci@1f,4000/fibre-channel@2/IBMtape@9,0:st N/A
Example 8-14 shows that device special file /dev/rmt/10st represents a 3592J1A tape drive with a serial number of 1300280, an assigned SCSI target ID of 8, a LUN of 0, and the worldwide node name (WWNN) is 5005076300010811. Note: The plan is for the tapelist tool to be available with the IBMtape device driver. IBMtape is listed correctly as the owner of these devices. For performance reasons, we recommend that you use a special device file name that has compression turned on.
of a daemon that communicates directly with the Library Manager of the IBM 3494 through RS-232 or LAN, a utility program that provides a command-line interface to the daemon, and a C object module that can be linked with user applications to provide a communication interface with the daemon. This software is known as a driver throughout this document, because it provides the necessary software and interfaces for the library. However, the product does not consist of a device driver in the true sense of the term. That is, it is not an extension of the operating system kernel, such as a SCSI tape device driver. The Library Manager control point daemon (lmcpd) is provided in the package. The lmcpd is a process that always runs on the system. It provides direct communication with the 3494 Library Manager. You start by executing the following command: /usr/sbin/pkgadd -d //directory/filename lmcpd-acXd This command installs and commits the 3494 Enterprise Library Driver on your system. After the software is installed, you must edit the /etc/ibmatl.conf file to define the tape libraries to the lmcpd. The format of the file is: Symbolic name Connection type Identifier Alternate LAN Connection Symbolic name Connection type Identifier Used to identify each library. Used to define the IP address of the Library Manager. Used to specify a name by which the Library Manager identifies the host machine. We suggest that you use the same identifier name that you used on the Library Manager (the host alias as illustrated in Figure 8-2 on page 335). Used to specify an alternate IP address for a 3494 High Availability LAN-attached configuration. The following examples show how to define the library name: lib3494 9.xxx.xx.177 itsolib 9.xxx.xx.178 This stanza defines the lib3494 High Availability library connected through TCP/IP to the workstation. The IP addresses of the dual Library Managers are 9.xxx.xx.177 and 9.xxx.xx.178 (see discussion related to Figure 8-3 on page 335).
Operational considerations
The Sun Solaris operational interfaces and return-to-scratch, insert, and eject processing are similar to those of AIX. See Operational considerations on page 347.
353
8.6 HP-UX
In this section, we explain how the drivers are installed when working in an HP-UX environment. The first step is to download the latest tape device driver (called Atape) and the latest library device driver (called atldd) from the FTP server from: ftp://ftp.software.ibm.com/storage/devdrvr/HPUX/ To find the right driver, go to the subdirectory that matches your HP-UX OS level and system architecture (either Precision or PCI). In our example, we have an HP PCI bus system with HP-UX V11.0, therefore, we need to go to the 11.0_PCI directory. The IBM tape device driver has the format atdd.1.x.x.x.bin. We recommend that you also download the tapeutil utility from the same location. This file is called tapeutil.hpux.x.x.x.x.bin and is packaged separately, unlike for Solaris or AIX. You use tapeutil for tape and medium changer commands, such as mount, dismount, move media, write and read (files). Be sure to check the readme file for updated information about fixes and prerequisites.
* Session started for user "root@easter". * * * * * Beginning Selection Target connection succeeded for "easter:/var/spool/sw". Source: /bavaria/atdd.1.9.0.1.bin Targets: easter:/var/spool/sw Software selections: atdd.driver,r=1.9.0.1
354
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
* Selection succeeded.
* Beginning Analysis * Session selections have been saved in the file "/.sw/sessions/swcopy.last". * "easter:/var/spool/sw": 1 filesets have the selected revision already installed. * Analysis succeeded.
NOTE:
More information may be found in the agent logfile (location is easter:/var/spool/sw/swagent.log). 03/26/03 13:47:52 PST END swcopy SESSION (non-interactive)
=======
Verify that the atdd software has been copied in the depot: swlist -d atdd You see these messages: atdd 1.9.0.1 atdd.driver GES IBM Magstar and Ultrium tape device driver Advanced Tape Device Driver
2. Use the swlist command to view the products readme file: swlist -d -a readme atdd | more 3. The following command installs atdd from the depot to the default root file system: swinstall atdd The output is shown in Example 8-16.
Example 8-16 Output of the swinstall atdd command swinstall atdd ======= 03/26/03 13:53:23 PST (non-interactive) BEGIN swinstall SESSION
* Session started for user "root@easter". * Beginning Selection * Target connection succeeded for "easter:/". * Source connection succeeded for "easter:/var/spool/sw". ERROR: Installation of software requiring a reboot is, by default, not allowed from the command line. You must specify "-x autoreboot=true" on the command line to change the default for this session. ERROR: Cannot continue the "swinstall" task. * Selection had errors. ======= 03/26/03 13:53:29 PST END swinstall SESSION (non-interactive)
If you receive an error message saying that a reboot of the system is needed (as shown in Example 8-16), reissue the swinstall command with the autoreboot option: swinstall -x autoreboot=true atdd Note: If an earlier version of atdd is installed, the existing version is replaced. This is true even if the version installed is more recent than the version that you install. During the installation, you see the messages shown in Example 8-17 on page 356.
Chapter 8. Software implementation: Open Systems environments
355
Example 8-17 Installing atdd on HP-UX # swinstall -x autoreboot=true atdd ======= 03/26/03 13:56:30 PST BEGIN swinstall SESSION (non-interactive) * Session started for user "root@easter". * Beginning Selection * Target connection succeeded for "easter:/". * Source connection succeeded for "easter:/var/spool/sw". WARNING: The software specified contains a kernel fileset. It will be necessary to reconfigure and reboot the system to make the kernel software functional. * Source: /var/spool/sw * Targets: easter:/ * Software selections: atdd.driver,r=1.9.0.1 * Selection succeeded.
* Beginning Analysis * Session selections have been saved in the file "/.sw/sessions/swinstall.last". * The analysis phase succeeded for "easter:/". * Analysis succeeded.
* Beginning Execution * The execution phase succeeded for "easter:/". * Execution succeeded.
NOTE:
*** FINAL System shutdown message (easter) *** System going down IMMEDIATELY ======= 03/26/03 13:57:30 PST END swinstall SESSION (non-interactive)
# logout root
4. To verify the installation, use the command: swverify atdd Example 8-18 shows the output.
Example 8-18 Verifying the correct installation with swlist atdd # # # # # # swlist atdd Initializing... Contacting target "easter"... Target: easter:/
# atdd atdd.driver
1.9.0.1
GES IBM Magstar and Ultrium tape device driver Advanced Tape Device Driver
356
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
You can now use the tapeutil utility to test the library. If you downloaded the tapeutil installation file as described in 8.6, HP-UX on page 354, you can then install the package with the following commands: swcopy /bavaria/tapeutil.hpux.4.0.0.0.bin tapeutil swinstall tapeutil Then, go to 8.7, Testing the tapes with tapeutil on page 359 to learn how to use tapeutil. Open the device, issue inquiry commands read and write, and move media across the library to check the driver functionality.
Our devices correspond to instance number 1 and instance number 2. With the instance number of the device, you can query the device parameters (see Example 8-21 on page 358).
357
Example 8-21 Querying the device parameters /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg /opt/OMImag/bin/atdd_cfg -g -g -g -g -g -g -g -g -g DENSITY <instance> SILI <instance> DEVICES BLOCKSIZE <instance> COMPRESSION <instance> BUFFERING <instance> IMMEDIATE <instance> TRAILER <instance> ERRNO_LEOT <instance>
Any changes made here are lost when you reboot the server. To make the changes permanent, modify the appropriate entries in the file /etc/rc.config.d/atdd.cfg. A sample file named atdd.cfg.ex is provided. Modify it as desired and then copy it to atdd.cfg. In Example 8-23, we change the compression by changing it from off (0) to on (1) for the device ATDD_HWPATH[0].
Example 8-23 Example of the atdd.cfg device configuration file # HW Path for Tape drive 1 ATDD_HWPATH[0]=0/7/0/0.0.0 ATDD_COMPRESSION[0]=1 # HW Path for Tape drive 2 ATDD_HWPATH[1]=0/7/0/0.1.0 # HW Path for Medium Changer ATDD_HWPATH[2]=0/7/0/0.6.0
For performance reasons, we generally recommend that you enable compression unless otherwise instructed by your software application provider.
358
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The Library Manager control point daemon (lmcpd) is provided in the package. The lmcpd is a process that always runs on the system. It provides direct communication with the 3494 Library Manager. You start downloading the lmcpd from: ftp://ftp.software.ibm.com/storage/devdrvr/HPUX/lmcpd/ Issue the command to copy the downloaded file to the software copy: swcopy -s /directory/filename lmcpd Then, you execute the command: swinstall lmcpd This command installs and commits the 3494 Enterprise Library Driver on your system. After the software is installed, you must edit the /etc/ibmatl.conf file to define the tape libraries to the lmcpd. The format of the file is: Symbolic name Connection type Identifier Alternate LAN Connection Symbolic name Connection type Identifier Used to identify each library. Used to define the IP address of the Library Manager. Used to specify a name by which the Library Manager identifies the host machine. We suggest that you use the same identifier name that you used on the Library Manager (the host alias as illustrated in Figure 8-2 on page 335).
Alternate LAN connection Used to specify an alternate IP address for a 3494 High Availability LAN-attached configuration. The following example shows how to define the library name: lib3494 9.xxx.xx.177 itsolib 9.xxx.xx.178 This stanza defines the lib3494 High Availability library connected through TCP/IP to the workstation. The IP addresses of the dual Library Managers are 9.xxx.xx.177 and 9.xxx.xx.178 (see the discussion related to Figure 8-3 on page 335).
Operational considerations
The HP-UX operational interfaces and return-to-scratch, insert, and eject processing are similar to those of AIX. See Operational considerations on page 347.
359
device driver. It also performs basic tape and medium changer operations. The tape utility program provides two versions: one version with an interactive menu and another version for UNIX command line entry. Start the tapeutil interactive menu by typing tapeutil without any parameters. On AIX, you then see the menu shown in Figure 8-9. For Solaris and HP-UX, the menu has a slightly different format.
General Commands: 1. Open a Device 2. Close a Device 3. Device Info 4. Tape Drive Service Aids Medium Changer Commands: 12. Element Information 13. Position To Element 14. Element Inventory 15. Exchange Medium Tape Commands: 20. Query/Set Parameters 21. Prevent/Allow Medium Removal 22. Rewind 23. Erase Gap 24. Forward Space Filemarks 25. Forward Space Records 26. Space to End of Data 27. Log Sense 28. Display Message 29. Synchronize Buffers Enter Selection:
5. 6. 7. 8.
9. 10. 11. Q.
Log Sense Page Mode Sense Page Release Device Quit Program
Move Medium Load/Unload Medium Initialize Element Status Prevent/Allow Medium Removal
30. 31. 32. 33. 34. 35. 36. 37. 38. 39.
Read and Write Tests Unload Tape Erase Write Filemarks Backward Space Filemarks Backward Space Records Query/Set Tape Position Read or Write Files Query/Create/Change Partition Report Density Support
A list of general subcommands, medium changer subcommands, and tape subcommands displays. You must open a device before using these commands and operations. To open a device: 1. Select option 1:Open a Device from General Commands. 2. Enter the name of the device special file. Use any special file that exists for the device using your OS conventions, for example, /dev/rmt0, /dev/rmt0.1, /dev/rmt1.smc, or /dev/smc0. See Example 8-1 on page 334 for the device special file names. 3. Enter the Read/Write, Read-Only, Write Only, or Append mode to open a device. These modes apply to the tape devices only, not for the medium changer. After you open a device, select a command by using the appropriate number for the command from the menu. Certain commands require additional information after they are selected from the menu. You can also use the tapeutil command-line interface by entering commands in the format: tapeutil -f DeviceName Subcommand [Subcommand ...] You can obtain detailed tapeutil reference information in the IBM Ultrium Device Drivers Installation and Users Guide, GA32-0430.
360
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
8.8 Linux
In this section, we explain how the drivers are installed when working in a Linux environment. The first step is to download the latest tape device driver (called IBMtape) and the latest library device driver (called IBMatl) from the FTP server: ftp://ftp.software.ibm.com/storage/devdrvr/Linux/
... [root@saab tmp]# rpm -i IBMtape-1.4.11-2.4.21-9.0.1.EL.i386.rpm.bin Installing IBMtape Warning: loading /lib/modules/2.4.21-9.0.1.ELsmp/kernel/drivers/scsi/IBMtape.o will taint the kernel:
non-GPL license - USE R LICENSE AGREEMENT FOR IBM DEVICE DRIVERS See http://www.tux.org/lkml/#export-tainted for information about tainted modules Module IBMtape loaded, with warnings IBMtape loaded [root@saab tmp]# tar xvf IBMtapeutil.1.2.2.i386.tar.bin IBMtapeutil.1.2.2/ IBMtapeutil.1.2.2/IBMtapeutil IBMtapeutil.1.2.2/IBMtapeutil.h IBMtapeutil.1.2.2/IBMtapeutil.c IBMtapeutil.1.2.2/IBMtapeconfig IBMtapeutil.1.2.2/makefile IBMtapeutil.1.2.2/IBMtapeutil.ReadMe [root@saab tmp]# cd IBMtapeutil.1.2.2 [root@saab IBMtapeutil.1.2.2]# make make: `IBMtapeutil' is up to date. [root@saab IBMtapeutil.1.2.2]# make install cp -f IBMtapeutil /usr/bin/. cp -f IBMtapeconfig /usr/bin/.
In Example 8-25 on page 362, we execute IBMtapeconfig to check if the tape devices are accessible to our system and to create the device files that provide access through the IBM driver.
361
Example 8-25 Creating Linux device special files with IBMtapeconfig [root@saab tmp]# IBMtapeconfig Creating IBMtape special files major number: 254 Attached devices: 0 1 mknod -m 0666 /dev/IBMtape0 c 254 0 mknod -m 0666 /dev/IBMtape0n c 254 64 mknod -m 0666 /dev/IBMtape1 c 254 1 mknod -m 0666 /dev/IBMtape1n c 254 65
You can see that IBMtapeconfig creates device entries for the tape drives. The drives are represented by /dev/IBMtapex for the rewinding behavior and /dev/IBMtapexn for the non-rewinding behavior. The IBM tape device drivers are installed in addition to the native Linux device drivers. Only the devices created through IBMtapeconfig will use the IBM drivers. The standard Linux devices remain unchanged. The mt command allows you to check if the installation was successful (see Example 8-26).
Example 8-26 Checking the IBM tape driver with mt [root@diomede IBMtapeutil.1.0.5]# mt -f /dev/IBMtape0 status SCSI 2 tape drive: File number=-1, block number=1203, partition=0. Tape block size 0 bytes. Density code 0x40 (unknown to this mt). Soft error count since last status=0 General status bits on (1000000): ONLINE
Now, we are ready to use the tape devices through the IBM driver. Even if you plan to use the IBM tape devices with the native Linux drivers, we recommend installing the IBM drivers to allow microcode updates of the tape and library devices. If you are using a Linux kernel version that is not supported by the IBM drivers, we recommend installing a supported kernel as an alternative boot kernel for this purpose.
8.8.2 IBMtapeutil
IBMtapeutil provides a comprehensive collection of tape and library commands. The
IBMtapeutil utilities exist in a separate tar package from the device driver. You need to download and install the package from the IBM Web site: ftp://ftp.software.ibm.com/storage/devdrvr/Linux/ Get the package from the appropriate Linux version subdirectory. The package will have the name IBMtapeutil.x.x.x.tar.bin. Unpack the package into a directory, and from that directory, run make install. In the following sections, we show examples of the invocation and outputs of IBMtapeutil. Example 8-27 shows the initial invocation display for IBMtapeutil.
Example 8-27 Start display of IBMtapeutil [root@saab root]#IBMtapeutil IBMtapeutil for Linux, Version 1.4.1, Jan. 03, 2007 ========================================= 1. Tape
362
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Example 8-28 shows the general SCSI commands, as well as the tape-specific commands, that are available through IBMtapeutil.
Example 8-28 Tape command selection display of IBMtapeutil for Linux -------------------------- General Commands: ----------------------------1. Open a Device 9. Mode Sense Pag 2. Close a Device 10. Switch Tape/Changer Devic 3. Inquiry 11. Create Special Files 4. Test Unit Ready 12. Query Driver Version 5. Reserve Device 13. Query Device Path 6. Release Device 14. Display All Paths 7. Request Sense 15. Enable A Path 8. Log Sense Page 16. Disable A Path Q. Quit IBMtapeutil --------------------------- Tape Commands: -------------------------------20. Rewind 33. Set Block Size 21. Forward Space Filemarks 34. Retension Tape 22. Backward Space Filemarks 35. Query/Set Tape Position 23. Forward Space Records 36. Query Tape Status 24. Backward Space Records 37. Load Tape 25. FSFM 38. Unload Tape 26. BSFM 39. Lock Tape Drive Door 27. Space to End of Data 40. Unlock Tape Drive Door 28. Read and Write Tests 41. Take Tape Offline 29. Write Filemarks 42. Enable/Disable Compression 30. Read or Write Files 43. Flush Drive's Buffer 31. Erase 44. Self Test 32. Reset Drive 45. Display Message --------------------------- IBMtape Commands: ------------------------------46. Query Sense 52. Locate Tape Position 47. Query Inquiry 53. Read Tape Position 48. Query/Set Tape Parameters 54. Query Mtdevice Number 49. Query/Set Tape Position 55. Synchronize Buffers 50. Query/Set MT/ST Mode 56. List Tape Filemarks 51. Report Density Support --------------------------- Service Aid Commands: ------------------------70. Dump Device 72. Load Ucode 71. Force Dump 73. Reset Drive --------------------------------------------------------------------------99. Back To Main Menu Enter Selection:
Example 8-29 is an example of using IBMtapeutil that shows sending a SCSI inquiry command to the tape device.
Example 8-29 Sending a SCSI inquiry command to an LTO tape drive with tapeutil Enter Selection: 1 Enter device name (<enter> for /dev/IBMtape0): /dev/IBMtape1 Select mode (<enter> or 1=Read/Write, 2=Read Only, 3=Write Only, 4=Append): 1
363
Opening device... Hit <enter> to continue... (...) Enter Selection for /dev/IBMtape1: 3 Enter page code in hex or <enter> for standard inquiry: Issuing inquiry... Inquiry Data: Peripheral Qualifier-------------------0x00 Peripheral Device Type----------------0x01 Removal Medium Bit--------------------1 Device Type Modifier------------------0x00 ISO version---------------------------0x00 ECMA version--------------------------0x00 ANSI version--------------------------0x03 Asynchronous Event Notification Bit---0 Terminate I/O Process Message Bit-----0 Response Data Format------------------0x02 Additional Length---------------------0x33 Medium Changer Mode-------------------0x00 Relative Addressing Bit---------------0 32 Bit Wide Data Transfers Bit--------0 16 Bit Wide Data Transfers Bit--------0 Synchronous Data Transfers Bit--------0 Linked Commands Bit-------------------0 Command Queueing Bit------------------0 Soft Reset Bit------------------------0 Vendor ID-----------------------------IBM Product ID----------------------------03592E05 Product Revision Level----------------04B8 vendor1, Length 20b 0123456789ABCDEF [13000001300637 0] [..@. ]
0 1 2 3 4 5 6 7 8 9 A B C D E F 0000 - 3133 3030 3030 3031 3330 3036 3337 2030 0010 - 0100 4081 vendor2, Length 31
0 1 2 3 4 5 6 7 8 9 A B C D E F 0000 - 0000 0000 0000 0000 0000 0000 0000 0000 0010 - 0000 0000 0000 0000 0000 0000 0000 00 Hit <enter> to continue... (...) Enter Selection for /dev/IBMtape1: 2 Device closed... Hit <enter> to continue...
Example 8-30 on page 365 shows that a similar set of commands is available to interact with the tape library (option 2. Changer from the start display in Example 8-27 on page 362).
364
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Example 8-30 Library command selection display of IBMtapeutil for Linux -------------------------- General Commands: ----------------------------1. Open a Device 9. Mode Sense Pag 2. Close a Device 10. Switch Tape/Changer Devic 3. Inquiry 11. Create Special Files 4. Test Unit Ready 12. Query Driver Version 5. Reserve Device 13. Query Device Path 6. Release Device 14. Display All Paths 7. Request Sense 15. Enable A Path 8. Log Sense Page 16. Disable A Path Q. Quit IBMtapeutil ------------------------- Medium Changer Commands: ----------------------60. Element Information 65. Load/Unload Medium 61. Position To Element 66. Initialize Element Status 62. Element Inventory 67. Prevent/Allow Medium Removal 63. Exchange Medium 68. Initialize Element Status Range 64. Move Medium 69. Read Device Identifiers -------------------------- Service Aid Commands: ------------------------70. Dump Device 72. Load Ucode 71. Force Dump 73. Reset Drive --------------------------------------------------------------------------99. Back To Main Menu Enter Selection:
See The tapeutil inqpage command on page 365 for a way to create this table. Remember that rebooting the server or executing the IBMtapeconfig command refreshes the list. Also, check Implementing IBM Tape in Unix, SG24-6502, to understand how the operating system assigns device special file names and the ways to keep them persistent across reboots.
365
This command will return the serial number of the device represented by the specified device special file. Compare the number to the number written on the drives or to the number returned by the tapeutil command (see Example 8-31).
Example 8-31 Verify device by tapeutil inqpage command [root@saab root]# tapeutil -f /dev/IBMtape20 inqpage 80 Issuing inquiry for page 0x80... Inquiry Page 0x80, Length 14 E F 0123456789ABCDEF [....1110067680 ]
Example 8-31 shows that /dev/IBMtape20 is a tape drive with the serial number 1110067680.
366
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IB M Tape Library
wwpn
unit-scsi-lun fcp-lun
367
For tape attachment, we recommend that each LUN is associated with a unique devno. If you use the same devno numbers for several logical units, ensure that each <unit-scsi-lun> is unique. After you create /etc/zfcp.conf, run the following commands: >mk_initrd >zipl Reboot the system. After it boots up, your tape device shows in the /proc/scsi/scsi file.
368
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The scsi add-single-device takes four parameters that correspond to the four parameters scsi, channel, id, and lun in the /proc/scsi/scsi file. The value of scsi is 0 for the first devno, 1 for the second devno (if it is different from the first devno), and so forth. The value of channel can start from 0 for each SCSI value. The value of id is the value that you use for <unit scsi-lun> in the previous mapping. The value of lun is the LUN of the target device, for example, the last number in the previous mapping. Currently, the zfcp device driver does not support dynamically removing the attached devices. If you need to remove the tape devices from the system, run rmmod zfcp. Then, you can delete the entry in /etc/modules.conf and reload zfcp, or reload zfcp first and dynamically add the devices that you want. After you have done all of the mapping, if you can see all of the attached tape devices in /proc/scsi/scsi, you have successfully attached those devices to your system.
369
Then, execute the following command to change to the new directory: cd ibmatl.x.x.x.x.os And finally, execute: ./install This command will install the atldd program. After the software is installed, edit the /etc/ibmatl.conf file to define the tape libraries to the lmcpd. The format of the file is: Symbolic name Connection type Identifier Alternate LAN Connection Symbolic name Connection type Identifier Used to identify each library. Used to define the IP address of the Library Manager. Used to specify a name by which the Library Manager identifies the host machine. We suggest that you use the same identifier name that you used on the Library Manager (the host alias as illustrated in Figure 8-2 on page 335).
Alternate LAN connection Used to specify an alternate IP address for a 3494 High Availability LAN-attached configuration. The following example shows how to define the library name: lib3494 9.xxx.xx.177 itsolib 9.xxx.xx.178 This stanza defines the lib3494 High Availability library connected through TCP/IP to the workstation. The IP addresses of the dual Library Managers are 9.xxx.xx.177 and 9.xxx.xx.178 (see the discussion related to Figure 8-3 on page 335).
Operational considerations
The Linux operational interfaces and return-to-scratch, insert, and eject processing are similar to those of AIX. See Operational considerations on page 347.
8.9 Microsoft Windows NT, Windows 2000 Server, and Windows Server 2003
In this section, we explain how the drivers are installed when working in a Microsoft environment. In our discussion, we describe a Windows Server 2003 example. The first step is to download the latest tape device driver (called IBMtape or IBMMag) and the latest library device driver (called IBMatl) from the FTP server: ftp://ftp.software.ibm.com/storage/devdrvr/Windows/
370
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
8.9.1 Installing the IBM tape device drivers in Windows 2003 Server
If the IBM tape is physically attached, Windows 2003 Server will attempt to automatically install the drivers upon boot. The driver installation wizard appears and requests details regarding the location of the drivers and information files. If the driver installation wizard does not appear, you can perform a hardware scan from the Device Manager (as shown in Figure 8-11) to detect the added devices and initiate the device driver install wizard.
371
372
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
2. But checking the Device Properties (see Figure 8-14) in fact shows that the drivers are not configured yet. Select Properties for the first drive and install the driver using the same process as for the Medium Changer. Click the Driver tab, and then click Update Driver (see Figure 8-14).
Figure 8-14 The Driver tab of the unconfigured tape drives properties box
3. You get the Upgrade Device Driver Wizard window (see Figure 8-15 on page 374), prompting you to search for a driver or to display a list of the known drivers for installation. Click Search for a suitable driver for my device (recommended), and then click Next.
373
4. In the next window for locating the driver files, check the box Install from a list of specific locations (Advanced) and then click Next (see Figure 8-16).
5. The path to the location of the drivers is presented as in Figure 8-17 on page 375. Specify the directory from where you extracted the downloaded driver zipped file.
374
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
6. The wizard locates a device driver as shown in Figure 8-18. If this is the driver version that you want to install, click Next; otherwise, select the box labeled Install one of the other drivers and click Next. Typically, the latest driver version is installed unless there is a specific reason not to do so, such as for independent software vendor (ISV) application support issues.
7. The Device Driver Wizard proceeds to install the device driver and informs you when the installation is complete as Figure 8-19 on page 376 shows.
375
8. We recommend that you reboot the system to ensure a clean installation of the drivers.
376
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
2. Then, choose the driver from the list that best suits your needs (Figure 8-21) and click Next.
Figure 8-21 Choose the driver that best suits your needs from the list
3. The Device Driver Wizard proceeds to install the device driver and informs you when the installation is complete as Figure 8-22 on page 378 shows.
377
378
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
2. Now, right-click each of the devices and select Properties. If properly configured, the windows show Manufacturer as IBM Corporation (see Figure 8-24), Driver provider as IBM Corporation, and Driver version as the version that you have installed (see Figure 8-25).
3. The driver level for the device is shown in the Driver tab in Figure 8-25. Note that the driver is not digitally certified by Microsoft at this time, but is still supported by IBM.
4. If you click Driver Details, you then get the detailed information for the drivers as shown in Figure 8-26 on page 380.
379
5. You can now use the NTUTIL utility to test the library. This utility allows you to open the device, issue inquiry commands, read and write, and move media within the library to ensure that the devices function and operate correctly with the installed driver.
380
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
There are two modes in which NTUTIL can run: base mode and library mode. The default mode is base mode. The library mode only applies to the SCSI Library and not to the IBM 3494 Tape Library. Example 8-32 shows the main menu, which presents the option to run the utility in interactive (manual) or batch mode.
Example 8-32 NTUTIL main menu NTutil - Copyright (c) 1997-2004 IBM Corporation Main Menu: Microsoft Windows 2000 version ========== 1: Manual test 2: Batch test 9: Exit ntutil Enter selection:
Selecting option 1: Manual test provides the following menu for interactive commands (see Example 8-33).
Example 8-33 NTUTIL manual test menu (base mode) Test tool version 5.0.7.5 Variable settings ==================== BASE MODE ======================================== tape-special-file-name: tape0 gp->fd0=FFFFFFFF gp->fd1=FFFFFFFF block size=1024 block count=1 hex block id = 0000000000000000 return_error_when_fail 1 exit_on_unexpected_result 0 trace_flag 0 manual test menu: ======================================================================= 1: set device special file 2: display symbols 3: set block size R/W (now !0 fixed) 5: set return error when fail 6: set/reset trace 7: set exit on unexpected result 8: Library Mode ======================================================================= 20: open 21: close 22: read 23: write 24: read and display block 25: flush (buffer->media) 26: read block id 27: erase 28: locate block id 29: display block data ======================================================================= 30: write filemark(s) 31: rewind 32: forward space filemark(s) 33: unload 34: reverse space filemark(s) 35: load 36: forward space record(s) 37: return error 38: reverse space record(s) 39: test unit ready 43: set media parms (block size) 44: set dev parms(compression) 46: get device information 47: restore data 48: get medium information 49: inquiry 50: poll registered devices 53: space EOD 54: display message ======================================================================= 70: system command
381
======================================================================= 80: Force Dump 81: Read Dump 82: Update MicroCode 83: Log Sense 84: Get Last Sense 85: Get Version 86: Associative/Persistent WProtect 87: Read/Write Test 88: List registered devices 89: Get MTDevice Info ======================================================================= 99: return to main menu ======================================================================= enter selection:
Note that option 8 says Library Mode, which indicates then that NTUTIL runs in base mode. To view the installed library and drive, select option 88: List registered devices. The bus, target ID, and LUN ID for each device are also shown here. Example 8-34 shows a list of the configured devices.
Example 8-34 Registered devices on a SAN enter selection: 88 Device found: Tape0 @"Scsi Port Device found: Tape1 @"Scsi Port Device found: Tape2 @"Scsi Port Device found: Tape3 @"Scsi Port Total elapsed time in seconds = Return to continue: 2\Scsi Bus 2\Scsi Bus 2\Scsi Bus 2\Scsi Bus 0.00 0\Target 0\Target 0\Target 0\Target Id Id Id Id 2\Logical 3\Logical 4\Logical 5\Logical Unit Unit Unit Unit Id Id Id Id 0" 0" 0" 0"
To perform any operation, you usually need to open the desired device (option 1: set device special file), then select the appropriate device from the device listing, and open it (option 20: open). Example 8-35 and Example 8-36 show these selections.
Example 8-35 Selecting a device special file ======================================================================= enter selection: 1 Enter device special file (tape path) name or return for no change: tape1 Total elapsed time in seconds = 6.00 Return to continue: Example 8-36 Performing an open call on a selected device special file ======================================================================= enter selection: 20 Enter open mode (1) RW (2) RO: 1 special file (\\.\tape1) will be opened analyze() called with rc 6 err 0 (ERROR_SUCCESS) data 0 Total elapsed time in seconds = 1.00 Return to continue:
After the tape is mounted (through mtlib), you can perform a Read/Write (R/W) test (option 87: Read/Write Test) on the cartridge (see Example 8-37 on page 383). Note that this test overwrites any date on the tape (NTUTIL does not interact with any applications, so it is unaware whether the tape has valid data); therefore, be careful about which tape you choose for this operation.
382
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Example 8-37 Read/write test enter selection: 87 This will rewind and write on tape! Are you sure?? Y or N y ntutil execute_command_read_write test rewinding Rewind OK, set blocksize to 32K Set Block Size OK, writing 32K Write 32K OK, rewinding Rewind after Write OK, reading data Read after Rewind OK, comparing data analyze() called with rc 1 err 0 (ERROR_SUCCESS) data 0 Total elapsed time in seconds = 6.00 Return to continue:
The tape has been successfully written as shown in Example 8-37. We can now unload the cartridge by selecting option 33: unload (see Example 8-38).
Example 8-38 Unload enter selection: 33 analyze() called with rc 0 err 0 (ERROR_SUCCESS) data 0 Total elapsed time in seconds = 23.00 Return to continue:
To display information about the drive, use option 49: inquiry (see Example 8-39).
Example 8-39 Inquiry enter selection: 49 Drive = 0, Library = 1: 0 Device Path SCSI data: PortNumber 2, PathId 0 TargetId 2, Lun 1 INQUIRY data: devtype(0): 01, rmb(1): 80 ASO/ECMA/ANSI(2): 03, resp_data_fmt(3): 02 additional_length(4): 33, reserved(5): 00 SCSI_3(6): 10, flags(7): 00 vendor_id (8-15): IBM product_id (16-31): 03592J1A Microcode Revision Level (32-35): 04C4 vendor specific (bytes 36-55): 31 33 30 30 30 30 30 31 33 30 30 31 37 38 20 30 01 00 40 81 analyze() called with rc 1 err 0 (ERROR_SUCCESS) data 0 Total elapsed time in seconds = 8.00 Return to continue:
You can also run NTUTIL in batch mode. For more information about NTUTIL, refer to the IBM Ultrium Device Drivers: Installation and Users Guide, GA32-0430. This guide is installed with the packaged device drivers. IBM TotalStorage Ultrium Device Drivers Programming Reference, GC35-0483, has information about issuing commands to tape device drivers and manipulating tape application programming interfaces (APIs).
383
You can also alter the drive block size similarly with option 43: set media parms (block size). This size is 0 (variable) by default. Certain backup applications can override this value.
384
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Alternate LAN connection Used to specify an alternate IP address for a 3494 High Availability LAN-attached configuration. The following example shows how to define the library name: lib3494 9.xxx.xx.177 itsolib 9.xxx.xx.178 This stanza defines the lib3494 High Availability library connected through TCP/IP to the workstation. The IP addresses of the dual Library Managers are 9.xxx.xx.177 and 9.xxx.xx.178 (see the discussion related to Figure 8-3 on page 335). Because this program starts as a Windows service, check that the IBM Automated Tape Library service is started (see Figure 8-27). Set the Startup type to Automatic to ensure that the service is started after every reboot.
8.10 i5/OS
The System i servers support the attachment of both Ultra SCSI and Fibre Channel IBM 3590 and IBM 3592 tape drives, as well as the IBM 3494 Tape Library. For implementation of IBM tape with System i servers, refer to Implementing IBM in i5/OS, SG24-7440.
385
Although the TSM commands are the same for the various platforms, the parameters vary. The example in the following sections refers to an implementation in an AIX environment.
8.11.1 Defining the tape library and tape drives to IBM Tivoli Storage Manager
To define the library and type of library to IBM Tivoli Storage Manager, use the DEFINE LIBRARY command as shown here. We used the abbreviated versions of the parameters. DEF LIBR LIB3494 LIBT=349X SCRATCHCAT=301 PRIVATCAT=300 DEVI=/dev/lmcp0 LIB3494 is the library name. This name can also be the name used for the LMCP. The IBM Tivoli Storage Manager Library Manager categories are 012d and 012c for scratch and private volumes, respectively. In IBM Tivoli Storage Manager, the category numbers are in decimal, and in the Library Manager, they are in hex. You can change the IBM Tivoli Storage Manager scratch and private default Library Manager categories in the DEFINE LIBRARY command (except for those categories reserved for the Library Manager) as shown in the example. Next, you use the DEFINE DRIVE command to define the devices inside the library. DEF DR LIB3494 ATLDR1 DEVI=/dev/rmt1 In this example, we define the tape drive that is accessed through the AIX special drive to IBM Tivoli Storage Manager: /dev/rmt1 The drive is known to IBM Tivoli Storage Manager as ATLDR1. It resides in the library called LIB3494. Before you define the storage pool, you must define the type of devices within the storage pool using the DEFINE DEVCLASS command. You cannot mix 3592, 3590, and 3490E drives in the same device class or in the same storage pool. We show the command to define a device class for the 3590 tape drives in our IBM 3494 Tape Library in the following example. For other parameters, we use the default values: DEF DEV ATLDEVCL DEVT=3590 LIBR=LIB3494 Use the DEFINE STGPOOL command to define a storage pool that the IBM 3494 Tape Library uses: DEF STG ATLPOOL ATLDEVCL The storage pool is called ATLPOOL. The class of device with that pool is defined by the ATLDEVCL device class. For other parameters, we use the defaults. 386
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Using the DEFINE VOLUME command as shown in the following example, you can manually define the volumes that IBM Tivoli Storage Manager will have in a storage pool: DEF V ATLPOOL ADSM01 ACC=READW Alternatively, you can use the MAXSCRATCH parameter of STGPOOL to allow IBM Tivoli Storage Manager to get its own scratch volumes from the Library Manager IBM Tivoli Storage Manager scratch category. We defined the cartridge with a volume serial number (VOLSER) of ADSM01 that belongs to a storage pool called ATLPOOL. Before IBM Tivoli Storage Manager can use the volumes, you must label the volumes. IBM Tivoli Storage Manager provides a program (DSMLABEL) to label the volumes. DSMLABEL with the -search parameter labels all cartridges in the INSERT category. Use care so that only the cartridges to be used by IBM Tivoli Storage Manager are in this category. Here is an example of a DSMLABEL command: dsmlabel -drive=/dev/rmt1 -drive=/dev/rmt2 -library=/dev/lmcp0 -search -keep If the -keep parameter is not specified, the cartridge is placed in the convenience I/O station after it is labeled. After the cartridges are labeled, the Library Manager category is assigned to them by issuing the CHECKIN LIBVOLUME command to eject volumes from an IBM 3494 Tape Library. Here is an example of a CHECKIN LIBVOLUME command: CHECKI LIBV PAINLESS ADSM01 STAT=SCR CHECKL=NO DEVT=3590 We assign cartridges with a VOLSER number of ADSM01 to the IBM Tivoli Storage Manager Library Manager scratch category. By specifying CHECKL=NO, we tell IBM Tivoli Storage Manager that we do not want the label to be checked. If all of the volumes in the Library Manager insert category are to be in IBM Tivoli Storage Manager, we use the SEARCH=YES parameter and do not specify a VOLSER number. Be careful when using this parameter if you share the IBM 3494 Tape Library with other hosts.
387
300 GB
~60 GB
~200 GB
not used
~60 GB
Figure 8-28 Scaled capacities
When SCALECAPACITY is set to 100 (default), Tivoli Storage Manager initializes the cartridge as a 300 GB cartridge. When set to 90, it initializes the cartridge as a segmented tape. When set to 20, it initializes the cartridge to use only the first 60 GB. There is no practical reason for using SCALECAPACITY=90, because you cannot control where the data is written on the tape. After the first 60 GB segment is filled, the drive proceeds to write on the rest of the (slower-access) tape. Each of the segmented parts needs to be defined to a different storage pool to fully utilize the segmented function, but with the current Tivoli Storage Manager architecture, it is not possible to define two storage pools from one volume. Available 3592 tape formats for the 3592 tape drives are: JA Data cartridge R/W JJ Economy Data R/W JW WORM JR Economy WORM JB Extended Data R/W JX Extended WORM For JA and JB cartridges, define device class in the following manner; you have the option to specify the SCALECAPACITY parameter: DEFINE DEVCLASS devclass_name DEVTYPE=3592 FORMAT=3592/3592c/drive \ LIBRARY=library_name SCALECAPACITY=20/90/100 For JJ cartridges, define device class as: DEFINE DEVCLASS devclass_name DEVTYPE=3592 FORMAT=3592/3592c/drive \ LIBRARY=library_name For JW, JR, and JX cartridges, define device class as: DEFINE DEVCLASS devclass_name DEVTYPE=3592 FORMAT=3592/3592c/drive \ LIBRARY=library_name WORM=yes
388
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The SCALECAPACITY parameter with a value other than 100 (default) can be specified only with the standard-length R/W cartridge. When the short-length cartridges are initially defined to a storage pool, the query volume and query stgpool commands show you 300 GB (or 900 GB for compression) for each of the volumes defined. When the EOV (end-of-volume) is reached, query commands show you the actual data written for the volume. WORM data cartridges are designed to provide non-alterable, non-rewritable tape media for long-term records retention. The drive automatically determines if the mounted volume is a WORM or R/W cartridge. To use this function, specify the WORM=yes parameter in the command define/update devclass. TSM Version 5.2.3 or later is required. Because TSM can distinguish between WORM and R/W cartridges (it assigns media type of 412 for WORM cartridges and 411 for R/W cartridges at the time of check-in), you can have both WORM and R/W cartridges in a single logical library just by defining one device class with WORM=yes and the other device class with WORM=no.
389
390
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Chapter 9.
391
Operational modes describe accessor movement. Operational states describe the status of the Library Manager or library power. Informational states describe any error or abnormal library condition. The following sections provide detailed information about operational modes, operational states, and informational states.
392
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Auto mode
In auto mode, the library is under the control of the Library Manager. The accessor moves under the control of the Library Manager to carry out mount, demount, and cartridge movement requests. To be in auto mode, all safety circuits must be complete. From auto mode, you can go to pause or manual mode. If you select manual mode, the library goes into pause mode before it enters manual mode.
Pause mode
Pause mode is intended to allow the operator to access the interior of the IBM 3494. While the library is in pause mode, the mount and demount commands that require accessor movement are queued until the library returns to auto mode. The Library Manager responds to host requests for status information. From pause mode, you can change the library operational mode to either auto or manual.
Manual mode
Manual mode is intended to allow 100% library availability. It enables the library to be operated manually under the control of the Library Manager in the event of an accessor failure or during preventive maintenance. From manual mode, you can go to pause or auto mode. If you select auto mode, the library goes into pause mode before it enters auto mode. During manual mode operation, the Library Manager receives requests from the attached host and displays the action (mount or demount), volume serial number (VOLSER), storage cell location, and drive address on the Library Manager console and tape drive message panels.
Home-cell mode
The 3494 Tape Library operates in either fixed home-cell or floating home-cell mode. The service representative makes the home-cell mode selection during the teach process: Fixed home-cell Fixed home-cell mode assigns each physical cartridge to a fixed storage cell location when it enters the 3494 Tape Library. It is always returned to the same location after it is used. Floating home-cell A physical cartridge is put into a cartridge cell location that optimizes performance. When in manual mode, the 3494 Tape Library operates in fixed home-cell mode regardless of the home-cell mode specified during installation.
393
Dual Active Accessor enabled/disabled (only the IBM 3494 with Dual Active Accessor feature) Dual Active Accessor transitioning (only the IBM 3494 with Dual Active Accessor feature)
Initialization complete
After the Library Manager successfully completes initialization, the library becomes operational. You can set the operational mode and state (online or offline) through the Library Manager after the initialization is complete. If they are not set, a timeout occurs, and the library enters the default mode and state. If any library components are not available after the initialization is complete, the operation mode and state are set to match the current component availability. The library does not exit or complete the initialization if it has not been taught or inventoried.
Offline
The Library Manager is offline. It does not respond to any host requests, although it accepts commands entered through the Library Manager.
Online
The Library Manager is online and accepts commands from host requests. This state is the normal operational state of the Library Manager.
Shutdown pending
The Library Manager is in the process of terminating the Library Manager application, after power is removed from the library. After shutdown is complete, you can initialize the Library Manager application by pressing Ctrl+Alt+Delete on the Library Manager keyboard. If you press the Power Off button on the IBM 3494 operator panel, the Library Manager enters shutdown pending before the power is removed. When you select shutdown by using the Mode menu, the Library Manager enters into this state.
394
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Degraded operation
The library is degraded when any component (with the exception of tape subsystems) fails and is unavailable. Some level of library operation is available even in the degraded state. To resolve the degraded state, an IBM SSR has to repair the failing component and make it available. With the IBM 3494, the following components can be marked unavailable. The library continues operation but indicates to the hosts that it is in a degraded mode: One gripper in a dual gripper, single accessor configuration Up to three grippers in a dual gripper, dual accessor configuration (when the High Availability unit is installed) Second disk drive in a dual disk drive configuration Barcode scanner One accessor in a dual accessor configuration (when the High Availability unit is installed) Components of the dual Library Manager configuration (when the High Availability unit is installed) Convenience input/output (I/O) station
395
Intervention required
This state occurs when the library requires an operator to take action. On the IBM 3494, the attention light on the operator panel blinks to signal the operator. After the operator clears the intervention and, if required, confirms that they have done so, this state ends. Refer to 9.4.7, Handling an intervention-required condition on page 412 for details about operator responses and console message automation possibilities.
Accessor status
This informational state is available only on an IBM 3494 with the High Availability unit installed. In a dual accessor environment, this state indicates the status of the accessors, which accessor is active, and whether the standby accessor is capable of taking control.
the secondary database, Library Manager initialization continues. Then, the library enters the dual write disabled informational state. If errors exist with the primary database, the library enters the Check 1 informational state. On an IBM 3494 with the High Availability unit installed, the two Library Managers must decide which of four possible databases to choose as the primary database and which database to choose as the secondary database. Many combinations are possible. Each combination depends on the status of the Library Managers, the databases, and the communication links between the Library Managers. A comparison of the databases is performed by the Library Managers. Under normal conditions (Library Managers, communication links, and databases all available after a normal termination of both Library Managers), one Library Manager is the active Library Manager. Its primary disk contains the primary database. The second Library Manager is the standby Library Manager. Its primary disk contains the secondary database. Other conditions (such as Library Managers unable to communicate, desynchronized databases, and Library Manager failure) are handled so that one Library Manager starts with the correct database. If this situation is not possible, the library enters the Check 1 state.
Installation inventory
When the library is first installed, an inventory of the library is performed after the teach process has completed. At this time, the Library Manager database is initialized. If volumes are present in the library, the records are added to the Library Manager database. This initial inventory is started by selecting Inventory new storage from the Library Manager Commands menu. Until the inventory is complete, the Library Manager is offline, and all attached hosts are unable to use the library. The IBM 3494 takes approximately four minutes to inventory one frame. After the inventory of the hardware is complete, the Library Manager can be put online. Before any host can use the library, the host and Library Manager databases must be synchronized. At this point, all cartridges within the library are in the Library Manager INSERT category (see Appendix C, Library Manager volume categories on page 499). This synchronization (referred to as insert processing) causes the Library Manager database to be updated to match the host tape management system database. Each volume has a volume category assigned, indicating which host owns the volume, and whether the volume is a specific or nonspecific cartridge. Insert processing varies among the different platforms. Refer to the following appropriate platform chapters for more detailed information: Chapter 6, Running z/OS production systems on page 261 Chapter 7, Software implementation: Other System z platforms on page 301 Chapter 8, Software implementation: Open Systems environments on page 331
397
INSERT category (see Appendix C, Library Manager volume categories on page 499). Therefore, the Library Manager database must be resynchronized with the host tape library databases. Insert processing differs among the various platforms. Refer to the following appropriate platform chapters for more detailed information: Chapter 6, Running z/OS production systems on page 261 Chapter 7, Software implementation: Other System z platforms on page 301 Chapter 8, Software implementation: Open Systems environments on page 331 During the re-inventory of a complete system, all other library actions (mounts, demounts, and so forth) are queued until re-inventory has finished. We recommend that you do not re-inventory a library on a regular basis. Perform re-inventory only if problems exist with the Library Manager database that cannot be rectified by host software commands.
398
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
An IBM 3590 drive cannot read from, or write to, a 3592 tape cartridge. Similarly, IBM TotalStorage Enterprise 3590 cartridges cannot be used on IBM 3592-J1A or IBM 3592 model E tape drives. IBM tape cartridges are designed with different cartridge casing color schemes to avoid the situation where an operator might mount an incompatible cartridge in an IBM tape drive. To ensure that the operator can identify the correct tape volume and mount it on an IBM tape drive, a human-readable label is used. You must label all cartridges with a six-character VOLSER on the external label. A VOLSER can be from one to six characters, with blanks padded on the right for a VOLSER with fewer than six characters. The character set supported for the external labels is: Uppercase alphabet: A to Z Numerics: 0 to 9 Blank (or space), trailing only If you automate your tape operations, the same considerations apply. However, in this case, the library must ensure that: The correct type of cartridge is mounted on a compatible IBM tape drive. The correct type of cleaning cartridge is mounted in the drive when a cleaning operation is needed. The correct tape volume is mounted when requested. Therefore, a machine-readable label, a barcode, is required in addition to the human-readable external volume identification label. To enable the IBM 3494 to recognize different cartridge types, an additional, single-character, media-type label is used. When a cartridge is inserted in a tape library, its media type is recorded from the label, which ensures that the correct cartridge types are mounted on compatible IBM tape drives within the library. Also, when using IBM system-managed tape, scratch thresholds can be set according to media type. The five types of IBM tape cartridges are: The CST cartridge has a monotone gray casing. The ECCST cartridge has a two-tone gray and white casing. The 3590 tape cartridge has a monotone black casing with blue inserts and a blue leader block. The 3590 XL tape cartridge has a monotone black casing with green inserts and a green leader block. Each 3592 data cartridge is identified by a unique label consisting of eight digits; the normal six-digit Volume Serial Number (VOLSER), followed by a two-digit media type identifier (Jx for 3592 Tape Cartridges). With the exception of CSTs, we recommend strongly that you place media type E, J, K, and Jx labels on all cartridges within the 3494 Tape Library. This recommendation applies to all environments and all platforms. This type of labeling minimizes the possibility of mounting incompatible cartridge types in the tape drives. Currently, barcode labels supplied by two label manufacturers conform to the common standard of IBM tape libraries and StorageTek (STK) Silos: Engineered Data Products (EDP) Tri-Optic Wright Line Tri-Code
399
The barcode used by the external labels is Automation Identification Manufacturers Uniform Symbol Description Version 3, which is also known as Code 39. The barcode area contains the same characters as the human-readable area surrounded by start and stop characters. The start and stop characters of the external labels are: Wright Line Tri-Code uses an asterisk (*). EDP Tri-Optic uses a dollar sign ($). If an external label contains the asterisk (*) character or the dollar sign ($) character as part of the VOLSER, the barcode reader might or might not recognize it correctly, which can potentially result in an incorrectly read number. A request for price quotation (RPQ) for the vision system is available upon request to handle other barcode labels, such as Comparex or GRAU. We recommend that you order new, initialized cartridges with the specified barcode labels attached. Most suppliers deliver them to your specifications within about six weeks. However, you must confirm when the supplier can deliver them before you order them. You can intermix these labels (and cartridges) in your tape library. We recommend that you do not print your own labels. It is unlikely that you can achieve the same quality as the labels available for purchase. The IBM TotalStorage Enterprise Tape Drive 3592 uses six media cartridge types: JA, JB, JJ, JR, JW, and JX. All media cartridge types contain the same dual-coat, advanced-particle media. The media is housed in a 3592 cartridge shell, which is designed for automation with a form factor (shape) similar to the 3590 tape cartridges that allow it to be used in the IBM TotalStorage Enterprise Tape Library 3494 and StorageTek Automated Cartridge System (ACS) solutions. The only externally visible difference among the four cartridge types is the color combination of the housing, leader pin door (gate), and write-protect switch.
For example, CE_001 is a valid VOLSER for a service volume. Normally, an embedded blank in a VOLSER is illegal. It results in the volume being flagged as having an unreadable external label. The blank is used for the service volume labels to ensure that they are unique and do not conflict with other client volume labels. Service volumes are restricted to certain reserved storage cell locations, which are predetermined.
Cleaner volume
The tape drives need to be cleaned on a regular basis, and cleaning requires special cleaning cartridges. To ensure that the operator can identify a cleaning cartridge, external labels are placed on these cartridges by the manufacturer. The IBM 3480 and 3490 models use a single
400
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
type of cleaning cartridge. However, the 3590 tape drive requires a 3590 cleaning cartridge, and the 3592 tape drive requires a 3592 cleaning cartridge. Within a library, cleaning cartridges are identified by a particular set of volume serial masks, typically, CLN***. The 3590 cleaning cartridges must be further identified by the media type label (J after the VOLSER). In response to a cleaning request, they can be mounted in an IBM 3490 drive. The cleaner volumes in the tape library also need an external label. From the Library Manager console, you must define one or more masks that identify the VOLSERs of cleaning volumes. The cleaner volume masks can be defined whenever you make one of the following selections from the Library Manager console: Inventory New Storage, and none of the components in the tape library configuration has been inventoried Re-inventory Complete System Cleaner Masks A dialog box is displayed on the Library Manager console with 10 cleaner masks. When the masks are presented for the first time, the first mask is set to a default value of CLN***. The other nine masks are set to blanks. The asterisk (*) character can be used in the mask and is interpreted as a wildcard character. After the cleaner volume masks are set, any VOLSER labels that match any of the masks are considered to represent cleaner volumes. Note: Check the cleaner mask after the described inventory process to see if you need to make changes. You can eject cleaner volumes by using a Library Manager command (see 9.4.3, Ejecting cartridges on page 405). This action causes the use count to be reset to zero. If the cartridges are not completely used, the statistics on the cleaner cartridge are inaccurate when the cleaner cartridges are reinserted.
401
ETL Specialist might not be available if you are already on the Library Manager and inserting cartridges into the 3494. Therefore, we still keep the Library Manager information in this book. The following sections focus on the Library Manager Console for the most frequent actions. They do not discuss customization activities in Advanced Policy Management (APM) for a Virtual Tape Server (VTS) or TS7700. For a detailed description of the implementation and handling of APM, see IBM TotalStorage Virtual Tape Server Planning, Implementing and Monitoring, SG24-2229, or IBM Virtualization Engine TS7700 Series Introduction and Planning Guide, GA32-0567.
Note: Using the Enterprise Tape Library Specialist is another way to determine the Library-ID. Refer to TotalStorage Enterprise Tape Library Specialist on page 28 for more information about the ETL Specialist.
402
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
403
To insert the cartridges, you: 1. Enable inventory update 2. Place the library in pause mode 3. Open one or more doors Place the cartridges in any empty storage cells, close the doors, and put the library into auto mode. When the High Availability unit is installed, do not place a cartridge into a cell of the service bays. The Library Manager then performs an inventory update. The accessor scans all storage cells in the frames and selected adjacent frames, wherever the doors were opened. Any new cartridges have their barcodes validated. Unlabeled cartridges cannot be added to the library in this way. If the VOLSER and media type are valid, the Library Manager database is updated, and the cartridge is placed in the INSERT category. The inventory of each frame takes a maximum of four minutes. For detailed information about inventory update, see IBM 3494 inventory update on page 398.
404
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
For more information, see IBM TotalStorage Virtual Tape Server Planning, Implementing, and Monitoring, SG24-2229. In a z/OS environment, each logical volume inserted by this panel creates a TCDB and an RMM-CDS entry. Make sure that your TCDB, RMM-CDS, and especially your RMM-journal are big enough to hold these new entries. If not, RMM collapses and the entries cannot be handled. To avoid this problem, enter only a specific number of virtual volumes (for example, 3,000 volumes for each insert processing) and then run the EDGBKUP utility. It is also possible to allocate a bigger RMM-journal. Important: If you run an environment with a VTS, but without an HA1 feature or a second Library Manager disk, the manual recording (you must keep the insert requests of your storage administrator) of inserting VTS logical volumes is the only source in case of a disaster to recreate your environment. In this scenario, make sure that you store these documents.
405
Cartridge import
The VTS import operation allows logical volumes to be moved to a VTS from another VTS. The source VTS can be in the same tape library or in a different tape library. The import process allows you to copy logical volumes back from exported stacked volumes. The basic steps of the import process are: 1. An operator inserts import cartridges (cartridges containing data to be imported) into the IBM TotalStorage Enterprise Automated Tape Library. 2. The host designates the stacked volumes or specific logical volumes to be imported into the VTS. 3. The VTS determines the logical volumes involved and copies them from the set of import cartridges onto cartridges that are already in the VTS. The VTS creates internal references to each imported logical volume. 4. The VTS informs the host of the results of the import process. For more information about the import function, refer to IBM TotalStorage Virtual Tape Server Planning, Implementing, and Monitoring, SG24-2229.
406
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 9-3 IBM 3494 Library Manager Search Database for Volumes window
You can include the following options in the search criteria: VOLSER: Enter the VOLSER used in the search. The identifier consists of one to six alphanumeric characters that match the external label. You can include a wildcard character where a question mark (?) or an underscore (_) indicates one character and an asterisk (*) or a percentage symbol (%) indicates multiple characters. Category: Enter the category used in the search. A category is a logical grouping of volumes for specific use. The categories are 0000 to FFFF. They must contain four hexadecimal characters and cannot contain wildcard characters. All categories beginning with FF are predefined for use or reserved for Library Manager use. See Appendix C, Library Manager volume categories on page 499 for a comprehensive list of Library Manager volume categories. Device: Either enter or select the tape drive address used in the search to see whether the volume is mounted or being mounted on the drive. You can obtain a valid tape drive address by clicking the drop-down arrow. Single-character and multiple-character wildcards are valid.
407
Media Type: Select the correct media types for the types of tape drives installed in the tape library: 1: CST E: ECCST J: 3590 Tape Cartridge (HPCT) K: 3590 Enhanced Capacity Tape Cartridge (EHPCT) JA: 3592 Enterprise Tape Cartridge (ETC) JJ: 3592 Enterprise Economy Tape Cartridge (EETC) JW: 3592 Enterprise Worm Tape Cartridge (EWTC) JR: 3592 Enterprise Economy Worm Tape Cartridge (EEWTC) JB: 3592 Enterprise Extended Tape Cartridge (EEETC) JX: 3592 Enterprise Extended Worm Tape Cartridge (EEEWTC)
Flags: You can include the following flag selections in the search criteria: Misplaced: The cartridge location is unknown. A volume serial number specified in a library request is not in the tape library where expected. Unreadable: The vision system cannot read the barcode of the external cartridge label. Mounted: The cartridge is mounted or being mounted on a tape drive. Inaccessible: The cartridge accessor cannot access the cartridge. A requested VOLSER is in the tape library but cannot be accessed by the cartridge accessor because of a problem with either the cartridge or the cell that contains the cartridge. Manual mode: An operator handles the cartridge during manual mode processing. These flags are used for problem determination procedures that determine whether the tape library contains volumes for which an action must be taken. The following options are possible values for each flag: Yes: Search for volumes to which this flag applies. No: Search for volumes to which this flag does not apply. Ignore: Search for volumes without regard for this flag. The search results are displayed in a list. The list can contain up to 100 records at one time. If more than 100 records are found, click Next 100 and Prev 100 to display the additional records. Each record contains the following information: VOLSER: The volume serial number of the cartridge M.T.: The media type of the cartridge Cat.: The category, which is represented by four hexadecimal characters that identify the group of volumes or a predefined category Cat. Order: The position of the cartridge in the category Flags: The status of the flags Device: The tape drive address if the cartridge is mounted Cell: The storage cell that contains the cartridge Home: The cartridge home cell location Mounts: The total number of times that the cartridge was mounted
On the Search Database for Volumes window (see Figure 9-4), you can search the volume database for specific volumes on the basis of search criteria. The more search criteria you use, the more restrictive the search is.
You can include the following options in the search criteria: Volser: Enter the volser used in the search. The volser consists of one to six alphanumeric characters that match the cartridge label. A wild card (pattern-matching) character can be included, where ? or _ indicates one character and * or % indicates multiple characters. Category: Enter the category used in the search. A category is a logical grouping of volumes for specific use. The categories are 0000 to FFFF. They must contain four hexadecimal characters and cannot contain wildcard characters. All categories beginning with FF are predefined for use or reserved for Library Manager use. See Appendix C, Library Manager volume categories on page 499 for a comprehensive list of Library Manager volume categories. Storage Group: Select a Storage Group to be used in the search. Storage Groups are defined by a one to eight alphanumeric character name. Select Dont Care if there is no preference. Management Class: Select a Management Class to be used in the search. Management Classes are defined by a one to eight alphanumeric character name. Select Dont Care if there is no preference. Storage Class: Select a Storage Class to be used in the search. Storage Classes are defined by a one to eight alphanumeric character name. Select Dont Care if there is no preference.
Chapter 9. Operating the IBM TotalStorage 3494 Tape Library
409
Data Class: Select a Data Class used in the search. Data Classes are defined by a one to eight alphanumeric character name. Select Dont Care if there is no preference. Current Pool: Select a current Storage Pool to be used in the search. The current pool name can be between 0 and 32. This field is only used for stacked volumes. Home Pool: Select a home Storage Pool to be used in the search. The home Storage Pool name can be between 0 and 32. This field is only used for stacked volumes. Media Type: Select the correct media types for the types of tape drives installed in the tape library: 1: CST E: ECCST J: 3590 Tape Cartridge (HPCT) K: 3590 Enhanced Capacity Tape Cartridge (EHPCT) JA: 3592 Enterprise Tape Cartridge (ETC) JJ: 3592 Enterprise Economy Tape Cartridge (EETC) JW: 3592 Enterprise Worm Tape Cartridge (EWTC) JR: 3592 Enterprise Economy Worm Tape Cartridge (EEWTC) JB: 3592 Enterprise Extended Tape Cartridge (EEETC) JX: 3592 Enterprise Extended Worm Tape Cartridge (EEEWTC)
Note: Storage Group, Management Class, Storage Class, Data Class, Current Pool, and Home Pool in the search criteria apply to VTS or TS7700. The search results are displayed in a list. The list can contain up to 100 records at one time. If more than 100 records are found, click Next 100 and Prev 100 to display the additional records. Each record contains the following information: Category: The category represented by four digits that identifies the group of volumes or a predefined category. M.T.: M.T. represents the media type of the cartridge. StorGroup: The Storage Group to which the VOLSER is assigned. The Storage Group is used for volume pooling and to set the primary Storage Pool. MgmtClass: The Management Class to which the VOLSER is assigned. The Management Class is used for volume duplexing. The Management Class allows assignment of peer-to-peer copy control parameters and the secondary Storage Pool. StorClass: The Storage Class to which the VOLSER is assigned. The Storage Class is used for tape volume cache management. DataClass: The Data Class to which the VOLSER is assigned. The Data Class is used for future use. CurrPool: The Storage Pool that contains the VOLSER for Stacked Only. This field indicates the Storage Pool that the stacked volume is in currently for Stacked Only. HomePool: The VOLSER Home Pool location for Stacked Only. This field indicates the stacked volumes home pool, which can be the same as the current pool. If it is different, it indicates the volume is borrowed or will be moved to this pool as a result of a pool move operation.
410
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
To determine whether the cartridge is used as a native cartridge or a stacked volume in a VTS/TS7700 To determine to which VTS/TS7700 the cartridge belongs when it is used as a stacked volume To help determine a VOLSERs media type when it is inserted into the tape library VOLSER ranges are used only for physical volumes. The available media types are CST, ECCST, 3590 (HPCT and EHPCT), and 3592 (JA, JW, JJ, JR, JB, and JX). The VOLSER entry fields can contain up to six alphanumeric characters. The two VOLSERs must be entered in the same format. Corresponding characters in each VOLSER must both be either alphabetic or numeric. For example, AAA998 and AAB004 are of the same form, but AA9998 and AAB004 are not. Here, we explain how to determine the VOLSERs that fall within a range. The VOLSERs range is increased in increments. The alphabetic characters are increased alphabetically, and the numeric characters are increased in numerical increments. For example, VOLSER range ABC000 through ABD999 might result in a range of 2,000 VOLSERS (ABC000 to ABC999 and ABD000 to ABD999). When a range is added or modified, the Library Manager automatically combines overlapping ranges with the same media type and checks for range conflicts. When you modify a VOLSER range, the media type for existing volumes in the tape library is unchanged. Volumes that are inserted subsequently reflect the new set of ranges and associated media type. The media type of the inserted volume is determined by using the following rules: The media type label read by the vision system is used. The VOLSER ranges are used to determine a media type if the vision system cannot read the media type label. If the VOLSER being inserted appears within one of the VOLSER ranges, the ranges associated media types are used. The Library Manager uses the default media type defined during the teach process to determine the media type if the inserted VOLSER does not fall into one of the VOLSER ranges. The VOLSER is ejected if there is no default media type. Select Commands System Management Volser Range for Mediatypes. For a detailed and full description of all of the fields, refer to the IBM TotalStorage Automated Tape Library (3494) Operators Guide, GA32-0449. The input to this panel comes from the Storage Administrator in your environment. However, we recommend that you: Check whether the range is already defined Check whether the range is modified so that the same media type applies File the original request to keep track of the changes Important: If you run an environment with a VTS/TS7700, but without an HA1 feature or second Library Manager disk, manual recording of your changes is the only source to recreate your environment in case of a disaster. In this case, be careful with the documents.
411
412
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
condition. You can click Help to display the operator actions for the intervention-required conditions. 3. Repeat step 2 until all of the conditions are resolved. When you reply that all outstanding conditions are resolved, the window closes. You can close the window and resolve certain conditions later by clicking Cancel.
413
If the cartridges are moved during manual mode operations to another location, these unlabeled cartridges are ejected because they are not found in their proper locations. If the tape library is re-inventoried, these cartridges are ejected because the Library Manager database is deleted and their external labels cannot be read during re-inventory. If two unlabeled cartridges are swapped during manual or pause mode, the tape library is unaware of the post-inventory exchange. Inventory update is automatically performed after manual or pause mode. It verifies only that all unlabeled cartridges are in cells that previously contained unlabeled cartridges. Therefore, when asked to mount one of the exchanged cartridges, the tape library mounts the wrong one. We strongly recommend that you leave unlabeled cartridges in the tape library for as short a period of time as necessary to satisfy their requirements. If you want to use unlabeled tapes, you must have the convenience I/O station. To insert unlabeled cartridges, follow these steps: 1. Ensure that the convenience I/O station is empty. 2. Enter the VOLSERs and the cartridge types of all cartridges to be inserted in the spaces on the Insert Unlabeled Cartridges window (Figure 9-5 on page 414).
Figure 9-5 IBM 3494 Library Manager Insert Unlabeled Cartridges window
3. Place the cartridges in the convenience I/O station in the same sequence that is represented on the window. Close the convenience I/O station door. 4. Click OK.
414
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 9-6 IBM 3494 Library Manager Setup Stand-alone Device window
You can also mount cartridges in the convenience I/O station. This method is known as the transient mount or the mount from input station function. It allows you to mount cartridges that do not reside in the IBM 3494 and cartridges that do not have proper external labels. These cartridges are chosen directly from the convenience I/O station, loaded into the tape drive by the cartridge accessor, and then returned to the convenience I/O station. You must install the convenience I/O station feature to take advantage of this function. You can also mount the cartridge of a predefined sequential set of a specified category, which is known as the automatic cartridge loader mode. Although the tape drives in the IBM 3494 do not have automated cartridge loaders, the IBM 3494 allows for automatic mounting of the next cartridge of a predefined sequential set in a specified tape drive in the tape library. The IBM 3494 supports the assignment of cartridges to a special category, the assignment of a specified drive for restricted use with the special category, and the removal of the restriction on the usage of a tape drive. You can also use this panel to rekey an encrypted volume. First, you mount the encrypted volume to be rekeyed using this panel. When it is mounted, you use the Re-key option on this panel. Selecting Re-key a currently mounted volume presents a second panel, Re-Key Mounted Volume XXXXXX on Device XXXX as shown in Figure 9-7 on page 416. This panel requires
Chapter 9. Operating the IBM TotalStorage 3494 Tape Library
415
System Administrator authority and is used to enter the volume rekey data. This operation can only be performed on a volume that is currently mounted by the Stand-Alone Device Setup process.
Except for the rekey operation, the setup stand-alone device function of the IBM 3494 works only when you are running stand-alone utilities or IPL your stand-alone program. For example, in MVS environments, most of these functions are useful only when the MVS operating system is unavailable. Therefore, you cannot use the stand-alone device for MVS jobs. To set up the stand-alone device function, select Setup Stand-Alone Device from the Library Manager Commands menu. To set up a stand-alone device, follow these steps: 1. Enter a device address in the Enter device field to specify the tape device in the IBM 3494. 2. Enter a VOLSER in the VOLSER field to identify the tape volume to mount. 3. Select Mount a single volume to mount a specified volume onto the requested device. When you select this operation, you must also select either Do not change volume category or Change at mount. To set up a stand-alone device with transient mount, follow these steps: 1. Enter a device address in the Enter device field to specify the tape device in the IBM 3494. 2. Enter a VOLSER in the VOLSER field to identify the tape volume to mount. 3. Select Mount from Input Station to mount transient cartridges located in the convenience I/O station directly onto the requested device and then return them to the convenience I/O station after unloading. To set up a stand-alone device with automatic cartridge loader mode, follow these steps: 1. Enter a device address in the Enter device field to specify the tape device in the IBM 3494. 2. Enter a VOLSER in the VOLSER field to identify the tape volume to mount. 3. Select Assign category to a device to assign a category to a tape device. When you select this operation, you must select one of the three Change volume category options. 4. Enter a category to assign to a device in the Category to assign to device field.
416
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
5. Select Volumes in category order to mount volumes in their category order. To perform the rekey operation, follow these steps: 1. Mount a volume in a device using one of the previous methods. 2. Leave the VOLSER and device ID in their respective fields. 3. Select Re-key a currently mounted volume. 4. Press OK. The Re-key Mounted Volume panel is displayed. 5. Select one or two Key modes and Key labels from the drop-down lists. If you only select the first Key mode and Label, the same mode and label will be used twice in the rekey operation. 6. Select Save/Exit. The rekey operation begins. See the IBM TotalStorage Automated Tape Library (3494) Operators Guide, GA32-0449, for more detailed information.
Action List Select an action. Press Enter to confirm action completion (except Mounts). Action Mount Mount Mount Mount Mount Eject VOLSER WCC007 WSB392 SCR023 WR0112 FGG641 ERV399 From Rack Rack Rack Rack Rack Rack To Device Device Device Device Device
12 7 12 3 11 13
B C E J C F
11 5 6 13 10 11
Press the Refresh key (F9) to update the list. F1=Help F3=HideScreen F4=Error F5=Insert F6=Review
F9=Review
F10=Locate
The Library Manager console provides information about the type of command, VOLSER, the cell number of the volume located, and tape drive addresses. The mount commands are also displayed on the tape drive message display.
417
When the operator opens the frame doors to start performing manual operations, the first task is to remove any cartridge from the gripper and place it in the convenience I/O station. When volumes are used in manual mode, their Library Manager database indicator is set to manual mode. This indicator is also used to direct error recovery when the tape library is returned to the auto mode. The main operations processed by the operator in manual mode are mount and demount. To execute a mount operation, the operator reads the information provided on the Library Manager console, locates the volume, and loads it into the specified tape drive. To assist the operator, the VOLSER to be mounted and its location are displayed on the message display of the appropriate tape drive. Therefore, the operator can perform the mount operation without the Library Manager console. If a mount operation is successful, a confirmation is provided by the tape subsystem. No explicit operator response is required. Unless the operator has a problem performing the mount operation, loading the volume in the tape drive completes the operation. If the operator has a problem during the mount, the operator must specify the action by using cursor keys on the Library Manager console and then press F4. Pressing that key shows the Error Processing display on the Library Manager console (Figure 9-9).
Error Processing Select the error description that best fits the error situation and press the Enter key.
Action Mount
VOLSER SSG332
From Rack
2 D
22
To Device 3F5
Error Description . . . Rack Cell Empty Rack Cell In Use Wrong VOLSER Device In Use No Cartridge In Device Cartridge Not Found Other Error
F1=Help
F3=HideScreen F12=Cancel
Figure 9-9 IBM 3494 Library Manager manual mode Error Processing display
On the console, the operator selects the error description to report the error. If a cartridge is loaded into a tape drive that has not requested the mount, the cartridge is unloaded. There is no host attention indicator for the mistaken mount. To execute a demount operation, the tape drive automatically rewinds and unloads the cartridge volume. The operator then removes the cartridge from that drive. The cartridges demounted from the drives are either placed in the high capacity output cells or removed from the tape library to a client-provided cart.
418
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
An audit operation is not allowed in manual mode. Any queued audit operations fail as they are fetched from the operations queue. Any audit commands received after the tape library has entered manual mode fail immediately.
419
CHCK1: Library Manager Check 1 Conditions TESTM: Test SNMP Trap Message For a detailed description of these events, see the IBM TotalStorage Automated Tape Library (3494) Operators Guide, GA32-0449.
420
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Figure 9-11 Change SNMP Trap Destinations window for OS/2 Version 2.11
To add a destination, follow these steps: 1. Add the SNMP trap destination in the New Trap Destination field. 2. Click Add. 3. To activate the changes, select Activate Changes. To delete a destination, complete these tasks: 1. Highlight the SNMP trap destination in the list box that you want to delete. 2. Click Delete. 3. To activate the changes, select Activate Changes. If the SNMP daemon is running when you select Activate Changes, the Library Manager ends it and restarts it with the new changes.
421
To add a destination, complete these steps: 1. 2. 3. 4. 5. Select Trap destination. Select UDP in the Protocol field. Enter the monitor station name and IP address in the appropriate fields. Click Add. Click OK.
To delete a destination, you must: 1. Highlight the SNMP trap destination in the list box that you want to delete. 2. Click Delete. 3. Click OK. Note: HRMCNFIG is an external process to the Library Manager. You must wait until that process completes before Library Manager SNMP support is enabled. Wait until the Change SNMP Trap Destinations field becomes selectable again (no shadow). After it becomes selectable, you can use all SNMP features.
422
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Starting SNMP
After you select trap types and configure trap destinations, you can enable Library Manager SNMP support: 1. Select Commands from the main menu. 2. Select SNMP Options from the menu. 3. Select Start SNMP from the submenu. These actions start the SNMP daemon. To ensure that the daemon is running, press Ctrl+Esc to display a window list and verify that SNMPD is listed.
Stopping SNMP
To stop SNMP, follow these steps: 1. Select Commands from the main menu. 2. Select SNMP Options from menu. 3. Select Stop SNMP from the submenu. Library Manager SNMP traps are not generated if the SNMP daemon is not running.
SNMP requirements
To use SNMP on the IBM 3494, you must have the following requirements: Either LAN attachment feature code (FC) 5219 or FC5220 must be installed on the 3494 to connect it to the clients LAN. SNMP alert monitoring software must be running on a workstation on the LAN to which the 3494 is connected. The SNMP alert monitoring software must be customized to handle the SNMP traps sent by the 3494 Library Manager.
423
SNMP troubleshooting
Most problems that you encounter are related to site network configuration. To ensure that SNMP works correctly, follow these steps: 1. Make sure that the SNMPD process is running. 2. Make sure that you can ping the monitor station from a service window. If you cannot ping the monitor station, there is a network configuration problem that you must correct. 3. Generate a TESTM trap message and check the SNMPD window to see whether it was sent. Press Ctrl+Esc to display the window list. Highlight the SNMPD process. You see the TESTM trap message in the window. If there are any errors, the daemon is not starting correctly.
424
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The following sections focus on the ETL Specialist for the most frequent actions.
425
426
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
427
To start a new search, follow these steps: 1. Select New Search. 2. Select Next at the bottom of the panel. 3. Select the search criteria that is shown in Figure 9-18 on page 429.
428
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
4. Select Next at the bottom of the panel. 5. Select additional fields to be returned in the results set by selecting the check box next to appropriate fields in the panel that is shown in Figure 9-19 on page 430.
429
6. Select Next at the bottom of the panel. 7. Select the format for your search results. You can select from either: i. Screen: The search results will be displayed on the panel. This option is available only if six or fewer columns have been selected for output. ii. File: The search results will be saved on the hard drive using the filename that you specify. You can view this file by using any text editing software.
430
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
8. Select Finish. Figure 9-21 shows the search database result on the panel.
Figure 9-21 Search Results panel Chapter 9. Operating the IBM TotalStorage 3494 Tape Library
431
432
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
433
434
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
435
436
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
437
Keep the volume record in the TCDB and update it to indicate that the cartridge has been ejected (KEEP or K). If the record contains information in the SHELF location field, it is unchanged. If the SHELF location field is empty, the operator must enter information about the new location as a reply to write to operator with reply (WTOR). The reply can be up to 32 characters long. Keep the volume record in the TCDB and update it, including updating the SHELF location even if there is information in this field (LOCATION or L). The operator has to enter the new information as a reply to WTOR. If none of the variations (PURGE, KEEP, or LOCATION) is indicated in the command, a default decides whether the record is kept or purged. You can set this default up separately for each library through the ISMF Library Definition panel. This command is available for the operator to eject single cartridges. Mass ejection of cartridges is usually performed through program interfaces, such as ISMF, a tape management system, or a batch job. LIBRARY SETCL, device-number, media-type This command allows you to set the media type of the scratch volume that will be loaded into the integrated cartridge loader (ICL) of the specified tape drive. You must issue the command on the system on which the drive is online. The other hosts are notified when the drive is varied online on the system. If the media assignment by this command is different from the current assignment, the ICL is emptied, and the proper cartridges are loaded. VARY SMS,LIBRARY(libname),OFFLINE This command acts on the full library. It stops tape library actions and gradually makes all of the tape units within this library unavailable. The units are varied offline for library reasons, which means that they are inaccessible because the whole library is offline. This simple form is a single-system form. The status of the library remains unaffected in other MVS systems. Note: The VARY unit command is completely separate from the Library Manager action. VARY SMS,LIBRARY(libname),ONLINE This command is required to bring the library back to operation after it has been offline. The library does not necessarily go offline as a result of an error in a component of the library. Therefore, certain message explanations for error situations request the operator to first vary the library offline and then back online, which usually clears all error indications and returns the library back to operation. Of course, this part is only the MVS part of error recovery. You must clear the hardware, software, or operational error within the library before you bring the library back to work with MVS. VARY SMS,LIBRARY(libname,sysname,...),ON|OFF and VARY SMS,LIBRARY(libname,ALL),ON|OFF These extended forms of the VARY command can affect more than one system. The first form affects one or more named MVS systems. The second form performs the VARY action on all systems within the SMSplex. The VARY SMS command allows the short forms ON and OFF as abbreviations for ONLINE and OFFLINE, respectively.
439
DISPLAY SMS,OAM This command gives a single line of information about all tape libraries (if present), their tape units, storage cells, and scratch cartridges. This view shows the single system where the command was executed. The number of unallocated, online drives is given under the heading AVL DRV (available drives). If both optical libraries and tape libraries are defined in the SMS configuration, two multiline WTOs are displayed. The first multiline display produced by the library control system (LCS) is the display of optical library information. The second multiline display contains tape library information. DISPLAY SMS,LIBRARY(libname|ALL),STATUS The library status display shows the SMS view of either one library or all of the libraries. The result contains one line of information for each library. This multihost view basically indicates whether the library is online, offline, or pending offline. STATUS is the default parameter. DISPLAY SMS,LIBRARY(ALL),DETAIL The DETAIL display, although a single system view, gives slightly more information. The display is similar to the result of DISPLAY SMS,OAM, but each library gets its own line of information. DISPLAY SMS,LIBRARY(libname),DETAIL This command provides details about the status of a single library. It is the only command that displays the library state (auto, pause, or manual mode). Reasons for the mode and indications of inoperative parts of the library are given on additional status lines. Examples of special situations are: Safety enclosure interlock open Vision system not operational Convenience output station full Out of cleaner volumes
DISPLAY SMS,STORGRP(grpname|ALL) There are no new parameters in the Storage Group display command, because the optical library request formats are adequate here. This display command is a general form of a request and gives the total SMS multihost view of the situation. The result is a display of the status of either all Storage Groups (DASD, optical, and tape) or a single Storage Group. There is no format to display one category only. DISPLAY SMS,STORGRP(grpname|ALL),DETAIL The DETAIL display is not much more detailed than the general display. Only the library names of this Storage Group are indicated. This display is, in fact, more restricted than the general display. It gives the view of only one system, the view of its OAM, as the header line indicates. The LISTVOL parameter of DISPLAY SMS,STORGRP is not used for tape Storage Groups. Although you can view a volume list through ISMF, a similar listing on the console is too long to be meaningful. DISPLAY SMS,VOLUME(VOLSER) This command displays all of the information that is stored about the volume in the TCDB (the volcat) and certain nonpermanent state information, such as volume mounted on library-resident drive.
440
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
DS QT,devnum,1,RDC This command displays identification, status, and diagnostic information about tape devices. You can use the command to display the LIBRARY-ID and the LIBPORT-ID that are stored for a device in an IBM 3494. Here is the sample output of a DS QT system command:
DS QT,1699,1,RDC IEE459I 12.30.05 DEVSERV QTAPE 970 UNIT DTYPE DSTATUS CUTYPE DEVTYPE CU-SERIAL DEV-SERIAL ACL LIBID 1699 3490L ON-NRD 3490A20 3490B40 0177-10619 0177-10619 I 10007 READ DEVICE CHARACTERISTIC 3490203490400000 1FF8808000000000 0000000000000000 0000000000000000 0100070100000000 4281000000000000 0000000000000000 0000000000000000 -----| -| |-------> 4. Byte = LIBPORT-ID | |----------------> 1.-3. Byte = LIBRARY-ID (omit first half byte) LIBRARY-ID=10007 LIBPORT-ID=01
DS QT,devnum,MED,nnn This command displays information about the device type, media type, and the cartridge volume serial number. It is particularly useful when more than one type of 3590 Model (B/E/H) tape volume exist together. The devnum parameter is the device address in hexadecimal. The nnn parameter is the number of devices to query. Here is the sample output of a DS QT system command:
IEE459I 11.32.31 DEVSERV QMEDIUM 608 UNIT RDTYPE EDTYPE EXVLSR INVLSR RMEDIA EMEDIA 0940 3590-E 3590-1 003700 3 UNIT, the device address RDTYPE, the real device type (physical) EDTYPE, emulated device type EXVLSR, external volume label INVLSR, internal volume label RMEDIA, real media type EMEDIA, emulated media type
VARY unit,ONLINE|OFFLINE The VARY unit command is no different than it was before; however, there are new situations when the affected unit is attached to a library. When the library is offline, you cannot use the tape units. This condition is internally indicated in a new status, offline for library reasons, which is separate from the normal unit offline status. A unit can be offline for both library and single-unit reasons. A unit, which is offline for library reasons only, cannot be taken online with VARY unit,ONLINE. Only VARY SMS,LIBRARY(...),ONLINE helps. You can bring a unit online that was individually varied offline and was offline for library reasons by varying it online individually and varying its library online. The order of these activities is unimportant, but both activities are necessary. Currently, no display directly gives the reason that the unit is offline, nor is there a display that gives the name of the library to which this unit belongs.
441
DISPLAY U The DISPLAY U command displays the status of the requested unit. If the unit is part of a tape library (either manual or automated), device type 348X is replaced by 348L. An IBM 3490E is shown as 349L, and a 3590 as 359L. For a manual tape library, this system might create a situation where it is no longer possible to see from the console response whether a particular tape unit supports IDRC, because this information is overlaid by the L indicating that the unit belongs to a library. The output of DEVSERV is not changed in this way. MOUNT The MOUNT and UNLOAD commands are still available. The processing of MOUNT has been modified to accommodate automated tape libraries and the requirement to verify that the correct volume has been mounted.
442
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The following sections discuss library hardware failures and suggest recovery actions. For additional information about error recovery, see the IBM TotalStorage Automated Tape Library (3494) Operators Guide, GA32-0449.
The fields on the System Summary window can have the following values: The Library Manager field shows whether the Library Manager is Online Pending, Online, Offline Pending, or Offline to the attached tape control units. The Standby Library Manager field shows the status of the standby Library Manager: Enabled indicates that the standby Library Manager is functional. Disabled indicates that the standby Library Manager is not functional and causes the overall system to report Degraded. Degraded indicates that the standby Library Manager has lost one of its communication links with the active Library Manager. Not Taught indicates that the accessor has not completed a successful teach, making it unusable. The Active Accessor field shows which accessor is the active accessor: An A indicates that accessor A is active. A B indicates that accessor B is active. Both indicates that the Dual Active Accessor feature is installed. See 9.10.2, Dual Active Accessor recovery scenarios on page 453 for more information about the Dual Active Accessor. None indicates that there is currently not an active accessor (both accessors are unavailable).
443
The Standby Accessor field shows the status of the standby accessor: Available indicates that the standby accessor can be used if an accessor switch occurs. Service Mode indicates that the accessor is unavailable while it is serviced. Not Available indicates that the accessor has components marked unavailable that currently make it unusable. Not installed indicates that the second accessor is not installed.
445
446
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
LIBRARY SETCEXIT, which automatically resynchronizes the tape management system and the Library Manager database by using the IDCLI04 exit. BTLS supports eight scratch categories. If you use multiple scratch volume pools, you must also develop a procedure to manage the scratch categories. VM/ESA and VSE/ESA In a VM/ESA or VSE/ESA environment, the tape management system is responsible for resynchronizing its database with the Library Manager database. Typically, operational procedures are followed to issue the command or start the job provided by the tape management system to synchronize the two databases. The information in the tape management system database is never changed. Only the Library Manager database is updated. AIX The tape management system is responsible for updating the Library Manager database for the volumes that it controls. If you are using IBM Tivoli Storage Manager, use the Tivoli Storage Manager volume history file and CHECKIN the volumes using the appropriate volume category. If you have cartridges inside of the 3494 Tape Library that you automated through the MTLIB command, set their Library Manager category by using this MTLIB command: mtlib -l /dev/lmcp0 -C -VAIX001 -txxxx Here, xxxx is the Library Manager category that you use.
447
Active LM LM-A Ethernet LAN (Alternate Link) Ethernet LAN (Primary Link)
Active LM LM-B
L-Frame
Under normal operation, that is, no elements have failed or are degraded, the active Library Manager is Library Manager A (LMA), and the standby Library Manager runs on Library Manager B (LMB). The active accessor, Accessor A, is controlled from LMA. LMA receives host commands over the serial interfaces (RS-422) from direct-attached hosts and serially attached control units. LMA controls the operator panel and convenience I/O station. The accessor manager on LMA knows that the standby accessor, Accessor B, is safely parked in its service bay. The accessor manager in LMA performs move operations using Accessor A. The active database on LMA is continually backed up onto LMB across the primary link. The Dual Active Accessor (DAA) feature is a performance enhancement follow-on to the HA1 feature. With DAA installed and enabled, both Accessor A and Accessor B are active, and typically, LMA is the active Library Manager and LMB is the standby Library Manager. The accessor manager in LMA performs move operations using Accessor A and passes move operation commands for Accessor B to LMB across the primary link. The IBM 3494 is designed to operate in degraded mode when a component fails. If a switchover to the standby Library Manager has occurred because of a failure, there is no technical reason to switch back to the original Library Manager. However, the clients policies and needs must dictate this decision. We recommend that you periodically switch between Library Managers to verify that the standby Library Manager is functional.
448
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Two conditions cause a Library Manager switchover: Library Manager failure due to a catastrophic failure or unrecoverable code-detected error Switchover on demand Note: A complete failure of a Library Manager causes its accessor to become unavailable.
449
During Library Manager switchover, the window shown in Figure 9-29 is replaced by the Library Manager switching window (Figure 9-30).
When the standby Library Manager becomes active, the window (Figure 9-30) is no longer displayed. The System Summary window displays indicating a transition to auto mode. The accessor is also switched, because it becomes unavailable when the Library Manager to which it is attached fails. During Library Manager switchover, there is no host interaction. Switchover can take several minutes. We recommend that the operator monitor the switchover process on the Library Manager.
450
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
When the switchover has completed, the System Summary window shows: Overall System: Degraded Standby LM: Disabled Standby Accessor: Not Available The attached hosts receive an operational state change message (see Standby Library Manager failure on page 449). In this scenario, this message is an indication to the host operator that the library is available. The operator needs to vary the library online and restart any jobs that have failed. When you have resolved the failure on the standby Library Manager (LMA) and powered it on, the standby accessor (Accessor A) becomes Available as soon as the base Library Manager code is loaded. After LMA is initialized, the Library Manager database on LMA is initialized, and the database is copied from the active Library Manager (LMB) to the standby Library Manager (LMA). The database copy can take a long time depending on the size of the database and the activity on the library during the copy process. The database copy also uses many of the Library Manager resources. Therefore, we recommend that you do not attempt any other Library Manager actions during this process. Note: With the VTS advanced functions installed from a host perspective, the library remains online and operational during the switchover. When a Library Manager switchover occurs, an operational state change bit is sent to the host (Library Manager switchover in progress), causing the message CBR3783E Library Manager switchover in library <library-name> in progress. After the switchover completes, you see a new message CBR3784I Library Manager switchover in library <library-name> is now complete. The Check 1 bit that caused the library to go offline and that issued CBR3002E is no longer set.
451
452
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
453
454
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
After the failed accessor is repaired, use the work item on the left side of the panel to navigate to the required panel by selecting Administer library manager Manage Mode and State as shown in Figure 9-31. Then, click Enable DAA to enable the Dual-Active Accessor Capacity.
The active accessor goes to its service bay. The recovered accessor calibrates on both ends of the library. Normal operations resume with both accessors active.
455
456
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Appendix A.
457
458
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Software components
For the System z HSC, the library station component and the client software component are available. The HSC is required, and the library station component and the client software component are optional.
459
Control datasets
You place all of the information about the Sun StorageTek environment in control datasets. You define the following base information through an HCS-owned process (LIBGEN) to the control datasets: Number of ACSs and LSMs Placement of drive walls and actual installed drives Passthru Attached HSC hosts Permanent updated information includes: The inserted cartridges and their positions in the ACS are part of the information. Additional information is included about these cartridges, such as Status, Entry Date, last used, and so forth. Additional information for Virtual Storage Manager (VSM) is included. Compared to a VTS, VSM is the outboard database of the VTS. There are three types of control datasets: Primary (the active dataset) Secondary (a copy of the primary control dataset) Standby (used in case of a failure from primary or secondary) A primary control dataset is mandatory. The secondary and standby control datasets are optional, but for disaster recovery reasons, we highly recommend them.
We describe the software requirements to support the drives in the following relevant detailed platform chapters: Chapter 6, Running z/OS production systems on page 261 Chapter 7, Software implementation: Other System z platforms on page 301 Chapter 8, Software implementation: Open Systems environments on page 331
The 3592 Model C20 with 3592 tape drives is designed to provide additional performance and capacity for Sun StorageTek Automated Cartridge System (ACS) users while helping to reduce the requirement for additional automation hardware. The additional cartridge capacity available with the 3592 Tape Drive benefits clients who utilize system backup and restore applications. The IBM TotalStorage Silo Compatible Tape Drive Frame 3592 Model C20 supports all 3592 tape drives (see Figure A-1). Due to the smaller size of the 3592 drive (when compared with the 3590 family of drives), the Model C20 frame holds up to 20 drives, which is more than three times the number of drives allowed in any preceding silo compatible frame. The 3592 Model C20 attached to a Sun StorageTek ACS provides for attachment of 3592 tape drives to host systems with Fibre Channel adapters. In this Fibre Channel attachment offering, the 3592 Model C20 allows hosts, such as System z Linux, System p, RS/6000, HP (Hewlett Packard), or Sun servers, to attach to 3592 tape drives in an ACS without the need for an additional control unit and with no disruption to the library environment. Alternatively, 3592 tape drives in the 3592 Model C20 can also be attached to ESCON or FICON hosts through an externally attached TS1120 Tape Controller (3592 Model C06) in a 3952 F05 frame, or a 3592-J70 Controller or 3590 Model A60 Controller in a 3590 Model C10 Silo Compatible Frame. To support Silo operation, each 3592 Tape Drive in a 3592 Model C20 communicates with the Library Control Unit (LCU) of the Library Storage Manager (LSM) by using Sun StorageTek library ports. The Enterprise tape controllers provide emulation capability allowing attached 3592 tape drives to appear to the host system as 3490E or 3590 tape drives. This capability enables 3592 tape drives in a 3592 Model C20 to be integrated into an existing ACS environment, typically without host software modifications.
461
462
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: When there are fewer than twenty drives installed in a 3592 Model C20, ensure that you describe the drive address positions accurately in LIBGEN with the proper syntax for unused drive locations. With Open Systems attachment, ensure that the drive designations refer to the proper position in the drive panel.
463
Operating environments
The Model C20 frame supports multiplatform attachment to IBM System z, zSeries (S/390), IBM System p, IBM pSeries (RS/6000, SP), IBM System x, and xSeries servers. The Model C20 frame also supports selected Open Systems servers, such as products from Sun Microsystems and Hewlett-Packard, and Intel-based systems running Microsoft Windows operating systems.
464
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: System z and Open Systems drives can coexist in the same C20 frame. Obtain an update of the Open Systems device drivers to ensure support for the attachment of the 3592-J1A and TS1120-E05 tape drives to various servers. Clients, who have already installed the Open Systems device drivers, can download new device drivers through anonymous FTP from: ftp://ftp.software.ibm.com/storage/devdrvr/
465
Remote support hardware Configure STKs software. The silo is typically controlled by STKfs NCS or HSC software.
Note: The appropriate default 3592 Model C20 power cords are attached at the plant based on the order destination country code. FC9951, FC9952, and FC9986 replace the default power cords.
466
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
FC4831 (Field Install 3592 Model J1A Tape Drive in 3592 Model C20)
This feature provides the hardware and instructions for field merge or field installation of one 3592 Model J1A tape drive canister in a C20 Drive Shelf Pair in the 3592 Model C20. Two tape drive canisters can be installed in each C20 Drive Shelf Pair (FC4830). Maximum: 20 if FC4840 is not installed, or a maximum of 10 if FC4840 is installed. Field installation only. Prerequisite: An available C20 Drive Shelf Pair (FC4830) according to: The number of drives installed (FC4831, FC9675, FC4833, FC4835, or FC9679) can be no greater than twice the number of C20 Drive Shelf Pair features (FC4830), if the Air Box Cover (FC4840) is not installed. The number of drives installed (FC4831, FC9675, FC4833, FC4835, or FC9679) can be no greater than the number of C20 Drive Shelf Pair features (FC4830), if the Air Box Cover (FC4840) is installed.
FC4833 (Field Install the 3592 Model E05 in a Model C20 Frame)
This feature provides the hardware and instructions for field merge or field installation of one 3592 Model E05 tape drive canister in a C20 Drive Shelf Pair in the 3592 Model C20. Two tape drive canisters can be installed in each C20 Drive Shelf Pair feature (FC4830). Maximum: 20, if the Air Box Drive Cover (FC4840) is not installed, or a maximum of 10 if FC4840 is installed. Prerequisite: An available C20 Drive Shelf Pair feature (FC4830) according to: The number of drives installed (FC4831, FC9675, FC4833, FC4835, or FC9679) can be no greater than twice the number of C20 Drive Shelf Pair features (FC4830) if the Air Box Drive Cover (FC4840) is not installed. The number of drives installed (FC4831, FC9675, FC4833, FC4835, or FC9679) can be no greater than the number of C20 Drive Shelf Pair features (FC4830) if the Air Box Drive Cover (FC4840) is installed.
FC4836 (Field Install the 3592 Model E06 in a Model C20 Frame)
This feature provides the hardware and instructions for field merge or field installation of one 3592 Model E06 tape drive canister in a C20 Drive Shelf Pair in the 3592 Model C20. Two tape drive canisters can be installed in each C20 Drive Shelf Pair feature (FC4830).
467
Maximum: 20 if the Air Box Drive Cover (FC4840) is not installed, or a maximum of 10 if FC4840 is installed.
FC4837 (Field Install the 3592 Model EU6 in a Model C20 Frame)
This feature provides the hardware and instructions for field merge or field installation of one 3592 Model EU6 tape drive canister in a C20 Drive Shelf Pair in the 3592 Model C20. Two tape drive canisters can be installed in each C20 Drive Shelf Pair feature (FC4830). Maximum: 20 if the Air Box Drive Cover (FC4840) is not installed, or a maximum of 10 if FC4840 is installed.
FC9675 (Plant Install 3592 Model J1A Tape Drive in 3592 Model C20)
This feature notifies the plant to plant install a new 3592 Model J1A tape drive into a new 3592 Model C20 coming from the plant. Plant installation only. FC9675 must also appear on the 3592-J1A tape drive order.
FC9679 (Plant Install 3592 Model E05 Tape Drive in 3592 Model C20)
This feature notifies the plant to plant install a new 3592 Model E05 tape drive into a new 3592 Model C20 coming from the plant. This code must appear on the 3592 tape drive order and also on the 3592 Model C20 order. Plant installation only. FC9675 must also appear on the 3592-E05 tape drive order.
FC9688 (Field Merge 3592 Model EU5 or E06 in a Model C20 Frame)
This feature provides the hardware and instructions for field merge or field installation of 3592 Model EU5 or E06 tape drives in a C20 frame.
FC9693 (Plant Install 3592 Model E06 Tape Drive in 3592 Model C20)
This feature notifies the plant to plant install a new 3592 Model E06 tape drive into a new 3592 Model C20 coming from the plant. This code must appear on the 3592 tape drive order and also on the 3592 Model C20 order. Plant installation only. FC9675 must also appear on the 3592-E06 tape drive order.
468
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
469
470
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
471
Maximum: One. This feature is mutually exclusive with FC7310, FC7311, FC7312, FC7313, FC7314, and FC7316. Prerequisites: FC1903 is required with FC7315.
473
Category Switch
Description 4 Gbit Fibre Channel switch Fibre Channel switch Rack Mount Kit Redundant Fibre Channel Rack Attach Reinstall 4 Gbit Fibre Channel switch External Fabric Support/Field External Fabric Support/Plant
External Fabric
FC3492 FC9492
474
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
stand-alone rack. One of these features must be specified for each 3592 tape drive to be attached to the TS1120 Tape Controller in the rack. Prerequisites: FC3478 (Two Dual-Ported Fibre Adapters) and FC4641 (Install Model C06 in a rack).
475
476
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
477
Tape Controller and the switch. Fibre Channel cables from the 3592 tape drives to the switch in the rack with the TS1120 Tape Controller are included by specifying FC3062 (one or two for each tape drive). For the multi-rack attachment of 3592 tape drives in other racks to the switch, order the cables with the drives. Plant or field-installed. Maximum: One. Prerequisites: FC4641 plus FC3488 or FC4897.
479
480
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Appendix B.
481
482
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Another good option is to use the information from VMA if you want to migrate to a new tape library or to new drives and media. The information from VMA allows continuous tracking and monitoring of your workload and provides a trend of your data growth. It enables you to recognize bottlenecks and to perform the appropriate sizing for upgrades. Note that there are restrictions regarding VMA and Virtual Tape Server (VTS).
483
Note: For information about the total exchanges (mounts and demounts) from an IBM 3494, use the ETL Specialist. If it is not installed, use the Library Manager.
The installed I/O devices and tape library view: How many workloads are directed in total to a library in: One day? One hour? The batch window?
How many drives are used in what time frame? How many exchanges (mounts and demounts) are handled? To answer these questions, regular VMA reports are needed. Sometimes, you also need to compare data for detailed troubleshooting. The following implementation is an example of getting this information on a daily basis: 1. Run the extractor on each system or sysplex and store it in a generation dataset (GD). Include at least 30 consecutive days. 2. Run the necessary VMA reports on a daily basis, scheduled through your scheduling system: Total workload from this system or sysplex (all tape devices or all libraries) Workload to a specific library from this system or sysplex 3. Store the output (either in an output management system or on a direct access storage device (DASD)). 4. Create a focal point on one system. Then, transfer SMF type 14, 15, 21, and 30 records (not extracted through VMA) to this system. 5. Merge SMF type 14, 15, 21, and 30 records from all of the systems in your environment. 6. Run an extractor of the SMF record file that was created in step 5 and store it in a Generation Data Group dataset (GDGD). Include at least 30 consecutive days. 7. Run the necessary VMA reports on a daily basis scheduled through your scheduling system. The reports need to be based on the total workload, including all of the system or sysplex down to each specific library. 8. Store the output (in an output management system or on DASD). The advantages of this implementation are that you: Have detailed information from a platform and hardware view Have comparison data Have data from three weekends and month-end processing 484
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Have the necessary data available for IBM sizing tools Can always run additional VMA reports without having to read SMF raw data again Note: The size of a VMA extractor file depends on the amount of SMF data and the percentage of tape workload that you have. Allow approximately 10 tracks of the VMA-extractor file per 1 million SMF records in an environment with high tape usage.
Tape tools
Tape tools are highly sophisticated tools. This section gives you an overview of various tools, the benefits that they offer, the input source that they need, and the output that they deliver. Tape tools are available on the following client site: ftp://ftp.software.ibm.com/storage/tapetool Additional tools (see Additional tools on page 495) are available only for IBM Business Partners or IBM employees. For questions or suggestions regarding tape tools, send an e-mail to: mailto:[email protected]
485
Restriction: The tools relying on SMF data can only show the data for 3953 logical libraries. They are not aware of the TS3500 Tape Library. All information about mount and demount is related only to the logical libraries, or (if determined with SMF type 14, 15, 21, and 30 records) to the z/OS system. For information regarding the TS3500 Tape Library, you must use the TS3500 Tape Library Specialist.
Table B-2 z/OS tape tools: Major use and benefits Tools for TS3500 and TS7700/VTS Tool VEPSCAN Major use Shows the TS7700 and 3953 Library Manager serial numbers for Point-in-Time statistics. Shows the TS7700 and 3953 Library Manager serial numbers for historical data. Shows the VTS and 3494 serial numbers. Monitors mount pending and volume allocations. Library content management. Reports 3953 library statistics Reports 3494 library statistics Tools for TS7700/VTS only Tool BADBLKSZ EXPORT Major use Identifies small TS7700/VTS block sizes. Quantifies VTS export/import processing times. Benefit Improves performance and makes jobs run fast. Determines the times of export/import in advance. Checks if export/Import is viable. Shows how TS7700 performs at a specific time. Shows how TS7700 performs over a period of time. Shows how VTS performs. Identifies the dataset for TS7700/VTS cache management. Gets information about the reached compression ratio. Benefit Shows the LIBRARY-IDs of the TS7700 and 3953 Library Manager. Shows the LIBRARY-IDs of the TS7700 and 3953 Library Manager. Shows the LIBRARY-IDs of the VTS and 3494. Determines accurate mount times and concurrent drive allocations. Allows user to identify and eject non-mounted volumes. Monitor your environment. Monitor your environment.
VEHSCAN
VTSCAN94 MOUNTMON
TS7700 performance for Point-in-Time reporting. TS7700 performance for historical reporting. VTS performance reporting. Shows volume reuse activity.
TAPECOMP
486
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
BVIRVTS
Bulk Volume Information Retrieval request for further data processing. Point-in-time statistics. Statistics of media pool. Reports virtual volumes that have to be copied to get a TS7700 grid in sync. Creates a report of all defined pools. Historical data is written to DASD in RECFM=VB. Historical data is written to DASD in RECFM=U. Historical data is written to SMF. Report of volumes that have to be synchronized. Creates the input for the point-in-time reports. Creates recall jobs for a VTS synchronization. Audits the TS7700 for volumes that do not have a copy. Creates a list of dataset names that currently are in cache. Check volumes in TVC to see if they have a tape copy.
The only tool to get data from the TS7700 - input for BVIRRPT. Reports the current load figures. Reports the used percentage of the back-end volumes. Helps to accelerate the synchronization process after a move from VTS to TS7700. Used for housekeeping purposes. Input for VEHSTATS. Input for VEHSTATS. To further exploit SMF-based reporting. Used to synchronize a PtP VTS. The only tool for TS7700. Helps to synchronize a PtP VTS. Helps to synchronize a TS7700 grid. Can be used to improve your critical batch job chain. TS7700/VTS management.
BVIRPOOL BVIRHSTV BVIRHSTU BVIRHSTS BVIRPRPT BVIRPIT COPYVTS VESYNC TVCBYDSN TVC2VOL
Tools for migration or decisions where to go next Tool CHGDATE Major use Changes dates in SMF type 14, 15, 21, 30, and 40 records. Reports the number of Tape Mount Management (TMM) migrated datasets. Identifies multivolume tape datasets. Quantifies TMM usage. Benefit Allows analyst to simulate combining workloads from two periods. Identifies the size of TMM data if considering VTS. Creates a filter list to separate 3590 workload for Batchmagic. Identifies TMM activity. Redirecting to TS7700/VTS saves CPU cycles. Simulates the move.
DCOLLRPT
FINDLRG FSRTMM
CLEANDIL
487
Tools for the tape management system Tool BVIRRPT CHKDUPS ORPHANS CRTDIST EXPDIST Major use Identifies TS7700/VTS virtual volumes by owner. Identifies duplicate VOLSERs. Identifies orphan datasets in Tape Management Catalog. Shows the volume created over time. Quantifies the number of volumes expiring in n days from now. Identifies the datasets sent off-site. Finds old cartridges. Identifies multifile volumes with different expiration dates. Reports VOLSERs last referenced between SDATE/EDATE. Shows all active VOLSERs from the tape management catalog. Also, gets volume counts by group, size, and media. Quantifies VTS export/import processing times. Gets VOLSERs from a list of dsnames. Synchronizes VTSs after PtP creation. Recalls volumes to TS7700/VTS. Identifies datasets with create date equal to last referenced date. Reads TMS catalog and lists active dsnames. Builds a common record format of different TMS systems. Unloads VRS report to tape. Creates extract file of RMM. Creates a vault list. Benefit Determines which applications or users have virtual volumes. Finds duplicate VOLSERs. Cleans up the tool. Shows client use patterns of volumes. Determines the rate of return to scratch. Creates a filter list to separate off-site workload. Improves data reliability. Prevents a single file from not allowing a volume to return to scratch. Determines how many VOLSERs were last referenced during a period. Takes a picture of the user data naming convention. Sees how many volumes are allocated to different applications. Determines if Eject/Insert is viable. Automates input for prestage. Determines volumes that need sync to orderly recall. Is ordered and efficient. Gets candidate list for TS7700/VTS PG0. Helps housekeeping. Used for tape analysis. Used for tape analysis. Used for tape analysis. Used for tape analysis.
LASTLIST
VOLLIST
488
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Job environment and job improvement tools Tool IOSTATS TAPEWISE Major use Reports job elapsed times. Identifies tape usage improvement opportunities. Monitors and reports write/read throughputs on tape drives. Helpful tools FILETIME Measures file positioning times. Determines positioning differences between drive types. Allows TapeWise and other tools using SMF type 14 and 15 record data to report the actual recalled dataset name. Filters SMF records to keep tape activity only. Speeds up the process of making dsname lists generic, which makes tape study more accurate. Improves the quality of a tape analysis. Benefit Shows runtime improvements. Helps to improve the tape usage. Shows the wrong allocation types. Possible unequal loads.
QSAMDRVR
FSRMATCH
Replaces *.HMIGTAPE.DATASET in SMF14 with actual recalled name. IFASMFDP exit or E15 exit. Generic dsname lists.
SMFILTER GRPDSN
CHGSMFID
Changes the SMF-ID in cases where multiple SMF files are to be processed.
Table B-3 Tape tools: Necessary input, given output, and prerequisites Tools for TS3500 and TS7700/VTS Tool name VEPSCAN VEHSCAN VTSCAN94 Input Data from BVIR facility Data from BVIR facility obtained using BVIRHIST SMF94 Output The LIBRARY-IDs from the 3953 (Distributed and Composite) The LIBRARY-IDs from the 3953 (Distributed and Composite) The LIBRARY-IDs from the 3494 and PtP VTS (Distributed and Composite) The number of mounts, mount times, tape allocation, and so forth List of volumes not referenced in n days, eject list, detail content report Prerequisites None None None
MOUNTMON
Is an active task, samples tape UCB TCDB, TMS: CA1, TLMS, RMM, ZARA, CTLT
None
LIBMANGR
None
489
BADBLKSZ
Logrec MDR TMS: CA1, TLMS, RMM, ZARA BVIR data and CA1, TLSM, RMM, ZARA,CTLT CA1, TLSM, RMM, ZARA
VOLSER, jobname, and dsname for VTS volumes with small block sizes Logical volumes by jobname or dsname, logical to physical report Number of off-site volumes, MBs, amount of time for export/import process TS7700 Point-in-Time reports on vNode, cache, physical drive usage, and Distributed Library statistics TS7700 Historical reports on vNode, cache, physical drive usage, and Distributed Library statistics VTS Physical drive usage, virtual drive usage, and TVC (cache) statistics; reclaim statistics Reuse distribution Shift and hourly reports showing current read and write compression ratios Projected off-site volumes, MBs, amount of time for Eject/Insert process VOLSER of requested dsn List of all VOLSERs to recall by application Job to prestage list of VOLSERs Filter list of potential PG0 candidates
None
BVIRRPT
EXPORT
None
VEPSTATS
None
VEHSTATS
None
VTSSTATS
SMF94
None
VOLREUSE TAPECOMP
SMF type 14, 15, 21, and 30 records Logrec MDR or EREP history file CA1, TLSM, RMM, ZARA,CTLT Tape management catalogs BVIR map, tapecatalog BVIR maps CA1, TLSM, RMM, ZARA,CTLT
None None
EXPORT
None
Tools for migration or decisions where to go Tool name CHGDATE DCOLLRPx FINDLRG FSRTMM Input SMF type 14, 15, 21, 30, and 40 records DFHSM MCDS file CA1, TLSM, RMM, ZARA,CTLT HSM FRS records Output Modified SMF records Number of files and GB Dataset length distribution, used as input for Batchmagic Report showing ML0-ML2 and ML2-ML0 activity Prerequisites None None None SAS
490
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Input CA1, TLSM, RMM, ZARA, CTLT CA1, TLSM, RMM, ZARA,CTLT
Output List of duplicate VOLSERs List file shows all multi-occurrence GDG datasets that have not been created in the last nn days Distribution of create dates Volume count distribution by media Report and a disk file filter list of off-site dataset names List of active data on old cartridges and cartridge birth date distribution List of files not matching file one expiration date List of VOLSERs and dsnames Dsname, VOLSER, create date, volume sequence; group names and counts by media type
CA1, TLSM, RMM, ZARA,CTLT CA1, TLSM, RMM, ZARA,CTLT CA1, TLSM, RMM, ZARA, CTLT CA1, TLSM, RMM, ZARA,CTLT CA1, TLSM, RMM, ZARA,CTLT CA1, TLSM, RMM, ZARA,CTLT CA1, TLSM, RMM, ZARA,CTLT
Job environment and job improvement tools Tool name IOSTATS TAPEWISE Input SMF type 30 records SMF type 14, 15, 21, 30, and 40 records Output Job step detail reporting UNIT_AFF, early close, Unit=(TAPE,2) multimounts, users of allocations, and so forth Prerequisites None None
Helpful tools Tool name FILETIME FSRMATCH Input Runtime parameters FSR records, plus SMF type 14, 15, 21, 30, 40, and so forth records SMF data Dsname list Output Positioning time reports Updated SMF14 plus all other SMF records as they were Records for tape activity plus optional TMM activity Generic dsname list Prerequisites None None
SMFILTER GRPDSN
None None
The following sections describe three of these products: MOUNTMON TAPEWISE VTSSTATS
491
MOUNTMON
Use MOUNTMON to answer the following questions: How many tapes do we mount in general or per device type? How many scratch mounts and how many specific mounts? How long does it take to mount a tape? How long are tapes allocated? How many drives are used at any time? Which jobs are allocated to many drives? MOUNTMON is the most accurate source of concurrent drive usage reports. For details about MOUNTMON, refer to the presentation that is available on the FTP server at: ftp://ftp.software.ibm.com/storage/tapetool/mountmon.pdf
TAPEWISE
Tape Usage Analyzer (TAPEWISE) is based on SMF type 14, 15, 21, 30, and (40) records. It gives you information about how many drives are used and how many mounts are done. It also gives you an idea about the following items: Who is using too many drives? Are media errors occurring? How long are allocation delays? Does remounting of the same VOLSERs occur? Are there allocations without open? Which is being used: UNIT=AFFF or UNIT=(TAPE,2)? Long allocation of tapes, but why is only a small amount of data transferred? What datasets are recalled in a VTS? For details about TAPEWISE, see the presentation available on the FTP server at: ftp://ftp.software.ibm.com/storage/tapetool/tapeWise.pdf
VTSSTATS
VTSSTATS is based on SMF94 records. It summarizes the VTS activity on an hourly and daily basis. It gives you a complete and detailed look at the workloads running on your VTS for all attached users. It is used for: Monitoring VTS drive and Tape Volume Cache (TVC) activities Determining whether content management (cache management) is necessary Performing trend analysis to see when an upgrade is needed (TVC sizes, physical drive attachment, and so forth) Monitoring the stacked volume environment Watching out for bottlenecks (throttling or small block sizes)
VEHSTATS
VEHSTATS is for analyzing statistics from the TS7700 that were obtained using the Bulk Volume Information Retrieval (BVIR) function. This historical data from the TS7700 is formatted by VEHSTATS for analysis. For details about VEHSTATS, see the sample output available on the FTP server at: ftp://ftp.software.ibm.com/storage/tapetool/vehstats.samprpt.pdf
492
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
493
Note: The BVIR function was first introduced on the prior generation of Virtual Tape Servers. It can also be used to get statistical data from a 3494 Model B10 or B20. Its use has been expanded with the introduction of the TS7700 Virtualization Engine. For the monitoring and adjustment of the grid links and for the control of copies within a grid, there are two new functions available with TS7700 R 1.4A: Dynamic link load balancing Today, the copy workload, which has to go to the other clusters within a grid, is balanced equally on the grid links. The dynamic link load balancing function compensates for unbalanced network performance by different network equipment or path length. A host console request provides information about the performance of the grid links from the perspective of a specific TS7700. Host console copy control A host console request is available to suspend or resume logical volume copies on a cluster basis. For example, you can suspend the copy for a specific logical volume in a 3-site grid (local-local-remote) on the remote cluster only. There are two steps to obtain information using this facility (see Figure B-1): 1. A single dataset with the information request is written to a logical volume. During close processing, the TS7700 Virtualization Engine server will recognize this volume as a request volume and prime the subsystem for the next step. 2. The request volume is again mounted, this time as a specific mount. Seeing that the volume was primed for a data request, the TS7700 appends the requested information to the dataset. When the TS7700 has completed appending to the dataset, the host is notified that the mount has completed.
Requested Data is appended to the logical volume Processing occurs during mount time Read BVIR data from logical volume Return BVIR volume to scratch
or
The requested data can then be accessed like any other tape dataset. To convert the binary response records from BVIR, you can use the tool that is provided by IBM, which is called VEHSTATS. IBM provides, as well, a white paper with the record layout of the binary BVIR response data, which you can use to decode the binary file or which you can use to program
494
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
your own tool. The white paper is IBM TotalStorage Virtual Tape Server 3494 Bulk Volume Information Retrieval Function Users Guide. It is available on the Web from: http://w3-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP100430 For clients: http://www-1.ibm.com/support/docview.wss?rs=0&q1=BVIR&uid=tss1wp100430&loc=en_US&c s=utf-8&cc=us&lang=en For more information about BVIR and VEHSTATS prerequisites, how to get the tools, and how to use them, refer to IBM Virtualization Engine TS7700: Tape Virtualization for System z Servers, SG24-7312.
ST@S3494
ST@S3494 is also based on the SMF94 records. It provides an overview of the entire physical library for all of the attached users. It provides: Physical mounts (every mount regardless of native traffic or mounts for VTS back-end processing) Number of enters and ejects Average and maximum residency times For each logical library: The number of drives and the number of mounts of physical drives The average and maximum mount time of physical drives Use ST@S3494 to provide trend analysis to see whether the physical limits of your library are reached and upgrades are needed.
Additional tools
Certain tools are not available through the client site. Table B-4 provides an overview of the tools that IBM uses.
Table B-4 Additional tools Tool Batchmagic Major use Analysis and projection of tape environments. Analyzes the tape usage today and creates simulations, for example, by introducing new technology. To produce a valid simulation, at least 30 days of SMF data input and TMC backups are necessary. This tool has been enhanced for the TS7700. Use this PC-based tool for VTS sizing. Use this tool for Dual Active Accessor performance projection (Lotus 1-2-3). This tool is a VTS Import/Export time estimator (Lotus 1-2-3). This tool calculates available slots based on the configuration (Lotus 1-2-3).
495
496
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Check with your IBM SSR. The IBM SSR can see the actual reached load point time of the cartridge. Check the TAPE ON message in the syslog. If there is a big difference, relabeling is a possible reason. Possible solutions are: Repair the hardware. Reduce physical movement: Check the home cell mode and positioning of cartridges. Check movements for VTS reclaims (Threshold setting). Reduce your Advanced Policy Management (APM) pools. There are too many users accessing the library. Introduce a second gripper. Introduce the Dual Active Accessor (DAA) feature (if a library has more than four frames).
This information only applies to scratch cartridges. If it happens, check with your IBM SSR. The IBM SSR can see the actual time of load point reached on the cartridge. Compare this time to the moment that you receive the TAPE ON message in your system. If there is a big difference, this is an indicator that a relabeling has occurred.
Unable to monitor FICON using FICON directors in the intersection between the Director and unit with z/OS tools
Possible solutions are: Add more units, spread your jobs to different time slices, and look for allocation without open. Add more channels and introduce FICON.
Appendix B. Monitoring and reporting
497
Add or upgrade to an A60 controller. For bad traffic, try to migrate to VTS. Even if the traffic is not perfect, it performs better than in native drives. Try to increase the block size. Manage your cache with Initial Access Response Time (IART) or APM.
498
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Appendix C.
Null category
This pseudo-category is used in certain library commands to specify that the category that is already associated with the volume is to be used by default or that no category is specified. Use of the null category does not affect the volumes order within the category to which it is assigned. No volumes are associated with this category. Indicates scratch MEDIA1. MEDIA1 is a standard-capacity cartridge system tape. Indicates scratch MEDIA2. MEDIA2 is an enhanced-capacity cartridge system tape. Indicates scratch MEDIA3. MEDIA3 is the IBM TotalStorage Enterprise 3590 High Performance Tape Cartridge. Indicates scratch MEDIA4. MEDIA4 is the IBM TotalStorage Enterprise 3590 Extended High Performance Tape Cartridge. Indicates scratch MEDIA5. MEDIA5 is the IBM TotalStorage Enterprise Tape Cartridge 3592 DATA.
0005
DFSMS/MVS
499
Used by
Definition
Indicates scratch MEDIA6. MEDIA6 is the IBM TotalStorage Enterprise Tape Cartridge 3592 WORM. Indicates scratch MEDIA7. MEDIA7 is the IBM TotalStorage Enterprise Tape Cartridge 3592 ECONOMY. Indicates scratch MEDIA8. MEDIA8 is the IBM TotalStorage Enterprise Tape Cartridge 3592 ECONOMY WORM. Indicates scratch MEDIA9. MEDIA9 is the IBM TotalStorage Enterprise Tape Cartridge 3592 Extended. Indicates scratch MEDIA10. MEDIA10 is the IBM TotalStorage Enterprise Tape Cartridge 3592 Extended WORM. 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 can be used for library partitioning. 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. 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.
DFSMS/MVS DFSMS/MVS
DFSMS/MVS DFSMS/MVS DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest
0081
0082
0083
0084
0085
0086
0087
500
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Used by
Definition
DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest DFSMS/VM including VSE Guest N/A Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA
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.
0089
008A
008B
008C
008D
008E
008F
0090 to 009F 00A0 00A1 00A2 00A3 00A4 00A5 00A6 00A7 00A8
501
Category (in hexadecimal) 00A9 00AA 00AB 00AC 00AD 00AE 00AF 00B0 00B1 00B2 00B3 00B4 00B5 00B6 00B7 00B8 00B9 00BA 00BB 00BC
Used by
Definition
Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native VSE/ESA Native 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.
502
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Used by
Definition
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. Currently not used. Indicates that the volume has been assigned to category *SHARE400. Volumes in this category can be shared with all attached System i, iSeries, and AS/400 systems. Indicates that the volume has been assigned to category *NOSHARE. Volumes in this category can be accessed only by the i5/OS system that assigned it to the category. No assignment to a specific host system. These categories can be dynamically assigned by the Library Manager on request of a host. Indicates a private volume. Volumes in this category are managed by IBM Tivoli Storage Manager (TSM). Indicates an IBM 3490 scratch volume. Volumes in this category are managed by TSM. Indicates an IBM 3590 scratch volume. Volumes in this category are managed by TSM. No assignment to a specific host system. These categories can be dynamically assigned by the Library Manager on request of a host. 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. No assignment to a specific host system. These categories can be dynamically assigned by the Library Manager on request of a host.
0101
i5/0S (MLDD)
0102 to 012B
N/A
TSM for AIX TSM for AIX TSM for AIX N/A
Basic Tape Library Support (BTLS) BTLS BTLS BTLS BTLS BTLS BTLS N/A
503
Used by
Definition
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 need to use only this default scratch category.
1000 to F00D
N/A
No assignment to a specific host system. These categories can be dynamically assigned by the Library Manager on request of a host. 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. No assignment to a specific host system. These categories can be dynamically assigned by the Library Manager on request of a host. Insert category When a tape volume is added to an automated tape library, the library reads the external label on the volume, creates an inventory entry for the volume, and assigns the volume to the insert category. This category can be updated by operator interaction through Librarian Workstation Support. Stacked Volume Insert category for a Virtual Tape Server. A volume is set to this category when its volume serial number is in the range specified for stacked volumes for any VTS library partition. Stacked Volume Scratch category 0 for a Virtual Tape Server. This category is reserved for future use for scratch stacked volumes. Stacked Volume Scratch category 1 for a Virtual Tape Server. This category is used by the VTS for its scratch stacked volumes. This category is not used if licensed internal code (LIC) is 527 or higher. Stacked Volume Private category for a Virtual Tape Server. This category is used by the VTS for its private stacked volumes. If LIC level is 527 or higher, this category includes both scratch and private volumes. Stacked Volume Disaster Recovery category for a Virtual Tape Server. A volume is set to this category when its volume serial number (VOLSER) is in the range specified for stacked volumes for any VTS library partition and the Library Manager is in disaster recovery mode. This category is used by the VTS as a temporary category for disaster recovery. After a stacked volume in category FF05 is processed, it is put into this category. This category is reserved for future hardware functions.
F00E
BTLS
F00F to FEFF
N/A
FF00
All
FF01
FF02
FF03
FF04
FF05
FF06
FF07
504
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Used by
Definition
This category is used by the VTS to indicate a Read-Only-Recovery Stacked Volume with active data that cannot be recovered. Reserved for future hardware functions. Convenience Eject category When a tape volume is assigned to the convenience eject category, it becomes eject pending and the Library Manager queues the tape volume to be moved to a convenience output station. When the volume is delivered to an output station, it is deleted from the Library Managers inventory. Note: Logical volumes cannot be ejected from the library. They can be deleted or exported.
FF11
Library Manager
Bulk Eject category 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 Managers inventory. Note: Logical volumes cannot be ejected from the library. They can be deleted or exported.
FF12
Export Pending category A logical volume to be exported is assigned to this category at the beginning of a Virtual Tape Server export operation. Logical volumes in this category are considered in use. Any attempt by a host to mount, audit, or change the category of a volume fails. Engineering note: If the library export operation is cancelled or fails, any volumes assigned to this category are reassigned to the category they were in prior to the export operation.
FF13
Exported category Set when the Virtual Tape Server has exported the logical volume. The attached hosts are notified when volumes are assigned to this category. Any attempt by a host to mount, audit, or change the category of a volume fails, except a Library Set Volume Category order assigning the volume to the purge-volume category. Import category Stacked volumes that contain logical volumes to import into the Virtual Tape Server are assigned to this category by an operator at the Library Manager, after they are entered into the library through the convenience I/O station and placed in the Unassigned category.
FF14
505
Used by
Definition
Import Pending category Logical volumes to be imported from a stacked volume are added to the Library Manager inventory and assigned to this category when the Virtual Tape Server starts importing them. At completion, successfully imported volumes are assigned to the insert category (FF00). The attached hosts are then notified of volumes assigned to the insert category. Any host attempt to use a volume assigned to this category will fail. Engineering note: If the library import operation is cancelled or fails, any volumes assigned to this category are deleted from the library inventory.
FF16
Unassigned category Volumes are assigned to this category by the Library Manager whenever volumes are added to the library through the convenience I/O station and the library contains one or more VTS subsystems that have the Import/Export functions installed and enabled. Manual intervention is required to assign the cartridges to the proper category. For exported stacked volumes, the proper category is the import category (FF14). Export Hold category Physical volumes are assigned to this category on completion of processing for an export stacked volume. Reserved for library These categories are reserved for future hardware functions. Corrupted Token Volume category In a Peer-to-Peer VTS, volumes are assigned to this category by an AX0 controller when it has determined that the tokens associated with the volume have been corrupted. This assignment prevents the volume from being selected by a category mount request. Reserved for library These categories are reserved for future hardware functions. 3592 Cleaner Volume Cleaner volumes for 3592 type devices in the library are assigned to this category automatically. 3592 Service Volume Volumes are assigned to this category by the Library Manager when it detects that a volume has a unique service cartridge volume serial number (VOLSER) and a media type compatible with a 3592 device. 3590 Service Volume category Volumes are assigned to this category by the Library Manager when it detects that a volume has a unique service cartridge VOLSER and a media type compatible with a 3590 device.
FF17
N/A
FF20
FF21 to FFF5
N/A
FFF4
Library Manager
FFF5
Library Manager
FFF6
Library Manager
506
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Used by
Definition
Reserved for library These categories are reserved for internal library functions. 3490 Service Volume category Volumes are assigned to this category by the Library Manager when it detects that a volume has a unique service cartridge VOLSER and a media type compatible with a 3490 device. Manually ejected category Volumes are assigned to this category when they are removed from the library under the control of an operator, not the control program. Volumes in this category are no longer available for any other operations, except purge volume category assignment. Purge Volume category When this category is specified in a Perform Library Function command with the Library Set Volume Category order and the volume is either in the misplaced state, is assigned to the exported category, or is assigned to the manually ejected category, the specified VOLSERs record is deleted from the inventory. No volumes are associated with this category. Unexpected Volume category This category is reserved for future use. 3590 Cleaner Volume category Cleaner volumes for 3590 type devices in the library are assigned to this category automatically. 3490 Cleaner Volume category Cleaner volumes for 3490 type devices in the library are assigned to this category automatically. VOLSER Specific category This category is for general use by programming except that any Library Mount request to this category must be for a specific VOLSER and not based on the category only.
FFFA
Library Manager
FFFB
Library Manager
FFFC FFFD
FFFE
Library Manager
FFFF
Library Manager
507
508
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Appendix D.
509
Implementing BTLS
Installation of the BTLS software changes the following components: Message display Allocation Dynamic device reconfiguration (DDR) IDCAMS LIBRARY command Tape library attention messages Tape library statistics SMF type 94 record
Message display is the z/OS function that sends messages to the tape drive message displays. BTLS modifies these messages to send mount and demount commands to the Library Manager. Mount causes a cartridge to be mounted on a drive. Demount causes a cartridge to be demounted from a drive and returned to the storage cells. Allocation has been changed to use the BTLS rules as defined in the records in the master catalog. These rules are defined through the IDCAMS LIBRARY command. Allocation can be controlled by an esoteric or job name, a procedure name, and a user exit. BTLS modifies the list of eligible devices to include all library-resident or library-nonresident devices before device allocation. DDR controls the swapping of cartridges after an I/O error. BTLS changes DDR to ensure that the swap goes to the same device type in the same library. DDR swaps within a library no longer require operator intervention.
BTLS provides an IDCAMS LIBRARY command for the control and definition of the IBM 3494 Tape Library. The command enables functions, such as: Change cartridge status from private to scratch. Define library devices. Define allocation rules. Obtain lists of cartridges from the Library Manager. Issue commands to the IBM 3494 Tape Library, such as mount or demount and load or unload integrated cartridge loaders (ICLs). Through the IDCAMS LIBRARY commands, a set of rules by which BTLS controls tape allocations is defined in the master catalog. BTLS also maintains a catalog of library-resident volumes to satisfy specific mount requests. BTLS can support up to eight tape libraries. Figure D-1 on page 511 lists the IDCAMS LIBRARY commands.
510
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The IBM 3494 Tape Library reports the completion of a mount or demount and error conditions to the host through attention messages. It also provides support to read the messages and report relevant messages to the system operator.
Control datasets
BTLS uses catalog records to define a library configuration and allocation rules. Each volume in an IBM 3494 Tape Library is also defined by a catalog record that names the library in which the volume resides. You need to allocate a user catalog for the BTLS volume entries. Figure D-2 on page 512 shows the catalog records that BTLS uses.
511
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 D-3 shows the BTLS catalog record structure.
Installation tasks
This section describes the BTLS installation tasks. For more information about installation tasks and the details of the IDCAMS command, LIBRARY, see the BTLS V1R1 Users Guide and Reference, SC26-7016. The following procedure shows you the installation tasks: 1. Define the IDCAMS command LIBRARY as a TSO command by using the Job Control Language (JCL) that is shown in Figure D-4 on page 513.
512
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
//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) /*
2. Authorize the IDCAMS command LIBRARY by adding it to IKJTSO00 in SYS1.PARMLIB. After updating IKJTSO00, the PARMLIB UPDATE(00) command authorizes the IDCAMS command LIBRARY. 3. Define the library devices. Use the IDCAMS 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 3494 Tape Library have fewer than 16 drives, all 16 possible addresses still must be defined in the host system. It is necessary to include uninstalled devices in the IDCAMS command LIBRARY DEVICES. If invalid addresses are specified, the results are unpredictable. Figure D-5 shows a sample job to define library devices. Library LIB1 (default) is defined as containing devices 180-18F and 190-19F. One BTLS system supports up to eight libraries, which must be called LIBn, where n is 1 to 8.
Recording technology (128 track, 256 track, 384 track, or EFMT1 tracks) information is not kept in a BTLS environment. Therefore, with mixed device types and mixed media types in an IBM 3494 Tape Library, we recommend that you define multiple logical libraries, such as LIB1 for the IBM TotalStorage Enterprise 3590B tape drives, LIB2 for the 3590E drives, and LIB3 for the 3590H drives, to facilitate the conversion to DFSMS tape and to control the use of the device and media types. The following example shows a command to define two logical libraries: LIBRARY DEVICES (17017F) LIBNAME(LIB1) LIBRARY DEVICES (18018F) LIBNAME(LIB2)
513
Note: BTLS offers support for four-digit device numbers. 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 through 0FFF. All other devices, including tape drives, can use any of the four-digit addresses in the 0000 through FFFF range. BTLS commands and messages use only the three significant digits 000 through FFF and assume that the fourth digit is always zero. 4. Create an esoteric device group name. Create an esoteric device group name for the library devices to facilitate allocation to the IBM 3494 Tape Library. The esoteric device group name does not have to match the library name (for example, LIB1). However, the address range of the esoteric device group name must match the library device definitions, which ensures that allocation recovery messages include only the appropriate set of tape drives. 5. 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 initial program load (IPL) by the THRESHOLD parameter is replaced when the IDCAMS command LIBRARY THRESHOLD is executed. If multiple threshold values are required, use the IDCAMS 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 (X0FFF). When more than one host shares a library, a different scratch volume category is 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 must 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 canceled 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 is eventually completed in the library. If the device is not yet allocated to another job, the volume stays 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 demounts but keeps the previously mounted volume. The demount causes 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 fails with the message ERA=64 volume in use.
514
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
LIBAFFINITY indicates that BTLS must 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. To validate affinity, BTLS compares the allocation requirements of the target DD(DD1) and the UNIT=AFF DD(DD2). The following conditions are valid: Both DD1 and DD2 require drives in the same library. Both DD1 and DD2 require nonlibrary drives. Either DD1 or DD2 can use any drive. BTLS allows any drive when Option I is used (Table D-1 on page 518) 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 breaks affinity: //DD1 DD VOL=SER=VOL001,UNIT=TAPE // DD VOL=SER=VOL002,UNIT=AFF=DD1 // DD VOL=SER=VOL003,UNIT=AFF=DD1 // DD VOL=SER=VOL004,UNIT=AFF=DD1 Note: VOL001 and VOL004 are defined to BTLS as LIB1. VOL002 and VOL003 are not defined to BTLS. When the previous JCL is executed, BTLS directs the allocation for DD1 to LIB1. It detects an error because VOL002 is not in LIB1, yet it specifies affinity with DD1. When the LIBAFFINITY option is in effect, BTLS causes the JCL to allocate as though it were written this way: //DD1 DD VOL=SER=VOL001,UNIT=TAPE //DD2 DD VOL=SER=VOL002,UNIT=TAPE // DD VOL=SER=VOL003,UNIT=AFF=DD2 // DD VOL=SER=VOL004,UNIT=AFF=DD1 For LIBAFFINITY to successfully break affinity, the set of devices determined by the UNIT parameter of the target DD must include devices that also satisfy the requirements of the broken DD. If the sample JCL was coded as in the following example, the allocation for VOL002 fails because UNIT=LIB1DEVS names an esoteric unit that does not include any devices in LIB2 (and VOL002 is defined to BTLS as a LIB2 volume): //DD1 DD VOL=SER=VOL001,UNIT=LIB1DEVS // DD VOL=SER=VOL002,UNIT=AFF=LIB1 // DD VOL=SER=VOL003,UNIT=AFF=LIB1 // DD VOL=SER=VOL004,UNIT=AFF=LIB1 Note: LIBAFFINITY is not supported when MVS/SP 5.2 is installed. EXPDT98000|EXPD option allows a duplicate of a BTLS library volume to be mounted on a drive outside the library. BTLS does not check that there is an internal label on the cartridge, so NL and Bypass Label Processing (BLP) tapes are supported. The IBM 3494 Tape Library requires every volume to have an external volume serial number (VOLSER) that is unique to that library. However, because all volume records are stored in the BTLS catalog, each VOLSER number that BTLS manages must be unique. When the EXPDT98000 option is used and a DD statement includes EXPDT=98000, BTLS does not validate or interfere with the allocation. Therefore, you can allocate a
515
drive outside the library for a VOLSER number that is defined to BTLS as a library volume. Here is an example of the BTLPRMxx parameters: THRESHOLD(50) AUTODEMOUNT SCRTCH3 /* Minimum scratch threshold warning to ops /* Demount cartridges from unallocated drives /* if no scratch pool is specified use SCRTCH3
6. Define a user catalog for BTLS volume records. Define a user catalog named BTLS that will be used by BTLS to define BTLS.BTLS.VOL.VOLSER catalog records. The catalog must be an ICF catalog. It can 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 be connected to the master catalogs of the other hosts. Note: The name of the catalog cannot be changed to a user-defined name. Here is a sample command to define the user catalog: DEFINE UCAT (NAME(BTLS) MEGABYTES(1 1) ICFCATALOG VOLUME(COMCAT) SHAREOPTIONS(3 4))
7. Install the BTLS allocation interface. For releases earlier than 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 operators 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 are received at the operator console: BTLS401I START OF BTLS INITIALIZATION BTLS402I BTLS INITIALIZATION COMPLETE 8. Obtain an inventory list from the library. After inventory processing is completed at the IBM 3494 Tape Library, use the IDCAMS command LIBRARY INVENTORY to obtain a list of the volumes in the INSERT category in the IBM 3494 Tape Library. The volume list is printed in the dataset of the LIBOUT DD statement. Figure D-6 on page 517 shows the sample JCL to obtain a list of the volumes in the INSERT category.
516
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
//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 D-6 Sample JCL to obtain a list of volumes in the INSERT category
9. Assign a volume category. Determine which VOLSER number to assign to the private category and which VOLSER number to assign to the scratch category. Then, issue the following command to assign each volume to the appropriate category: LIBRARY SETCATEGORY Figure D-7 shows a sample JCL where all volumes specified in the LIBIN DD dataset are assigned to the SCRTCH category.
//LIBJOB JOB // EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //LIBIN DD DSN=dsname,DISP=SHR //SYSIN DD * LIBRARY SETCATEGORY UNIT(180) CATEGORY(SCRTCH) /*
With mixed media types in an IBM 3494 Tape Library, we recommend that you assign different volume categories for each media type to facilitate the conversion to DFSMS tape and to control the use of the media types. If you plan to use multiple scratch pools, you must decide how you will control scratch selection. The selection can be done by assigning a device to a specific scratch pool or using the message display exit IGXMSGEX. BTLS can support a maximum of eight scratch pools, which must be called SCRTCH1 to SCRTCH8. SCRTCH1 is an alias for SCRTCH when only one media type is used. BTLS determines which scratch pool to use by first checking the unit control block (UCB) to see whether a specific scratch pool has been assigned to the device. If a scratch pool has not been assigned, BTLS uses the default scratch pool unless ISGMSGEX passes BTLS a scratch pool name from the mount message (see Message display on page 520). Note that DFSMSrmm and other tape management systems can use the mount message to pass BTLS the scratch pool name. To assign a scratch pool to a specific device, use the LIBRARY SETDEVICE command as shown here: LIBRARY SETDEVICE UNIT(700) CATEGORY(SCRTCH3) LIBRARY SETDEVICE UNIT(701) CATEGORY(SCRTCH7)
517
10.Create volume records. Use the IDCAMS command LIBRARY DEFINE to create a volume record for each volume. Figure D-8 shows the sample JCL to create volume records for the volumes. All volumes specified in the LIBIN DD dataset 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 of the library, and only nonlibrary devices are used to satisfy the allocation. 11.Create the operator procedure. Create a procedure to be used by the operator to issue the IBM 3494 Tape Library mounts and demounts. The procedure needs to invoke the IDCAMS LIBRARY command. 12.Define the options for scratch allocation. Before you set the BTLS options, first decide how you want BTLS to act. BTLS can influence allocation in the following ways: Esoteric Job name, procedure name All allocations to library devices No allocations to library devices
A M I
518
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Option 1
Option 2
Option 3 D T
Description This option disables DDR support. This option traces DDR support for diagnostic purposes.
If you decide to control allocation by job name or procedure name, a maximum of 50 names (or masks) can be specified for each library. If fewer than eight characters are defined as a name, BTLS uses this name as a mask and matches these characters with the start of the job or procedure name. If you decide to control allocation by an esoteric name, the esoteric unit can only contain library-resident drives. Sending all allocations to library-resident drives can be used if nonlibrary devices are not installed or are no longer used. Sending all allocations to nonlibrary devices can be used during installation or for problem analysis. The LIBRARY OPTIONS command is used to indicate how BTLS controls allocation. The LIBRARY OPTIONS command is also used to change the BTLS defaults set in BTLSPRM00 or to display the BTLS options currently set. The sample LIBRARY OPTIONS command tells BTLS to base allocation on the job or procedure name and that its allocation assist function and DDR support are enabled: LIBRARY OPTIONS(JEE) For further control over allocation when you use JOBNAME, you can use the allocation installation exit, AOMABEXT. For example, if you want a workload to go to any IBM 3494 Tape Library, you must code the exit to pass the addresses of all eligible library-resident drives. An example of the LIBRARY JOBNAMES command is shown here: LIBRARY JOBNAMES(PRODAHSM GO2LIB1) LIBNAME(LIB1) LIBRARY JOBNAMES(TESTJOB2 GO2LIB2) LIBNAME(LIB2) In this example, PRODAHSM is directed to LIB1. TESTJOB2 goes to LIB2. Any job or procedure starting with GO2LIB1 goes to LIB1. And, any job or procedure starting with GO2LIB2 goes to LIB2. If you later decide to add to or change the list of names for BTLS to use, you must include in the command the names that you want BTLS to continue to control. The original BTLS record is overwritten each time that you issue the LIBRARY JOBNAMES command. 13.Secure the IDCAMS command, LIBRARY. If you want to control use of the IDCAMS 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 3494 tape libraries. A sample command to define IDCLI01 to RACF is shown here: RDEFINE PROGRAM IDCLI01 UACC(NONE) PERMIT IDCLI01 CLASS(PROGRAM) ID(oper) ACCESS(READ) 14.Create an internal volume label. Use IEHINITT to label any cartridges that require internal volume labels. Enter M to reply to the console message IEC701D for each volume. When volumes are demounted by IEHINITT, they are assigned to the private category. Use the LIBRARY SETCATEGORY command to assign the volumes to the appropriate category.
519
Installation exits
Installation exits are provided to enable you to extend or replace the BTLS replaceable module. The exits are optional. For sharing and partitioning an IBM 3494 Tape Library in a BTLS environment, you do not have to customize the system by using the installation exits. For details about the installation exits discussed next, see the BTLS V1R1 Users Guide and Reference, SC26-7016.
Message display
You can use the message display installation exit (IGXMSGEX) to select a BTLS scratch category that satisfies a library scratch mount. If one of the supported scratch categories is specified to the message display installation exit, that scratch category is used to override the scratch category that is otherwise used.
Allocation
You can use the allocation installation exit, AOMABEXT, to control library allocation. It can influence an allocation in one of the following ways: It has no influence. The allocation can be directed to a device in the specified library. The allocation can be directed to a device in any library. The allocation can exclude all library devices.
520
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
JES3 DSPs or JES3 tape commands for tape drives inside an IBM 3494 Tape Library are unsupported. JES3 can continue to manage tape devices outside the IBM 3494 Tape Library as long as those devices do not belong to the same generic or esoteric unit types as tape devices inside the IBM 3494 Tape Library. For example, you must not have JES3-managed 3490E devices outside the IBM 3494 Tape Library while IBM 3490E devices are inside the IBM 3494 Tape Library. You can have JES3-managed IBM 3480 and 3490 base devices (non-3490E) outside of the IBM 3494 Tape Library while the devices inside the IBM 3494 Tape Library are all IBM 3490Es. IBM 3490 base devices (non-3490E) are identical to IBM 3480 devices as far as z/OS JES3 is concerned. Therefore, you cannot have IBM 3490 base devices (non-3490Es) inside the IBM 3494 Tape Library and JES3-managed IBM 3480 or 3490 base (non-3490E) devices outside the library.
Library Manager
codeb FF00 FF10 FF10
Category description
I S S
Volumes inserted in the library that have not yet been assigned to another category. Convenience I/O eject. Same as EJECT. X indicates that, in addition to ejecting the volume from the library, the catalog record from the volume must be deleted. Bulk I/O eject. Same as EJECTB. X indicates that, in addition to ejecting the volume from the library, the catalog record from the volume must be deleted. Default scratch volume category. Default scratch volume category (alias name for SCRATCH). Alternate scratch volume category. Alternate scratch volume category. Alternate scratch volume category. Alternate scratch volume category.
EJECTB XEJECTB
S S
FF11 FF11
521
Name
Usea
Library Manager
codeb 0FF6 0FF7 0FF8 FFFF F00E
Category description
Alternate scratch volume category. Alternate scratch volume category. Alternate scratch volume category. Private volume category. Error volume category. Volumes are assigned to the error category during demount if the VOLSER number specified for demount does not match the external label of the volume being demounted. Cleaner cartridge. 3590 Service volume. This category is reported by the COUNTS command but is not valid with any other LIBRARY command (such as SETACL or INVENTORY). 3490 Service volume. This category is reported by the COUNTS command but is not valid with any other LIBRARY command (such as SETACL or INVENTORY). Manually ejected volume. Volumes in this category still have an entry in the Library Manager database. You can delete the entry from the Library Manager database by specifying the PURGE category in a SETCATEGORY command. Purge volume. The PURGE category name is used to remove the Library Manager database record for a volume that is either manually ejected or misplaced.
CLEANER SERVICE
I N/A
FFFE FFF6
SERVICE
N/A
FFF9
EJCTM
FFFA
PURGE
FFFB
a. Describes which LIBRARY command can read or change the Library Manager category: I = INVENTORY A = SETACL S = SETCATEGORY D = SETDEVICE T = Threshold b. The hexadecimal Library Manager volume category code
522
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
You can use IEHINITT to label tapes inside a library. The specifications of the SYS1.PARMLIB ALLOCnn member apply to BTLS.
Software customization
Because migration to and from BTLS is similar to migration in system-managed tape in many ways, this section limits its discussion predominantly to the differences.
523
Automation considerations are different from system-managed tape. Because neither object access method (OAM) nor storage management subsystem (SMS) is used, CBR* or IGD* library messages are not issued at the z/OS console. Refer to the BTLS V1R1 Users Guide and Reference, SC26-7016, for a complete update about all BTLS messages.
524
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
You can run the IDCAMS LIBRARY command as either a TSO command or with JCL. Refer to the BTLS V1R1 Users Guide and Reference, SC26-7016, for more information about the IDCAMS LIBRARY command.
//LIBJOB JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //LIBIN DD DSN=ASSIGN.VOLUMES.TO.SCRTCH,DISP=SHR //SYSIN DD * LIBRARY SETCATEGORY UNIT(xxx) CATEGORY(SCRTCH) /*
In this example, all of the volumes listed in the LIBIN dataset are assigned to category SCRTCH. Note: UNIT(xxx) specifies one of the tape drive addresses installed in the tape library. BTLS has no function to manage the retention of the tape dataset residing in the BTLS-managed volumes. Therefore, you must develop a procedure or use the tape management system to manage the tape dataset retention period.
525
3. Create BTLS volume catalog records. Use the LIBRARY DEFINE command and the volume list from step 1 to create BTLS volume catalog records in the BTLS user catalog. For specific volume requests, BTLS uses the volume catalog records to control allocation. Figure D-10 shows a sample JCL for INSERT processing.
//LIBJOB JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //LIBOUT DD DSN=INSERT.VOLUMES.LIST,DISP=(NEW,CATLG), // UNIT=SYSALLDA,DCB=(RECFM=FB,LRECL=80),SPACE=(CYL,(1,1)) //LIBIN DD DSN=INSERT.VOLUMES.LIST,DISP=SHR //SYSIN DD * LIBRARY INVENTORY UNIT(xxx) CATEGORY(INSERT) LIBRARY SETCATEGORY UNIT(xxx) CATEGORY(SCRTCH) LIBRARY DEFINE /*
In this example, an inventory list is obtained for all of the volumes in the INSERT category through the LIBRARY INVENTORY command. The volume serial number list is created in dataset INSERT.VOLUMES.LIST. The LIBRARY SETCATEGORY command causes the volumes to be placed in the scratch category in the Library Manager. The LIBRARY DEFINE command causes the volumes to be defined in the BTLS user catalog as residing in LIB1. Note: UNIT(xxx) specifies one of the tape drive addresses installed in the tape library.
526
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
//LIBJOB JOB ... //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //LIBIN DD DSN=EJECT.VOLUMES.LIST,DISP=SHR //SYSIN DD * LIBRARY SETCATEGORY UNIT(xxx) CATEGORY(XEJECT) /*
Media selection
For a scratch mount request, BTLS volume selection is based on the scratch category assigned to the allocated tape drive. It is not based on the volume media type. To select by media type, assign a different scratch category to each media-type volume. The system default scratch category name is SCRTCH1 (the alias name for SCRTCH). BTLS supports eight scratch categories: SCRTCH1 through SCRTCH8. The system default can be changed by specifying a scratch category name in SYS1.PARMLIB member BTLSPRMxx. For example, if you specify SCRTCH2 in BTLSPRMxx, SCRTCH2 becomes the system default scratch category. Use the IDCAMS LIBRARY SETDEVICE command to indicate that a tape drive use a scratch category name other than the system default. The category used to satisfy a scratch mount request issued to a particular tape drive is determined this way: If the LIBRARY SETDEVICE command is used to associate a category name with the tape drive, the category name specified in the SETDEVICE command is used. If the LIBRARY RESETDEVICE command is used to restore the default state of the device (or the SETDEVICE command has never been issued to the device), the system default category name is used.
527
528
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Appendix E.
529
530
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
JES3/DFSMS processing
The z/OS interpreter calls DFSMS to: Update the scheduler work area (SWA) for DFSMS tape requests Call automatic class selection (ACS) exits for construct defaults DFSMS/MVS system-managed tape devices are not selected by using the UNIT parameter in the JCL. For each DD request requiring an IBM 3494 Tape Library unit, a list of device pool names is passed, and from that list, a library device group (LDG) name is assigned to the DD request. This action results in an LDG name being passed to JES3 MDS for that request. Device pool names are never known externally.
531
Selecting UNITNAMEs
For a DD request, the LDG selection is based on the following conditions: When all devices in the complex are eligible to satisfy the request, the complex-wide LDGW3495 name is used. When the list of names contains names of all of the devices of one device type in the complex, the corresponding complex-device type name (for example, LDG3490E) must be used. When the list of names contains all of the subsystems in one IBM 3494 Tape Library, the library-specific LDG name (in our examples, LDGF4001, LDGF4001, and so forth) is used. When the list contains only subsystems for a specific device type within one IBM 3494 Tape Library, the LDG device-type library name (in our example, LDEF4001, and so on) is used.
Old datasets
Old dataset allocations are directed to a specific IBM 3494 Tape Library when the volumes containing the dataset are located within that IBM 3494 Tape Library. For old datasets, the list is restricted to the IBM 3494 Tape Library that contains the volumes.
for a DFSMS-managed dataset, but not necessarily to the same volume. DFSMS VOLREF services also collect information about the jobs resource requirements. The IBM 3494 Tape Library supports the following features: Identifies the DDs that are IBM 3494 Tape Library-managed mountable entries Obtains the associated device pool names list Selects the LDG that best matches the names list Provides the LDG name to JES3 for setup Indicates to JES3 that the mount is deferred until execution
Fetch messages
As IBM 3494 Tape Library cartridges are mounted and demounted by the library accessor, fetch messages to an operator are unnecessary and can be confusing. With this support, all fetch messages (IAT5110) for IBM 3494 Tape Library requests are changed to be the non-action informational USES form of the message. These messages are routed to the same console destination as other USES fetch messages. The routing of the message is based on the UNITNAME.
533
Note: An LDG name specified as a UNITNAME in JCL can be used only to filter requests within the ACS routine. Because DFSMS/MVS replaces the externally specified UNITNAME, it cannot be used to direct allocation to a specific library or library device type. All components within z/OS and DFSMS/MVS request tape mounting and demounting inside an IBM 3494 Tape Library. They call a Data Facility Product (DFP) service and library automation communication services (LACS), instead of issuing a write to operator (WTO). This request is done by z/OS allocation, so all mounts are deferred until job execution. The IBM 3494 Tape Library LACS support is called at that time. MDS allocates an available drive from the available unit addresses for LDGW3495. It passes that device address to z/OS allocation through the JES3 allocation SSI. At dataset OPEN time, LACS are used to mount and verify a scratch tape. When the job finishes with the tape, either CLOSE or deallocation issues a demount request through LACS, which removes the tape from the drive. MDS does normal breakdown processing and does not need to communicate with the IBM 3494 Tape Library.
Neither JES3 or DFSMS verifies that a complete and accurate set of initialization statements is defined to the system. Incomplete or inaccurate IBM 3494 Tape Library definitions can result in jobs failing to be allocated.
535
A library-specific device type name, which is an eight character string, starts with a different prefix for each device type, followed by the five digit library device number. See Table E-2.
Table E-2 Library device groups: Library-specific device type names Device type 3490 3490E 3590B 3590E 3590H 3592-J1A 3592-E05 3592-E05 encryption-enabled 3592-E06 Library-specific device type name LDD + library number LDE + library number LDB + library number LDC + library number LDF + library number LDJ + library number LDK + library number LDL + library number LDM + library number Content All 3490 in lib xx All 3490E in lib xx All 3590 Model B1A in lib xx All 3590 Model E1A in lib xx All 3590 Model H1A in lib xx All 3592 Model J1A in lib xx All 3592 Model E05 in lib xx All encryption-enabled 3592 Model E05 in lib xx All 3592 Model E06 in lib xx, and all encryption-enabled 3592 Model E06
It also allows you to address a specific device type in a specific tape library. In an PtP VTS environment installed in two physical libraries, there is still only one library-specific device name. The LIBRARY-ID of the Composite Library is used.
DEVICE statement: Defining I/O devices for IBM 3494 Tape Libraries
Use the DEVICE format to define a device so that JES3 can use it. You must define a DEVICE statement (see Figure E-2 on page 537) for each string of IBM 3494 Tape Library drives in the complex. XTYPE specifies a one to eight character name, which is given by the user. There is no default or specific naming convention for this statement. This name is used in other JES3 INIT statements to group the devices together for certain JES3 processes (for example, allocation). Therefore, it is necessary that all the devices with the same XTYPE belong to: The same library The same device type The letters CA in the XTYPE definition tell us that this device is a CARTRIDGE device.
536
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Note: You cannot use 3494 Tape Library tape drives as support units by JES3 DSPs. Therefore, do not specify DTYPE, JUNIT, and JNAME parameters on the DEVICE statements. There is no checking during initialization to prevent 3494 Tape Library drives from being defined as support units, and there is no checking to prevent the drives from being allocated to a DSP if they are defined. Any attempt to call a tape DSP by requesting a 3494 Tape Library fails, because the DSP is unable to allocate a 3494 Tape Library drive.
SETNAME statement
Use the SETNAME statement for proper allocation in a JES3 environment. For tape devices, SETNAME tells JES3 which tape device belongs to which library by specifying the relationships between the XTYPE values (coded in the DEVICE statement) and the LDG names (see Figure E-3). You must define a SETNAME statement for each unique XTYPE in the device statements. The rules for SETNAME statements are: Each SETNAME statement has one entry from each LDG category. The complex-wide library name must be included in all statements. A library-specific name must be included for XTYPEs within the referenced library. The complex-wide device type name must be included for all XTYPEs of the corresponding device type in the complex. A library-specific device type name must be included for the XTYPE associated with the devices within the library.
SETNAME,XTYPE=LB13592E, NAMES=(LDGW3495,LDGF4001,LDG359L,LDLF4001) Complex Library Complex Library Wide Specific Wide Specific Library Library Device Device Name Name Name Name
Note: Do not specify esoteric and generic unit names, such as 3590, 3592, SYS3480R, and SYS348XR. Also, never use esoteric names, such as TAPE and CART.
537
538
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
F4001
4 x 3592 J1A UADD 1000-1003
F4006
4 x 3592 E05 UADD 2008-2011 8 x 3592 E05 UADD 2000-2007
539
*/ Devices 3592-J1A and 3592-E05 in Library 1 ............................/* DEVICE,XTYPE=(LB1359J,CA),XUNIT=(1000,*ALL,,OFF),numdev=4 DEVICE,XTYPE=(LB1359K,CA),XUNIT=(1100,*ALL,,OFF),numdev=12, */ Devices 3592-E05 Encryption-enabled in Library 2 ............................/* DEVICE,XTYPE=(LB2359L,CA),XUNIT=(2000,*ALL,,OFF),numdev=12
You need three SETNAME statements, because you have: One library with two different device types, which requires two SETNAME statements One library with one device type, which requires one SETNAME statement
HWSNAME,TYPE=(LDGW3495,LDGF4001,LDGF4006,LDJF4001,LDKF4001,LDLF4006,LDG359J,LDG359K, LDG359L)1 HWSNAME,TYPE=(LDGF4001,LDJF4001,LDKF4001,LDG359J,LDG359K)2 HSWNAME,TYPE=(LDGF4006,LDLF4006,LDG359L)3 HWSNAME,TYPE=(LDJF4001,LDG359J)4 HWSNAME,TYPE=(LDKF4001,LDG359K)5 HWSNAME,TYPE=(LDLF4006,LDG359L)6 HWSNAME,TYPE=(LDG359J,LDJF4001)7, 8 HWSNAME,TYPE=(LDG359K,LDKF4001)9, 10 HWSNAME,TYPE=(LDG359L,LDLF4006,LDGF4006)11 Figure E-7 HWSNAME definition sample
540
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
The following numbers, which correspond to those in Figure E-7 on page 540, explain the statements in the sample: 1. All LDG definitions are a subset of the complex-wide name. 2. All 3592-J1As in library F4001 (LDJF4001) and all 3592-E05s in library F4001 (LDLF4001) are a subset of library F4001. All 3592-J1As and 3592-E05s are a subset of library F4001, because the other library only has 3592-E05 encryption-enabled tape drives installed. 3. All 3592-E05 encryption-enabled drives in library F4006 (LDLF4006) are a subset of library F4006. We also need to specify the 3592-E05 encryption-enabled drives (LDG359L), because no 3592-E05 encryption-enabled tape drives are installed in the other library. 4. All 3592-J1A tape drives (LDG359J) are a subset of the 3592-J1A tape drives in library F4001, because no other 3592-J1A drives are installed. 5. All 3592-E05 tape drives (LDG359K) are a subset of the 3592-E05 tape drives in library F4001, because no other 3592-E05 non-encryption-enabled drives are installed. 6. All 3592-E05 encryption-enabled tape drives (LDG359L) are a subset of 3592-E05 encryption-enabled tape drives in library F4006, because no other 3592-E05 encryption-enabled tape drives are installed. 7. All 3592-J1A tape drives in library F4001 (LDJF4001) are a subset of the 3592-J1A, because no other 3592-J1A tape drives are installed. 8. LDGF4001 is not a subset of 3592-J1A, because 3592-E05s are also installed. 9. LDGF4001 is not a subset of 3592-E05, because 3592-J1As are also installed. 10.All 3592-E05s in library F4001 (LDCF4001) are a subset of 3592-E05, because no other 3592-E05s are installed. 11.All 3592-E05 encryption-enabled tape drives in library F4006 (LDFF4006) are a subset of 3592-E05 encryption-enabled, because no other 3592-E05 encryption-enabled tape drives are installed. LDGF4006 (the entire library with the ID F4006) is a subset of 3592-E05 encryption-enabled, because only 3592-E05 encryption-enabled tape drives are installed in this library.
541
13001
Stand-Alone VTS
F4001 F4006
Figure E-8 Second configuration example
One definition for each installed device type: Represents the 3592-J1A devices Represent the 3592-E05 devices Represents the 3592-E06 devices
542
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Explanations One definition for each device type in each library: Represents the 3592-J1A in library F4001 Represents the VTS drives in library F4001 Represents the 3592-E05 in library F4001 Represents the 3592-J1A in library F4006 Represents the 3592-E05 in library F4006 Represents the 3592-E06 encryption-enabled in library F4006
Note that you need 3592-E05 devices that are defined with a different device type in the LDG definitions, depending on whether they are encryption-enabled (LDLxxxxx and LDG359L) or not encryption-enabled (LDKxxxxx and LDG359K). 3592-E06 are always encryption-enabled and defined as one device type.
*/ Devices 3592-J1A, 3592-E05 and VTS in Library 1 .................../* DEVICE,XTYPE=(LB1359J,CA),XUNIT=(1000,*ALL,,OFF),numdev=2 DEVICE,XTYPE=(LB1359K,CA),XUNIT=(1100,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB1VTSA1,CA),XUNIT=(1200,*ALL,,OFF),numdev=256 */ Devices 3592-J1A, 3592-E05 and 3592-E06 in Library 2 ............../* DEVICE,XTYPE=(LB2359J,CA),XUNIT=(2000,*ALL,,OFF),numdev=2 DEVICE,XTYPE=(LB2359K,CA),XUNIT=(2100,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB2359M,CA),XUNIT=(2200,*ALL,,OFF),numdev=8 Figure E-9 DEVICE statement for example 2
SETNAME,XTYPE=LB1359J,NAMES=(LDGW3495,LDGF4001,LDG359J,LDJF4001) SETNAME,XTYPE=LB1359K,NAMES=(LDGW3495,LDGF4001,LDG359K,LDEF4001) SETNAME,XTYPE=LB1VTS1,NAMES=(LDGW3495,LDG13001,LDG3490E,LDE13001) SETNAME,XTYPE=LB2359J,NAMES=(LDGW3495,LDGF4006,LDG359J,LDJF4006) SETNAME,XTYPE=LB2359K,NAMES=(LDGW3495,LDGF4006,LDG359K,LDKF4006) SETNAME,XTYPE=LB2359M,NAMES=(LDGW3495,LDGF4006,LDG359M,LDMF4006) Figure E-10 Setname statement values for example 2
543
HWSNAME,TYPE=(LDGW3495,LDGF4001,LDGF4006,LDG13001,LDG359J,LDG359K,LDG359M,LDG3490E, LDE13001,LDJF4001,LDJF4006,LDKF4001,LDKF4006,LDMF4006) HWSNAME,TYPE=(LDGF4001,LDJF4001,LDKF4001) HWSNAME,TYPE=(LDGF4006,LDG359M,LDJF4006,LDKF006,LDMF4006) HWSNAME,TYPE=(LDG13001,LDE13001) HWSNAME,TYPE=(LDG359J,LDJF4001,LDJF4006) HWSNAME,TYPE=(LDG359K,LDKF4001,LDKF4006) HWSNAME,TYPE=(LDG359M,LDMF4006) HWSNAME,TYPE=(LDMF4006,LDG359M) HWSNAME,TYPE=(LDE13001,LDG13001) Figure E-11 High watermark setup statements for example 2
544
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
13001
256 x 3490E UADD 3000-307F
F4001
47110
256 x 3490E UADD 0100-01FF
8 x 3592 E05 Encryption Enabled UADD 2000-2007 8 x 3592-E05 UADD 2000-2007 8 x 3592-E05 UADD 2007-200F 8 x 3592-E05 Encryption Enabled UADD 2000-2007
22051
F4006
One definition for each installed device type: Represents the devices in PtP VTS Represents the 3592-J1A Represents the 3592-E05 Represents the 3592-E05 encryption-enabled
545
Explanations One definition for each device type in each library, except for the PtP VTS: Represents the 3592-E05 in library F4001 Represents the VTS in library 22051 Represents the PtP VTS in both libraries Represents the 3592-E05 in library F4006 Represents the 3592-E05 encryption-enabled in library F4006 Represents the 3490E VTS in library 22051 Represents the 3592-E05 in library 22051 Represents the 3592-E05 encryption-enabled in library 22051
*/ Devices 3592 J1A and 3592 E05 in Library 1 .................../* DEVICE,XTYPE=(LB1359K,CA),XUNIT=(1000,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB1359L,CA),XUNIT=(1100,*ALL,,OFF),numdev=8, */ Devices 3592 E05 and 3592 E05 Encryption-enabled in Library 2 ..................../* DEVICE,XTYPE=(LB2359K,CA),XUNIT=(2000,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB2359L,CA),XUNIT=(2100,*ALL,,OFF),numdev=8 / Devices VTS, 3592 E05 and 3592 E05 Encryption-enabled in Library 3 ................/*
DEVICE,XTYPE=(LB3VTSA1,CA),XUNIT=(3000,*ALL,,OFF),numdev=256 DEVICE,XTYPE=(LB3359K,CA),XUNIT=(3100,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB3359L,CA),XUNIT=(3200,*ALL,,OFF),numdev=8 */ Devices PtP VTS in libraries F4001 and F4006..................................../* ADDRSORT=NO DEVICE,XTYPE=(VTSPTP1,CA),XUNIT=(0110,*ALL,S3,OFF) DEVICE,XTYPE=(VTVPTP1,CA),XUNIT=(0120,*ALL,S3,OFF) DEVICE,XTYPE=(VTSPTP1,CA),XUNIT=(0130,*ALL,S3,OFF) DEVICE,XTYPE=(VTSPTP1,CA),XUNIT=(0140,*ALL,S3,OFF) DEVICE,XTYPE=(VTSPTP1,CA),XUNIT=(0111,*ALL,S3,OFF) DEVICE,XTYPE=(VTSPTP1,CA),XUNIT=(0121,*ALL,S3,OFF) DEVICE,XTYPE=(VTVPSP1,CA),XUNIT=(0131,*ALL,S3,OFF) DEVICE,XTYPE=(VTVPTP1,CA),XUNIT=(0141,*ALL,S3,OFF) ;;;;;;; DEVICE,XTYPE=(VTSPTP1,CA),XUNIT=(01FF,*ALL,S3,OFF)
Restriction: If you code NUMDEV in a PtP VTS environment, the workload balancing from the AX-0 controllers does not work. Therefore, you must specify each device as a single statement and specify ADDRSORT=NO to prevent JES3 from sorting them. For more information, refer to the IBM TotalStorage Peer-to-Peer Virtual Tape Server Planning and Implementation Guide, SG24-6115. 546
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
HWSNAME,TYPE=(LDGW3495,LDGF4001,LDGF4006,LDG22051,LDG13001,LDG47110,LDG359J,LDG359K, LDG359L,LDG13001,LDE47110,LDE22051,LDKF4001,LDK22051,LDKF4001, LDKF4006,LDLF4006,LDL22051) HWSNAME,TYPE=(LDGF4001,LDJF4001,LDKF4001)1 HWSNAME,TYPE=(LDGF4006,LDKF4006,LDLF4006)1 HWSNAME,TYPE=(LDG22051,LDE22051,LDK22051,LDL22051)1 HWSNAME,TYPE=(LDG47110,LDE47110) HWSNAME,TYPE=(LDG13001,LDE13001) HWSNAME,TYPE=(LDG3490E,LDE47110,LDE22051)2 HWSNAME,TYPE=(LDG359J,LDKF4001) HWSNAME,TYPE=(LDG359K,LDKF4001,LDK22051,LDKF4006) HWSNAME,TYPE=(LDG359L,LDLF4006,LDL22051) Figure E-15 High watermark setup name statements for example 3 Footnotes for Figure E-15: 1 All library HWS names include only the specific drive-library LDG names. No device is installed only in a single library; therefore, no device-specific LDG name is a valid subset of any library. 2 The LDG3490E contains the 3490E VTS emulated drives.
547
13001
Stand-Alone VTS
F4001 F4006
Figure E-16 Fourth configuration example
Complex-wide device type LDG3490E LDG359E LDG359H Library-specific device type LDEF4001 LDE13001 LDCF4001 LDEF4006 LDCF4006 LDFF4006
One definition for each installed device type: Represents the 3590E devices Represent the 3590-E1A devices Represents the 3590H devices One definition for each device type in each library: Represents the 3490E in library F4001 Represents the VTS Drives in library F4001 Represents the 3590E in library F4001 Represents the 3490E in library F4006 Represents the 3590E in library F4006 Represents the 3590H in library F4006
548
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
*/ Devices 3490E, 3590E and VTS in Library 1 .................../* DEVICE,XTYPE=(LB13490E,CA),XUNIT=(1000,*ALL,,OFF),numdev=2 DEVICE,XTYPE=(LB13590E,CA),XUNIT=(1100,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB1VTSA1,CA),XUNIT=(1200,*ALL,,OFF),numdev=256 */ Devices 3490E, 3590E and 3590H in Library 2 ................./* DEVICE,XTYPE=(LB23490E,CA),XUNIT=(2000,*ALL,,OFF),numdev=2 DEVICE,XTYPE=(LB23590E,CA),XUNIT=(2100,*ALL,,OFF),numdev=8 DEVICE,XTYPE=(LB23590H,CA),XUNIT=(2200,*ALL,,OFF),numdev=8 Figure E-17 DEVICE statements for example 4
SETNAME,XTYPE=LB13490E,NAMES=(LDGW3495,LDGF4001,LDG3490E,LDEF4001) SETNAME,XTYPE=LB13490E,NAMES=(LDGW3495,LDGF4001,LDG3490E,LDEF4001) SETNAME,XTYPE=LB1VTSA1,NAMES=(LDGW3495,LDG13001,LDGF4001,LDG3490E,LDEF4001,LDE13001) SETNAME,XTYPE=LB23490E,NAMES=(LDGW3495,LDGF4006,LDG3490E,LDEF4006) SETNAME,XTYPE=LB23590E,NAMES=(LDGW3495,LDGF4006,LDG359E,LDCF4006) SETNAME,XTYPE=LB23490H,NAMES=(LDGW3495,LDGF4006,LDG359H,LDFF4006) Figure E-18 SETNAME statement values for example 4
HWSNAME,TYPE=(LDGW3495,LDGF4001,LDGF4006,LDG13001,LDG3490E,LDG359E,LDG359H,LDEF4001, LDEF4006,LDEG13001,LDCF4001,LDCF4006,LDFF4006) HWSNAME,TYPE=(LDGF4001,LDCF4001) HWSNAME,TYPE=(LDGF4006,LDG359H,LDEF4006,LDCF4006,LDFF4006)1 HWSNAME,TYPE=(LDG13001,LDE13001) HWSNAME,TYPE=(LDG3490E,LDEF4001,LDEF4006,LDE13001)) HWSNAME,TYPE=(LDG359E,LDCF4001,LDCF4006) HWSNAME,TYPE=(LDG359H,LDFF4006)2 HWSNAME,TYPE=(LDFF4006,LDG359H) HWSNAME,TYPE=(LDE13001,LDG13001) Figure E-19 High watermark setup name statements for example 4 Footnotes for Figure E-19: 1 LDG359H is a subset, because no other 3590Hs are installed. 2 LDFF4006 is a valid substitution of LDG359H, because no other 3590Hs are installed.
549
550
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Appendix F.
551
/* Enter your private category code */ private1 = 000F private2 = PPPP /* Enter your error error1 = 000E /* Enter your LIBRARY atllib1 = LIBATL1 vtslib1 = LIBVTS1 vtslib2 = LIBVTS2 category code */
/*******************************************************************/ /* */ /* Open the file and queue the all records. */ /* */ /*******************************************************************/ "execio * diskr tcdbRECV INFILE A (FINIS" if rc < > 0 then do say '***Error: Could not read the input file ***' exit 16 end /*******************************************************************/ /* */ /* Delete the header information in the queue. */ /* If 'VOLSER' is found, call the subroutine and stop the process. */ /* */ /*******************************************************************/ i = 0 j = 0 /* for debugging */ /* for debugging */
done1 = 'no' do while done1 = 'no' pull stackitem i = i + 1 /* for debugging */ if index(stackitem,'VOLSER') <> 0 then do call sub1 done1 = 'yes' end else nop end /* end do while */ /*******************************************************************/ /* */ /* Delete the useless information and then make the CREATE command.*/ /* */ /*******************************************************************/ done2 = 'no' do while done2 = 'no' parse pull stackitem i = i + 1 /* for debugging */ select when substr(stackitem,1,6) = '------' then nop
552
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
when substr(stackitem,1,6) = ' ' then nop when substr(stackitem,n2,2) = 'FF' then nop when substr(stackitem,1,5) = 'Total' then done2 = 'yes' otherwise volume category mediatype mediatype call sub2 if say say say say say end uattr = '??????' then do 'warning: Error or unexpected Category code was detected.' ' VOLSER= 'volume ' Category code = 'category ' Volume Entry was not created.' ' ' = = = = substr(stackitem,n1,6) substr(stackitem,n2,4) substr(stackitem,n3,10) space(mediatype,0)
/* omit space */
else entry1 entry2 entry3 entry4 entry5 queue queue queue queue queue
do = " CREATE VOLENTRY (NAME(V"volume") - " = " LIBNAME("libname") -" = " MEDIATYPE("media") -" = " UATTR("uattr") -" = " RECORDING("recording") LOCATION(LIBRARY))" entry1 entry2 entry3 entry4 entry5 /* for debugging */
j = j + 1
end /* end else */ end /* end select */ end /* end do while */ /*******************************************************************/ /* */ /* Write the queued entries to file. */ /* */ /*******************************************************************/ say 'message: The number of input records = 'i /* for debugging */ say 'message: The number of created vol entries = 'j /* for debugging */ "execio * diskw tcdbRECV OUTFILE A (FINIS" if rc < > 0 then do say '***Error: Could not write to the output file ***' exit 16 end exit 0
553
/*******************************************************************/ sub1: n1 = index(stackitem,'VOLSER') n2 = index(stackitem,'CATEGORY') n3 = index(stackitem,'MEDIA TYPE') n4 = index(stackitem,'MOUNT DATE') return /* SUBROUTINE 2******************************************************/ /* Set the mediatype,libname,RECORDING tECHNIQUE AND USER ATTRIBUTE.*/ /* Attention: */ /* Mediatype and recording technology have NO 1:1 dependency. */ /* LM cannot provide the correct recording technology .*/ /* Setting the recording to 128TRACK can only cause problems, if */ /* you have a mixed environment installed, and a VOLSER which is .*/ /* written in recording technology > 128 is mounted on 3590B model .*/ /* However, setting a higher recording technology will cause */ /* problems as long as drive models with the lower technology. */ /* are installed. In a mixed environment use the lowest .*/ /* value of the recording technology. In a non-mixed environment */ /* use the correct recording technology for your drives: */ /* 3590B = 128 */ /* 3590E = 256 */ /* 3590H = 384 */ //* Adjust the REXX to fit your environment. */ /********************************************************************/ sub2: select when substr(mediatype,1,1) = 1 then media = 'MEDIA1' when substr(mediatype,1,1) = E then media = 'MEDIA2' when substr(mediatype,1,1) = J then media = 'MEDIA3' when substr(mediatype,1,1) = K then media = 'MEDIA4' otherwise media = '??????' end select when substr(mediatype,1,1) = 1 then recording = '36TRACK' when substr(mediatype,1,1) = E then recording = '36TRACK' when substr(mediatype,1,1) = J then recording = '128TRACK' when substr(mediatype,1,1) = K then recording = '128TRACK' otherwise recording = 'xxxTRACK' end select when substr(mediatype,1,1) = '1' then libname = atllib1 when substr(mediatype,3,1) = '1' then libname = vtslib1 when substr(mediatype,3,1) = '2' then libname = vtslib2 otherwise libname = '???????' end select when category = scratch1 then uattr = 'SCRATCH' when category = scratch2 then uattr = 'SCRATCH' when category = scratch3 then uattr = 'SCRATCH' when category = scratch4 then uattr = 'SCRATCH' when category = private1 then uattr = 'PRIVATE' when category = private2 then uattr = 'PRIVATE' when category = error1 then uattr = '??????' otherwise uattr = '??????' end return
554
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Related publications
The publications listed in this section are considered particularly suitable for a more detailed discussion of the topics covered in this book.
555
Other publications
These publications are also relevant as further information sources: IBM System Storage TS1120 Tape Drive and Controller Operator Guide, GA32-0556 IBM System Storage TS1120 Tape Drive and Controller Introduction and Planning Guide, GA32-0555 IBM Encryption Key Manager component for the Java platform Introduction, Planning, and Users Guide, GA76-0418 IBM Virtualization Engine TS7700 Series Introduction and Planning Guide, GA32-0567 IBM TotalStorage Enterprise Tape System 3590 Introduction and Planning Guide, GA32-0329 IBM TotalStorage Silo-Compatible Tape Frame 3590 Introduction, Planning, and Users Guide, GA32-0366 IBM TotalStorage Enterprise Automated Tape Library (3494) Introduction and Planning Guide, GA32-0448 IBM TotalStorage Automated Tape Library (3494) Operators Guide, GA32-0449 IBM 3494 Users Guide: Media Library Device Driver for AS/400, GC35-0153 IBM TotalStorage Tape Device Drivers Installation and Users Guide, GC35-0154 z/OS JES3 Initialization and Tuning Guide, SA22-7549 z/OS JES3 Initialization and Tuning Reference, SA22-7550 z/OS V1R3.0 MVS Planning: Operations, SA22-7601 z/OS Security Server RACF Command Language Reference, SA22-7687 DFSMS/MVS V1R5 OAM PISA for Object Support, SC26-4918 DFSMS/MVS V1R4 DFSMSdss Storage Administration Guide, SC26-4930 BTLS V1R1 Users Guide and Reference, SC26-7016 z/OS V1R3.0 DFSMS Access Method Services for Catalogs, SC26-7394 z/OS V1R3 DFSMS Installation Exits, SC26-7396 IBM TotalStorage 3494 Tape Library Introduction and Planning Guide, GA32-0279 z/OS DFSMSdfp Storage Administration Reference, SC26-7402 z/OS Object Access Method Planning, Installation and Storage Administration Guide for Tape Libraries, SC35-0427 Implementing System Managed Storage, SC26-7407 z/OS DFSMShsm Storage Administration Guide, SC35-0421 z/OS DFSMShsm Implementation and Customization Guide, SC35-0418 z/OS DFSMSrmm Guide and Reference, SC26-7404 z/OS DFSMSrmm Implementation and Customization Guide, SC26-7405 Recovery and Reconfiguration Guide, SA22-7623 z/OS DFSMSdss Storage Administration Reference, SC35-0424 z/OS DFSMSdss Storage Administration Guide, LY35-0116 z/OS Object Access Method Planning, Installation and Storage Administration Guide for object Support, SC26-0426 IBM TS3500 Tape Library Introduction and Planning Guide, GA32-0469 556
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM TS3500 Tape Library Operator Guide, GA32-0468 IBM 3953 Tape Frame Model F05 and Library Manager Model L05 Introduction and Planning Guide, GA32-0472 IBM TotalStorage 3953 Tape Frame Model F05 and Library Manager Model L05 Operator Guide, GA32-0473 IBM TotalStorage 3494 Tape Library Introduction and Planning Guide, GA32-0279 IBM TotalStorage 3494 Tape Library Operators Guide, GA32-0280 3490E Installation Planning and Operators Guide, GA32-0378 S/390 Input/Output Configuration Program Users Guide and ESCON Channel-to-Channel Reference, GC38-0401 z/OS Hardware Configuration Definition Users Guide, SC33-7988 z/OS MVS Initialization and Tuning Reference, SA22-7592 DFSMS/VM Function Level 221 Removable Media Services User's Guide and Reference, SC35-0141 IBM TotalStorage Virtual Tape Server Performance. This white paper can be found under White Papers at: http://www.ibm.com/support/techdocs IBM TotalStorage Enterprise Automated Tape Library (3494) Systems Assurance Product Review (SAPR) Guide, SA01-005-05, which is available from your IBM marketing representative or can be found at: http://w3-1.ibm.com/support/assure/assur30i.nsf/PubAllNum/SA185?OpenDocument z/OS DFSMS Software Support for IBM System Storage TS1120 Tape Drive (3592) SC26-7514
Online resources
These Web sites and URLs are also relevant as further information sources: IBM TotalStorage Virtual Tape Server 3494 Bulk Volume Information Retrieval Function Users Guide, available for IBM employees and IBM Business Partners on the Web from: http://w3-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP100430 Available for clients at: http://www-1.ibm.com/support/docview.wss?rs=0&q1=BVIR&uid=tss1wp100430&loc=en_U S&cs=utf-8&cc=us&lang=en Statistical Analysis and Reporting System User Guide http://www-1.ibm.com/support/docview.wss?uid=ssg1S7000247 IBM Magstar Tape Drives: AIX High Availability SAN Failover for 3590 http://www.storage.ibm.com/tape/drives/3590/prod_data/pdf/magstarwp.pdf Computer Associates http://www.ca.com Unicom System, Inc. http://www.unicomsi.com
Related publications
557
Innovation Data Processing http://www.innovationdp.com OpenTech Systems http://www.opentechsystems.com VSE/ESA http://www-1.ibm.com/servers/eserver/zseries/os/vse PG Software http://www.pfeilschifter-gmbh.de/english/index.htm I/O connectivity http://www.ibm.com/servers/eserver/zseries/connectivity/index.html Enterprise Tape Drive http://www.storage.ibm.com/hardsoft/tape/3590/prod_data/magstarwp.pdf Search for bookshelves http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves?filter=Z%2Fos
558
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Index
Symbols
/etc/modules.conf 368 switchover in progress 394 switchover on demand 452 accessors 105, 124125, 127, 394, 396 ACDS (active control data set) 158 ACS (automatic class selection) 158 ACS logic testing with NaviQuest 233 ACS routine 158159, 205, 207, 215, 263, 271, 533 example 215 filter requests 534 object 220 processing 214 ACS routines 199, 226 DATACLAS 216 MGMTCLAS 219 samples 215 STORGROUP 220 STROCLAS 218 testing 221 translate, validate 220 validate 220 activating SMS configuration 222 active accessor 109, 123, 126, 443444 active accessor failure 452 active control data set (ACDS) 158, 200, 284 active library manager 126 active library manager failure 449 adjacent frame FC 4085 81 FC 4086 81 fibre channel 3592 83 adjacent frame inventory update 137 Advanced Policy Management (APM) 20, 94, 120, 189, 200, 278, 402, 497498 AIX 333 drive blocksize 340 drive compression 340 drive configuration 339 verifying Atape 338 AIX commands lslpp 336 all storage cells full 396 allocation criteria 214, 273, 276 device selection 276 library manager scratch selection 102 library selection 276 reading a data set 273 writing a data set 275 allocation request 179180 ALLOCxx 175 ALLOCxx member of SYS1.PARMLIB 179 alternate drive pathing 340 APAR OW16279 169 OY63009 516
Numerics
3490 Model F tape drive 69 3494 Automated Tape Library 2 3494 Library Manager 93 3494 tape library drivers installation 334 J70 controller support 67 3494 tape library components 105 3494 tape library in VM/ESA 312 3590 feature codes 64 3590 tape data integrity 60 drive 58 3592 38, 319 3592 Model J1A tape drive 56 3592 tape media 38 capacity scaling 35, 56 description 6 device driver installation for AIX 336 device driver installation for HP-UX 354 device driver installation for Linux 361 device driver installation for Sun Solaris 348 device driver installation for Windows 371 host attachment 38 recording format 27 servo tracks 30 virtual backhitch 34 WORM functionality 41 3592 Model J70 controller characteristics 67, 69 description 4 feature codes 74 host attachment 70 3592-J1A drive 68 code support 72 simplified diagram 71 3592-J1A tape drive 6 3592-J70 controller 3, 67, 69 3952 xx, 34, 67, 70, 75, 104, 116117, 153, 458, 469, 471
A
ABARSTAPES(STACK|NOSTACK) 227 accessor 102, 104, 392393, 453 boundary line 132 exchange performance 130 failure 444 status 396 switchover 127, 394
559
API 383 application programming interface (API) 325 Atdd installation verification 357 atdd.cfg 358 attaching 3592 Tape Drive Model C20 Frame 470 audit 294 Auto mode 294, 393, 395 auto mode 393 Automated Cartridge System (ACS) 400 Automated cartridge system library software (ACSLS) 458, 460 automated tape library 91 performance characteristics 130 system-managed tape 160 automated tape library (ATL) 6, 91, 95, 160, 172, 442, 504 automatic cartridge loader mode 415 automatic class selection (ACS) 158, 215, 262, 531532 Automatic Tape Switching (ATS) 172, 232 automatic-insert file name 307 availability unit 98, 101, 394395 IBM 3494 444 service bays 128
message display 510, 520 recovery considerations 524 scratch allocations 518 scratch threshold 514 set volume category 517, 520 synchronize with tape management 447 tape management system considerations 520 user catalog 512 volume records 516, 518 BTLS library volume 515 BTLS volume catalog record 526 entry 511 record 511 selection 527 BTLSPRMxx 527
C
C20 Drive Shelf Pair 466467 Pair feature 467 cache-miss mounts 135 Call Home support 3592 76 callable services library (CSL) 306 capacity I/O facility 403 facility cell 403 station 109 capacity scaling 35, 56 cartridge cleaning 400 eject processing 348 insert processing 348 cartridge accessor 104105, 127, 138, 408, 415, 505 switchover 126 tape drive 415 cartridge eject exit (CBRUXEJC) 188 cartridge eject processing 526 cartridge entry exit (CBRUXENT) 188 cartridge gripper 105 cartridge handling and placement 108 cartridge insert processing 525 cartridge is provided (CP) 305, 308 cartridge label 398 cartridge memory 34 cartridge not in library exit (CBRUXVNL) 188 cartridge placement on initial load 109 cartridge storage 106 error recovery cell 106 rack column 106 rack row 106 wall number 106 cartridge type 134, 399, 414 only externally visible difference 400 cartridge types 63 cartridge-drive affinity 102, 133 high degree 134 cartridges (CE) 400
B
B18 VTS 120, 139 B20 VTS 99, 119 additional virtual tape drives 146 Tape Drives 146 backhitch 27, 3334 backup tape 223, 226, 288 BACKVOL SG 228229 barcode 395 barcode reader failure 444 barcode reader or vision system nonoperational 395 barcodes 398 barrier door 125 basic tape library support (BTLS) 157, 419, 509 Berkeley Software Distribution (BSD) 334 block ID 384 block size 384 BLOCKSIZE 358 bottleneck 419 BTLS allocation 520 catalog 511 control data sets 511 default category for scratch 514 define library devices 513 demount 514 esoteric device group name 514 exits 520 IDCLI04 exit 447 installation 512 inventory list 516 JES3 520 LIBRARY command 510 master catalog entries 512
560
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
catalog record 288, 511512 CBR3750I message format 413 CBRUXCUA 161, 188 CBRUXEJC 161, 188 CBRUXENT 161, 188 CBRUXVNL 161, 188 CBRXCLS programming interface 187 CE cartridge cell 107 cell 1A20 107 Change the use attribute (CUA) 187 change-use attribute exit (CBRUXCUA) 188 characteristics 56 Check 1 condition 396, 449 CHECKIN processing 348 cleaner volume 400 cleaning cartridge 153, 399400, 463 cleaning the cartridge 400 Client System Component (CSC) 460, 464 Code 39 400 COFVLFxx 175 COFVLFxx member of SYS1.PARMLIB 178 commands ADDVOLUME 191 CHANGEVOLUME 191 IDCAMS LIBRARY 510 LIBRARY EJECT 438 MOUNT 312 MSG 318 SET DEVCAT 312 SET VOLCAT BULK 312 COMMNDxx 175 COMMNDxx member of SYS1.PARMLIB 177 complete list 83, 102, 139, 161, 182, 496, 523 complex-wide device type 535 complex-wide name 535 compression 334, 384 3592 SLDC 27, 203 compression ratio 59, 120121 configuration component 111 frames 127 configuring tape and medium changer devices 338, 350 configuring tape devices 357 CONSOLxx 174 CONSOLxx member of SYS1.PARMLIB 176 Control data set 158, 163, 261, 276, 318, 328, 458459 control data set 460, 511 BTLS 511 VGS 328 VSE/ESA native support 318 Control data set (CDS) 328, 460 control unit HCD definitions 168 control unit (CU) 65, 91, 104, 139, 164165, 243, 277, 443, 448, 497, 513 control unit frame Model L12 111 convenience I/O failure 445 convenience I/O station 104105, 114, 266, 346, 348,
403, 415, 505, 526 insert 403 operator panel 112 preformatted stand-alone dump tapes 436 Customer Engineer (CE) 107
D
D10 Frame 129, 142 C2A tape drive 144 D12 Frame x1A Tape Drives 141 D12 frame 73, 129, 142 D14 Frame Model A60 Controller 144 Model F16 SAN Switch 145 Model F16 Switch 143 D14 frame 73, 129, 142 D22 frame 73, 80, 109, 111, 116 Tape Drives 141 D24 frame 7374, 116117 DAA feature 453454, 497 Accessor failure 453 failure scenarios 453 data cartridge 140, 241, 399, 526 authorized external users 241 Data Class 37, 269, 271, 532 data sets 202 first page 201 key labels 249 statements overwrite encryption specifications 206 data class 160, 196, 199, 201202, 225, 242, 244, 269, 271, 532533 requested media type 269 data class ACS routine 216 data integrity with IBM 3590 tape 60 data key drive request 246 data key (DK) 240241 Data migration Scenarios 262 data migration 70, 261262, 305, 315 data set 158, 162, 190, 263264, 270, 273, 483, 530, 532 data compaction 203 DD statement 532 migration copy 231 data set name 226 data sets, old 532 database in library manager 101 database mirroring 101 DATACLAS compaction 203 media type 204 DD statement 242, 244, 515516, 532 default media type 137 default value 177, 386, 401 define DFSMS constructs 195 library 196 library ID 198 Index
561
management class 209 security profiles 182 storage class 207 storage group 210 DEFINE ABARSTAPES(STACK|NOSTACK) 229 DEFINE command ABARSTAPES 227 DUMPCLASS 228 degraded operation 395 demount 418 device configuration 384 device driver 332333, 465 digital certification 379 same device 340 verifying 338 zSeries 366 Device Manager 371, 378 device selection 276 device special file creating in Linux 361 DEVICE statement 536, 540 IBM 3494 tape libraries 536 JNAME parameters 537 unique XTYPE 537 Device statement 536, 546 device type 169170, 270, 274, 308, 315, 322, 441, 483, 492, 496, 542, 545 command displays information 441 different generations 176 different prefix 536 DEVSUPxx 174, 499 DEVSUPxx PARMLIB member partitioning 177, 267 volume category 177, 267 DFSMS 1.4 274 DFSMS catalog processing 532 DFSMS catalog services 532 DFSMS constructs 195 DFSMS tape environment 533 request 531 DFSMS VOLREF processing 532 DFSMS/MVS library manager interface 160 partitioning 267 DFSMSdss dump 229 DFSMShsm ABARSTAPES(STACK|NOSTACK) 227 allocation 226 connected volumes 228 customization 223 data set names 226 disaster backup 229 DUMPCLASS STACK(nn) 228 duplex tape 229 DUPLEX(BACKUP(Y|N) 227 DUPLEX(MIGRATION(Y|N) 227 IDRC attribute 227 moving tape data 230 offsite copy 229
PARTIALTAPE(MARKFULL|REUSE) 226 RECYCLE 230 RECYCLEINPUTDEALLOCFREQUENCY 231 RIDF 231 TAPESPANSIZE(nnn) 227 TAPEUTILIZATION 227 unit selection 225 DFSMSrmm 183, 189190, 266 ADDVOLUME 191 cartridge entry rules for entry processing 190 CHANGEVOLUME 191 define cartridges 191 library resident cartridges 191 partitioning 268 tape initialization 192 direct access storage device 195, 288, 437, 484, 530 disaster recovery temporary category 504 disaster recovery (DR) 159, 259, 504 display library information 440 DISPLAY SMS 163, 189, 440 LISTVOL parameter 440 drive 384 compression 334, 384 no rewind device 334 properties 379 SCSI inquiry 363 Windows 2000 configuration 384 Drive attachment 62, 70 drive model 58, 262263, 269, 314, 322, 554 drive unit frame Model D12 116 Model D14 117 Model D1x 116 Driver Details tab 379 drives blocksize 357 configuring with AIX 339 device special names 333 DSP 520, 534, 536, 540 Dual Active Accessor 127, 137 enabled/disabled 394 optimal exchange performance 135 recovery scenarios 453 transitioning 395 Dual Active Accessor (DAA) 394, 448 dual gripper 104105, 395, 444 dual gripper high availability unit 106 dual library manager status 396 dual write disabled 396 dump and restore 436 DUMPCLASS STACK(nn) 228 duplex tape 229 DUPLEX(BACKUP(Y|N) 227 DUPLEX(MIGRATION(Y|N) 227 duplicate volser 403 duplicate volume serial numbers 195 Dxx frame 129, 151 dynamic device attachment 368
562
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Dynamic device reconfiguration (DDR) 510 dynamic support programs See DSP
E
E05 4, 6, 25, 109, 111, 116117, 157, 174, 252, 457, 460461, 529, 535536, 541542, 545 E05 Encryption-enabled tape drive 541, 544 E05 Tape Drive J1A Tape Drive 144 E05 tape drive 141, 144, 154, 538, 541, 544 EEDKs 247248 EFMT1 189 EHPCT (Extended High Performance Cartridge Tape) 63 eject cartridge 192 EKM server address 244 key store information 251 eligible device list (EDL) 459 emergency power-off (EPO) 136 emergency switch 113 empty cell insert 403 Encryption xx, 68, 7475, 77, 146, 192, 201, 205, 239243, 535536, 545 Encryption Key management 243244 Manager 240241 Manager component 240, 243 Manager component travel 243 Manager program 240, 243 Encryption Key Manager component 240, 244 program 240 Encryption Key Manager (EKM) 239240 encryption-enabled 545 Enterprise Economy Tape Cartridge (EETC) 177, 408, 410 Enterprise Economy WORM Tape Cartridge (EEWTC) 137, 177, 408, 410 Enterprise Extended Tape Cartridge (EEETC) 408, 410 Enterprise Tape Cartridge 177, 408, 410 Controller 25, 68, 252253 Library 9395, 400401, 481 Library Attachment 85, 469 Library Specialist 96, 104, 402 Enterprise Tape Library (ETL) Specialist 94 Enterprise WORM Tape Cartridge (EWTC) 137, 408, 410 error handling 442 error recovery 442 error recovery cell 106 ESCON channel 65, 71, 117, 120, 168 adapter 4 attachment 462 channel utilization 66 connection 62 ESCON High Performance Option (EHPO) 121, 150 ESCON host
attachment 122 esoteric HCD 173 etc/modules.conf file 366, 368 Ethernet switch 99100, 474 library manager subsystems 99 Ethernet-Attached Serial Hub (EASH) 151 ETL Specialist 9697, 299, 401, 419, 482, 498 performance statistics 419 example, UPPERCASE (EU) 176 exits BTLS 520 CBRUXCUA 161 CBRUXEJC 161 CBRUXENT 161 CBRUXVNL 161 IGXMSGEX 520 message display 520 extended control (EC) 437 Extended High Performance Cartridge Tape (EHPCT) 61, 63, 137, 142 External Fabric Support 82, 8485, 140, 150, 469, 472 Support/Field 474 Support/pLANT 474 external label 192, 295, 297, 312, 398400, 504, 522 Externally Encrypted Data Keys (EEDK) 247, 259 extractor file 483
F
F05 frame 79, 84, 116117, 462, 469 failure accessor failure 444 convenience I/O 444 library manager failure 444 FC 2714 149, 473474 FC 2715 86, 100, 149, 473474 FC 2720 150, 473474 FC 4630 143 FC 4675 144 FC 5217 152 FC 5228 152, 155 Feature Code 42, 64, 71, 92, 114, 128, 466 feature code complete list 83 detailed description 65 L22 frame 81 feature code summary 139 feature codes 3592 Model J70 controller 74 fetch messages 533 Fibre Cable 75, 82, 368 Fibre Channel adapter feature 72 attachment 62, 64, 332, 369 Cable 143, 145, 335, 470, 479 connection 62, 333, 368 connectivity 366 device attachment 366 Drive 150 IBM 3590 385 Index
563
link 65 port 367 Protocol 366 Switch 73, 76, 82, 84, 154, 469 Switch feature 477, 479 Switch feature FC3488 477 Switch Mount Kit 82, 84, 150 Switch Rack Mount Kit 84, 473474 tape device 366 topology 366 Fibre Channel (FC) 332333, 459, 462 FICON 65, 305 FICON attachment 21, 6768, 117, 462 FICON Cable (FC) 100, 104 FICON channel 22, 120121, 243, 254 FICON host channel 120, 122 system attachment 122 system long wave channel 82, 475 system long-wavelength channel 475 field installation 143, 145, 466467 first step 263, 299, 336, 348 first-in-first-out (FIFO) 102 fixed home cell 108 floating home cell 108 frame inventory update 137 free storage threshold 412 FTP server 336, 348, 492
G
general VOLCAT 184 generation data (GD) 484 Geographically Dispersed Parallel Sysplex (GDPS) 20 Gigabit Interface Convertor (GBIC) 71 global resource serialization (GRS) 175, 178 graphical user interface (GUI) 93, 99 gripper failure 444 gripper failure and HA1 453 GRSCNFxx 175 GRSCNFxx member of SYS1.PARMLIB 178
H
HA1 124 active accessor 126 active library manager 126 barrier door 123, 125 database 126 Dual Active Accessor 125 service bay 123, 125 service frame 125 standby accessor 124, 126 standby library manager 124, 126 state of library manager 125 switchover 126 HA1 and gripper failure 453 HA1 and secondary library manager disk drive 453 HA1 Option 141, 155 HA1 recovery scenarios 448 hard disk failure 445
hardware configuration definition (HCD) 163164, 402, 542, 548 hardware SARS (HSARS) 60 HBAs 340342 HCD 3490 device definitions 174 3590 device definitions 174 add control unit 165 define device parameters 172 device parameters 172 esoteric 173 libport ID 172 library ID 172 Hierarchical Storage Manager (HSM) 263 high availability unit 447 dual gripper 106 functional description 123 high capacity I/O facility insert 403 High Performance Cartridge Tape (HPCT) 61, 63, 137 high watermark setup names 538 high-capacity I/O 138 high-capacity input/output facility 104, 138 facility reserve 116 high-capacity input/output facility 116 high-capacity output facility 115 high-speed data access 59 home cell mode 108 fixed 138 floating 138 Host attachment 61, 104, 111, 265 host attachment J70 controller 70 Host bus adapter (HBA) 332333 host software command 93 platform 101 Host software component (HSC) 458, 463 host system 21, 82, 92, 101, 291, 303, 348, 354, 398, 405, 419, 475, 503, 513 appropriate eject commands 405 library manager database 101 specific task 405 HPCT (High Performance Cartridge Tape) 63 HP-UX atdd.cfg 358 special file names 333 tapeutil 354, 357, 359 verify Atdd installation 357 HP-UX commands ioscan 357 swcopy 357 swinstall 357 swverify 356 HSARS (hardware SARS) 60 HWSNAME 538
I
I/O station category 348
564
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM 3490 Model F tape drive 69 IBM 3490E device 181, 521 drive 182 Model F1A tape drive 173 IBM 3494 93, 104105, 160, 174, 195, 216, 287, 302, 314, 331332, 353, 392393, 458, 482, 484 critical components 126 empty cell 403 Exchange performance 105, 124 inventory list 317 inventory performance 136 library manager 353, 369 non-SMS data sets 232 operational focal point 93 operational states 113 operator panel 392, 396 several different configurations 131 stand-alone procedure 233 tape device 415416 tape devices 436 tape drive 415, 437 tape drives 399, 415 tape subsystems 113, 129 vision system 106107 IBM 3494 inventory update 398 IBM 3494 Library Manager 93 IBM 3494 Tape Library 34, 25, 76, 111, 147, 157, 305306, 308309, 331332, 510511, 530531 basic differences 530 bulk processing file 307, 311 correct installation 380 I/O devices 536 INSERT category 516, 521 JES3-managed 3490E devices 521 Library Manager 369 mixed media types 513, 517 Tape drives 164 tape drives 513514 tape subsystems 520 tape units 533 user communicates 162 z/VSE guest support 326 IBM 3494 tape library back walls 111 tape drives 25 IBM 3590 25, 174, 181, 331332, 399, 437 hardware installation 25 major HCD panel fields 174 IBM 3590 Magstar in an STK Silo 458 IBM 3592-J1A 116117, 457 IBM System Storage Tape Drive TS1120 240 IBM tape solutions 7, 19, 239 IBM Tivoli Storage Manager major implementation steps 386 IBM Tivoli Storage Manager (ITSM) 240, 331, 386 IBM TotalStorage Enterprise 3590 tape drive 58 IBM TotalStorage Enterprise Automated Tape Library 91 IBM TotalStorage ETL Expert 482
IBM TotalStorage Peer-to-Peer VTS 21 IBMtape verification 351 IBMtape.conf 350351 IBMtapeconfig 361362 IBMtapeutil 362 SCSI inquiry 363 IDCAMS command Library 513, 518 LIBRARY 2 516 LIBRARY Device 513 IDCAMS command LIBRARY 512514 2 515 Device 513 Inventory 516 Threshold 514 IDCAMS commands ALTER 292, 297 CREATE 297 DELETE 297 EXPORT 293 IMPORT 293 IMPORT CONNECT 185 LIBRARY 510 IECIOSxx 175 member of SYS1.PARMLIB 181 IEFSSNxx 174 member of SYS1.PARMLIB 176 IGDACSXT 214 IGDSMSxx 174 member of SYS1.PARMLIB 175 implementation DFSMSrmm 190 OAMPROC 175 SYS1.PARMLIB 174 Implementation Guide 119, 200, 262, 302, 529, 546 Improved Data Recording Capability (IDRC) 203 include device (ID) 483 informational state 392, 395 inhibit reclaim schedule 412 initial program load (IPL) 172173, 287, 308, 320, 514 initialization complete 394 input/output definition file (IODF) 164 inquiry 383 INSERT category 190, 222, 268, 277278, 312313, 387, 397398, 403404, 504, 506, 516, 521 insert category VGS 328 VM/ESA 312 Insert processing 101, 191, 200, 311312, 397398, 404405, 521522 attached host 404 sample JCL 526 insert processing 397 VM/ESA 312 VSE/ESA native support 318 Insert Volume 404 installation BTLS 512 hardware considerations 91
Index
565
initial inventory 136 partial teach process 136 site preparation 136 teach process 136 Installation exit 161, 163, 275, 277, 285, 304, 520 installation exits 520 installation inventory 397 installation policy 179 installation verification 232 installed VTS specific actions 93 installed, only (I/O) 104105 integrated catalog facility (ICF) 161 Integrated Cryptographic Service Facility (ICSF) 245 Integrated storage management facility (ISMF) 160, 261 integrated storage management facility (ISMF) 162 intervention required 113, 396 intervention-required condition 412 automated response 413 manual response 412 inventory new storage 138 VGS 326 VSE/ESA native support 318 inventory list for BTLS 516 inventory performance 136 Inventory update 109, 135, 398 detailed information 404 IP address 334335, 422 iSeries server 113, 331 ISMF 182 ISMF (integrated storage management facility) 162 ISMF panel 176, 178, 272, 293
DSP 534 initialization deck 534 system managed tape 535 tape DSP 520 JES3 INISH deck 535536 JES3/DFSMS processing 531 Job Control Language (JCL) 176, 205, 263, 274, 512, 530531
K
K- cartridge 63 KEK label 246247 Key Encrypting Keys (KEK) 241, 246 key label 205206, 241242, 244, 246 key store 241242 associated private key 242 keystrokes local mode 98 keystrokes remote mode 98
L
L10 Frame 142143, 145 3490E Model F1A tape drive 145 FC 3500 Controller 145 L12 Frame 93, 104, 142 L14 Frame 142 Model A00 Controller 145 Model A50 Controller 145 LAN host connection failure 445 LBSERV API 317318 tape management system product 317 LC connecter 70, 72, 475 short-wavelength 4-Gbps Dual Ported Fibre Channel adapters 475 LC connectors 70 LCDD 304, 316 LCDD (library control device driver) 316 LCS 159160 LDG 534, 538 LDD 538 LDE 538 LDG (library device group) 535 LDG definition 539, 542, 545 LDG name 531, 538, 547 lib xx 536 Encryption-enabled 3592 Model E05 536 libport ID 172 library definition in ISMF 196 name 213 Windows 2000 configuration 384 LIBRARY Audit 294, 296, 523 LIBRARY command 111, 116, 183, 189, 278, 306, 347, 362, 442, 522 library control device driver (LCDD) 316 Library control software (LCS) 460 Library Control System See LCS library control unit 459 Library device
J
J- cartridge 63 J1A tape drive 141, 253, 541 3592 tape media 38 C06 Controller 86 capacity scaling 35, 56 characteristics 56 description 6 host attachment 38 performance advantage 77 recording format 27 same 3592 J70 controller 76 servo tracks 30 virtual backhitch 34 WORM functionality 41 J70 controller 3, 5, 25, 79, 99, 143, 154 characteristics 67, 69 description 4 feature codes 74 host attachment 70 JA, JB (JJ) 400, 408, 410 Java Virtual Machine (JVM) 245 JES3 allocation and mounting 533 BTLS support 520 device pool 534
566
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
group 542, 548 library device 184, 311, 362, 510, 513, 536 esoteric device group name 514 Live entry 311 Library Device Group See LDG library device group (LDG) 535 LIBRARY EJECT command 438 library F4001 539, 541, 543, 546 VTS Drives 543, 548 library F4006 539, 541, 543, 546 library ID 137, 172 where to find 198 library Id 137, 184, 196, 309, 402, 541, 544 library inventory 397 process 446 Library management unit (LMU) 458 Library Manager 134, 320 controller communicates 80 feature 5593 254 library sequence number 309 library manager 77, 92, 94, 161, 163, 199, 242, 244, 267268, 275, 302303, 314, 334, 344, 392393, 484485, 499, 521522 accessor B 126 basis information 396 Check 1 condition 396 Cleaning Schedule option 401 communication links 397 connection links 396 console 93 database 101 database entries 398 Database menu 406 database recovery 446 direct communication 353, 359 drive address 393 Error Processing display 418 feature 5593 146 first 63 characters 413 following selections 401 host category assignment 269 initialization 394 Inventory new storage 397 IP address 345, 353 media types 410 Mode menu 392, 394 normal operational state 394 normal termination 397 operational status menu 402 operator intervention window 412, 442 operator menu 93, 137 operator panel 125 recovery 444 re-enable usage 99 Re-inventory storage 397 resynchronizing the database 446 scratch category 525526 scratch selection 102 Second Disk Drive 152
secondary hard disk failure 445 select Operator intervention 412 select Setup Stand-Alone Device 416 service level 94 stand-alone device support 436 startup 396 status information 95 storage cell addresses 294 switchover 126, 394 switchover in progress 394 switchover on demand 451 switchover process 450 System Summary 96 systems administrator 94 user interface 93 volume category 101 volume records 525 zone boundary 102 library manager interface DFSMS/MVS 160 LBSERV 318 LCABAT 318 LIBSERV 318 RMS 307, 327 VGS 327 VM/ESA 307 VSE/ESA 318 Library Name first character 197 library name 184, 197, 274, 291, 295296, 308, 312, 345, 353, 359, 370, 440, 514, 551 tape library entry fields 297 library parameters 227 library performance 130 library record 184, 186, 523 small number 186 library sequence number See library ID LIBRARY SETCATEGORY command 519520 EJECT/XEJECT command 522 Unit 517, 525 LIBRARY SETDEVICE command 517, 527 Unit 517 library storage module 459 Library storage module (LSM) 458 library teach process 446 LIBRARY-ID 164, 172, 441 library-specific device type name 536538 library-specific name 535, 537538 Linux 240, 301302, 331, 333 /etc/modules.conf 366, 368 /etc/zfcp.conf 366367 creating Ultrium device files 361 device map 367 device mapping 368 dynamic device attachment 368 IBMtapeutil 362 installing tapeutil 361
Index
567
microcode updates 362 modprobe zfcp 366 mt 362 zSeries device driver 366 LIST command 231 list functions 229 LM A 126, 448449, 451 accessor manager 448 active database 448 LM B 126, 448, 451 lmcpd 344, 353 LOADxx 175 LOADxx member of SYS1.PARMLIB 178 local area network (LAN) 97, 316, 318, 419, 423 locate data 59 logical components 22 logical device 341, 343 Logical Unit Number 350351 Logical volume 2021, 96, 119, 123, 163, 192, 303, 403404, 505 logical volume dual copies 21 dual copy 123 secondary copy 96 LTO API 383 compression 384 device configuration 384 device inquiry 383 read/write test 382 test basic operations 380 LTO drive blocksize 340 compression 340 LUN 334 Lxx Frame 112, 129, 142
M
m/sec 61 magneto resistive (MR) 59 Magstar 3494 Model L12 111 Magstar 3590 capacity 229 exploitation 229 main device scheduler (MDS) 530 Main Menu 360, 363, 402, 420 main menu Select Commands 420 Status menu 402 management class 97, 182, 199200, 209210, 386 management class ACS routine 219 manual mode 113, 295, 391, 393 manual mode operation 417 manual tape library system-managed tape 160 manual tape library (MTL) 160, 277, 442 MB/sec 344 MEDIA 6 204 Media Information Message (MIM) 60, 315
media selection 527 MEDIA TYPE 225 media type 106, 137, 264, 267, 398399, 404, 408, 410, 506, 513, 517, 551 correct volser ranges 404 different volume categories 517 scratch cartridge threshold 199 Volser Ranges 404 Volume Ranges 446 volume ranges 230 media type, default 137 MEDIA1 176177, 203 MEDIA2 176177, 203 MEDIA3 63, 176177, 203 MEDIA4 63, 177, 203 MEDIA5 177, 204 MEDIA6 177 MEDIA7 177, 204 MEDIA8 177, 204 message display exit IGXMSGEX 517 installation exit 520 MGMTCLAS 209 retention limit 209 microcode 362 microcode firmware 68, 80, 239, 252 minimum level 68, 80 Micron MT-RJ 75 Microsoft digital certification 379 MIH (Missing Interrupt Handler) 181 MIH timeout value 181 MIM (Media Information Message) 60, 315 misplaced volume 294 Missing Interrupt Handler (MIH) 175, 181 Missing Interrupt Handler values See MIH Model B 25, 6162, 315, 322 Model B18 Virtual Tape Server 20 Model B1A 104, 140, 536 Model B1As D12 Frame 153 Model B20 Virtual Tape Server 21 VTS 21, 119 Model C20 457, 461 C20 Drive Shelf Pair 467468 device attachment feature 466 device attachment feature codes 466 Drive Shelf 466 Drive Shelf Pair 466 frame 461, 464 Model E05 Tape Drive 466, 468 Model J1A Tape Drive 466, 468 order 468 Silo Compatible Frame 470 Tape Drive 466467 Model E05 141, 466, 536
568
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
device 228 Model J1A Tape Drive 467468 Tape Drive 141, 466468 Tape Drive canister 467468 Model F05 470 Fibre Channel Switch 470, 472 frame 470471 order 478 Tape Frame 469 Model F05 frame 462, 469 Model H 6162, 315, 322 drive 63 tape drive 25, 59 Model HA1 123124, 393, 395 Model J1A 4, 25, 104, 141, 157, 461 Model J70 4, 25, 109, 116, 457, 462 Model L12 frame 112 Model L12 control unit frame 109 Model L22 81, 83, 104, 109 mount 418 from input station 415 MOUNTMON 492 moving tape data DFSMShsm 230 mt 362 MTLIB command 345, 347, 447 MVS operator commands 438
N
native cartridge in 3494 with VTS 404 Native VSE/ESA 501502 NaviQuest 237 testing ACS logic 233 Nearline Control Software (NCS) 464 Nearline Control Software (NCS) 463 no rewind on close 334 nonelectrical element 109 non-MVS platform 267 nonvolatile random access memory (NVRAM) 125 NTUTIL 380, 384 base mode 382 basic functions 380 device inquiry 383 dismount cartridge 383 enable compression 384 interactive mode 380 library mode 382 list registered devices. 382 manual test 381 operating modes 380 read/write test 382 set block size 384 test basic operations 380 view installed devices 382 NVRAM (nonvolatile random access memory) 125
customizing 187 initialization parameters 174 preparing, starting 186 SMS 159 SYS1.PARMLIB 174 OAM restart 222 OAM storage management component (OSMC) 160 OAMPROC 175 object access method 159160, 261, 440 Object Access Method See OAM object storage and retrieval (OSR) 160 offline 394 offsite copy 229 old data sets 532 Old Value 281282 online 394 on-request bulk processing file name 307 ontrol 464 operating system 101, 116, 133, 171172, 240, 254, 302, 332333, 416, 445 Operating System/2 (OS/2) 101 operational considerations 347 operational mode 392393 detailed information 392 operational state 113, 138, 187, 347, 392394 change bit 451 change message 449, 454 operator intervention 113, 341, 392, 403, 510 operator menu in library manager 93 operator panel 80, 110112, 392, 394, 448 attention light 396 auto switch 113 emergency switch 113 intervention required 113 PAUSE switch 113 Operators Guide 97, 392, 401 OS/390 operator commands LIBRARY EJECT 438 OS/390 software support 158 OSMC (OAM storage management component) 160 OSR (object storage and retrieval) 160 out of cleaner volumes 396 Outboard Policy Management 208
P
PARTIALTAPE(MARKFULL|REUSE) 226 partitioning DEVSUPxx PARMLIB member 177, 267 DFSMS/MVS 267 DFSMSrmm 268 setting volume categories 177, 267 pause mode 393 PAUSE switch 113 Peer-to-Peer VTS 2021 Peer-to-Peer (PTP) 2021, 92, 95, 262, 299, 402, 437, 529, 544 Peer-to-Peer VTS 21, 122 Index
O
OAM 160 CBRXCLS programming interface 187
569
performance accessor exchange 130 accessor mount time 131 drive residence time 131 drive sharing 135 fixed home cell 134 floating home cell 134 inventory 136 of the 3592 Model J70 77 partitioning 135 Performance overview 87 personal computer (PC) 93 PFA (predictive failure analysis) 59 physical bottleneck 419 planning installation 136 raised floor 136 site preparation 136 Planning Guide 9798, 135, 316, 323 pre-ACS routine exit (IGDACSXT) 214 predictive failure analysis (PFA) 59 Preventive Software Planning (PSP) 316, 319 primary disc 101, 126, 397, 445 primary library manager hard disk failure 445 private category 193, 226, 269, 312, 314, 348, 514, 517 private volume 191, 200, 269, 303, 386, 500, 503, 514, 518 storage group name 191 procedure name 175, 510, 518 Product Support Planning (PSP) 158 program properties table (PPT) 174175 Programmable Operator facility See PROP PROP 312 PSP bucket 254, 316, 319 PtP VTS 21, 95, 119, 299300, 485, 544545 AX0 controller 300 B18 VTS 154155 public/private key 242, 251
R
RACF (Resource Access Control Facility) 182 RACF profiles 183 rack column 106 rack row 106 rail system 106 read/write test 382 recording format 3592- J1A 27 RECORDING TECHNOLOGY 225 recording technology 191, 270, 554 EFMT1 189 SLDC 203 recovery barcode reader 444 convenience I/O 445 gripper failure 444 LAN connection 445 library manager 444 RS-232 connection 445
tape control unit 445 TCDB 288 vision system 444 recovery of errors 442 RECYCLE 230 ranges of tapes 230 RECYCLEINPUTDEALLOCFREQUENCY See RIDF Redbooks Web site 558 Contact us xvii Redundant Fibre Channel Rack 474 regular cell 107 re-inventory complete system 397 remote AS/400 113 Remote Library Manager Console 97 remote service support telephone line 136 Removable Media Manager (RMM) 163 removable media services master 305 Removable Storage Manager (RSM) 380 Removal of Hazardous Substances (ROHS) 78 Request for Price Quotation (RPQ) 128129 required media type scratch cartridges 199 reserved cell 107 Resource Access Control Facility (RACF) 182 restarting OAM 222 restore 436 retention limit 200, 209 return to scratch 347 return to scratch processing 525 RIDF 231 Rivest-Shamir-Adleman (RSA) 246 RMS command 306 function 306 internal label 312 RMS function 305 RMSMASTR 312 RS-232 124 failure 445 RS-422 124 RSM 380 RSM user 378
S
safety enclosure interlock open 395 safety operation 109 same SMSplex 195, 213 sample JCL 515516 SARS (Statistical Analysis and Reporting System) 60 SCDS 196, 220 SCDS Name 201 scheduler work area (SWA) 531 SCHEDxx 174 SCHEDxx member of SYS1.PARMLIB 175 scratch category 102103, 275, 287, 303, 305, 318, 347348, 447, 517, 520 scratch pool 68, 80, 226227, 267, 305, 317, 516517 same set 328
570
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
scratch pooling 194 scratch threshold BTLS 514 MEDIA1 196 MEDIA2 196 MEDIA3 196 scratch volume 102, 192, 268, 273, 275, 287, 303, 307, 387, 439, 447, 500, 514 category 514 category code 177 common pool 195 media type 439 threshold 214 VOL1 label 192 volume entry example 298 scratch volume selection 102 SCSI commands 380 inquiry 363 secondary hard disk failure 445 secondary library manager disk drive and HA1 453 security profile 182 STGADMIN.IGD.ACTIVATE.CONFIGURATION 183 STGADMIN.IGG.LIBRARY 183 sense data 380 service bay 104105, 127, 395, 398, 404, 448, 453 functional components 123 service frame 125 Service Information Message (SIM) 60, 315 service volume label definition 400 servo tracks 3592 Model J1A 30 set commands 384 SETNAME statement 537 Setname statement 536537, 549 DEVICE statement 543, 547 Figure E-10 DEVICE statement 543, 547 SETSYS command DUPLEX 227 PARTIALTAPE 226 TAPEUTILIZATION 227 SETSYS DUPLEX 229 SETSYS Duplex 227 SETSYS TAPESPANSIZE 228 SETSYS TAPEUTILIZATION 227, 229 command 228 PERCENTFULL 227, 232 SETSYS TAPEUTILIZATION PERCENTFULL(pct) 228 SETUP HCD 164 shutdown pending 394 silo 459 silo-compatible frame 457 SIM (Service Information Message) 60, 315 Simple Network Management Protocol (SNMP) 419 single cell output facility 115 SLDC 203 3592 compression algorithm 27, 203 SMF record 288, 482483 SMS (system-managed storage) 158 SMS command 439
SMS configuration, activating 222 SMS constructs 182 SMS Control Data Set 184, 187, 205 SMS Data Class 226 SMS Data Class definition 226 policy 247 SMS definition 205 SMSplex 162, 184, 278, 293, 313, 439 SNMP (Simple Network Management Protocol) 419 SNMP Option 420 SNMP trap destination 420422 type 420 SNMP trap destination 420 SNMP traps 419 Software implementation 138, 163 Solaris special file names 333 verifying IBMtape 351 source control data set See SCDS special device file name 333 special file names 333 specific VOLCAT 185 specified media type scratch volumes 196 speed matching 33 spool access facility (SPAF) 530 ST@S3494 493 STACK volume dump 228 stacked volume 184 stand-alone device setup 415 stand-alone dump and restore 436 standard label (SL) 206 standby accessor 126, 396, 444 failing gripper 453 failure 451 HA1 124 standby library manager 125126, 396397, 443, 448 HA1 124 standby library manager failure 449 Standby LM 449, 451 startup 338, 385 Statistical Analysis and Reporting See SARS Statistical Analysis and Reporting System (SARS) 60 Statistical Analysis Recording System (SARS) 60 STGADMIN 183 STGADMIN.IGD.ACTIVATE.CONFIGURATION 183 STGADMIN.IGG.LIBRARY 183 STK Silo with IBM 3590 Magstar 458 storage cell 76, 104105, 275, 314, 321, 395396, 463, 510 maximum number 117 moves cartridges 105 Storage Class 275, 532 storage class 97, 158, 160, 182, 199200, 207, 263, 267,
Index
571
275, 532 storage class ACS routine 218 Storage Group 275, 440, 532533 storage group 97, 158, 160, 173, 199200, 210, 274275, 440, 532533 library names 440 new value 283284 New Value fields 284 New Value input 284 storage groups 210 storage group ACS routine 220 storage pool 270, 386387 full capacity 270 StorageTek library management unit 459 library storage module and library control unit 459 software components 459 solution 458 StorageTek Silo 25, 70, 157, 458, 460 tape drives 25 STORCLAS 207 STORGROUP 210 allocation criteria 214, 273 library name 213 multiple libraries 214, 276 status 213 Sun Solaris 116, 140, 240, 333, 348, 464 SuSE zSeries 366 swinstall lmcpd 359 switchover 126, 393394 switchover on demand 451 Sys Group (SG) 213, 220 SYS1.PARMLIB ALLOCxx 179 BTLPRMxx 514 COFVLFxx member 178 COMMNDxx 177 CONSOLxx 174, 176 DEVSUPxx 174, 176 GRSCNFxx 178 IECIOSxx 181 IEFSSNxx 174, 176 IGDSMSxx 174175 LOADxx 178 LOADxx member 178 SCHEDxx 174175 SCHEDxx member 175 TCDB high-level qualifier 178 updates for library 174 WTOR messages 179 SYS1.VOLCAT.VGEN ERAL 178, 185, 292 SYSIN DD 193, 291 SYSPRINT DD SYSOUT 185, 205, 291 system summary 443 System z environment 239, 242, 302 FCP connected tape drive 240 server 62, 254 system-managed storage (SMS) 63, 158, 292293, 454,
496 system-managed tape 157159, 274, 294, 399, 412, 522523 automation considerations 442 JES3 535 software environment 158 z/OS 419 system-managed tape environment 157, 160, 191
T
tape allocation 158, 181, 271, 315, 322, 510, 516 tape cartridge 1, 45, 106, 193, 196, 199, 241242, 247, 399, 458 EEDK structure 247 metal particle medium 59 several places 241 tape configuration database (TCDB) 161, 184 tape control unit failure 445 Tape Controller 3, 21, 25, 99, 117, 119, 168, 242, 252, 457 tape controller 38 Encryption Key Manager connectivity 252 redundant connections 243 tape data 111, 117, 162, 205, 315, 322, 446, 525 given subset 208 MGMT CLASS PROC 220 movement rules 214 tape device 19, 173, 181, 261, 267, 273274, 313, 324, 332334, 344, 401, 415, 483484, 521 common use 267 default configuration parameters 357 diagnostic information 441 Tape drive 4 Gbps Fibre channel adaptors 80 available feature codes 64 compaction feature 176 D24 frame 83 Fibre Channel cables 470, 476 high performance 78 multi-rack attachment 476, 479 same 3592 Model J70 controller 76 same 3592-J70 controller 86 same controller 76 second Fibre Channel port 76 Tape Library 64 tape drive 6, 62, 68, 104105, 111, 116, 157, 163164, 173, 214, 240, 248, 270, 303304, 331332, 391393, 457458, 513514 appropriate set 514 category name 527 default operating parameters 339 device class 386 device entries 362 encryption keys 240 Fibre Channel cable 143, 145 IBM 3494 Model L22 frame 111 incompatible cartridge types 399 multiple generations 2 new capacity 270 Operational knowledge 391
572
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
restricted usage 415 same set 251 second generation 6 Show Characteristics 340, 343 TS1120 Encryption support 253 virtual 23 z/OS proxy interface communicates 243 Tape Encryption 68, 7980, 192, 226, 240 Other mainframe platform support 254 Process flow summary 241 z/OS support 254 Tape Frame 34, 7980, 252, 458, 461 Stand-alone support 79 TS1120 Tape Controllers 80 tape initialization 192 Tape Library certain components 105 dedicated tape drives 109 DFSMS/MVS support 273 electrical hazards 109 Fibre Channel-attached 3592 tape drives 116 focal point 92 JES3 configuration 541, 547 Managing different 3590 models 269 minimum configuration 112 single Model J70 control unit 117 Storage Administration Guide 278 Tape Drives 4 Tape library tape drive 325 tape drives 316 tape library 4, 6, 9192, 158, 160, 210, 242, 254, 267269, 302303, 331, 345, 353, 391392, 481482, 510, 524, 529, 532 Certain conditions 412 current operational status 392 DFSMS/MVS OAM PISA 189 enough available drives 482 following information 198 JES3 complex 538 Library Manager 358 library manager 162 only tapes 437 selected volumes 406 Specific commands 163 tape devices 437438 tape drives 69, 87 unique identification number 172 unlabeled cartridges 403, 414 volume entries 183 volume resident 525 tape library partitioning 267 tape management system 162 updating, customizing 190 tape management system with BTLS 520 tape media 3592 cleaning cartridge 40 3592 design characteristics 33 3592 models 38 cartridge memory 34
Tape mount management (TMM) 216, 482 tape solutions 7, 19, 239 tape storage media 7, 19, 239 tape subsystem 104, 107, 110111, 172, 228, 242, 252, 394395, 520 communication path 445 Model L22 components 110 tape subsystem communication failure 445 tape tool 135, 264, 481482, 485 tape unit 174, 227, 274275, 317318, 438439, 533 tape utilization 227 tape volume 22, 158, 162, 268, 273, 325, 386, 399, 504, 524, 533 ALTER function 281 external cartridge label 296 physical location 294 recording format 195 use attribute 285 Tape Volume Cache GB Disk Storage Capacity 150 usable storage capacity 154 Tape Volume Cache (TVC) 20, 102, 119, 226, 485 TAPESPANSIZE(nnn) 227 tapeutil 354, 357, 359, 361 TAPEUTILIZATION 227 TAPEWISE 492 TAR command 346 TB 1, 20, 119, 121 TCDB 160161, 261, 266, 405, 446 allocation 184 ALTER LIBRARYENTRY 297 ALTER VOLUMEENTRY 297 backup 288 CREATE LIBRARYENTRY 297 CREATE VOLUMEENTRY 297 DELETE LIBRARYENTRY 297 DELETE VOLUMEENTRY 297 general VOLCAT 184 high-level qualifier 178 import connect 185 library manager synchronization 294 library record 184 listing 293 moving to a different volume 292 planning for recovery 288 specific VOLCAT 185 volume record 184 TCDB (tape configuration database) 161 TCDBplex 267 TCP/IP connection 243, 245 EKM communicates 245 EKM server 243 teach process 136 partial 136 technology 3592 segmentation 35, 56 EFMT1 189 test case 221, 233, 305, 316 BULK GENERATION 235 Test SNMP Trap Message (TESTM) 420, 423
Index
573
testing ACS logic with NaviQuest 233 TESTM messages 423 Tivoli Storage Manager (TSM) 240, 348, 386 Tivoli Storage Managers CHECKIN processing 348 TotalStorage Enterprise Tape Library (ETL) Specialist 94 TotalStorage Master Console (TSMC) 7576, 99 transient mount 415 TS1120 xx, 3, 56, 25, 99, 104, 109, 111, 116, 157, 169, 174, 176, 240, 242, 248, 399, 457, 460462 TS1120 drive 174, 242 same library 242 TS1120 Model E05 drive 86 TS1120 Tape Controller 34, 6869, 252253, 469470 Controller FC3488 470 Controller FC5879 478 Controller Feature 478 Controller Model C06 4, 82, 253 Controller order 471 Drive 4, 25, 226, 240 drive 3592 Model E05 4 Drive encryption 252 Drive Encryption support 252 Drive hardware 242, 252 Encryption 226, 251 TS1120 Tape Drive 252 TS1120-C06 controller 86, 100, 458 attachment capabilities 458 TS1120-E05 Tape Drive 79, 85, 116, 458 TS3000 System 4, 93, 99, 473474
U
Ultra SCSI 6162, 116, 332, 385 Ultrium device driver Driver Details tab 379 IBMtapeconfig 361 installing 371 NTUTIL 380 properties 379 tapeutil 361 uncompressed capacity 204 UNITNAME 532, 535, 539 unlabeled tape 413 Usage Guide 192, 226, 239, 248, 251, 260 use attribute 161, 184, 279 user interface (UI) 93, 100
V
validate ACS routines 220 VCR 59 verifying the Atape driver installation 338 verifying the IBMtape driver installation 351 verifying the installation 232 VGS considerations 328 control data sets 328 insert category 328 inventory support server 326
library manager interface 327 view of the tape library system (VTS) 483 virtual backhitch 27, 34 virtual drive activity 485 view 483 virtual lookaside facility (VLF) 178 virtual machine Stand-Alone Services program 437 virtual machine (VM) 305, 307, 437 Virtual Private Network (VPN) 99 Virtual Tape Server (VTS) 2, 20, 119, 122, 402, 405 virtual volume 20, 102, 119121, 208, 210, 302, 404405 insert processing 302 selective dual copy 210 specific amount 405 vision system 105107, 295296, 395, 459 vision system failure 444 vl rmt3 339 VM/ESA considerations 312 insert category 312 insert processing 312 library manager interface 307 VMA test cases 234 VOLCAT 184 import connect 185 specific 186 TCDB 161 volcat 161, 288, 440, 551 volser 102103, 192, 264, 272, 393, 399, 507, 532, 552 VOL1 label 192 volser number 387, 515, 517 VOLSER range 403, 410 volser range ABC000 411 volser ranges for media types 410 volsers demount cartridges 415 volume AN4441 189 media type 189 volume catalog 162 See VOLCAT volume catalogue 161162, 175, 291 volume category 101, 174, 267, 269, 303, 397, 407408, 499500, 514, 517 defining 499 DEVSUPxx PARMLIB member 177, 267 hardware usage 101 library manager 101 partitioning 177, 267 Volume Control Region See VCR VOLUME Entry 178, 186, 268, 272, 292, 551 volume entry many updates 178 volume mount analyzer 482 Volume mount analyzer (VMA) 233234, 264, 299, 482483 volume record 184, 188, 294, 438, 515516
574
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
volume SARS (VSARS) 60 volume serial numbers 195 VSARS (volume SARS) 60 VSE Guest 500501 Server 325326 Server support 325 support 326 VSE/ESA considerations 318 control data sets 318 LBSERV macro 327 librarian facility 318 library manager interface 318, 327 LIBSERV 327 MSG command 318 native support 316 operator command 318 VTS 204, 305 introduction 19 logical volume 404 stacked cartridge 404 VTS subsystem 22, 128, 198, 506 VTSs 21, 120 VTSSTATS 492
z/OS knowledge 496 z/OS system 185, 246, 254, 313, 402, 496 z/OS V1R4 252, 254 z/VSE support 254 z/VSE tape management (Z/VM) 301302 zSeries connectivity information 366 device driver 366 zfcp.conf 367
W
wall number 106 watermark setup name statement 544, 547 Windows 2000 compression 384 Device Manager 371, 378 drive block size 384 Driver Details tab 379 Driver Installation Wizard 371 install Ultrium driver 371 LTO configuration 384 RSM 380 test basic LTO operations 380 WORM 3592 support 57 description 41 WORM cartridge 223 Write Once Read Many (WORM) 5, 177 WTOR messages 179
Z
z/OS 5, 157, 160, 240, 242, 301302, 391, 405, 510, 520 operator commands 183 partitioning tape libraries among multiple systems 267 software environment 158 software implementation 157 software support 158 tape tools 485 with system-managed tape 438 z/OS allocation 273, 533534 z/OS environment 60, 64, 134, 157, 243, 254, 261, 264 read compatibility 64
Index
575
576
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Back cover
IBM TotalStorage 3494 Tape Library: A Practical Guide to Tape Drives and Tape Automation
Improve your tape performance with the TS1130 Tape Drive Learn about capacity and usability enhancements Explore the enhanced ETL Specialist
This IBM Redbooks publication is the ninth edition of the best selling Tape Library Practical Guide, which was first published in 1996. This book is the indispensable companion for a successful implementation of IBM TotalStorage Enterprise Tape Drives 3590, IBM TotalStorage 3592 Tape Drives and Controllers, IBM System Storage TS1120 and TS1130 Tape Drives and Controller, and the IBM TotalStorage Enterprise Tape Library 3494 in your environment. This book explains how to plan for and how to install the tape products and library in various enterprise platforms. It considers day-to-day operations and integration with other products and applications. It also provides information about data migration and operational considerations. This document was written for storage systems technical professionals who implement IBM tape drives and libraries. The present version of the book has been updated with the attachment of the IBM TS1130 Tape Drive and usability enhancements of the IBM 3494 Tape Library.