Vts With TSM
Vts With TSM
cover
Student Notebook
ERC 2.0
Trademarks
IBM® is a registered trademark of International Business Machines Corporation.
The following are trademarks of International Business Machines Corporation in the United
States, or other countries, or both:
AIX AS/400 CICS
DB2 DFSMS/MVS DFSMSdfp
DFSMSdss DFSMShsm DFSMSrmm
ESCON IBM IMS
Magstar MVS OS/2
OS/390 OS/400 Perform
RACF RMF RS/6000
S/390 System/390 Tivoli
TotalStorage VSE/ESA
Other company, product, and service names may be trademarks or service marks of
others.
The information contained in this document has not been submitted to any formal IBM test and is distributed on an “as is” basis without
any warranty either express or implied. The use of this information or the implementation of any of these techniques is a customer
responsibility and depends on the customer’s ability to evaluate and integrate them into the customer’s operational environment. While
each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will
result elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. The original
repository material for this course has been certified as being Year 2000 compliant.
© Copyright International Business Machines Corporation 2001, 2002. All rights reserved.
This document may not be reproduced in whole or in part without the prior written permission of IBM.
Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions
set forth in GSA ADP Schedule Contract with IBM Corp.
V1.2.2
Student Notebook
TOC Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
iv IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
vi IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
viii IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X-1
x IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
TMK Trademarks
The reader should recognize that the following terms, which appear in the content of this
training document, are official trademarks of IBM or other companies:
IBM® is a registered trademark of International Business Machines Corporation.
The following are trademarks of International Business Machines Corporation in the United
States, or other countries, or both:
AIX® AS/400® CICS®
DB2® DFSMS/MVS® DFSMSdfp™
DFSMSdss™ DFSMShsm™ DFSMSrmm™
ESCON® IBM® IMS™
Magstar® MVS™ OS/2®
OS/390® OS/400®
RACF® RMF™ RS/6000®
S/390® System/390® Tivoli®
TotalStorage™ VSE/ESA™
Other company, product, and service names may be trademarks or service marks of
others.
xii IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
Duration : 3 days
Purpose
This course will cover the main topics that the students will need when
planning for the installation of a VTS, choosing the data to move into a
VTS, and setting up procedures for the continued monitoring of a VTS.
The course will follow on from SS22 and will introduce some topics
and also cover some topics (such as definition and Tape SMS) in
greater depth.
Audience
Information technology personnel who will use the VTS in their jobs to
create, store, and retrieve data sets. Jobs would include operators,
database administrators, storage administrators, and systems
programmers.
Prerequisites
Students should have fundamental storage management skills. These
skills could be obtained by attending Introduction to Data Storage
Subsystems (SS05/J3700) and Storage Management Fundamentals,
(SS06/J3701).
Students should also have a basic understanding of the VTS. This
understanding could be obtained by attending Magstar VTS Concepts
(SS22).
Objectives
• Enable the students to describe the different configuration options
for a Virtual Tape Server and associated 3494 Tape Library.
• Enable the students to define a Virtual Tape Server to host systems
• Enable the students to identify the data that should be moved into a
VTS
Curriculum relationship
• SS05 is a prerequisite
• SS06 is a prerequisite
• SS22 is a prerequisite
xiv IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
pref Agenda
Day 1
Welcome
Unit 1 - VTS configurations and options
Unit 2 - Implementation and installation considerations
Unit 3 - Software interactions
Uit 4 - Partitioning and sharing
Unit 5 - VTS management
Day 2
Unit 6 - VTS operations
Unit 7 - Planning and exploiting VTS capacity
Unit 8 - Monitoring and exploiting VTS performance
Unit 9 - Data migration
Day 3
Unit 10 - Import/export
Unit 11 - Data recovery and problem determination
xvi IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
GA32-0279 Magstar 3494 Tape Library Introduction and
Planning Guide
GA32-0329 Magstar 3590 Tape Subsystem Introduction and
Planning Guide
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
1-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
LAN
3494-B18/B10/B20
SCSI
3494-L1x
3494-D12
Notes:
The IBM TotalStorage Virtual Tape Server is housed in two frames of a 3494: an IBM Model
Bxx VTS Frame and IBM D12 Frames. The D12 Frame is located anywhere in the 3494,
whereas the Model Bxx VTS frame can be located at a distance of up to 14 m from the D12
Frame. The configuration shown above is a two-frame 3494 with a Model B18 VTS frame,
which is the minimum configuration when a VTS is installed. The L1x Frame has the option
of having additional non-VTS drives if required; the type and number of drives depend upon
the L1x Frame model.
The minimum configuration can be enhanced to a library of up to 16 frames by adding other
D1x Frames, IBM 3494-S10 Frames, and the D12 Frame for a second VTS in the same
tape library.
1-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
3590 3590
PCI 216/432 GB + 864 GB
SSA
Adapter 3590 3590
SSA hdisk hdisk hdisk hdisk SSA
6+P 6+P 6+P 6+P SCSI
Notes:
The VTS is available in different configurations in terms of the number and type of
channels, host system attachments, sizes of TVC, and the number of physical Magstar
tape drives that are dedicated to the VTS. The diagram above shows the maximum
configurations for a VTS. Maximum configuration is dependent on the VTS model. For
example, up to six 3590 tape drives are supported on Model B10 VTS.
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
VTS Configurations
B18 VTS B18 VTS
B18 B10 B20
+EHPO + PAF
Tape Volume Cache (GB) 72 - 288 216 - 864 1 * 648 - 5184 *1 648 - 1296 *1 2592 - 5184 *1
Virtual Drives 32 32 / 64 64 / 128 64 128 / 256
FICON Channels No No No up to 4 up to 8
Notes:
This table compares the possible configuration matrix between each VTS model with
detailed configuration options and considerations.
1-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Attachment Concentrator ()
Notes:
Detailed physical planning information is in the Magstar 3494 Introduction and Planning
Guide, GA32-0279. All frames except storage frames need front and rear service
clearance. The storage frame does not need clearance at the rear.
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
ESCON attachments
Compression on ESCON Attachment
Two Enhanced ESCON Channels replaces standard
channels
Two more Optional Enhanced ESCON Channels
Higher Subsystem Capacities (using compression)
72, 144, 216, 288 GB uncompressed cache capacity
Up to 216, 432, 648, 864 GB cache capacity (3:1 ratio)
Up to 64 Virtual Drives per VTS requires 144 GB TVC
requires EHPO
Up to 250,000 Logical Volumes per VTS Subsystem
Up to 500,000 Logical Volumes per 3494
Notes:
1-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
These are the main features that may be installed on a B18.
You may choose different host attachment options. The attachment features should match
so that you get the right device drivers for SCSI attachment.
1-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Note that feature #3200 comprises both microcode and ESCON cards. Feature #3400 is
microcode only so ESCON cards must be ordered in addition.
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
The SCSI extender feature is required for VTS attachment.
1-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
These Feature Codes can be installed on the Model B10 VTS and Model B20 VTS frame
and determine the configuration of the VTS. The Feature Codes are used to specify the
Remote Support Facility configuration, the size of the Tape Volume Cache (TVC), the type
and number of channel attachments to be shipped with the Model B10 VTS or Model B20
VTS, and other options. The table above summarizes the Feature Codes required on the
Model B10 VTS and Model B20 VTS.
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
The features shown in bold are required when you want to have a VTS in a library.
1-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Summary
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 1. VTS Configuration and Options 1-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
1-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
SC26-3051 DFSMS/MVS OAM Planning, Installation and
Storage Administration Guide for Tape Libraries
GC35-0154 IBM SCSI Tape Drive, Medium Changer and
Library Device Drivers Installation and User's
Guide
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
2-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Installation Tasks
Physical installation
Physical planning
Hardware installation
Engineer's tasks
Teach
part of installation: location of drives
Inventory
location of cells
Definition of VTS
Define device addresses
Define library to host
Set missing interrupt threshold
Define volume ranges
Set up library manager
Notes:
2-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
ESCON
ESCON
CUNUMBER=(441),UNITADD=00
CNTLUNIT CUNUMBER=442,PATH=(40,50), X
UNIT=3490,UNITADD=((00,16)),CUADD=2
IODEVICE ADDRESS=(A60,16),UNIT=3490,
CUNUMBER=(442),UNITADD=00
X
B18
CNTLUNIT CUNUMBER=443,PATH=(40,50), X 441 442
UNIT=3490,UNITADD=((00,16)),CUADD=3 CUADD=1 CUADD=2
IODEVICE ADDRESS=(A70,16),UNIT=3490, X 440 443
CUNUMBER=(443),UNITADD=00
CUADD=0 CUADD=3
Notes:
This example is for a VTS with two ESCON channels which are not attached using an
ESCON Director.
We have 64 virtual drive addresses. These are defined as four virtual 3490E subsystems,
each with 16 addresses. For each 3490E subsystem, there is a control unit definition and
the definition of 16 device addresses.
The CUADD parameter is used for each of the logical control units.
2-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This example adds two ESCON channels to the VTS for a total of four. We also use an
ESCON Director.
This means that we must define the additional paths and we must also define the link
addresses for the ESCON Director ports.
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
LIBPORT APARs
Notes:
It is better to use HCD rather than IOCP as you can avoid IODF reactivation if you have the
correct service applied.
If you use system-managed tape, you must use HCD.
2-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
LIBRARY-ID=60123 LIBRARY-ID=60124
LAN 3494 3494
LIBPORT-ID=01-04 LIBPORT-ID=01-04
B18 B18
SCSI
3494
D12 3494
D12 3494
D14 3494
3494
D14
L10
LIBRARY-ID=12345
LIBPORT-ID=01
LIBRARY-ID=12345
LIBRARY-ID=12345
LIBPORT-ID=03
LIBPORT-ID=02
Notes:
The library ID is usually taken from the serial number of the library frame or the VTS.
The Libport ID reflects the order in which the tape control units are connected to the library
manager. In the diagram, we have:
L10 Library ID 12345, libport ID 01.
D12 None as the drives are attached to the first VTS.
D12 None as the drives are attached to the second VTS.
D14 There are native drives in this frame. We use the library frame library ID
and libport ID 02.
D14 There are native drives in this frame. We use the library frame library ID
and libport ID 03.
B18 We use the library ID of the first VTS, 60123, and libport IDs 01 to 04 (01 to
02 if we only have 32 virtual drives) to describe the logical control units.
B18 We use the library ID of the second VTS, 60124, and libport IDs 01 to 04.
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Library ID
Notes:
2-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
MVS component
Used to detect hardware problems
Action taken if no interrupt returned to signal
completion
VTS recommendation
45 minutes
Allows VTS internal recovery to complete
Set in SYS1.PARMLIB(IECIOSxx)
MIH=(0A40-0A5F),TIME=45:00
Notes:
You do not need to set MIH values for native 3590s. The control unit (3590-A00, A50 or
A60) returns recommended MIH values when the Read Device Characteristics channel
command is issued. This is done at IPL or vary time.
The communication of recommended MIH interval is not done for 3490E drives, whether
real or virtual.
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
SCSI Attachment
Notes:
A VTS may have SCSI host attachments but these are in addition to ESCON attachments.
SCSI addresses consist of two parts: a SCSI ID and a logical unit number (LUN) for that ID.
VTS virtual drives emulate 3490Es exactly for addressing so the same scheme is used.
There is one SCSI id for two drives which are distinguished by using a LUN of 0 or 1.
2-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
SCSI Attachment
B18
ESCON
ESCON All Commands/Data ESCON
Host Adapter
Drive Commands/Data
SCSI
Adapter
SCSI Bus
Internal LAN
SCSI
Library Commands
Host LAN or RS232
LM
Notes:
With ESCON, commands and data both flow down the channel.
With SCSI, drive commands and data flow down the SCSI bus. However, library commands
use a separate path.
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
SCSI Requirements
Notes:
The SCSI adapters differ depending on the RS/6000 in which they are installed and
whether they are SCSI-2 or UltraSCSI.
2412 Enhanced SCSI-2 fast/wide differential
6209 PCI SCSI-2 fast/wide differential
6207 PCI UltraSCSI differential
2-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Preparation
Ensure RS-232 or LAN attachment to library manager
is connected
Installation
Install library device driver
Configure RS-232 port (if used) smit tty
Configure 3490s
Define 3494 to the library control daemon edit
/etc/ibmatl.conf
Configure the library manager control point using smit
Load daemon using cfgmgr
Notes:
2-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
0 to 16
15 contiguous
devices *
ESCON Adapter 1 SCSI Adapter 0
ESCON
Control Unit 1 SCSI Bus 0
Control Unit 2
Devices
0 0 to 16
contiguous
devices * SCSI Adapter 1
15
SCSI Bus 2
SCSI Bus 3
Control Unit 3
Devices 0 to 16
0 contiguous
devices *
15
Notes:
Internally, drives are given addresses which reflect the System/390 addresses. The SCSI
adapters see drives depending on options set at installation time.
The default host addressing is for eight virtual drives, starting at SCSI ID 8, for each SCSI
bus interface.
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Drive 1 Drive 2
(LUN 0) (LUN 1)
Notes:
The diagram shows how SCSI addresses real 3490E drives. The VTS emulates this
exactly for virtual drives.
2-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
SCSI Example
T "*
Notes:
This shows a configuration using the defaults. There are eight virtual drives and they
occupy SCSI ids 8, 9, 10 and 11. Each SCSI id has two LUNs.
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Defining Volumes
Define to host
Virtual volumes in Tape Management System
control data set size
Stacked volumes for protection DFSMSrmm
Define to VTS example
Stacked volumes
Define before inserting cartridges
Stacked volumes owned by VTS
1000 volumes
Host not told of insert
per 1 MB in the
Distinct volume serial ranges recommended CDS
Stacked volumes
Native volumes
Logical volumes
Cleaning and CE volumes
Notes:
When setting up a VTS, you need to ensure that you define volumes correctly.
You must define your virtual volume range to your tape library management system. You
may wish to define all the volumes that could possibly be used even though you will not
define them to the VTS at first. You should also define the volume serial numbers of your
stacked volume for additional protection.
You must also define your stacked volumes to the VTS before you insert them.
2-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-21
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Volume Categories
Category Description
0001 Media 1 Scratch Cartridge - Single Length - CST
0002 Media 2 Scratch Cartridge 3490 - Double Length - ECCST
000F Private (in use) Data Cartridge
FF00 Insert Volume
FF01 Stacked Volume Insert Category
FF03 Stacked Volume Scratch Category
(not used after LM LIC level 527)
FF04 Stacked Volume Private Category
(includes both scratch and private after LM LIC level 527)
FF05 Stacked Volume Disaster Recovery Category
FF06 Stacked Volume Disaster Recovery Category
FF12 Export Pending Category
FF13 Exported Category
FF14 Import Category
FF15 Import Pending Category
FF16 Unassigned Category
FF17 Export Hold Category
Notes:
The library manager assigns volumes to categories according to how they will be used.
There are some additional categories for the VTS shown in bold.
2-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-23
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Space Reclamation
Notes:
2-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This library manager panel is used to set up policies for the internal storage management
functions in the VTS.
You can set up:
1. The inhibit reclamation schedule
2. The reclamation threshold
3. The free space warning threshold
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-25
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
2-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-27
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Reclaim Threshold
Notes:
2-28 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Summary
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 2. Implementation and Installation Considerations 2-29
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
2-30 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
SC26-3123 DFSMS/MVS Implementing System Managed
Storage
SC26-4920 DFSMS/MVS DFSMSdfp Storage Administration
Reference
SC26-4931 DFSMS/MVS DFSMSrmm Guide and Reference
SC26-3051 DFSMS/MVS OAM Planning, Installation and
Storage Administration Guide for Tape Libraries
Unit Objectives
Notes:
3-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Capabilities:
ACS routines determine media and library
Automatic volume insert processing
External/internal label verification
Automatic labeling at open
ISMF interface
TMS interface through installation-wide exits
Operator MVS LIBRARY and SMS commands
ICL/ACL awareness
Limitations:
Single scratch pool per media type
Non-library devices cannot be system-managed
Notes:
3-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
SMS ISMF
Address
MVS/ESA
Space CBRUXVNL
ACDS
CBRUXCUA
CBRUXEJC Tape
OAM
Mgt
Address CDS
TCDB CBRUXENT System
Space
LCS CBRXLCS
Tape Library
Drives Manager Library Virtual
Manager Tape
Database Drives
Volume
IBM IBM 3494/3495
3494 Tape Library Location Virtual Tape Server
Notes:
The diagram shows the host and library components of system-managed tape, how they
communicate, and where they store information.
The host part of system-managed tape uses the SMS address space to define the
system-managed libraries and the management policies. The library is controlled by
Library Control Services (LCS) which runs in the OAM address space. Communication with
tape library management systems is enabled by OAM exits which are taken when an event
occurs that may change the tape library management system's information. The exits notify
the tape library management system when:
• A cartridge should be in a library but is not (VNL for Volume Not in Library)
• A cartridge is entered into the library or ejected from it
• The status of a cartridge is changed
CBRXLCS provides a programming interface to call LCS functions.
The main library components of system-managed tape are the library manager and the
managed drives and storage locations.
Notes:
The basis of system-managed storage is that storage use should be defined and managed
according to policies which separate the logical and physical views of the storage.
The data class, storage class, and management class define the logical view of the
services required. The storage group defines the physical view of specific libraries.
3-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
%
&
'
Notes:
Notes:
This is a checklist of tasks that you need to complete to implement system-managed tape.
3-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
SYS1.PARMLIB Changes
Notes:
The specific changes to each member are described in SC26-3051, OAM Planning,
Installation and Storage Administration for Tape Libraries.
Library Identifications
Notes:
3-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
The library ID is shown on the library manager operational status panel as the library
sequence number. Here we have a panel from a 3494 with two VTSs and hence three
library IDs.
Notes:
This represents the HCD panel where you define a tape library. The items specifically for a
library are shown in bold.
3-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
------------------------------------------------------------------------------
TAPE LIBRARY DEFINE Page 1 of 2
Command ===>
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Notes:
This is the ISMF panel where we define a tape library.
Each library is given a name which is used in the SMS storage group definition.
You may set defaults for several attributes at a library level.
Notes:
Two facility class profiles are used to limit the ability to perform configuration changes. A
storage administrator should be given read authority to both. The first profile allows the
administrator to activate a new SMS configuration. This results in a new copy of the SMS
ACDS. The second profile controls library changes which are reflected in changes to the
TCDB.
A TCDB consists of one or more ICF catalogs which are defined with the VOLCAT
parameter. You can split the TCDB across several catalogs by defining VOLCATs for
ranges of volume serial numbers.
3-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Data Class
------------------------------------------------------------------------------
DATA CLASS DEFINE Page 2 of 3
Command ===>
Notes:
This is the ISMF data class application showing the section where you define the tape
attributes for a storage class. The tape attributes are shown in bold case.
3-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Storage Class
------------------------------------------------------------------------------
STORAGE CLASS DEFINE Page 1 of 2
Command ===>
Use ENTER to Perform Verification; Use DOWN Command to View next Page;
. . . . . . . . . . . . . . . . . . . . . . . . . .
Notes:
This is the ISMF storage class application. There are no storage class attributes that
describe tape service levels so it is not important what you enter. The only choice by Tape
SMS is whether a tape allocation has a storage class or not.
------------------------------------------------------------------------------
TAPE STORAGE GROUP DEFINE
Command ===>
Notes:
This is the ISMF storage group application.
You define a tape storage group by name and enter the libraries that may be used to satisfy
an allocation request for this storage group. You may also define how the storage group is
connected to different systems by choosing to define the SMS storage group status.
3-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
ACS Example
SELECT
WHEN (&DSN = hsmlocal)
DO
SET &storgrp = 'LOCALVTS'
EXIT
END
WHEN (&DSN = hsmremot)
DO
SET &storgrp = 'REMOTVTS'
EXIT
END
END
Notes:
This ACS routine fragment shows the main elements of a routine using the storage group
ACS routine as an example.
Conditions that we want to check on are described in filter lists, shown here as filters on
data set names.
The logic that checks the data set names and assigns storage groups is shown within the
SELECT statement.
Library 2
VTS
Library 1
Notes:
The relationship between storage groups and libraries is set on the storage group definition
ISMF panel.
To allow a storage group to span more than one library you simply define more than one
library name on the panel.
A library will contain more than one storage group when it is named in more than one
storage group definition.
3-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
VTS 1
Notes:
Library Selection
Notes:
3-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
TCDB Display 1
------------------------------------------------------------------------------
MOUNTABLE TAPE VOLUME LIST
Command ===> Scroll ===> PAGE
Entries 1-13 of 40
Enter Line Operators below: Data Columns 3-7 of 20
Notes:
The ISMF Mountable Tape Volume List shows you what is in the TCDB for the volumes that
you have selected.
TCDB Display 2
------------------------------------------------------------------------------
MOUNTABLE TAPE VOLUME LIST
Command ===> Scroll ===> PAGE
Entries 1-13 of 40
Enter Line Operators below: Data Columns 8-12 of 20
Notes:
3-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
You also have the option of using Basic Tape Library Support instead of system-managed
tape. This table shows the main differences; note that the main advantage of BTLS is that
you may have multiple scratch pools.
BTLS is a separately chargeable program product. System-managed tape is part of
DFSMS/MVS.
Unit Summary
Notes:
3-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
SG24-4409 Guide to Sharing and Partitioning IBM Tape
Library Dataservers
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
4-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Sharing tape is very different to sharing disk. There are many controls to help you share
disk volumes and disk data sets, for example, reserve/release processing, sysplex-wide
enqueue propagation, VSAM share options, and database facilities. It is normal and
desirable to share disk data.
However, sharing in a tape environment is very different. It is rare that you would wish to
share a tape data set. However, it does make sense to share hardware resources such as
drives and libraries. It is also useful to share tape data serially among systems for data
interchange; a tape data set would be written on one system and read on another.
4-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Platform Considerations
Notes:
When we want to share tape resources (libraries, drives or volumes) we must consider
differences between the systems that will be used.
The simplest case is when we share between like systems such as two different OS/390
systems. If we want to share between OS/390 and AIX, we have many more differences to
consider, even to the point of different data formats if there is floating-point data.
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Partitioning
Shares library resources
Logically dedicate drives and volumes
Volumes cannot be shared unless moved between
partitions
Sharing
Sharing volumes
Perhaps sharing drives
All hosts have same access to all volumes
Notes:
There are two approaches, partitioning and sharing.
Partitioning means that we take a tape library and split it into separate partitions and let
different systems use different partitions. Each partition is logically distinct and comprises
drives and volumes. However, use of the library resources is common between partitions. If
one system has no free drives in its partition and another system using the same library
has free drives, the free drive could not be reassigned to the system that needed a drive.
In contrast, sharing allows several systems to share not only library resources but also
drives and volumes, although a drive and a volume would only be used by one system at a
time. Drives can be reassigned between systems.
We can also have a combination. A 3494 could be split into two partitions and one of the
partitions could be shared by several systems.
4-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Basic Principles
Notes:
In all cases, we must share access to the library manager as that is the single control point
for the library.
Separation of volumes for partitioning purposes is done by making use of volume
categories.
Sharing of drives makes use of commands that assign a drive to a system and then remove
that assignment.
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Volume Categories
Private
Environment Scratch categories
categories
x'0001' Media1 (CST) x'000F'
x'0002' Media2 (ECST)
DFSMS SMT x'0003' Media3 (3590)
x'0004' Media4 (3590 long)
x'0FFF' Default x'FFFF'
BTLS x'0FF2' - x'0FF8' provide 7
optional scratch categories
x'0080' - x'008F' provide 16 x'FFFF'
DFSMS/VM scratch categories
Notes:
The table shows the volume category numbers for both scratch and private volumes by
different systems that support 3494 attachment.
Note that VSE/ESA native and OS/400 do not support VTS attachment but they can attach
a native 3494 library.
In DFSMSdfp, the volume categories may be changed to allow two different systems to
partition a library. The defaults are shown.
For AIX use, volume categories are your choice. However, you should not use categories
that might be used by another system.
4-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Partitioning
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
System-Managed Tape
Automatic
Control ranges via cartridge entry exit CBRUXENT
DFSMSrmm provides REJECT by system otherwise
may need to change CBRUXENT
BTLS
Manually via LIBRARY command
Assign as private or to one of eight scratch pools
DFSMS/VM
Manually via RMS interface
Automatically by bulk insert processing
AIX
Manually via MTLIB command
Notes:
4-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DEVSUPxx
MEDIA1=0011
Use ranges 0010
MEDIA2=0012
to 007F to avoid
MEDIA3=0013
ERROR=001E overlap with other
PRIVATE=001F platforms
Notes:
The default volume categories used for System Managed Tape are x'0001' to x'0004'
depending on the media type. If you want to have separate partitions with System
Managed Tape using each, only one system can use the defaults. You can change the
categories to allow partitioning.
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
BTLPRMxx contains defaults for BTLS:
THRESHOLD(count) low scratch threshold to trigger warning message
SCRTCHn default category for scratch mounts
AUTODEMOUNT automatically demount volumes if mounted on an unallocated
drive
LIBAFFINITY break UNIT=AFF affinity that cannot be fulfilled
EXPDT98000 allow duplicate volume serial number to be mounted if
EXPDT=98000 coded
By specifying SCRTCH2 for a second BTLS system and SCRTCH3 for a third BTLS
system in their respective PARMLIB members, we can ensure that different scratch volume
categories are used to permit partitioning.
4-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Sharing
Drive sharing
JES3
JES2 plus sysplex tape sharing
ISV products
Volume sharing
Need to share inventory and control data sets Catalogs
and Tape Management System inventory GRS or
equivalent
System-Managed Tape
ACDS, COMMDS, TCDB
BTLS
BTLS catalogs
Notes:
Drive sharing allows several systems to use the same pool of drives, dynamically assigning
drives when needed and returning them to the pool when they are no longer needed.
JES3 has long provided drive sharing. In a JES2 environment, products are available from
Independent Software Vendors and, since MVS 5.2, as part of MVS itself.
Volume sharing allows different systems to share the same volumes. To do this, you need
to ensure that the relevant control data sets are shared. For example, if a volume is
mounted on one system and is written on, it becomes a private volume. All sharing systems
must be aware of the change of status to avoid the volume being mounted as a scratch
volume.
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
JES3 drive sharing is set up in the JES3 initialization deck.
All the devices in the tape library must be defined in DEVICE statements. JES3 device
names are set in the SETNAME statement while the HWSNAME statement defines which
device names are subsets of other device names.
4-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
MVS 5.2 introduced sysplex tape sharing. Note that it stores information about which drives
are available and who is using them in a coupling facility structure. This means that you
need a coupling facility.
A coupling facility is used to provide fast access to the sharing information.
The vary operator command uses the assign and unassign functions provided by the 3480
onwards to prevent a drive being online to more than one system at the same time.
However, reassigning drives using the vary command is time-consuming and will cause
processing delays.
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
You must plan a tape sharing implementation carefully. These are some of the questions
you must ask to ensure that the status of each individual volume is the same in each
system.
4-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
You may want to set up a limited form of sharing where you want some volumes to be
shared but some to remain unshared.
You can only have a single shared scratch pool for each media type. However, there are
three ways that you can restrict processing of private volumes. Use of RACF profiles will
allow you to restrict use to users or groups in the access lists for the TAPEVOL or
TAPEDSN profiles. The DFSMSrmm REJECT parameter, set in the EDGRMMxx PARMLIB
member, can prevent output or any use at all from that system. This control is set by
volume serial filtering. You can set different statuses for entire tape storage groups from
ISMF.
© Copyright IBM Corp. 2001, 2002 Unit 4. Virtual Tape Server Partitioning and Sharing 4-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Summary
Notes:
4-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
SG24-2229 Magstar Virtual Tape Server: Planning
Installation and Monitoring
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
5-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Case Study
Notes:
We will look at an example of how you would use different tools and techniques to monitor
the status of a VTS over a period of time during which there is a constant growth in
workload and an upgrade from a B16 to a B18.
5-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Points to Note
Data
Expiration
written
Full
Notes:
In order to understand the statistics that we will use in the rest of the unit, we need to know
that there is a difference between a scratch virtual volume that has never been mounted
and one which has been mounted at least once. The difference lies in the order used by the
VTS to select scratch volumes.
Also, a stacked volume has a life cycle as shown. It starts off empty, then it goes into filling
status as the VTS writes virtual volumes to it and then it is demounted when full. As data is
rewritten elsewhere, the stacked volume is partially full and the amount of data decreases
until the volume is finally a candidate for reclamation, after which it is empty again.
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Information Sources
Notes:
We will use the information described in this table as a snapshot of the VTS. The table
shows where we can get the information.
5-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Initial State
Description Count
Notes:
Two stacked volumes are mounted immediately for the VTS to copy data out of the tape
cache.
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
We take our first snapshot after six months.
The initial workload consists of data that is written on a 30-day cycle so that logical volumes
expire after 30 days.
5-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Description Count
Notes:
The key item is that we only have 20 scratch stacked volumes left.
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
What Happened
Conclusion
Too many virtual volumes defined
Explanation
7845 private volumes retained for 30 days
261 scratched and rewritten per day
Should have defined about 8500 volumes
Assuming 2:1 compression and 50% full volumes
8500 x 224 suggests about 190 stacked volumes
The VTS is selecting the volumes never mounted
Action
Insert 100 more stacked volumes
Notes:
5-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Events
VTS signals that free space threshold has been
crossed
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Statistics
Description Count
Notes:
The key items are:
• We are down to 20 scratch stacked volumes again.
• We still have 411 virtual volumes that were never mounted.
• The average virtual volume size has increased.
5-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
What Happened
Usage
2101 more virtual volumes mounted for first time
Average size increased from 224 to 260 MB
Conclusion
Extra space needed because of application growth
Still working through the volumes that have never been
mounted
Action
Add 200 more stacked cartridges
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
After 15 months
Event
Library signaled shortage of scratch virtual volumes
Conclusion
Had not happened before because many virtual
volumes defined at start
Sign of workload growth
Action
Insert 2000 more virtual volumes
Notes:
5-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
After 17 Months
Description Count
Notes:
This is a snapshot of the B16 just before it is upgraded to a B18 with EHPO channels.
There are free virtual and stacked volumes. The virtual volume size continues to grow,
suggesting a change in workload.
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
After 18 Months
Events
One month after B18 and EHPO upgrade
Performance and mount time improvements
Average virtual volume size falling
Notes:
5-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Description Count
Notes:
The important changes are:
• The average virtual volume size has decreased for the first time.
• The number of scratch stacked volumes has fallen rapidly.
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Conclusions
EHPO compressing new volumes
Volume size shows effect of compression
Small increase in tape usage as channel compression
different to compression by drive
New applications with bigger volumes
Transitional state
Actions
Measure compression ratio
Allow virtual scratch pool to decrease
Add 200 stacked volumes
Notes:
We can expect effects from two changes happening at the same time: there is a continual
underlying workload growth but there are also effects from doing compression in the
channel card as well as at the drive level.
5-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
After 20 Months
Events
SMF data showing that B18 not reaching throughput
limits
Free space dropping fast
Shortage of available library slots
Question
Why is free space dropping?
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Description Count
Notes:
The average volume size continues to fall. There are still some scratch virtual volumes.
These statistics do not show why free space is falling.
5-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
100
90
Number of Volumes
80
70
60
50
40
30
20
10
0
5 15 25 35 45 55 65 75 85 95
10 20 30 40 50 60 70 80 90 100
Percentage of Active Data
Notes:
Notice the peak in the number of volumes with 10-25% valid data.
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-21
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Observation
Many volumes just above reclaim threshold
Conclusion
Volumes contain many unexpirable virtual volumes
Action
Adjust reclaim threshold
Notes:
5-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Summary
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 5. Virtual Tape Server Management 5-23
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
5-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
GA32-0288 Magstar 3494 Tape Library: Operator Guide
SG24-2229 IBM Magstar Virtual Tape Server:Planning,
Implementing and Monitoring
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
6-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Operational Modes
Automatic
Accessor working, doors closed
Under control of Library Manager
Pause
Mount, demount, eject or audit requests queued
Accessor parked
Use high-capacity I/O facility or correct problems
Manual
VTS can be operated in manual mode
Library Manager console provides mount requests
Mounts done manually
Notes:
The Virtual Tape Server forms part of a 3494 library. The library can operate in one of three
modes:
1. Automatic
2. Pause
3. Manual
The library should normally be in automatic mode.
6-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Mode Pull-down
Notes:
Select this by clicking Mode or pressing Alt-m.
The marker in front of Auto and Offline shows the current setting.
6-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Status Pull-down
Notes:
The status panel allows you to find out information about:
• The library operation status at a summary level
• Whether all the components are working properly
• The status of the VTS or VTSs
• Library performance
• VTS performance
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Operational Status
Notes:
This panel shows configuration information.
6-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Component Status
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Queues Pull-down
Notes:
Individual tasks in the library are placed on queues for execution. This pull-down lets you
see the whole queue or individual queues for:
• mount
• demount
• eject
• insert
• audit
• clean
6-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Database Pull-down
Notes:
The database menu pull-down allows you to find out information from the library manager
and the VTS. You may:
• Search the database for volumes according to criteria you choose.
• Create a listing from the database.
• Find out which stacked volume holds a given logical volume.
• Request a map of stacked volume.
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Enter criteria in the entry boxes or by using the radio buttons and press the search button.
The results are displayed on the screen.
6-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Up to 5 volume fields may be selected to be included in the output list. The data will be
sorted by the first two output columns.
The data may be decreased by selecting a specific rack, media type, category, a volume
mask, or by specifying one or more indicator flags.
The output may be directed to a file on the A: disk or to the LISTDB.LST file on the C:
drive.
Output Column 1 Output Column 2 Output Column 3 Output Column 4 Output Column 5
Yes No Ignore
Specific Rack Misplaced
Specific Media Type Unreadable
Specific Category Mounted
Inaccessible
Volume Mask
Manual mode
Notes:
This panel also allows database queries. There are two differences between this and the
search panel. You can create a disk or diskette copy of the output and you can choose
which five columns in the table to report on.
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
This panel allows you to find out which stacked volume holds a specific logical volume.
6-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
If there is a physical problem with a cartridge, you need to know which logical volumes are
on it. This panel produces a list on a diskette.
6-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Up to 10 maps are
saved
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Commands Pull-down
Notes:
The Commands pull-down menu contains a number of options that do not fit naturally
under the other menu choices.
There are important submenus under System Management.
6-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Cleaning
Notes:
The Cleaning dialog box allows you to set up a cleaning schedule and how long to use a
cleaning cartridge.
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
This panel specifies which volumes will be stacked volumes.
Define the volumes as stacked volumes before entering them in the library.
Stacked volumes are only visible to the library manager and the VTS. No host can see
them.
6-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Figure 6-19. Volume Ranges for Stacked Volumes LIC 527 SS232.0
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-21
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Although logical volumes have no physical existence, you must insert them to make them
known to the library manager.
Note: Do not insert many more logical volumes than you need.
6-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-23
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Use this if you need to eject a stacked volume that is showing an excessive number of
temporary errors.
The contents of the stacked volume being ejected are copied to other stacked volumes.
When the stacked volume is ejected, it does not contain VTS data.
6-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-25
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Fast Ready mounts are done at electronic speeds. Make sure that you define your scratch
categories here to exploit fast ready scratch mounts.
6-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This panel allows you to set three key VTS policies:
1. When reclamation may not be run.
2. The amount of used space that triggers reclamation of a volume.
3. At what threshold the VTS should alert you that it is short of free space.
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-27
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
6-28 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-29
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
6-30 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
There are four similar panels to manage:
1. Unassigned volumes
2. Import volumes
3. Insert volumes
4. Export-hold volumes
The panel allows you move volumes between categories.
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-31
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
DFSMSdss stand-alone restore of system volumes needs to be able to do this.
6-32 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Inventory
Notes:
An inventory is done when:
• A 3494 or VTS is installed
• A 3494 or VTS is upgraded
• A door is opened
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-33
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Interventions
Notes:
Before enhanced messaging, the message at an MVS console merely stated Intervention
Required. You needed to go to the library manager and choose the Interventions option on
the Commands pull-down menu.
6-34 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Options Pull-down
Notes:
You may choose the language used for library manager dialogs. If you change it, the new
language is used after the library manager is shut down.
© Copyright IBM Corp. 2001, 2002 Unit 6. Virtual Tape Server Operations 6-35
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Summary
Notes:
6-36 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
References
SG24-2229 Magstar Virtual Tape Server:Planning,
Implementing and Monitoring
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
7-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
VTS Sizing
Answer configuration questions
How many virtual volumes to
define?
How many stacked volumes are
needed?
Volume Mount Analyzer
Part of DFSMSdfp
Analyzes historical SMF data
APAR OW21238 recommended
Run for at least one month,
capture monthly peaks
Filtering by job, data set,
program, and so on
Notes:
The Volume Mount Analyzer needs SMF record types 14, 15 (for tape), 21 and either:
• Type 30, subtypes 4 and 5, or
• 4, 5, 34 and 35
Filtering allows you to model the effects of different subsets of your tape workload.
7-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
After OW21238
Notes:
To get an accurate view, you need to run the Volume Mount Analyzer for a month. However,
this can result in very large amounts of data. The PTF for APAR OW21238 provides a way
to extract the data more frequently and so break the processing down into more
manageable jobs.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
VMA Output
Notes:
7-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
"
"$"#
, (
('
0/)0 &0/0/)0
"
/
$"#
,
,
-./ ,
" 0/0
$"#
,
0
Notes:
Volume serial numbers must be unique
• Within a library
• Within systems sharing a TCDB
The diagram shows a possible naming convention that allows you to see instantly what is
on a cartridge. This can help you interpret messages.
7-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This formula allows you to estimate the number of logical volumes you should initially
define for your VTS. It is easy to add more volumes but difficult to remove them.
If you have too many logical volumes defined, it can interfere with VTS internal space
management.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
= 8191
Notes:
7-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This formula allows you to estimate the number of stacked volumes you should insert into
the VTS. You can always add additional volumes if you underestimate.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
7-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
...other
DB2 database
IMS
utilities
DFSMShsm
...other CICS
backup/archive ADSM
utilities
DFSMSdss
BATCH
Notes:
You may have many different workloads that are candidates for a VTS. We need to
understand what characteristics suit a VTS so that you can choose the best candidates,
especially if you also have native 3590s.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Although a VTS emulates 64 virtual 3490Es, it does not have the same bandwidth as this
many drives.
The VTS is good at filling cartridges. A workload that is also good at filling cartridges does
not gain the benefit from the VTS.
You can interchange data between a VTS and another VTS or native drives with
import/export. If you do not have import/export, consider whether interchange or vaulting
needs prevent data from being placed in a VTS.
Jobs that read tape data backwards perform particularly well in a VTS.
7-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Application Usage
size ?
native 3590
VTS
?
throughput
Notes:
If you have native 3590s and a VTS, this chart shows where each device type is well-suited
when we consider data set size and throughput requirements.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
DFSMShsm
Migration, backup, dump
ABARS
ADSM or Tivoli Storage Manager
DFSMSdss
Application point-in-time backups
Off-site dumps
Database logs and image copies
Batch applications
Notes:
There is now a lot of practical experience running different workloads in a VTS
environment. Often, you can make small changes that tune the workload to run better in a
VTS. Equally, you may choose to select certain workloads for your VTS because they work
particularly well.
7-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
DFSMShsm has long been able to fill cartridges with incremental backup data, migration
data and, more recently, by being able to stack volume dumps. From this perspective,
DFSMShsm data may not be the best exploiter of a VTS. However, DFSMShsm also works
best when it can use many drives in parallel where each individual task will not use the full
bandwidth of a native 3590. The ability to give additional virtual drives to DFSMShsm can
be very useful.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
SELECTVOLUME(SCRATCH) and
TAPEDELETION(SCRATCHTAPE)
Notes:
If DFSMShsm is asked to recover or recall datasets, it will mount the backup tapes or ML2
tapes to get the data back to a primary volume. If the volume needed is not already in the
tape volume cache, the DFSMShsm task requesting data must wait until the entire volume
is in the cache. It helps if the size of the volume being staged into the cache is limited as
this reduces the wait time. One way to do this would be to use CST emulation rather than
ECCST; however, it is better to use DFSMShsm control to limit the amount of data written
to a logical volume so that you only need to define ECCST volumes in the VTS.
Use a scratch pool for DFSMShsm tapes to gain the benefits of fast ready mounts.
7-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
SETSYS PARTIALTAPE(MARKFULL)
Partially full volumes waste no space in the VTS.
SETSYS TAPESPANSIZE(800)
Reduce number of virtual volumes recalled.
SETSYS TAPEUTILIZATION(LIBRARYMIGRATION
(PERCENTFULL(97))) will not distinguish between 3490
and emulated 3490 drives.
Number of recall tasks should not exceed number of
physical VTS drives minus one.
AUTODUMP
Do not use STACK option with VTS.
Can be taken off-site if written electronically to off-site
VTS or Advanced Function feature is installed.
Notes:
Use of PARTIALTAPE(MARKFULL) increases the proportion of fast ready mounts and has
no space penalty.
Use large TAPESPANSIZE to reduce occasions needing two specific mounts for one large
data set and to speed up recycle processing.
A percentage full of 97% will allow you to move work between VTS and native drives, use
TAPECOPY to native drives or duplex to native drives.
Avoid allowing recall to monopolize VTS physical drives.
There is no need to stack dumps when they are written to a VTS.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
You can duplex and copy tapes outside the VTS if you follow these guidelines.
Consider when you run RECYCLE so that you choose a period when the VTS will have
free drives.
7-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DFSMShsm ABARS
Notes:
ABARS is usually used to provide disaster backups and hence there is a requirement that
the data be off-site. If you have an off-site VTS, whether for electronic vaulting or as part of
a peer-to-peer configuration, ABARS is a suitable workload. You may be able to use export
if the amount of data is not excessive.
ABARS is a useful way of getting data out of a VTS.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-21
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
Several TSM functions request a new scratch volumes and, often, it is very unlikely that
they will fill the volume. These are good VTS candidates.
These functions include:
• TSM database backup
• Incremental backup
• Incremental copy storage pool
• Sequential storage pool
Collocation keeps client data together on a small range of tape volumes. This will help
recovery by reducing the number of specific mounts needed to recover the data for a TSM
client.
7-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
MAXSCRATCH
Use a scratch pool to benefit from scratch category fast
ready attribute.
MOUNTLIMIT
Consider increasing drives available.
Take into account VTS overall performance.
MOUNTRETENTION
Set to 0 to free virtual drive for other users.
Virtual volume data will remain in TVC for fast
reaccess.
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-23
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
MAXCAPACITY
Tailor maximum volume capacity.
<100% full logical volumes can speed up recall
process.
BACKUP DB and EXPORT
Use SCRATCH=YES to use tapes from the Tape
Management System scratch pool.
Performance benefits with scratch category fast ready
attribute.
Notes:
7-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DFSMSdss
Notes:
The key points to consider are:
• Is the DFSMSdss dump for local recovery or disaster recovery?
• Is the dump for point-in-time recovery?
If you have large amounts of data being backed up for disaster recovery purposes, you
may consider native drives to give high throughput and ease of cartridge transport.
However, at the other end of the spectrum, small uncontrolled application backups can be
excellent VTS candidates as they will expire quickly and, if used, are very likely to be still in
the tape cache.
If you are dumping for local recovery, the use of a VTS can avoid tape wastage without the
extensive JCL changes needed for dump stacking.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-25
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
DFSMSdss Stand-alone
Notes:
If you use the Stand-Alone Services component of DFDSS 2.5 with PN77830 and
PN74583 or DFSMSdss with OW16802 and OW14835, you can do a stand-alone restore
from any library volume, whether VTS-resident or not.
7-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
DB2 archive logs are an excellent VTS candidate as they do not fill tapes, and recovery
from the logs uses read backwards and many drives.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-27
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
DB2 image copies can vary in size depending on the size of the table space being backed
up. You can take a full or an incremental image copy.
Small image copies work well in the VTS and incremental copies are often suitable.
Large, full image copies may be better on native drives.
Recovery uses many drives and this also suggests that the VTS is a good repository for
incremental image copies.
7-28 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DB2 Recovery
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-29
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
The considerations for CICS journals and IMS logs are the same as for DB2 archive logs.
IMS has a change accumulation utility that consolidates many logs into a single log. As this
needs many drives, it works well in a VTS.
7-30 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
The considerations for IMS image copies are the same as for DB2 image copies except
that all IMS image copies are full, not incremental.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-31
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
The VTS can be an excellent place for point-in-time backups written by a range of utilities
as there are no concerns about filling tapes and the jobs may well need drives, not
throughput.
If the data is needed again to recover data for a rerun, it is very likely that it is still in the
tape volume cache.
7-32 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Depends on workload
VTS easier to set up
No ACS changes
Fewer exceptions due to completeness of tape
emulation
Not just for OS/390
TMM to DASD alone
Can exploit remote copy for high availability
Can exploit sequential striping for high throughput
Needs careful monitoring and management class
design
Notes:
Tape Mount Management uses SMS automatic class selection routines to intercept tape
allocations and direct them to a disk buffer in order to save tape mounts. The buffer is then
swept to tape by DFSMShsm. This has some similarities to VTS processing.
It is likely that some TMM data is suitable for a VTS but some may not be because of disk
functions exploited by the TMM buffer.
© Copyright IBM Corp. 2001, 2002 Unit 7. Planning and Exploiting VTS Capacity 7-33
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Summary
Notes:
7-34 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
8-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
A native tape drive has relatively simple performance characteristics. The main
characteristics are:
• Data transfer rate
• Tape speed
• Tape handling time
As there is almost invariably only one user of a tape, there are few queueing
considerations. In contrast, a VTS is an effective tape subsystem because it does share
components between users.
8-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Configuration Choices
Channel compression
Magnifies size of tape cache
Tape cache size
Larger cache increases chance of reread
Larger cache smoothes out peaks
Larger cache can defer copy operations to period of low
load
Number of drives
Reduce queuing for drives
Performance accelerator feature
Higher throughput
Notes:
Different VTS configurations will perform differently.
Compression in the channel adapters has the effect of making the tape cache contain more
data. A larger cache contains more data than a small one; this increases the chance of
rereading data and also allows the VTS to run at peak throughput for longer.
When it is necessary to read data from stacked cartridges or write it to stacked cartridges,
more drives allows greater parallelism (and so throughput) and reduces queuing for a free
drive.
The optional performance accelerator feature can be installed for the highest throughput.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
The Performance Accelerator is an optional chargeable feature. It comprises new
microcode and new hardware.
8-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Shared Resources
Recall
TVC Channel
Writes
Channel
Reads
recall1 copy1
Recall queue
Copy queue
recall2 copy2
recall3 copy3
recall4 copy4
Notes:
There are several shared resources in a VTS system:
• Physical 3590 drives
• The tape volume cache
• The VTS controller
• Stacked volumes
• Internal queues
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Virtual
Volume Recall
Copy
SM
Software
AIX
Virtual Drive
Emulation
Up to 256
Reclaim Tasks
No scale implied
Notes:
The chart shows some of the tasks that use processor capacity. Some, such as the recall
tasks, depend on workload; some, such as virtual drive emulation, depend on
configuration; and some, such as AIX, are fixed.
8-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Copy
Recall
TVC
Channel
Writes
Channel
Reads
Notes:
There are four paths between the VTS controller and the tape volume cache. So, there can
be a maximum of four concurrent transfers.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Reclaim
Notes:
Drives are used by reclamation tasks (two drives per task), recall tasks reading data from
tape and copy tasks which write data from the cache to tape.
8-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Stacked Volumes
At times, multiple
recall tasks need to
access logical
queuing volumes on the
same stacked
volume,
causing queuing
against the stacked
volume.
Notes:
Since each stacked volume will contain hundreds of logical volumes, we can occasionally
find that a recall is being done from a stacked volume while another recall request is
queuing to recall a different logical volume from the same stacked volume.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Internal Queues
Queues against drives Copy from cache to stacked
and/or stacked volumes volumes
Caused by specific mounts Keeps cache from filling
not satisfied from cache
VOL211
VOL594 VOL046
VOL632 VOL603
Recall Copy
Notes:
The VTS maintains queues to manage contention for shared resources. Here we see
queues for recall and for copy. Although the queues are logically separate, the entries in the
queue are waiting for drives or volumes.
8-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Write
Host
Recall
Read
TVC
Fragment
Copy
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Free Space
SS232.0
Notes:
The contents of the tape volume cache must be managed to ensure that there is sufficient
free space for virtual volumes to be held in the cache when requested and to maximize the
number of read hits for virtual volumes in the cache.
8-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Throttling
Notes:
Throttling delays the response to host write requests.
It is done to ensure that the tape volume cache does not fill completely.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
When evaluating performance, we need to know what measurements are important and
when to use them.
8-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Tools
Library Manager
Library Manager panels
VTSLOGRP *
SMF type 94 analysis
Performance Reporter for MVS (5695-101)
VTSLOGRP *
VTSSTATS *
DFSORT reporting
EREP MDR analysis
Small block size *
Compression ratios *
Notes:
There are several sources of information about a VTS.
At the library manager console, you can see a number of performance-related displays.
You can also install the VTSLOGRP tool, downloadable from the ftp site shown, which will
run on the library manager itself.
OS/390 records tape library information in SMF type 94 records which can be analyzed by
several different tools. We will refer to VTSSTATS (available from the ftp site) later in this
unit.
Finally, there are tools to analyze EREP MDR records to identify jobs that write small
blocks to tape (bad for any tape subsystem, not just VTS) and which show you the
compression ratio that you are achieving.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Overall Performance
Start
Yes Is daily
average Yes
Is the work getting mount time Performance
done? 30 sec or OK
less?
No No
Notes:
If the tape workload is completed on time and the average mount time across one day is
less than 30 seconds, there is no problem to analyze.
8-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Channel Throughput
Start
Shift = or No Room
greater than for
calculated max? growth
Yes
No room
for growth
Notes:
If the VTS is running at or close to the limit you expected when configuring it, you need to
consider how you will accommodate any growth or peaks in workload.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Start
Immediate
Hourly Yes Other Yes relief needed
% Miss overload -
> than 20% indicators Likely to show
? present? poor
performance
Never No
Notes:
The VTSSTATS Virtual Drive Activity report shows us the number of mounts not satisfied
from the cache. If the miss rate over an hour averages more than 20%, it shows that the
cache may not be large enough.
8-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Start
Any Hours with
Virtual mounts No virtual No Mount
greater than mounts Time
900 sec? avg.> 30 OK
sec?
Yes Yes
Find the
Remove
cause and
workload or
consider
add
moving the
resources
workload
Notes:
Two indicators are important:
1. How long was the longest mount.
2. How long did mounts take on average.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-21
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
8-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Disconnect Time
Start
Any
RMF Yes Yes
Only Some
Intervals with Occasionally?
> 500 ms ? Serious
Throttling
No Often
Possible Causes:
- Cache full
- Excessive recalls
Notes:
A high disconnect time shows that the VTS was throttling writes.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-23
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
We can see information on VTS workload and activity by using the statistics panels at the
library manager.
8-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This panel shows you the amount of active data and the converse, the amount of free
space. Note that the active data figure includes invalid volumes that have not yet been
reclaimed. It does not include volumes in the cache that have not yet been copied to tape.
The free storage alarm level is the level that is set at the library manager. The maximum
active data level is calculated.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-25
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
This shows the amount of channel traffic for the previous 24 hours.
8-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This panel shows, over a 24 hour period, which mounts are:
• Fast ready hits
• Cache hits
• Cache misses
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-27
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
This shows the minimum, average and maximum number of drives used during the past 24
hours.
8-28 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This shows the number of logical mounts each hour.
The number is the sum of the fast ready mounts, cache hits and cache misses. Use it
together with the Mount Hit Data panel.
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-29
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Notes:
This shows you the distribution of the percentage of active data across all stacked
volumes. It helps you to decide whether the reclamation threshold suits your data.
8-30 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-31
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Performance Tests
Virtual Tape Server Performance
B18 - 2 ESCON
B18 EHPO - 2 ESCO
B18 EHPO - 4 ESCO
B18 PAF - 4 ESCON
B10 - 4 ESCON
B18 PAF - 8 ESCON
B20 - 8 ESCON *
B20 - 16 ESCON
B20 - 8 FICON **
0 50 100 150 200
* 8 channel B20 performance is with > 6 drives
** 8 channel B20 performance is with 12 x 3590 drives Bandwidth
Sustained Peak 32k blksize
Notes:
These numbers are purely illustrative and do not guarantee the throughput that you will see
with your data and your workload. They were obtained in a laboratory environment with a
mixture of data. Your results will vary.
In addition, these figures show a 100% write workload. Throughput will normally improve
as the proportion of reads increases.
8-32 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Summary
Notes:
© Copyright IBM Corp. 2001, 2002 Unit 8. Monitoring and Exploiting VTS Performance 8-33
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
8-34 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Objectives
Notes:
9-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
VTS Migrations
Notes:
Any times given in this unit are solely for the purposes of illustration. The actual times
needed to do upgrades depend on the initial status of the VTS and the number of trained
personnel available to perform the upgrade.
9-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Active Data
Notes:
Active data is that which is continually being generated, new versions replacing old.
It is easy to get active data into the VTS. Normally, you can just use the ACS routines to let
Tape SMS allocate the data into the VTS. Similarly, the old data expires so need not be
moved anywhere.
Several types of data fall into this category. Typically, backup data is active data in that we
usually keep a fixed number of backup generations.
Static Data
Notes:
Static data does not change. It is not rewritten. If we want it in the VTS, we must move it
there. We must also correct location information in the tape management system and
catalogs.
9-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Sources of information
Tape Management System database
Catalog
Select by attributes
Application Tape Management
Expiration System database
Flat file of
data sets
Notes:
We can use a tape management system or catalog entries to locate static data. A tape
management system will tell us when data was written and last accessed, both of which
indicate archive data. If we know a naming convention, the catalog will help us locate the
data.
Often, we can produce an extract file from a tape management system that we can use to
produce JCL or commands.
Notes:
Whatever tools we use, we must ensure that the output of the copying operation actually
goes into the VTS, so we will need to review ACS routines or use the correct unit names.
The tool that is used to copy the data depends to some extent on what the data format is. If
the data is written in DFSMSdss dump format, DFSMSdss COPYDUMP should be used to
copy it as the block size may exceed 32 KB.
Otherwise, there is a range of tools that can copy sequential data.
9-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
CHANGEDATASET 'tape.dataset' -
CRDATE(original date) -
FILESEQ(n) -
JOBNAME(creating job name) -
VOLUME(new volume) -
FORCE
Notes:
When the data set is moved, we want to maintain some of the information about it. As an
example, with archival data, the creation date is important yet the new copy will have the
current date. We may want to use TMS functions to set it to the original creation date.
Notes:
9-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Independent Software Vendors have tools that may help with all or part of a data migration.
Here are some that you may wish to evaluate for your own use.
Notes:
9-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
B16
B18
Notes:
A VTS model upgrade needs careful planning. Depending on circumstances, there may be
more than one way that the upgrade can be done.
Notes:
There are three different ways that a B16 to B18 migration may be done:
1. Within the same library with a model conversion.
2. Add a new B18 to the same library.
3. Add a new B18 in a new library.
9-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
MES Upgrade
SCSI
3494
B18
Serial = 12345
3494
3494
Lxx
3494 Lxx
3494
TARGET
D12 3494 D12 3494
B16 5500/5502
Serial
=12345
Serial
Removed
EXISTING
Notes:
The left of the diagram shows the initial configuration with a 3494 containing a B16. The
right shows the target configuration.
Note that the serial number is transferred from the B16 to the B18.
The frame that held the B16 becomes another type of frame: either a storage or a drive
frame.
Notes:
The upgrade has three tasks. The library manager upgrade can be done separately.
9-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
You may not need to upgrade the library manager. If you do, it can be scheduled well in
advance of the B16 upgrade.
The variation in B16 upgrade times depends on how much data must be copied from the
cache.
Expand configuration
Update Library Manager
Add D12 with 3590s
Attach B18 to new D12
Vary B18 online
3494
B18
3494
Lxx 3494
D12 Serial =54321
3494
B16 3494
D12
3494 Serial =12345
Lxx
3494
D12 3494
B16
1) Add D12
Serial =12345
2) Add B18
EXISTING
Figure 9-16. Parallel Operation with One Library SS232.0
Notes:
Here we add a D12 and B18 and keep the old VTS for some time.
As we are adding a second VTS, we must define it to HCD and SMS.
9-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
------------------------------------------------------------------------------
TAPE LIBRARY DEFINE Page 1 of 2
Command ===>
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
Notes:
As we have a second VTS, we must define it as a new SMS library.
------------------------------------------------------------------------------
TAPE STORAGE GROUP DEFINE
Command ===>
Notes:
We must have a storage group for the B18 only so that we can direct new work to the B18
alone.
9-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Parallel Operation
Drain B16
Workload redirected to new library using ACS routines
(nondisruptive)
Residual volumes copied at the end of transition period
read copy
write
3494
B18
Serial =
3494
Lxx 3494
54321
D12 3494
B16
3494
Serial = D12
12345
Notes:
The B16 is drained by new work being written to the B18. At some stage, you will be left
with a residue of volumes that you will need to copy.
Migration Tasks
Notes:
If you upgrade the B16 after it has been drained, the disruption is minimized. We have
avoided the force migrate and database backup steps.
9-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Parallel Operations 1
LAN
SCSI
3494
B18
Serial =
3494 54321
3494
Lxx
3494 Lxx
3494
D12 3494
D12 1) Add 3494 and
B16
Serial = VTS B18
12345
EXISTING
Notes:
This is similar to the previous approach, the difference being that we add a new library and
VTS, not just a VTS. This means that there is no disruption to the first VTS or library.
Parallel Operations 2
2) DRAIN B16
Workload redirected to new library using ACS routines (nondisruptive)
Residual volumes copied at the end of transition period
write
read LAN
copy
SCSI
3494
B18
Serial =
54321
3494
3494
Lxx
3494 Lxx
D12 3494
3494
D12
B16
Serial =
12345
Notes:
9-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
LAN
SCSI
3494
B18
3494
Serial =
Lxx
3494 54321
D12 3494
B16 3494
Serial = 12345 Lxx 3494
D12
Notes:
We may physically move the data from the B16 to the B18, either by taking the cartridges
and database or by doing a controlled VTS disaster recovery.
9-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
The library manager database and the VTS database must be moved to the new VTS.
After that, all the volumes (both scratch and private) should be moved from the old VTS to
the new.
Move Stacked
0.5 Hour 1 Hour 0.5 Hour 1 Hour
Volumes to B18
Move LM and
VTS database 0.5 Hour 2 Hours 0.5 Hour 2 Hour
to B18
Notes:
9-28 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Outage time
Scenario 4 Extended testing possible Additional SW definitions
Physical Cartridge Preferable solution if 2nd 3494 needed (HCD, DFSMS)
library planned needs specialized tools or
Movement services
Notes:
Upgrading the VTS in place is the lowest cost approach.
Adding a second VTS is more expensive but is good for fallback.
Adding a second VTS in a new library is the least disruptive.
Physical cartridge movement allows extended testing and frees the source VTS for
upgrade quickly.
Other Migrations
Notes:
These are upgrades that might be done to a B18.
9-30 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Upgrade LIC
2 Hours 3 Hours 2 Hours 3 Hours
on LM and VTS
Replace
Concurrent Concurrent 2 Hours 3 Hours
ESCON cards
Notes:
If you have a B18 without EHPO channels, you might choose to upgrade to improve
performance and add extra channels. Note that simply adding EHPO cards is less
disruptive.
Notes:
Before EHPO channels, virtual volumes in the tape volume cache would be uncompressed.
All virtual volumes written after the installation of the EHPO channels will be compressed.
As old data is copied out of the cache, the proportion of compressed virtual volumes will
grow. Since we expect the compressed volumes to be smaller, we will get many more
virtual volumes in cache.
Although the channel cards and the 3590 drives both use LZ1 compression, the algorithms
are tuned differently. It is possible that there may be further compression at the drive; it is
also possible that the data may grow slightly when written to tape.
9-32 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Why do it?
Double cartridge capacity with same cartridges
Greater data rate improves VTS performance
VTS considerations
All drives in one VTS must be the same
Could have different drives in two VTSs in one 3494
Cannot export from 3590E and import on 3590B
Host not aware of drive change
VTS migration
Starts to write in 256-track mode
Will not complete partially-filled 128-track cartridges
Can read 128-track volumes
May want to increase Reclaim Threshold to rewrite
128-track cartridges sooner
Notes:
You might consider this to increase the capacity that you can store in your VTS.
All the drives in one VTS must be the same.
Upgrade LM
1 hour 2 hours 1 hours 2 hours
LIC to 523.00
Upgrade VTS
none none 2 hours 5 hours
LIC to 2.17.10
Convert one
none none 1.5 hours 2 hours
3590B drive
Notes:
9-34 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
The upgrade may have several steps depending upon the configuration you start from.
However, the key task is that the tape volume cache is rebuilt with a different RAID format
and different file system. This means that the cache must be backed up and restored as
part of the upgrade.
The intention of installing the Performance Accelerator Feature is to provide much higher
levels of peak and especially sustained throughput than a B18 with EHPO channels.
? Activity Minimum
3494 Offline
Maximum
3494 Offline
Minimum
VTS Offline
Maximum
VTS Offline
Time Time Time Time
Upgrade LM
1 hour 2 hours 1 hours 2 hours
LIC to 523.01
Upgrade VTS
none none 2 hours 5 hours
LIC to 2.17.8
Install new
none none 1.5 hours 1.5 hours
ESCON cards
Force migrate
none none 1.5 hours 7.5 hours
and backup
Notes:
The major variation is in the force migrate time.
9-36 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Summary
Notes:
9-38 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Objectives
Notes:
10-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
10.1 Import/export
Import/Export Objectives
Notes:
Before import/export, the VTS was a closed store. This meant that data could only be put in
to the VTS or taken out by writing or reading. Data could not be physically removed in a
usable state save for the special case of disaster recovery.
This meant that the VTS was not suitable for some types of data where physical data
movement was needed.
Import/export provides the ability for you to name groups of logical volumes which the VTS
will move on to volumes that can be ejected from the library and taken to another library.
This widens the scope of include interchange data and data needing disaster backups.
10-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Import/Export Design
EXP001
EXPORT LIST 01
VOLSR1,DISASTER
VOLSR2,DISASTER LI EXPORT,EXP001
VOLSR3,BACKUP
VOLSR4,BACKUP
VOLSR5
Logical Volume
Volume Map
TVC Fragments
Notes:
The main design features are:
• Import and export are command-driven.
• The commands refer to a list volume.
• The list volume contains a list of volumes and destinations.
• The logical volumes are moved to a volume that may be removed.
• The output volume contains logical volumes and a self-describing volume map.
Import/Export Prerequisites
Notes:
10-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Import/Export Fundamentals
Export
Allows logical volumes to be moved to tape cartridges
which are subsequently removed from the library
Exported logical volumes no longer exist in the library
Import
Allows logical volumes to be copied from exported tape
cartridges back into a VTS
Can import volumes as scratch or initialized states
Container volumes
Exported logical volumes stored in container
Exported stacked volume
Notes:
Export takes data out of a VTS while import returns it into a VTS.
Import has additional options to bring a volume back as a scratch volume or as a newly
initialized volume.
The volume that we remove from the VTS acts as a container. It has its own volume serial
number but it also contains a number of exported logical volumes with their own logical
volumes. The idea of a container volume is used by tape library management systems.
Import/Export Terms
Export List Volume
Logical volume within VTS that contains
Export List file
Export Status file
Import List Volume
Logical volume within VTS that contains
Import List file
Import Status file
Exported Stacked Volume
Holds the exported logical volumes
Volser reported to tape management system via CBRUXEJC
exit
Selected randomly at time of EXPORT from scratch stacked
volume pool
New LM panels to make disposition decisions after EXPORT
and before IMPORT
Notes:
We tell a VTS what it should import or export by using list volumes.
As the name suggests, the primary contents are a list of volume serial numbers to be
processed. The second file is reserved and not currently used. Nevertheless, it must still be
written. There is also a status file which the VTS writes into in order to communicate the
results of the import or export.
The exported logical volumes are written to an exported stacked volume or container
volume.
10-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Import/export support is provided as PTFs for DFSMS/MVS 1.4 and 1.5 only.
Toleration PTFs are available for sharing systems running earlier levels of DFSMS/MVS.
The toleration PTFs allow a VTS with import/export to be attached to earlier systems
VTS Prerequisites
Library frame
#5210 10 cartridge convenience I/O station or
#5230 30 cartridge convenience I/O station
B18 VTS
#4000 Advanced Function or
#4001 Advanced Policy Management
#3200 ESCON High-Performance Option or
#3400 Extended High-Performance Option
B10 / B20 VTS
#4000 or #4001
Number of drives
Four minimum
Six highly recommended
Notes:
A convenience I/O station is required as you will need to move cartridges into and out of the
VTS.
The VTS must have channel adapters that do compression and at least four 3590s. You
have to order feature #4000 to get the import/export microcode.
10-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
PRE-MIGRATE IMPORT
RECLAIM
EXPORT
Notes:
Import or export uses two drives. It is a tape-to-tape copy. There can only be one import or
export being processed at one time.
Notes:
While import or export are running, two drives are no longer available for recall or copying
to stacked volumes. This effectively reduces the throughput of the VTS by about 15%.
10-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Export Destination
(optional)
EXPORT LIST 01
VOLSR1,DISASTER
VOLSR2,DISASTER
VOLSR3,BACKUP
VOLSR4,BACKUP
VOLSR5
Logical volume to
.......
be exported
Notes:
Normally, your tape management system will control what data is to be vaulted. Using its
usual vaulting policies, the tape management system should construct a list of logical
volumes to be removed from the VTS.
Volumes may optionally be given a destination. Logical volumes for different destinations
will not be copied on to the same stacked volume.
Export List
Logical
IEBGENER utility Reserved
Volume
Export Status
Notes:
Three files must be written to the export list volume.
10-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Export Hints
List volume needs standard tape label
Must not use compaction for the list volume
Volume serial of export list volume passed to VTS when Export
started
Easier to automate export operation by using specific volume
serial numbers
To export volumes from more than one VTS, create one
combined export volume list file and copy it to the export list
volume in each exporting VTS
At LIC levels 527 (LM) or higher
If the number and size of logical volumes to be Exported fits
upon a J type cartridge then it Will be chosen over a K type
OR
If no K type media is available then a J type (HPCT) will be
chosen
Notes:
Notes:
10-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DISASTER
BACKUP
blank
Notes:
The export can be started by command or by using the CBRSPLCS batch interface. An
interface is provided to allow a tape management system (or other program) to request an
export.
When the export list is processed, the logical volumes are put in export pending status so
that it cannot be used. A volume that is in use will not be exported.
Notes:
You can cancel an export. If you restart it by reissuing the export command, the operation
will restart at the last stacked volume boundary.
10-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
EXPORT STATUS 01
VOLSR1, ,18,*No Data Associated With Logical Volume
VOLSR4, ,18,*No Data Associated With Logical Volume
VOLSR5, ,05,*Logical volume not in VTS
VOLSR2,STKD01,00, DISASTER
VOLSR3,STKD02,00, BACKUP
Notes:
We can check the results of the export by looking at the export status file. OAM issues
messages that tell us of the progress of an export operation.
Notes:
After export completes, the exported stacked volumes are placed in the export hold
volume category. You can use the library manager panel shown to re-import them or eject
them.
10-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
We start with some volumes outside the VTS that are to be imported.
The volumes are inserted through the convenience I/O station and go into the unassigned
category. This differs from a VTS without import/export.
To import, create an import list volume.
Notes:
The panel shows a list of volumes that have been entered. They may be selected and
moved to the insert, import or eject categories.
10-22 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Importing a single
Logical Volume
from stacked
STKD01
Importing all
Logical Volumes
from stacked
STKD03
Notes:
The import list is similar in format to the export list except that the first volume is the
stacked volume serial number while the second is a specific logical volume serial number
or a blank to signify all volumes on a stacked tape.
10-24 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Notes:
10-26 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
TO VTS
Notes:
The import is the converse of an export. There are optional parameters scratch and
initialize.
Notes:
Again, processing is the converse of export.
When the import has finished, the import stacked volumes are left in the import category.
An operator must decide whether to insert them or eject them.
10-28 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
IMPORT STATUS 01
LOGCL1,STKD01,00,
IMPORT STATUS 01
LOGCL2,STKD02,13,*Duplicate volume in library
,STKD03,06,*Exported Stacked Volume not in the library
Notes:
The import status file gives you information about what happened. The two examples show
a successful import of one logical volume (ending with return code 00) and an unsuccessful
import. There were two failures in the unsuccessful import, the import tried to import a
volume with a volume serial number that is already in the VTS and also tried to import from
a stacked volume that had not been entered into the library.
Notes:
After an import completes, the stacked volumes remain in the library. This panel allows
you either to eject the volumes or to insert them, when they will be used as native volumes
or stacked volumes.
The volumes are not automatically ejected after you have used them.
10-30 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Starting Export
Operator command
LIBRARY EXPORT,volser
LIBRARY EXPORT,volser,CANCEL
Where volser specifies the export list volume containing
the list of volumes to be exported
Canceling the export operation implies that you must
restart with the last Exported Stacked Volume
CBRSPLCS batch sample
Notes:
This shows the format of the export operator command. Note that you use the same
command to cancel an export that is in progress.
You can also use CBRSPLCS, a sample program. You would write the three files needed to
the export list volume, build the export request with that volume serial number and then
pass that to CBRSPLCS.
Starting Import
Operator command
LIBRARY IMPORT,volser
LIBRARY IMPORT,volser,CANCEL
Where volser specifies the import list volume containing
the list of volumes to be imported
Canceling the import operation implies that you must
restart with the last Exported Stacked Volume
CBRSPLCS batch sample
Notes:
You issue an import request in exactly the same way as an export.
10-32 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
You may also cancel an import or an export from the library manager console using this
panel. It shows you a list which may show two operations, one for each VTS in the library.
Choose the one to cancel and then press the take action button.
OAM Messages
CBR1180I Tape Volume Status Display
D SMS,VOL(volser)
LIBRARY CATEGORY field new meanings:
MANEJECT volume manually removed from the library
EXPPEND logical volume export pending in the library
EXPORTED logical volume exported to a stacked volume
CBR1110I OAM Library Status Display
D SMS,LIBRARY,DETAIL
LIB TYP heading new meaning:
VL indicates that this library type is a Virtual Tape Server
CBR1100I OAM Status Display
D SMS,OAM
New field added to the display header:
TOT VL gives number of connected Virtual Tape Servers
Notes:
The import/export software support has changed the response to the operator commands
shown.
Note that not all the changes are specific to import/export.
10-34 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
OAM Messages
Notes:
The Advanced Functions microcode includes the enhanced messaging function. This will
send messages for:
• Operator intervention conditions
• Import status
• Export status
Display SMS,LIBRARY
Notes:
10-36 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
Notes:
10-38 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DFSMSrmm
DFSMSrmm 1.4 and upwards
Via SPE
Computer Associates CA-1
CA/1 5.2 plus fixes
Notes:
These tape library management systems have announced support for import/export.
DFSMSrmm Support 1
DFSMSrmm can distinguish between a logical or physical
volume.
Default of logical type for volumes added to VTS
No need to have a rack number for logical volumes
CDS logical volume record.
Container field for an exported logical volume contains stacked
volser number
Cleared on import
RMM DSTORE function sets the destination for the volumes to be
exported.
Storage location management
RMM notified of exported/imported volumes via
CBRUXEJC/CBRUXENT exits.
If a volume is not known as exported in RMM and has no TCDB
entry, the ISMF Default Entry Status is used.
Notes:
DFSMSrmm is able to distinguish between logical and physical volumes. When exported,
the logical volume record holds the container volume serial number.
DSTORE is the storage location management function in DFSMSrmm. It sets a destination
for volumes to be exported according to vaulting rules.
10-40 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DFSMSrmm Support 2
Notes:
The DFSMSrmm movement report identifies exported stacked volumes, not logical
volumes. It does not assign a bin number to these volumes.
When you use the CLIST option to store the output of a search command, extra information
is provided for exported logical volumes.
Panel Help
-----------------------------------------------------------------------
EDGPT110 DFSMSrmm Volume Details - A05000
Command ===>
Notes:
Changed items are shown in bold.
10-42 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Actions pending:
Return to SCRATCH pool . : NO Initialize volume . . . . : NO
Replace volume . . . . . : NO Erase volume . . . . . . . : NO
Return to owner . . . . : NO Notify owner . . . . . . . : NO
In container . . . : STKD01
Product details:
Product number . :
Level . . . . . :
Feature code . . :
Enter SCROLL commands for more volume information, or END command to CANCEL.
Notes:
Changed items are shown in bold.
CA-1 Support
Notes:
Please contact CA for details.
10-44 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
DITTO/ESA Support
Notes:
Two new functions are provided in DITTO/ESA. You may copy logical volumes from an
exported stacked cartridge to native cartridges which may then be used in any drive. You
may also list the contents of an exported stacked volume.
Notes:
10-46 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Unit Summary
Notes:
10-48 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-1
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Objectives
Notes:
11-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-3
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
VTS Resilience
Standard features
RAID protected tape volume cache
Two or four SCSI paths to 3590 drives
Two to 16 ESCON paths
Four to twelve 3590 drives
Optional features
Dual gripper
Dual library manager or hard disk
dual accessor and service bay
Points of failure (none for peer-to-peer)
VTS controller
SSA adapters*
* Dual I/O Drawer in B20 eliminates this
Notes:
The VTS has several design features specifically to give good availability. There are also
some options that can improve availability.
The points of failure are shown for a VTS that is not configured in a peer-to-peer
configuration. The peer-to-peer configuration removes these single points of failure.
11-4 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
IBM Support
Notes:
It is very important to call an engineer at the first sign of a problem. Trained engineers have
special tools to diagnose and fix problems.
Remote Support has always been available for dial-in to a VTS. Since late 1999, the VTS
microcode has also been able to Call Home in the event of a problems. A modem is
supplied with each VTS by specifying feature #2710.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-5
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Error Reporting
Enhanced Messaging
SNMP
Service Director
Call home
Notes:
The VTS reports errors in several different ways:
• SIMs to the MVS console
• To an SNMP monitoring station
• Enhanced console messages
• Call Home
11-6 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This is an optional function implemented by the library manager.
It requires a LAN connection with TCP/IP access to an existing monitoring station.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-7
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
3494 3494
Customer Customer
SNMP SNMP
Monitoring Monitoring
Station LAN Station
Notes:
Two 3494s are LAN-attached to two distinct SNMP monitoring stations.
11-8 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
SNMP Events
Notes:
Four different types of event can be monitored. Use the library manager panel shown to
choose which you want to see.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-9
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
SNMP Setup
Notes:
You need to know the name and IP address of an SNMP monitoring station.
11-10 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Enhanced Messaging
Notes:
Enhanced messaging was introduced in 1999. Turn it on using the Library Manager
Operator Intervention panel.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-11
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Call Home
Initiates Action
Open Problem Management Report Modem
Notes:
Call Home lets the VTS dial out if a problem is detected. This means that the time taken to
fix a problem is minimized.
11-12 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
There are two symptoms unique to a VTS:
1. Orphan logical volumes and
2. Read-only volumes
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-13
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Read-only Recovery
Notes:
Automatic read-only recovery was introduced as a microcode enhancement.
The VTS now checks for volumes in read-only status each hour.
11-14 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
This table shows the impact when different components fail.
When a peer-to-peer configuration is installed, failures that would make the VTS
unavailable only result in reduced performance.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-15
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Cartridge unavailable
Leader block Repair, reinsert then eject
until fixed
Possible lost data, peer to
Cartridge Call engineer peer uses duplicate copy
Notes:
This table shows that failures in the library manager, accessor and gripper have reduced
impact if the dual accessor feature is installed.
11-16 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Notes:
The VTS disaster recovery function is designed to allow recovery from a physical disaster
where the only things that can be salvaged are cartridges.
It requires another VTS as the target for the recovery.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-17
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
At damaged site
Force migrate if possible
Remove all stacked volumes
At recovery site
Restore TMS catalog
Set up DFSMS tape catalog
new TCDB or IMPORT RECONNECT
Invoke Disaster Recovery from Library Manager
Place stacked volumes in library
Reinsert logical volumes
Wait for synchronization of TCDB, LM database, and
TMS catalog to complete
Notes:
If you still have access to the VTS at the site suffering the disaster, you can use force
migrate to clear the cache to tape.
At the recovery site, set up the tape infrastructure using backup copies of the tape
management system catalog and the TCDB.
Disaster Recovery can be invoked from the library manager. When prompted, place the
cartridges directly into the library storage locations. When disaster recovery completes,
reinsert the logical volumes with the VTS online to the attached hosts. This synchronizes
the TCDB, library manager database and Tape Management System inventory.
11-18 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.0.1 BKM2MIF
Student Notebook
Reload database
and restart VTS
Recovery complete
Figure 11-17. VTS Disaster Recovery Process SS232.0
Notes:
The duration of a disaster recovery depends on the number of stacked volumes, logical
volumes and drives available for the recovery. It can be estimated in advance. However, it
will typically take many hours.
© Copyright IBM Corp. 2001, 2002 Unit 11. Data Recovery and Problem Determination 11-19
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Student Notebook
Unit Summary
Notes:
11-20 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
Student Notebook
bibl Bibliography
• Manuals:
GA32-0279 Magstar 3494 Tape Library Introduction and Planning Guide
GA32-0280 Magstar 3494 Tape Library Operator Guide
GA32-0329 Magstar 3590 Tape Subsystem Introduction and Planning Guide
SC26-3123 DFSMS/MVS® Implementing System Managed Storage
SC26-4920 DFSMS/MVS DFSMSdfp™ Storage Administration Reference
SC26-4931 DFSMS/MVS DFSMSrmm Guide and Reference
SC26-3051 DFSMS/MVS OAM Planning, Installation and Storage
Administration Guide for Tape Libraries
GC35-0154 IBM SCSI Tape Drive, Medium Changer and Library Device Drivers
Installation and User's Guide
• Technical Bulletins:
SG24-2229 IBM Magstar Virtual Tape Server:Planning, Implementing and
Monitoring
SG24-4409 Guide to Sharing and Partitioning IBM Tape Library Dataservers
SG24-4632 IBM Magstar Tape Products Family:A Practical Guide
SG24-2594 Magstar and IBM 3590 High Performance Tape
Subsystem:Multiplatform Implementation
X-2 IBM TotalStorage Virtual Tape Install & Planning © Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
V1.2.2
backpg