ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiu_5.4.0.1/rzaiusavinglibraries.htm

137 lines
7.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Saving libraries to multiple devices for a single save operation" />
<meta name="DC.Relation" scheme="URI" content="rzaiurzaiuparandcon.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiusavinglibraries" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Saving libraries to multiple devices for a single save operation</title>
</head>
<body id="rzaiusavinglibraries"><a name="rzaiusavinglibraries"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Saving libraries to multiple devices for a single save operation</h1>
<div><p> A traditional save to a single device produces one or more tape files
on the tape media. A media file is produced for each saved library. When data
is saved to multiple devices in a single operation, the data can be saved
in parallel format. The data in each media file is spread across each device.
Each device may contain pieces of each saved object. When saving multiple
libraries to multiple devices in a single operation, the data can also be
saved in serial format. The data for each media file is entirely written to
one device. Each device contains entire libraries.</p>
<p>You can perform a save operation while using more than one media device
simultaneously. If you save a single library, the data that is produced on
the save media will have a <em>parallel</em> save format. The data is spread
across the media devices. If you use Backup, Recovery and Media Services
(BRMS), the save format is also parallel.</p>
<p> If you save multiple libraries to more than one media device, the server
saves each library to a single device in <em>serial</em> format. If you use
BRMS to save multiple libraries to more than one media device, the format
could be a mixture of parallel and serial formats. </p>
<div class="p">The following shows when the server will use a parallel or serial save.<div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />This table shows the default format. However, you now have the
capability to specify the media definition and how the devices will be allocated.<img src="./deltaend.gif" alt="End of change" /></div>
</div>
<div class="tablenoborder"><a name="rzaiusavinglibraries__serialvsparallel"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="rzaiusavinglibraries__serialvsparallel" frame="border" border="1" rules="all"><caption>Table 1. Library parallel and serial saves</caption><thead align="left"><tr><th valign="top" width="33.33333333333333%" id="d0e35">Save scenario</th>
<th valign="top" width="33.33333333333333%" id="d0e37">Using SAVLIB, SAVOBJ command <sup>2</sup></th>
<th valign="top" width="33.33333333333333%" id="d0e41">Using BRMS</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="33.33333333333333%" headers="d0e35 ">Save one library to multiple devices</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Parallel</td>
<td valign="top" width="33.33333333333333%" headers="d0e41 ">Parallel</td>
</tr>
<tr><td valign="top" width="33.33333333333333%" headers="d0e35 ">Save multiple libraries to multiple devices</td>
<td valign="top" width="33.33333333333333%" headers="d0e37 ">Serial<sup>1</sup></td>
<td valign="top" width="33.33333333333333%" headers="d0e41 ">Could be a mixture of parallel and serial<sup>1</sup></td>
</tr>
<tr><td colspan="3" valign="top" headers="d0e35 d0e37 d0e41 "> <dl><dt class="dlterm">1</dt>
<dd>You can save these libraries in parallel format by creating data area
QTEMP/QSRPARFMT. This capability does not apply if LIB(*ALLUSR), LIB(*IBM),
or LIB(*NONSYS) is specified on the SAVLIB command.<div class="note"><span class="notetitle">Note:</span> This function is
now available through the Create Media Definition (QSRCRTMD) API.</div>
</dd>
<dt class="dlterm">2</dt>
<dd>To save to multiple devices using the SAVxxx commands, you must use a
media definition (*MEDDFN).</dd>
</dl>
</td>
</tr>
</tbody>
</table>
</div>
<p><img src="./delta.gif" alt="Start of change" />This table shows the correlation between the libraries being
saved and some possible results of the media files that are produced.<img src="./deltaend.gif" alt="End of change" /></p>
<div class="tablenoborder"><img src="./delta.gif" alt="Start of change" /><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 2. Libraries saved</caption><thead align="left"><tr valign="bottom"><th valign="bottom" id="d0e91">Data saved </th>
<th valign="bottom" id="d0e93">Number of devices </th>
<th valign="bottom" id="d0e95">Format </th>
<th valign="bottom" id="d0e97">Tape media files produced</th>
</tr>
</thead>
<tbody><tr><td valign="top" headers="d0e91 ">Library A</td>
<td valign="top" headers="d0e93 ">1</td>
<td valign="top" headers="d0e95 ">Serial </td>
<td valign="top" headers="d0e97 ">A </td>
</tr>
<tr><td valign="top" headers="d0e91 ">Library A </td>
<td valign="top" headers="d0e93 ">2</td>
<td valign="top" headers="d0e95 ">Parallel </td>
<td valign="top" headers="d0e97 "><p>Device 1: A <br />
Device 2: A </p>
</td>
</tr>
<tr><td valign="top" headers="d0e91 ">Libraries A, B, C, D </td>
<td valign="top" headers="d0e93 ">1 </td>
<td valign="top" headers="d0e95 ">Serial </td>
<td valign="top" headers="d0e97 ">A, B, C, D </td>
</tr>
<tr><td valign="top" headers="d0e91 ">Libraries A, B, C, D</td>
<td valign="top" headers="d0e93 ">2 </td>
<td valign="top" headers="d0e95 ">Parallel </td>
<td valign="top" headers="d0e97 "><p>Device 1: A, B, C, D <br />
Device 2: A, B, C, D</p>
</td>
</tr>
<tr><td valign="top" headers="d0e91 ">Libraries A, B, C, D</td>
<td valign="top" headers="d0e93 ">2</td>
<td valign="top" headers="d0e95 ">Serial</td>
<td valign="top" headers="d0e97 "><p>Device 1: A,C<br />
Device 2: B, D</p>
</td>
</tr>
</tbody>
</table>
<img src="./deltaend.gif" alt="End of change" /></div>
<p>Once you create a media definition, a convenient way to save all of your
user libraries to multiple devices is to specify SAVLIB LIB(*ALLUSR) DEV(*MEDDFN).
If you happen to have a particularly large library that you do not want to
save in serial format, you could omit that library and save it individually
in parallel format.</p>
<p>Backup Recovery Media Services (BRMS) provides an easy to use interface
that allows you to perform parallel save operations without creating a media
definition. You specify which tape devices to use in parallel, and BRMS builds
and manages the media definition for you.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiurzaiuparandcon.htm" title="Use these save methods to decrease your save window by saving to multiple devices.">Save to multiple devices to reduce your save window</a></div>
</div>
</div>
</body>
</html>