IBM TotalStorage Virtual Tape Server Implementation and Planning
IBM TotalStorage Virtual Tape Server Implementation and Planning
IBM TotalStorage Virtual Tape Server Implementation and Planning
cover
Student Notebook
ERC 2.0
Student Notebook
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
DB2
DFSMSdss
ESCON
Magstar
OS/390
RACF
S/390
TotalStorage
AS/400
DFSMS/MVS
DFSMShsm
IBM
MVS
OS/400
RMF
System/390
VSE/ESA
CICS
DFSMSdfp
DFSMSrmm
IMS
OS/2
Perform
RS/6000
Tivoli
Other company, product, and service names may be trademarks or service marks of
others.
V1.2.2
Student Notebook
TOC
Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Course Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Unit 1. VTS Configuration and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Unit Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.1 VTS Configurations and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
VTS Minimum Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
VTS Maximum Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
VTS Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Host and Library Manager Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
B18 ESCON High-Performance Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
B18 SCSI Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
B18 VTS Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
B18 VTS Channel Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
D12 Features for VTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12
B10/B20 VTS Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
L!x Features for VTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
Unit Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15
Unit 2. Implementation and Installation Considerations . . . . . . . . . . . . . . . . . . 2-1
Unit Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.1 Implementation and Installation Considerations . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Installation Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Defining a VTS to S/390 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
B18 Configuration Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
B18 Configuration Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Using HCD to Define a VTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
LIBPORT ID and Library ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Library ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Missing Interrupt Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
SCSI Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
SCSI Attachment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
SCSI Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
SCSI 3490E Device Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
SCSI Library Device Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Addressing Logical Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Emulated 3490E Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
SCSI Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Defining Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Library Manager Setup 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Volume Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-22
Copyright IBM Corp. 2001, 2002
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
Contents
iii
Student Notebook
V1.2.2
Student Notebook
TOC
Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sharing with JES3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sharing with JES2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Planning for Sharing Tapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sharing Controls with SMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unit Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-13
4-14
4-15
4-16
4-17
4-18
Contents
Student Notebook
vi
V1.2.2
Student Notebook
TOC
7-27
7-28
7-29
7-30
7-31
7-32
7-33
7-34
Contents
vii
Student Notebook
viii
V1.2.2
Student Notebook
TOC
10-14
10-15
10-16
10-17
10-18
10-19
10-20
10-21
10-22
10-23
10-24
10-25
10-26
10-27
10-28
10-29
10-30
10-31
10-32
10-33
10-34
10-35
10-36
10-37
10-38
10-39
10-40
10-41
10-42
10-43
10-44
10-45
10-46
10-47
Contents
ix
Student Notebook
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
DB2
DFSMSdss
ESCON
Magstar
OS/390
RACF
S/390
TotalStorage
AS/400
DFSMS/MVS
DFSMShsm
IBM
MVS
OS/400
RMF
System/390
VSE/ESA
CICS
DFSMSdfp
DFSMSrmm
IMS
OS/2
RS/6000
Tivoli
Other company, product, and service names may be trademarks or service marks of
others.
Trademarks
xi
Student Notebook
xii
V1.2.2
Student Notebook
pref
Course Description
IBM TotalStorage Virtual Tape Server Implementation and Planning
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
Course Description
xiii
Student Notebook
Curriculum relationship
SS05 is a prerequisite
SS06 is a prerequisite
SS22 is a prerequisite
xiv
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
Agenda
xv
Student Notebook
xvi
V1.0.1
BKM2MIF
Student Notebook
References
GA32-0279
GA32-0329
1-1
Student Notebook
Unit Objectives
At the end of this unit, you should be able to:
Understand key physical planning items
Understand the main 3494 and VTS features
Describe the host attachment options
SS232.0
Notes:
1-2
V1.0.1
BKM2MIF
Student Notebook
1-3
Student Notebook
3494-B18/B10/B20
SCSI
3494-L1x
3494-D12
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
ESCON / SCSI
ESCON
ESCON
ESCON
ESCON
ESCON ESCON
ESCON
ESCON
PCI
Tape
Daemon
Base LIC
PCI
I/O Bus
SCSI
SCSI
Adapter
AIX
PCI
SCSI
SCSI
216/432 GB
+ 864 GB
SSA
Adapter
SSA
hdisk
6+P
hdisk
6+P
hdisk
6+P
hdisk
6+P
SSA
SSA
hdisk
6+P
hdisk
6+P
hdisk
6+P
hdisk
6+P
SSA
+ 432 GB
3590
3590
3590
3590
3590
3590
3590
3590
3590
3590
3590
3590
(1)
SCSI
(1)
SS232.0
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.
1-5
Student Notebook
VTS Configurations
B18
Tape Volume Cache (GB)
Virtual Drives
72 - 288
B18 VTS
+EHPO
216 - 864 1
B18 VTS
+ PAF
*1
B10
B20
*1
*1
648 - 5184
648 - 1296
2592 - 5184
32
32 / 64
64 / 128
64
128 / 256
3-6
3-6
4 - 12
4-6
6 - 12
250,000
250,000
250,000
250,000
250,000
2/4
4/8
2/4
8 / 16
No
2/4
2/4
2/4/8
No
up to 2 / 2
up to 4 / 4
up to 4 / 8
up to 8 / 8
FICON Channels
No
No
No
up to 4
up to 8
No
No
No
2/4
4/4
.4 / .8
1.2 / 2.4
No
Yes
Import / Export
No
Yes
*1
1.2 / 2.4 1
Yes
*2
Yes
1.2 / 2.4 1
Yes
*2
Yes
1.2 / 2.4 1
Yes
*2
Yes
*2
SS232.0
Notes:
This table compares the possible configuration matrix between each VTS model with
detailed configuration options and considerations.
1-6
V1.0.1
BKM2MIF
Student Notebook
()
%& %& %& %& %& %&
'
!"#
! #
"
$
""
SS232.0
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.
1-7
Student Notebook
SS232.0
Notes:
1-8
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
1-9
Student Notebook
0
0
1
0
1
0
0
0
0
1
0
0
0
0
0
Max.
Qty.
1
1
2
2
1
1
4
1
2
1
1
1
1
1
1
Description
Remote Support and Call Home
Extended High Performance Option
Extended Performance ESCON channels
SCSI Host Attachment
72 GB Disk Storage Capacity for TVC
144/216 GB Disk Storage Capacity for TVC
288/432 GB Disk Storage Capacity for TVC
Advanced Function
SCSI cables
18 m SCSI cables
Performance Accelerator
RS/6000 attachment
ES/9000 attachment
VTS Open Systems Device Drivers
6 ft. Chicago Power cord
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
#3412
#3422
#3200
1
1
1
2
#3400
1
2
1
1
1
2
SS232.0
Notes:
Note that feature #3200 comprises both microcode and ESCON cards. Feature #3400 is
microcode only so ESCON cards must be ordered in addition.
1-11
Student Notebook
Min.
Qty.
Max.
Qty.
Description
5233
1 SCSI Extender
9010
SS232.0
Notes:
The SCSI extender feature is required for VTS attachment.
V1.0.1
BKM2MIF
Student Notebook
0
0
0
0
0
1
0
0
0
0
0
0
0
0
Max.
Qty.
1
4
4
1
4
2
2
1
1
99
1
1
1
1
Description
Remote Support and Call Home
Extended Performance ESCON channels
SCSI Host Attachment
Advanced Function
SCSI cables
20 m SCSI cables
64 additional virtual drives
RS/6000 attachment (pseries)
ES/9000 attachment (zseries)
VTS Open Systems Device Drivers
HP-UX attachment
Sun attachment
Windows attachment
6 ft. Chicago Power cord
SS232.0
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.
1-13
Student Notebook
Min.
Qty.
Max.
Qty.
Description
2710
2711
2712
5210/5230
5214
0
1
5215
1 Dual Gripper
5226
5232
1 Attachment Concentrator
9020
SS232.0
Notes:
The features shown in bold are required when you want to have a VTS in a library.
V1.0.1
BKM2MIF
Student Notebook
Unit Summary
At the end of this unit, you should understand:
Physical planning
Review floor loadings for VTS frames
Attachment options
SS232.0
Notes:
1-15
Student Notebook
V1.0.1
BKM2MIF
Student Notebook
References
SC26-3051
GC35-0154
2-1
Student Notebook
Unit Objectives
At the end of this unit, you should understand how to:
Plan for the main installation tasks
Define a VTS to S/390 using HCD or IOCP
Define a VTS to a SCSI host
Use the library manager to set up a VTS
SS232.0
Notes:
2-2
V1.0.1
BKM2MIF
Student Notebook
2-3
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
SS232.0
Notes:
2-4
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
2-5
Student Notebook
IODEVICE ADDRESS=(A40,16),UNIT=3490,
CUNUMBER=(440),UNITADD=00
CNTLUNIT CUNUMBER=441,PATH=(40,50),
UNIT=3490,UNITADD=((00,16)),CUADD=1
IODEVICE ADDRESS=(A50,16),UNIT=3490,
CUNUMBER=(441),UNITADD=00
CNTLUNIT CUNUMBER=442,PATH=(40,50),
UNIT=3490,UNITADD=((00,16)),CUADD=2
IODEVICE ADDRESS=(A60,16),UNIT=3490,
CUNUMBER=(442),UNITADD=00
CNTLUNIT CUNUMBER=443,PATH=(40,50),
UNIT=3490,UNITADD=((00,16)),CUADD=3
IODEVICE ADDRESS=(A70,16),UNIT=3490,
CUNUMBER=(443),UNITADD=00
HCD Definitions
4 Control Unit, 4x16 3490 devices
LIBRARY = YES
LIBID = 12345
LIBPORTID = 01,02,03,04
Single Host
40
ESCON
ESCON
50
B18
441
CUADD=1
440
442
CUADD=2
443
CUADD=0
CUADD=3
A40 - A4F
A50 - A5F
A60 - A6F
A70 - A7F
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
CNTLUNIT CUNUMBER=441,PATH=(40,50,60,70),
X
UNIT=3490,UNITADD=((00,16)),LINK=(D6,D7,D8,D9),CUADD=1
IODEVICE ADDRESS=(A50,16),UNIT=3490,
CUNUMBER=(441),UNITADD=00
40
70
60
ESCD
D8
D7
D6
D9
B18
CNTLUNIT CUNUMBER=443,PATH=(40,50,60,70),
X
UNIT=3490,UNITADD=((00,16)),LINK=(D6,D7,D8,D9),CUADD=3
IODEVICE ADDRESS=(A70,16),UNIT=3490,
CUNUMBER=(443),UNITADD=00
50
CNTLUNIT CUNUMBER=442,PATH=(40,50,60,70),
X
UNIT=3490,UNITADD=((00,16)),LINK=(D6,D7,D8,D9),CUADD=2
IODEVICE ADDRESS=(A60,16),UNIT=3490,
CUNUMBER=(442),UNITADD=00
Single Host
441
CUADD=1
440
CUADD=0
442
CUADD=2
443
CUADD=3
HCD Definitions
4 Control Unit, 4x16 3490 devices
LIBRARY = YES
LIBID = 12345
LIBPORTID = 01,02,03,04
A40 - A4F
A50 - A5F
A60 - A6F
A70 - A7F
SS232.0
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.
2-7
Student Notebook
OW25291, OW25292,
OW25293, OW27801,
OW29692
LIBPORT APARs
Figure 2-6. Using HCD to Define a VTS
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
3494
B18
LAN
3494
B18
LIBRARY-ID=60124
LIBPORT-ID=01-04
SCSI
3494
L10
3494
D12 3494
D12 3494
D14 3494
D14
LIBRARY-ID=12345
LIBPORT-ID=01
LIBRARY-ID=12345
LIBPORT-ID=02
LIBRARY-ID=12345
LIBPORT-ID=03
SS232.0
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
D12
D12
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.
2-9
Student Notebook
Library ID
Used in Tape SMS Library definition
Five characters
Assigned by Customer Engineer at installation time
Usually last five digits of serial number
Find
On Library Manager Operational Status panel
Using DEVSERV QTAPE,xxx,1,RDC
Up to three Library IDs
One for base 3494
One for first VTS
One for second VTS (if installed)
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
MIH=(0A40-0A5F),TIME=45:00
SS232.0
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.
2-11
Student Notebook
SCSI Attachment
Still need ESCON channels
One or two SCSI cards optional
Up to 16 SCSI addresses per card
Compression in adapter card
SCSI addresses set at installation time
One SCSI ID for two drives
LUNs 0 and 1 used
SCSI reserve/release protocols supported
Still recommend dedicated addresses
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SCSI Attachment
ESCON
Host
B18
ESCON All Commands/Data
Drive Commands/Data
ESCON
Adapter
SCSI
Adapter
SCSI Bus
Internal LAN
SCSI
Host
Library Commands
LAN or RS232
LM
SS232.0
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.
2-13
Student Notebook
SCSI Requirements
RS/6000 and RS/6000 SP
RS/6000 SCSI adapter feature codes 2412, 6209, or
6207
AIX 3494 and 3490E device driver B18 feature code
#9201
AIX 4.2.1 and higher
SCSI attachments
SCSI-2 Fast/Wide Differential (20 MB/s)
Ultra Wide Differential (40 MB/s)
(2) 0.8 mm SCSI connectors
External termination permits daisy-chaining
SS232.0
Notes:
The SCSI adapters differ depending on the RS/6000 in which they are installed and
whether they are SCSI-2 or UltraSCSI.
2412
6209
6207
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
2-15
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Devices
0
0 to 16
contiguous
devices *
15
ESCON Adapter 1
SCSI Adapter 0
ESCON
Control Unit 1
SCSI Bus 0
Devices
SCSI Bus 1
0
0 to 16
contiguous
devices *
15
Control Unit 2
Devices
0 to 16
contiguous
devices *
SCSI Adapter 1
15
SCSI Bus 2
SCSI Bus 3
Control Unit 3
Devices
0
0 to 16
contiguous
devices *
15
SS232.0
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.
2-17
Student Notebook
SCSI Interface 1
SCSI Interface 0
(Target ID:
(Target ID:
Control Unit
0..15)
Drive 1
Drive 2
(LUN 0)
(LUN 1)
0..15)
SS232.0
Notes:
The diagram shows how SCSI addresses real 3490E drives. The VTS emulates this
exactly for virtual drives.
V1.0.1
BKM2MIF
Student Notebook
SCSI Example
RS/6000 HOST
Terminator
Tri-Link adapter
"*
Control Unit
Control Unit
Control Unit
Target ID: 8
Target ID: 9
Target ID: 10
Control Unit
Target ID: 11
Drive 1
Drive 2
Drive 1
Drive 2
Drive 1
Drive 2
Drive 1
Drive 2
(LUN 0)
(LUN 1)
(LUN 0)
(LUN 1)
(LUN 0)
(LUN 1)
(LUN 0)
(LUN 1)
SS232.0
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.
2-19
Student Notebook
Defining Volumes
Define to host
Virtual volumes in Tape Management System
control data set size
Stacked volumes for protection
DFSMSrmm
example
Define to VTS
Stacked volumes
Define before inserting cartridges
Stacked volumes owned by VTS
Host not told of insert
1000 volumes
per 1 MB in the
CDS
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
2-21
Student Notebook
Volume Categories
Category
Description
0001
0002
000F
FF00
Insert Volume
FF01
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
FF06
FF12
FF13
Exported Category
FF14
Import Category
FF15
FF16
Unassigned Category
FF17
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
2-23
Student Notebook
Space Reclamation
Stacked Magstar Cartridges
Automatic process
Select tape with high amount of unusable space, based
on specified threshold percentage
Move all logical volumes to other stacked volumes
Return reclaimed volume to stacked scratch pool
Tape-to-tape process
Inhibit space reclamation
Through the Library Manager console
During certain periods of time
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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
2-25
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
2-27
Student Notebook
Reclaim Threshold
Library Manager panel
System Management pulldown
Set VTS Management Policies
Dynamically changeable
Reclamation Threshold
Percentage of active data before cartridge is eligible for
reclamation can be changed
Default is 10% active data
Recommendations:
Start off with 10% (default)
Increase slowly by 5%
Monitor with the LM Active Data Distribution panel
Do not go above 30-40%
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Unit Summary
After completing this unit, you should be able to:
Define VTS device addresses using HCD or IOCP
HCD with LIBPORT id preferred
Define both library and drives for SCSI attachment
Use the library manager to install a VTS
Set volume serial ranges for stacked volumes
Set fast ready for scratch categories
Set VTS management policies
Insert logical volumes
Define new volumes
To host tape management system
SS232.0
Notes:
2-29
Student Notebook
V1.0.1
BKM2MIF
Student Notebook
References
SC26-3123
SC26-4920
SC26-4931
SC26-3051
3-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Describe the system-managed tape components
Understand the functions provided by system-managed
tape
Describe how system-managed tape influences tape
allocations
Set up system-managed tape
SS232.0
Notes:
3-2
V1.0.1
BKM2MIF
Student Notebook
3-3
Student Notebook
SS232.0
Notes:
3-4
V1.0.1
BKM2MIF
Student Notebook
SMS
Address
Space
ISMF
CBRUXVNL
MVS/ESA
ACDS
CBRUXCUA
OAM
Address
Space
TCDB
LCS
Tape
Drives
Library
Manager
3494/3495
IBM IBM
3494
Tape Library
CBRUXEJC
CBRUXENT
Tape
Mgt
System
CDS
CBRXLCS
Library
Manager
Database
Volume
Location
Virtual
Tape
Drives
SS232.0
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.
Copyright IBM Corp. 2001, 2002
3-5
Student Notebook
"
#
$
DC SC MC
!
Exits
CDS
SG1 SG2
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
"
#
$%
!
)'%
DC SC MC
3494 Native
Media
SG1 SG2
SG3
!
%
('%
%
Exits
CDS
%
&
'
SS232.0
Notes:
3-7
Student Notebook
SS232.0
Notes:
This is a checklist of tasks that you need to complete to implement system-managed tape.
3-8
V1.0.1
BKM2MIF
Student Notebook
SYS1.PARMLIB Changes
Update system datasets as for 3494 library
SCHEDxx PPT
(OAM)
IGDSMSxx
(OAM)
IEFSSNxx
(OAM)
DEVSUPxx (partitioning scratch pools for multiple
systems)
IECIOSxx (MIH entry of 45 minutes)
COMMNDxx (vary library and devices online/offline)
GRSCNFxx optional (GRS serializes cartridge entry)
LOADxx
optional (TCDB hlq)
COFVLFxx optional (use VLF for TCDB)
ALLOCxx
set timer for mount pending message
SS232.0
Notes:
The specific changes to each member are described in SC26-3051, OAM Planning,
Installation and Storage Administration for Tape Libraries.
3-9
Student Notebook
Library Identifications
Library ID is assigned at HW installation time
Library drives are defined to MVS using HCD with a
parameter LIBRARY=YES
Library ID and Libport ID are optionally defined in HCD
with drive definitions
Avoids need to have library online at MVS startup time
(OW25291)
Library name related to the specified ID is defined to
DFSMS via ISMF
Storage Group related to one or more libraries is defined
to DFSMS via ISMF
Output allocation targets Storage Group based on ACS
routine assignments
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
3-11
Student Notebook
Value
P Req.
Yes
Yes
Yes
Yes
Yes
10023
02
No
No
Yes
Description
Device considered online or offline at IPL
Device supports dynamic configuration
UCB can reside in 31 bit storage
Device supports auto tape library
Device is automatically switchable
5 digit library serial number
2 digit library string ID (port number)
Separate physical control unit path
Device is Sharable between systems
Compaction
SS232.0
Notes:
This represents the HCD panel where you define a tape library. The items specifically for a
library are shown in bold.
V1.0.1
BKM2MIF
Student Notebook
.
.
.
.
.
.
.
.
.
.
10023
(00001 to FFFFF)
DC3490
SCRATCH
PURGE
(P=PRIVATE or S=SCRATCH)
(P=PURGE or K=KEEP)
Media Type:
Scratch Threshold
Media1 . . . . 200
Media3
Media2 . . . . 300
Media4
. . . . 0
. . . . 0
(0 to 999999)
(0 to 999999)
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
SS232.0
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.
3-13
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
3-15
Student Notebook
Data Class
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Storage Class
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
N
N
N
N
(1 to
(R, W
(1 to
(R, W
(0 to
(0 to
(C, P
(C, P
(Y or
(Y or
999 or blank)
or blank)
999 or blank)
or blank)
9999 or blank)
999 or blank)
,S or N)
,S or N)
N)
N)
Use ENTER to Perform Verification; Use DOWN Command to View next Page;
. . . . . . . . . . . . . . . . . . . . . . . .
SS232.0
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.
3-17
Student Notebook
(1 to 8 characters each):
===>
===>
===>
===>
===>
===>
(Y or N)
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
ACS Example
FILTLIST hsmlocal
INCLUDE(**.HMIGTAPE.DATASET,
**.BACKTAPE.DATASET,
**.DMP.LOCAL.V*.D*.T*)
FILTLIST hsmremot
INCLUDE(**.DMP.REMOTE.V*.D*.T*,
**.COPY.BACKTAPE.**,
**.COPY.MIGTAPE.**)
SELECT
WHEN (&DSN = hsmlocal)
DO
SET &storgrp = 'LOCALVTS'
EXIT
END
WHEN (&DSN = hsmremot)
DO
SET &storgrp = 'REMOTVTS'
EXIT
END
END
SS232.0
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.
3-19
Student Notebook
Library 1
Library 2
SG1
SG2
Library 3
SG3
SG4
Library 2
VTS
Library 1
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
POOL 1
POOL 3
VTS1
STG1 STG21
STGJCART1
POOL 10 STGJCART2
POOL 31 STGKCART1
VTS 1
SS232.0
Notes:
3-21
Student Notebook
Library Selection
Offline devices are excluded
)*
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
TCDB Display 1
VOLUME
SERIAL
-(2)-MXX960
MXX961
MXX962
MXX963
MXX964
MXX965
MXX966
MXX967
MXX968
MXX969
MXX970
MXX971
MXX972
. . .
USE
ATTR
--(3)-SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
SCRATCH
. . .
VOLUME
CHECKPT LIBRARY
ERROR STATUS
VOLUME
NAME
-------(4)-------- --(5)-- --(6)--NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
NO ERROR
NO
ITSOATL
. . . . . . . . . . . . .
STORAGE
GRP NAM
--(7)-*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
*SCRTCH*
. . .
SS232.0
Notes:
The ISMF Mountable Tape Volume List shows you what is in the TCDB for the volumes that
you have selected.
3-23
Student Notebook
TCDB Display 2
VOLUME
SERIAL
-(2)-MXX960
MXX961
MXX962
MXX963
MXX964
MXX965
MXX966
MXX967
MXX968
MXX969
MXX970
MXX971
MXX972
MEDIA
TYPE
-(8)-MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
MEDIA2
RECORDING
TECHNOLOGY
---(9)---36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
36TRACK
COMPACTION
---(10)------------------YES
---------
SPECIAL
ATTRIBUTE
--(11)----------------------------------------------------------------------------------------------
LAST
WRITTEN DATE
----(12)---------------------------------------------------------------------------1997/11/25
-------------------------------------
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
BTLS
Tape SMS
Manual/Clist
No
No
Manual/Clist
Manual
No
IDCAMS
Manual/Clist
8 per BTLS
Jobname/
Procname, OR
Esoteric
No
32
No
Yes
SS232.0
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.
3-25
Student Notebook
Unit Summary
After completing this unit, you should be able to
understand:
System-managed tape
Automatic insert processing
Constructs define libraries and media
ACS routines select constructs
Using ISMF to define constructs
OAM communicates with libraries
Exits
Tape Configuration Database
PARMLIB changes that are needed
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
References
SG24-4409
4-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Describe the difference between partitioning and sharing
Understand the basic principles of partitioning
Understand the use of volume categories
Understand the tasks needed to share a VTS
SS232.0
Notes:
4-2
V1.0.1
BKM2MIF
Student Notebook
4-3
Student Notebook
Disk access
Tape access
Simultaneous use
of a volume
Yes
No
Volume online to
several systems
Yes
Not usual
Simultaneous use
of a data set
Yes
No
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Platform Considerations
Different handling by different host systems of
Tape management
Allocation control
Host control data sets
Security
Cartridge insertion
Format differences
EBCDIC/ASCII encoding
Numeric data format
Tape labels
SS232.0
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.
4-5
Student Notebook
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Basic Principles
Shared access to Library Manager
Library Manager controls access using volume
categories
x'FF00' to x'FFFE' reserved for internal use
x'0000' for insert category
Conventions for some other categories
Drive ownership
Assign/unassign for ESCON
Reserve/release for SCSI
No unique requirements for VTS
Considerations same as for native 3494
Except not all platforms supported
SS232.0
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.
4-7
Student Notebook
Volume Categories
Environment
DFSMS SMT
BTLS
DFSMS/VM
AIX
Others
Scratch categories
Private
categories
x'000F'
x'FFFF'
x'FFFF'
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Partitioning
Partitioning shares library resources
Creates multiple logical libraries
Logical libraries dedicated to hosts
Split library using volume categories
Control insert processing
Volume serial number ranges
With Advanced Policy Management
You may create pools according to the partitions
SS232.0
Notes:
4-9
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
4-11
Student Notebook
SS232.0
Notes:
BTLPRMxx contains defaults for BTLS:
THRESHOLD(count)
SCRTCHn
AUTODEMOUNT
LIBAFFINITY
EXPDT98000
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.
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
SS232.0
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.
4-13
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
4-15
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
4-17
Student Notebook
Unit Summary
At the end of this unit, you should be able to:
Describe partitioning or sharing a VTS
Just like a native library
Assuming platforms supported by VTS
Describe partitioning using volume categories
Describe tape sharing support in OS/390
JES2 Sysplex Tape Sharing
JES3
Understand that tape sharing requires control data to be
shared
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
References
SG24-2229
5-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Understand the effects of reclamation
Understand the importance of initial sizing
Understand how and when to add new virtual and
stacked volumes
SS232.0
Notes:
5-2
V1.0.1
BKM2MIF
Student Notebook
5-3
Student Notebook
Case Study
Look at effects of initial choices
VTS capacity and use over time
Configuration chosen
3494-B16
Upgrade to B18 with EHPO
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Points to Note
Virtual volume states
Never mounted scratch volumes
Scratch volumes mounted at least once
Private volumes
Stacked volume states
Empty (scratch)
Filling
Full
Partially full
Empty
Reclamation
Selected
by VTS
Partially full
Filling
Expiration
Data
written
Full
Figure 5-3. Points to Note
SS232.0
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.
5-5
Student Notebook
Information Sources
Description
Where to find it
D SMS,LIB(name),DETAIL
SCRTCH VOLS field
Virtual volumes inserted - Virtual volumes
in scratch
SMF94VLZ
Library Manager Volser Range panel
D SMS,LIB(name),DETAIL
Scratch stacked volume count
Stacked cartridges inserted - Scratch
stacked volume count
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Initial State
Description
Count
15,000
15,000
15,000
300
298
SS232.0
Notes:
Two stacked volumes are mounted immediately for the VTS to copy data out of the tape
cache.
5-7
Student Notebook
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Count
15000
2512
7155
7845
224 MB
300
20
280
SS232.0
Notes:
The key item is that we only have 20 scratch stacked volumes left.
5-9
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
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
5-11
Student Notebook
Statistics
Description
Count
15000
411
6995
8005
260 MB
400
20
380
SS232.0
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.
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
SS232.0
Notes:
5-13
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
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
After 17 Months
Description
Count
17000
1522
3002
13998
304 MB
600
130
470
SS232.0
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.
5-15
Student Notebook
After 18 Months
Events
One month after B18 and EHPO upgrade
Performance and mount time improvements
Average virtual volume size falling
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Count
17000
614
2120
14880
256 MB
600
40
560
SS232.0
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.
5-17
Student Notebook
SS232.0
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.
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?
SS232.0
Notes:
5-19
Student Notebook
Count
17000
204
1867
15133
198 MB
800
81
719
SS232.0
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.
BKM2MIF
Student Notebook
Number of Volumes
V1.0.1
80
70
60
50
40
30
20
10
0
5
15
10
25
20
35
30
45
40
55
50
65
60
75
70
85
80
95
90
100
SS232.0
Notes:
Notice the peak in the number of volumes with 10-25% valid data.
5-21
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Unit Summary
After completing this unit, you should be able to
understand:
There are no simple rules of thumb
Interactions are based on
Workload changes
Initial decisions
Configuration changes
Tuning actions
The case study shows the effects of
Number of virtual volumes
Size of virtual volumes
Retention period of virtual volumes
Reclaim threshold
Compression
Figure 5-21. Unit Summary
SS232.0
Notes:
5-23
Student Notebook
V1.0.1
BKM2MIF
Student Notebook
References
GA32-0288
SG24-2229
6-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Understand the different operational modes
Understand how to use the library manager panels
SS232.0
Notes:
6-2
V1.0.1
BKM2MIF
Student Notebook
6-3
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
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
Menu along top of screen
Select items using trackpoint in keyboard
Scroll using trackpoint or cursor movement
Window controls to:
- Minimize windows
- Maximize windows
- Close windows
Keyboard shortcuts
6-5
Student Notebook
Mode Pull-down
SS232.0
Notes:
Select this by clicking Mode or pressing Alt-m.
The marker in front of Auto and Offline shows the current setting.
6-6
V1.0.1
BKM2MIF
Student Notebook
Status Pull-down
SS232.0
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
6-7
Student Notebook
Operational Status
SS232.0
Notes:
This panel shows configuration information.
6-8
V1.0.1
BKM2MIF
Student Notebook
Component Status
SS232.0
Notes:
Graphical representation of library internal components.
Highlights hardware problems.
6-9
Student Notebook
Queues Pull-down
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Database Pull-down
SS232.0
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.
6-11
Student Notebook
SS232.0
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.
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
Yes
No
Output Column 5
Ignore
Specific Rack
Misplaced
Unreadable
Specific Category
Mounted
Inaccessible
Volume Mask
Manual mode
C:\LM\LISTDB.LST
A: Filename
Output device
Create List...
Cancel
Help
SS232.0
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.
6-13
Student Notebook
SS232.0
Notes:
This panel allows you to find out which stacked volume holds a specific logical volume.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
6-15
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
6-17
Student Notebook
Commands Pull-down
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Cleaning
SS232.0
Notes:
The Cleaning dialog box allows you to set up a cleaning schedule and how long to use a
cleaning cartridge.
6-19
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
6-21
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
6-23
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
6-25
Student Notebook
SS232.0
Notes:
Fast Ready mounts are done at electronic speeds. Make sure that you define your scratch
categories here to exploit fast ready scratch mounts.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
6-27
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
6-29
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
6-31
Student Notebook
SS232.0
Notes:
DFSMSdss stand-alone restore of system volumes needs to be able to do this.
V1.0.1
BKM2MIF
Student Notebook
Inventory
Inventory new storage
Used after upgrade
Update LM database about new frames
Re-inventory complete system
Inventory update
Full or partial (frames with doors opened)
Checks cells, drives, reads bar codes
Update LM database
Password protected
SS232.0
Notes:
An inventory is done when:
A 3494 or VTS is installed
A 3494 or VTS is upgraded
A door is opened
6-33
Student Notebook
Interventions
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Options Pull-down
SS232.0
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.
6-35
Student Notebook
Unit Summary
After completing this unit, you should be able to:
Operate VTS from library manager
Use panels for
Setting up policies
Inserting or importing volumes
Use panels for
Status
Performance
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
References
SG24-2229
7-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Understand how to estimate the VTS capacity you need
Plan for the number of volumes you will need
Understand which tape work to move to your VTS
SS232.0
Notes:
7-2
V1.0.1
BKM2MIF
Student Notebook
7-3
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
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-5
Student Notebook
VMA Output
Filtering allows you to model the effect of moving
different workloads.
Read/write ratio
Understand the effect of fast ready scratch mounts.
Hourly mount rates
Hourly transfer rates
Determine throughput requirements.
SS232.0
Notes:
7-6
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
7-7
Student Notebook
"
"$"#
,
(
('
0/)0
,
-./ ,
"
$"#
,
&0/0/)0
"
/
$"#
,
0/0
0
SS232.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
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-9
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-11
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
DB2
IMS
...other
database
utilities
DFSMShsm
...other
backup/archive
utilities
CICS
ADSM
DFSMSdss
BATCH
SS232.0
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.
7-13
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Application Usage
size
VTS
native 3590
?
throughput
SS232.0
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.
7-15
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-17
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-19
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
DFSMShsm ABARS
Consider disaster recovery functions
ABARS data can be written to off-site VTS
Peer-to-Peer VTS
Export ABARS data
ABARS used to move data out of VTS
Option USERTAPES
Do not use STACK option on ABARSTAPES
SS232.0
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.
7-21
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
7-23
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
DFSMSdss
Must export VTS volumes to physically remove from VTS.
Not suitable for huge amounts of disaster recovery data.
Not suitable for huge amounts of backup data for off-site
vaulting.
Potentially suitable for on-site recovery data.
Suitable for remote vaulting over ESCON distances.
DFSMSdss full volume dumps in a VTS.
DASD volume dump uses fraction of tape capacity.
Stacking dumps involves extensive JCL changes.
VTS without channel compression.
Use SMS DATACLAS to override default of five
volumes.
COMPRESS keyword if EHPO is not installed.
Uses host processor cycles to perform compression.
Figure 7-23. DFSMSdss
SS232.0
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.
7-25
Student Notebook
DFSMSdss Stand-alone
VTS virtual drives can be put into stand-alone mode.
Library Manager pull-down menus
Must be offline to other systems
DFSMSdss allows restore from library.
RESTORE FROMDEV(TAPE) FROMADDR(0A40) TOADDR(0900)
NOVERIFY TAPEVOL((V00000),(V00001))
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-27
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
DB2 Recovery
Database recovery may need many drives
Full copy and all incrementals need to be allocated at
the same time
VTS not constrained with 64 virtual drives
May allow less frequent full image copies
SS232.0
Notes:
7-29
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-31
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
7-33
Student Notebook
Unit Summary
After completing this unit, you should be able to:
Estimate number of virtual and stacked volumes
Use information from VMA and TMS catalogs
Avoid problems later
Evaluate each type of tape workload
Exploit VTS strengths
Fast scratch mounts
Good cartridge capacity utilization for small data sets
Many virtual drives
Read hits from cache
Fast read backwards
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
8-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Describe the configuration choices that influence
performance
Use VTS functions to monitor performance
Understand key items to monitor
Understand the host data available for monitoring
SS232.0
Notes:
8-2
V1.0.1
BKM2MIF
Student Notebook
8-3
Student Notebook
SS232.0
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
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
SS232.0
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.
8-5
Student Notebook
SS232.0
Notes:
The Performance Accelerator is an optional chargeable feature. It comprises new
microcode and new hardware.
8-6
BKM2MIF
Student Notebook
Shared Resources
The VTS has several shared resources
TVC access paths
RISC/6000 Processors
Copy
Recall
TVC
Channel
Writes
Channel
Reads
Stacked Volume
Queues
recall1
copy1
recall2
copy2
recall3
copy3
recall4
copy4
Copy queue
Recall queue
V1.0.1
SS232.0
Notes:
There are several shared resources in a VTS system:
Physical 3590 drives
The tape volume cache
The VTS controller
Stacked volumes
Internal queues
8-7
Student Notebook
Virtual
Volume
Copy
Recall
SM
Software
AIX
Virtual Drive
Emulation
Reclaim
Up to 256
Tasks
No scale implied
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Copy
Recall
TVC
Channel
Writes
Channel
Reads
SS232.0
Notes:
There are four paths between the VTS controller and the tape volume cache. So, there can
be a maximum of four concurrent transfers.
8-9
Student Notebook
Reclaim
Recalls
Up to n-1*
drives
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Stacked Volumes
queuing
At times, multiple
recall tasks need to
access logical
volumes on the
same stacked
volume,
causing queuing
against the stacked
volume.
SS232.0
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.
8-11
Student Notebook
Internal Queues
Queues against drives
and/or stacked volumes
VOL211
VOL594
VOL046
VOL632
VOL603
Recall
Copy
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Write
Host
Recall
Read
TVC
Fragment
Copy
SS232.0
Notes:
8-13
Student Notebook
Copied and
Not Migrated
Logical
Volumes
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.
V1.0.1
BKM2MIF
Student Notebook
Throttling
Copy Queue High
Delay response to each host write until copy queue
below trigger.
Recall
Delay response to each host write until the recall queue
is empty.
The VTS will calculate a throttle delay based on the
number of active recall tasks.
Cache Free Space Low
Delay response to each host write until free space
above trigger.
Increase the number of drives available for copy.
Reduce number of drives available for recall.
SS232.0
Notes:
Throttling delays the response to host write requests.
It is done to ensure that the tape volume cache does not fill completely.
8-15
Student Notebook
SS232.0
Notes:
When evaluating performance, we need to know what measurements are important and
when to use them.
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 *
* Available for download from
ftp://ftp.software.ibm.com/storage/tapetool
Figure 8-15. Tools
SS232.0
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.
8-17
Student Notebook
Overall Performance
Start
Yes
Is the work getting
done?
Is daily
average
mount time
30 sec or
less?
No
No
Determine
cause
Determine
cause
Yes
Performance
OK
Plan for
growth
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Channel Throughput
Start
Shift = or
greater than
calculated max?
No
Room
for
growth
Yes
No room
for growth
SS232.0
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.
8-19
Student Notebook
Yes
Other
overload
indicators
present?
Never
Good workload
Indicator of
good health
Immediate
relief needed
Likely to show
poor
performance
Yes
No
Examine
workload or
add cache
capacity
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Hours with
virtual
mounts
avg.> 30
sec?
No
Yes
Yes
Find the
cause and
consider
moving the
workload
Remove
workload or
add
resources
Type of mount
No
Mount
Time
OK
Delay causes
Scratch
1-3 seconds
Never
2-3 seconds
Never
2-3 minutes
SS232.0
Notes:
Two indicators are important:
1. How long was the longest mount.
2. How long did mounts take on average.
8-21
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Disconnect Time
Start
Any
RMF
Intervals with
> 500 ms ?
Yes
No
Only
Occasionally?
Yes
Some
Serious
Throttling
Often
Immediate
Relief
Required VTS
Overloaded
No
Serious
Throttling
Find the
cause and
consider
moving the
workload
Possible Causes:
- Cache full
- Excessive recalls
SS232.0
Notes:
A high disconnect time shows that the VTS was throttling writes.
8-23
Student Notebook
SS232.0
Notes:
We can see information on VTS workload and activity by using the statistics panels at the
library manager.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
8-25
Student Notebook
SS232.0
Notes:
This shows the amount of channel traffic for the previous 24 hours.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
This panel shows, over a 24 hour period, which mounts are:
Fast ready hits
Cache hits
Cache misses
8-27
Student Notebook
SS232.0
Notes:
This shows the minimum, average and maximum number of drives used during the past 24
hours.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
8-29
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
8-31
Student Notebook
Performance Tests
50
100
150
200
Bandwidth
Sustained
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Unit Summary
At the end of this unit, you should be able to:
Describe the configuration choices that influence
performance
Use VTS functions to monitor performance
Understand key items to monitor
Understand the host data available for monitoring
SS232.0
Notes:
8-33
Student Notebook
V1.0.1
BKM2MIF
Student Notebook
9-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Describe how to move data into a VTS
Describe different ways of upgrading a VTS
SS232.0
Notes:
9-2
V1.0.1
BKM2MIF
Student Notebook
9-3
Student Notebook
VTS Migrations
Two main types of migration
Moving non-VTS data into a VTS
Upgrading or moving an existing VTS
Moving non-VTS data
New work into a VTS
Implementing VTS for the first time
Static data and active data
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Active Data
Data that is continually being generated
Examples
DFSMShsm backup or migration
Batch generation data sets
Image copies, log archives
Just direct the data to the VTS
Storage group ACS routine
BTLS unit name
Old data will disappear
Speed up with DFSMShsm RECYCLE or similar
SS232.0
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.
9-5
Student Notebook
Static Data
Data for archival or long-term retention
Five-step process
Identify the data
Move the data
Correct Tape Management System information
Recatalog if necessary
Return old volume to scratch
Tape copy tools
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
Tape Management
System database
Extract
Flat file of
data sets
SS232.0
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.
9-7
Student Notebook
SS232.0
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
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
9-9
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
9-11
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
B18
SS232.0
Notes:
A VTS model upgrade needs careful planning. Depending on circumstances, there may be
more than one way that the upgrade can be done.
9-13
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
MES Upgrade
One or more phases required for upgrade
Cache and controller returned to IBM
CE moves VTS Data Base to Migrate
Logical Volumes From B16 to B18
LAN
SCSI
3494
B18
Serial = 12345
3494
Lxx
3494
D12
3494
Lxx
3494
B16
Serial
=12345
3494
D12
TARGET
3494
5500/5502
Serial
Removed
EXISTING
Figure 9-13. MES Upgrade
SS232.0
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.
9-15
Student Notebook
SS232.0
Notes:
The upgrade has three tasks. The library manager upgrade can be done separately.
V1.0.1
BKM2MIF
Student Notebook
Activity
3494 Offline
Time
VTS Offline
Time
Upgrade Library
Manager
2 Hours
2 Hours
3494 Offline
Time
Minimum
VTS Offline
Time
Maximum
VTS Offline
Time
3 Hours
6 Hours*
9 Hours*
3 Hours
6 Hours*
12 Hours*
SS232.0
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.
9-17
Student Notebook
3494
B18
3494
Lxx 3494
D12
3494
B16
3494
Lxx
Serial =54321
3494
D12
Serial =12345
3494
D12
3494
B16
Serial =12345
1) Add D12
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.
V1.0.1
BKM2MIF
Student Notebook
.
.
.
.
.
.
.
.
.
.
54321
(00001 to FFFFF)
DC3490
SCRATCH
PURGE
(P=PRIVATE or S=SCRATCH)
(P=PURGE or K=KEEP)
Media Type:
Scratch Threshold
Media1 . . . . 200
Media3
Media2 . . . . 300
Media4
. . . . 0
. . . . 0
(0 to 999999)
(0 to 999999)
Use ENTER to Perform Verification; Use DOWN Command to View next Panel;
SS232.0
Notes:
As we have a second VTS, we must define it as a new SMS library.
9-19
Student Notebook
(1 to 8 characters each):
===>
===>
===>
===>
===>
===>
(Y or N)
SS232.0
Notes:
We must have a storage group for the B18 only so that we can direct new work to the B18
alone.
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
3494
Lxx 3494
D12 3494
B16
Serial =
12345
Serial =
54321
3494
D12
SS232.0
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.
9-21
Student Notebook
Migration Tasks
Migrate workload to B18
Different logical and stacked volume ranges required
for the new 3494 B18
Define new ranges for B18
Expand tape management and TCDB databases
Redirect workload to B18 using nondisruptive changes
to DFSMS ACS routines and constructs
Copy remaining volumes at end of transition period
Elapsed time may vary considerably
Complete model upgrade process
Upgrade B16 to B18, or
Keep B16 in use for specific applications or systems
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Parallel Operations 1
LAN
SCSI
3494
B18
3494
Lxx
3494
D12
Serial =
54321
3494
Lxx
3494
D12
3494
B16
Serial =
12345
EXISTING
SS232.0
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.
9-23
Student Notebook
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
Lxx
3494
D12
3494
Lxx
3494
D12
3494
B16
Serial =
12345
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
9-25
Student Notebook
LAN
SCSI
3494
B18
3494
Lxx
3494
D12
Serial =
54321
3494
B16
Serial = 12345
3494
Lxx
EXISTING B16
3494
D12
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
9-27
Student Notebook
Maximum
3494 Offline
Time
Minimum VTS
Offline Time
Maximum
VTS Offline
Time
None
None
None
None
Force Migrate
72 GB*
144 GB*
None
None
1 Hour
6 Hours
Move Stacked
Volumes to B18
0.5 Hour
1 Hour
0.5 Hour
1 Hour
Move LM and
VTS database
to B18
0.5 Hour
2 Hours
0.5 Hour
2 Hour
0.5 Hour
2 Hours
0.5 Hour
2 Hours
Activity
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Scenario 1
In Place Migration
Scenario 2
Parallel Operation within
one Library
Scenario 3
Parallel Operation with
two Libraries
Scenario 4
Physical Cartridge
Movement
no customer involvement
no data movement
no transition hardware to be
installed
no additional SW definitions
needed (HCD,DFSMS)
Preferable solution if 2nd VTS
subsystem planned
outage time
testing possible
good fallback
preferable solution if D12 for 2nd
VTS is already installed
Drawbacks
outage time
little testing possible
limited fallback possibilities
data movement
additional SW definitions
needed (HCD, DFSMS)
outage time
extended testing possible
excellent fallback possible
transition hardware to be
installed / de-installed
customer involvement
-data movement
-additional sw definitions
needed (HCD, DFSMS)
Outage time
Additional SW definitions
needed (HCD, DFSMS)
needs specialized tools or
services
SS232.0
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.
9-29
Student Notebook
Other Migrations
Migrating to EHPO channels
Migrating to 3590E drives
Migrating to Performance Accelerator Feature
SS232.0
Notes:
These are upgrades that might be done to a B18.
V1.0.1
BKM2MIF
Student Notebook
Activity
Minimum
3494 Offline
Time
Maximum
3494 Offline
Time
Minimum
VTS Offline
Time
Maximum
VTS Offline
Time
Upgrade LIC
on LM and VTS
2 Hours
3 Hours
2 Hours
3 Hours
Replace
ESCON cards
Concurrent
Concurrent
2 Hours
3 Hours
SS232.0
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.
9-31
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
9-33
Student Notebook
Minimum
3494 Offline
Time
Maximum
3494 Offline
Time
Minimum
VTS Offline
Time
Maximum
VTS Offline
Time
Upgrade LM
LIC to 523.00
1 hour
2 hours
1 hours
2 hours
Upgrade VTS
LIC to 2.17.10
none
none
2 hours
5 hours
Convert one
3590B drive
none
none
1.5 hours
2 hours
none
1 hour for
first, 0.5 for
others
1 hour for
first, 0.5 for
others
Drive
remove/install
none
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
9-35
Student Notebook
Minimum
3494 Offline
Time
Maximum
3494 Offline
Time
Minimum
VTS Offline
Time
Maximum
VTS Offline
Time
Upgrade LM
LIC to 523.01
1 hour
2 hours
1 hours
2 hours
Upgrade VTS
LIC to 2.17.8
none
none
2 hours
5 hours
Install new
ESCON cards
none
none
1.5 hours
1.5 hours
Force migrate
and backup
none
none
1.5 hours
7.5 hours
Install PAF
none
none
6 hours
6 hours
SS232.0
Notes:
The major variation is in the force migrate time.
V1.0.1
BKM2MIF
Student Notebook
Unit Summary
At the end of this unit, you should be able to understand:
Different approaches to move work into VTS
Static data
Active data
VTS upgrades
Careful planning is crucial
Can often overlap tasks
You may have a choice of techniques
3494 often still available during VTS upgrades
SS232.0
Notes:
9-37
Student Notebook
V1.0.1
BKM2MIF
Student Notebook
10-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Describe the capabilities of import/export
Identify the hardware prerequisites
Understand the software requirements and interactions
Set up export and import
Understand the operational changes
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
10.1 Import/export
10-3
Student Notebook
Import/Export Objectives
VTS is no longer a closed store
Can get logical volumes out of a VTS
Widens scope of VTS for
Archival
Data needing disaster backup
Interchange data
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Import/Export Design
EXP001
EXPORT LIST 01
VOLSR1,DISASTER
VOLSR2,DISASTER
VOLSR3,BACKUP
VOLSR4,BACKUP
VOLSR5
LI EXPORT,EXP001
Logical Volume
Volume Map
TVC Fragments
SS232.0
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.
10-5
Student Notebook
Import/Export Prerequisites
Available for B18 models with compression cards only
Microcode level supporting the I/E function is required
Must have minimum four Magstar drives
Must have convenience I/O station
Available on B10 and B20
Not peer-to-peer
Available only with DFSMS/MVS System Managed Tape
Not BTLS
Needs DFSMS/MVS 1.4 or 1.5 plus SPE
DFSMSrmm support included
I/E functional specification made available to vendors
Computer Associates (CA-1 and TLMS)
Platinum (AutoMedia, formerly ZARA)
BMC (Control-T)
BETA Systems (BETA51)
Figure 10-4. Import/Export Prerequisites
SS232.0
Notes:
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
SS232.0
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.
10-7
Student Notebook
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
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
OW36674
OW37516
1.4
OW36349
OW36342
OW36351
OW36526
OW36360
OW36363
1.5
OW36350
OW36343
OW36352
OW36527
OW36362
OW36364
SS232.0
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
10-9
Student Notebook
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
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
PRE-MIGRATE
RECLAIM
IMPORT
EXPORT
RECALL
RECLAIM
IMPORT
EXPORT
SS232.0
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.
10-11
Student Notebook
SS232.0
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%.
V1.0.1
BKM2MIF
Student Notebook
EXPORT LIST 01
VOLSR1,DISASTER
VOLSR2,DISASTER
VOLSR3,BACKUP
VOLSR4,BACKUP
VOLSR5
.......
Logical volume to
be exported
SS232.0
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.
10-13
Student Notebook
Export List
IEBGENER utility
Reserved
Logical
Volume
Export Status
SS232.0
Notes:
Three files must be written to the export list volume.
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
SS232.0
Notes:
10-15
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
DISASTER
BACKUP
blank
Logical Volumes
SS232.0
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.
10-17
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
10-19
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
10-21
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
IEBGENER utility
Import List
Import Status
Logical
Volume
SS232.0
Notes:
10-23
Student Notebook
Importing a single
Logical Volume
from stacked
STKD01
IMPORT LIST 01
STKD01,LOGCL1
STKD02,LOGCL2
STKD02,LOGCL3,SCRATCH
STKD03
.......
Importing two
Logical Volumes
from stacked
STKD02
Importing all
Logical Volumes
from stacked
STKD03
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
10-25
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
The import is the converse of an export. There are optional parameters scratch and
initialize.
10-27
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
10-29
Student Notebook
SS232.0
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.
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
Write command
specifying
export list
volume name
Issue export
from
CBRSPLCS
X volser
SS232.0
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.
10-31
Student Notebook
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
SS232.0
Notes:
You issue an import request in exactly the same way as an export.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
10-33
Student Notebook
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
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
OAM Messages
CBR3750I MESSAGE FROM LIBRARY <libname>:<text>
SS232.0
Notes:
The Advanced Functions microcode includes the enhanced messaging function. This will
send messages for:
Operator intervention conditions
Import status
Export status
10-35
Student Notebook
Display SMS,LIBRARY
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
10-37
Student Notebook
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
These tape library management systems have announced support for import/export.
10-39
Student Notebook
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.
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
DFSMSrmm Support 2
RMM utility changes
EDGRPTD movement reports based on the Exported
Stacked Volumes value
RMM command changes
SV, AV, CV, DR commands updated for new functions
CLIST function updated for TYPE(LOGICAL) to return
more information in the output file:
First six characters of the container name,
The logical volume serial number, and
The status value
RMM SV OWNER(*) LIMIT(*) VOLUME(*) TYPE(LOG) LOCATION(vtsname) CLIST(' ',',dest') DESTINATION(dest) INTRANSIT(N)
SS232.0
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.
10-41
Student Notebook
Panel
Help
----------------------------------------------------------------------EDGPT110
DFSMSrmm Volume Details - A05000
Command ===>
Volume . . . . . . : LOGCL1
Media name . . . . : 3490
Rack number . . . . . . :
Status . . . . . . . . . . : MASTER
:
:
:
:
:
:
:
:
:
:
*
SL
*
*
*
NONE
Owner . . . . . . : RMMUSER
Assigned date . . : 1999/012
Release actions:
Return to SCRATCH pool
Replace volume . . . .
Return to owner . . .
Initialize volume . .
Erase volume . . . . .
Notify owner . . . . .
Expiry date ignore . .
Scratch immediate . .
.
.
.
.
.
.
.
.
:
:
:
:
:
:
:
:
YES
NO
NO
NO
NO
NO
NO
NO
SS232.0
Notes:
Changed items are shown in bold.
V1.0.1
BKM2MIF
Student Notebook
Actions pending:
Return to SCRATCH pool . : NO
Replace volume . . . . . : NO
Return to owner . . . . : NO
Initialize volume . . . . : NO
Erase volume . . . . . . . : NO
Notify owner . . . . . . . : NO
Location . . . . . : SHELF
Location type . . :
Destination . . . . . . . :
In transit . . . . . . . . : NO
In container . . . : STKD01
Storage group
Move mode
. . :
. . . . : AUTO
Bin number . . . . :
Old bin number . . :
Product details:
Product number . :
Level . . . . . :
Feature code . . :
Enter SCROLL commands for more volume information, or END command to CANCEL.
SS232.0
Notes:
Changed items are shown in bold.
10-43
Student Notebook
CA-1 Support
CA-1 Ver. 5.2 at level 9901 plus PTFs
Contact CA for information about Import/Export support
Maintains database record for container volumes and
container field in volume record (ROBTY and ROBID)
Container volume uses PSEUDO data set name
New value in ROBTY field indicates logical volume
New messages if specific mount and logical volume is
exported
CTSSYNC utility to generate Import/Export list volumes
SS232.0
Notes:
Please contact CA for details.
V1.0.1
BKM2MIF
Student Notebook
DITTO/ESA Support
VTS Import/export support in DITTO/ESA
Requires 1.2 plus APAR PQ26582
EVC exported stacked volume copy
Copies up to five logical volumes to separate physical
volumes (library or stand-alone)
Target can be 3490 or 3590 volume (not disk)
Directly from exported stacked volume
No requirement to import
Output volser kept if present
EVL exported stacked volume list
List contents of exported stacked volume
Short listing with volsers
Long listing showing tape map
SS232.0
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.
10-45
Student Notebook
//****************************************
//* FILE 1: IMPORT LIST FILE
//****************************************
//STEP1
EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN
DD DUMMY
//SYSUT2
DD DSN=HILEVELQ.IMPLIST,
//
UNIT=VTS2,DISP=(NEW,KEEP),LABEL=(1,SL),
//
VOL=(,RETAIN,,,SER=IMP001),
//
//SYSUT1
DCB=(RECFM=FB,BLKSIZE=80,LRECL=80,TRTCH=NOCOMP)
DD *
IMPORT LIST 02
OPTIONS1,CREATENAME,SG=TAPESG1,SC=SCLASS1,DC=*RESET*
STKD01,LOGCL1
SVL001
SVL001,LVL001
SVL001,LVL001,SCRATCH
SVL001,,INITIALIZE
SVL001,LVL001,OPTION,SG=NAME,SC=NAME,MC=NAME,DC=*RESET*
SVL001,LOGICAL,,SG=NAME,SC=NAME,MC=NAME,DC=NAME
SVL001,,,SG=NAME,SC=*RESET*,MC=NAME,DC=NAME
SVL001,LVL001,SCRATCH,SG=NAME
SVL001,LVL001,DC=NAME,SC=NAME,MC=NAME
/*
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
Unit Summary
After completing this unit, you should understand:
Import/Export removes closed store restriction
Disaster backup
Archival
Interchange
Hardware and software prerequisites
Operational changes
Library manager use
Checking completion
SS232.0
Notes:
10-47
Student Notebook
V1.0.1
BKM2MIF
Student Notebook
11-1
Student Notebook
Unit Objectives
At the end of this unit you should be able to:
Find VTS error notifications
Understand the causes of failure symptoms
Describe possible failures and their impact
Plan for disaster recovery
SS232.0
Notes:
V1.0.1
BKM2MIF
Student Notebook
11-3
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
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
IBM Support
Important to call engineers
Microcode problems
Orphan logical volumes
Special tools and techniques
VTS database repair
Knowledge of microcode
Remote Support Facility
Dial in to VTS via modem
Diagnosis and repair
Call Home to dial out
Support structure
Trained engineers
Specialist engineers
Development
Figure 11-3. IBM Support
SS232.0
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.
11-5
Student Notebook
Error Reporting
Service Information Messages
Message IEA480E
Severity
Service, Moderate, Serious, Acute
Enhanced Messaging
SNMP
Service Director
Call home
SS232.0
Notes:
The VTS reports errors in several different ways:
SIMs to the MVS console
To an SNMP monitoring station
Enhanced console messages
Call Home
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
11-7
Student Notebook
RS/6000
3494
MVS
VM
VSE
3494
Customer
SNMP
Monitoring
Station
Customer
SNMP
Monitoring
Station
LAN
SS232.0
Notes:
Two 3494s are LAN-attached to two distinct SNMP monitoring stations.
V1.0.1
BKM2MIF
Student Notebook
SNMP Events
The following LM events can be monitored
Operator Interventions
Unsolicited Attention Messages
service Request Messages
Library Manager Check1 Conditions
Not a replacement for the Remote Library Manager
Feature (50xx)
SS232.0
Notes:
Four different types of event can be monitored. Use the library manager panel shown to
choose which you want to see.
11-9
Student Notebook
SNMP Setup
Add IP addresses of monitoring stations
Select UDP
Enter name
Enter address
SS232.0
Notes:
You need to know the name and IP address of an SNMP monitoring station.
V1.0.1
BKM2MIF
Student Notebook
Enhanced Messaging
3494 library manager function
Library Manager microcode 521.06 or higher
Enable using library manager operator intervention
panel
Host console message when intervention required
First 70 characters of message
CBR3750I Message from library name: name text
SS232.0
Notes:
Enhanced messaging was introduced in 1999. Turn it on using the Library Manager
Operator Intervention panel.
11-11
Student Notebook
Call Home
Complements Service Director
Optional for serious or acute problems
Faster Service Support
Problem Detection
Activates Modem
Contacts IBM
Initiates Action
Open Problem Management Report
Dispatch Service Representative
Supports
B18 Virtual Tape Server
Magstar 3590 A60
A60
3590
VTS
RISC
Switch
Modem
Service
Representative
Dispatched
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
Notes:
There are two symptoms unique to a VTS:
1. Orphan logical volumes and
2. Read-only volumes
11-13
Student Notebook
Read-only Recovery
VTS checks for read-only volumes every hour
Uses 3590 microcode SARS
Recovery process
Read all volumes into tape volume cache
Eligible to be written to other stacked volumes
Read-only volume ejected
If unrecoverable read error
Message produced
Subsequent volumes skipped
Will not happen concurrently with
Reclaim
Eject
SS232.0
Notes:
Automatic read-only recovery was introduced as a microcode enhancement.
The VTS now checks for volumes in read-only status each hour.
V1.0.1
BKM2MIF
Student Notebook
Action
Impact
3590 drive
Performance
Channel card
I/O drawer
Repair
SSA drive
Performance
Power cord
Repair
VTS controller
Repair
VTS database
Disaster recovery
VTS microcode
Job failures
SS232.0
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.
11-15
Student Notebook
Action
Impact
Gripper
Leader block
Cartridge unavailable
until fixed
Cartridge
Call engineer
Library Manager
Accessor
SS232.0
Notes:
This table shows that failures in the library manager, accessor and gripper have reduced
impact if the dual accessor feature is installed.
V1.0.1
BKM2MIF
Student Notebook
SS232.0
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.
11-17
Student Notebook
SS232.0
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.
V1.0.1
BKM2MIF
Student Notebook
Upload LM
inventory and sync
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.
11-19
Student Notebook
Unit Summary
After completing this unit, you should understand that:
VTS has many resilience features
Peer-to-peer VTS provides the highest availability
Errors can be reported by
SIMs
Enhanced messaging
SNMP
Automated recovery from read-only volumes
Disaster recovery function is available
Always involve CE early
SS232.0
Notes:
V1.2.2
Student Notebook
bibl
Bibliography
Manuals:
GA32-0279
GA32-0280
GA32-0329
SC26-3123
SC26-4920
SC26-4931
SC26-3051
GC35-0154
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
Bibliography
X-1
Student Notebook
X-2
V1.2.2
backpg