ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzau9_5.4.0.1/rzau9tranztap.htm

153 lines
9.7 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="task" />
<meta name="DC.Title" content="Transferring control of a tape drive from i5/OS to Linux" />
<meta name="abstract" content="This topic discusses how to transfer control of a tape drive from i5/OS to Linux." />
<meta name="description" content="This topic discusses how to transfer control of a tape drive from i5/OS to Linux." />
<meta name="DC.Relation" scheme="URI" content="rzau9linuxbackup.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzau9tranztap" />
<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>Transferring control of a tape drive from i5/OS to Linux</title>
</head>
<body id="rzau9tranztap"><a name="rzau9tranztap"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Transferring control of a tape drive from <span class="keyword">i5/OS</span> to Linux</h1>
<div><p>This topic discusses how to transfer control of a tape drive from <span class="keyword">i5/OS™</span> to Linux<sup>®</sup>.</p>
<div class="section"><p>Before you use an iSeries™ tape drive for a Linux backup
application, you must make it unavailable from the <span class="keyword">i5/OS</span> side
using iSeries Navigator
or a CL command, and then lock it on the Linux side through a Linux terminal
session. </p>
<p>Note that some tape devices report in under more than one
device description. Tape libraries (3570, 358x, 3590, and so on) report in
as tape libraries (TAPMLBxx) as well as tape devices (TAPxx), where xx is
a sequence number. The Linux integration support software does not support
the tape library function. Therefore, if your device has a tape library description,
both the tape and tape library devices must be made unavailable (varied off)
before locking the device on the Linux server. Note that, although tape
libraries are not supported as libraries in Linux, you can use them in sequential
mode if the drive supports it. </p>
<p>If you have multiple integrated Linux servers
being hosted by the same <span class="keyword">i5/OS</span> partition,
only one server at a time can use a particular iSeries tape drive. If you have multiple
logical partitions on your iSeries, a tape drive that is owned by one partition
cannot be shared by integrated Linux servers that are being hosted by
other partitions. Note, however, that it might be possible to
logically switch tape drives between <span class="keyword">i5/OS</span> partitions,
depending on the hardware configuration of the iSeries. </p>
<p>To transfer control of
a tape drive from an <span class="keyword">i5/OS</span> partition
to an integrated Linux server, you must have <span class="keyword">i5/OS</span> Administrator
or Backup Operator authority. </p>
<p>To transfer control of an iSeries tape
drive from <span class="keyword">i5/OS</span> to Linux,
choose one of the two following methods:</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzau9linuxbackup.htm" title="This topic introduces the techniques you can use to perform Linux-centric backup and recovery on an Integrated xSeries Server or Integrated xSeries Adapter running Linux.">Linux-centric backup and recovery</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="rzau9tranztapinav"><a name="rzau9tranztapinav"><!-- --></a><h2 class="topictitle2">Transferring control of a tape drive with iSeries Navigator</h2>
<div><div class="section">To transfer control of an iSeries tape drive with the iSeries Navigator,
complete the following steps:</div>
<ol><li class="stepexpand"><span>From an iSeries Navigator window, expand the <span class="keyword">i5/OS</span> partition
you are working with.</span></li>
<li class="stepexpand"><span>Click <span class="menucascade"><span class="uicontrol">Configuration and Service</span> &gt; <span class="uicontrol">Expand</span> &gt; <span class="uicontrol">Hardware</span> &gt; <span class="uicontrol">Tape
Devices</span></span>.</span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Stand-Alone Devices</span> and then right-click
the tape device you want to transfer control of to Linux. Select <span class="uicontrol">Make Unavailable</span>.</span></li>
<li class="stepexpand"><span>If the tape device is also a tape library, click <span class="uicontrol">Tape
Libraries</span> and then right-click the tape library you want to transfer
control of to Linux. Select <span class="uicontrol">Make Unavailable</span>.</span></li>
<li class="stepexpand"><span>To lock the tape device to Linux, start a Linux terminal session and log in as root.</span></li>
<li class="stepexpand"><span>At the command prompt enter the ixsdev command and press <span class="uicontrol">Enter</span>.
The syntax is:</span> <pre>ixsdev [-list] | [[-lock | -unlock] device name]</pre>
<p>For
example, to list the tape and optical drives accessible by Linux enter the
following command:</p>
<pre>ixsdev -list</pre>
</li>
<li class="stepexpand"><span>To lock TAP02 to Linux you would enter the following command:</span> <pre>ixsdev -lock TAP02</pre>
<div class="note"><span class="notetitle">Note:</span> In Linux, commands
are case sensitive. Make sure you use the same case as in our examples, for
example, use TAP02 not tap02.</div>
<p>You could also use the Linux name.  <samp class="codeph">ixsdev
-lock /dev/st1</samp> for a rewindable tape device, or <samp class="codeph">ixsdev -lock
/dev/nst1</samp> for a non-rewindable tape device. The ixsdev -list command
shows the status of TAP02 as LOCKED. </p>
<p>Note that you do not need to mount
the tape device because Linux does not see it as a block device. You only need
to mount block devices.</p>
<pre></pre>
</li>
<li class="stepexpand"><span>Insert a tape cartridge that has been formatted for Linux.</span></li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="rzau9tranztapcl"><a name="rzau9tranztapcl"><!-- --></a><h2 class="topictitle2">Transferring control of a tape drive with CL commands</h2>
<div><div class="section"><p>To transfer control of an iSeries tape drive with CL commands,
complete the following steps:</p>
</div>
<ol><li class="stepexpand"><span>On the <span class="keyword">i5/OS</span> command
line, use this command to vary off the tape device: </span> <pre>WRKCFGSTS *DEV *TAP</pre>
</li>
<li class="stepexpand"><span>On the Work with Configuration Status display, find the tape device
you want to transfer control of to Linux. Type <kbd class="userinput">2</kbd> next
to the device and press <span class="uicontrol">Enter</span>.</span></li>
<li class="stepexpand"><span>If the tape device is also configured as a tape library, enter
the following command: </span> <pre>WRKCFGSTS *DEV *TAPMLB</pre>
</li>
<li class="stepexpand"><span>On the Work with Configuration Status display, find the tape library
corresponding to the tape device you want to transfer control of to Linux. Type <kbd class="userinput">2</kbd> next
to the tape library and press <span class="uicontrol">Enter</span>.</span></li>
<li class="stepexpand"><span>To lock the tape device to Linux, start a Linux terminal session and log in as root.</span></li>
<li class="stepexpand"><span>At the command prompt enter the ixsdev command and press <span class="uicontrol">Enter</span>.
The syntax is:</span> <pre>ixsdev [-list] | [[-lock | -unlock] device name]</pre>
<p>For
example, to list the tape and optical drives accessible by Linux enter the
following command:</p>
<pre>ixsdev -list</pre>
</li>
<li class="stepexpand"><span>To lock TAP02 to Linux you would enter the following command:</span> <pre>ixsdev -lock TAP02</pre>
<div class="note"><span class="notetitle">Note:</span> In Linux, commands
are case sensitive. Make sure you use the same case as in our examples, for
example, use TAP02 not tap02.</div>
<p>You could also use the Linux name.  <samp class="codeph">ixsdev
-lock /dev/st1</samp> for a rewindable tape device, or <samp class="codeph">ixsdev -lock
/dev/nst1</samp> for a non-rewindable tape device. The ixsdev -list command
shows the status of TAP02 as LOCKED. </p>
<p>Note that you do not need to mount
the tape device because Linux does not see it as a block device. You only need
to mount block devices.</p>
<pre></pre>
</li>
<li class="stepexpand"><span>Insert a tape cartridge that has been formatted for Linux.</span></li>
</ol>
<div class="section">After the tape drive has been logically switched to the integrated Linux server,
you can use it in the same way as you would use a tape drive directly attached
to a standalone Linux server. Using a Linux backup application, you can now
direct your Linux backups
to the iSeries tape
drive.</div>
</div>
</div>
</body>
</html>