ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzam4_5.4.0.1/rzam4sharedrives.htm

110 lines
7.0 KiB
HTML

<?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="task" />
<meta name="DC.Title" content="Share servers with external drives" />
<meta name="abstract" content="You can choose whether you want your stand-alone tape device assigned to an iSeries server when the tape device is varied on. Assigning a tape device reserves the tape device specifically for one system." />
<meta name="description" content="You can choose whether you want your stand-alone tape device assigned to an iSeries server when the tape device is varied on. Assigning a tape device reserves the tape device specifically for one system." />
<meta name="DC.Relation" scheme="URI" content="rzam4installstandalone.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="rzam4sharedrives" />
<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>Share servers with external drives</title>
</head>
<body id="rzam4sharedrives"><a name="rzam4sharedrives"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Share servers with external drives</h1>
<div><p>You can choose whether you want your stand-alone tape device assigned
to an iSeries™ server
when the tape device is varied on. Assigning a tape device reserves the tape
device specifically for one system.</p>
<div class="section"><p> You can attach the 3480, 3490, 3490E, 3590, or 3592 tape devices
to any of the following units:</p>
<ul><li>One input/output processors on the same iSeries server</li>
<li>Two iSeries servers</li>
<li>An iSeries server
and a different server</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzam4installstandalone.htm" title="The instructions for installing and configuring your tape device vary based on which model of iSeries server you have and which type of tape device you are installing.">Install stand-alone tape devices</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="assignalonetapedevserver"><a name="assignalonetapedevserver"><!-- --></a><h2 class="topictitle2">Assign a stand-alone tape device to a server</h2>
<div><div class="section">To assign a tape device to a server do the following steps:</div>
<ol><li class="stepexpand"><span>Use the Work with Device Description (WRKDEVD *TAP) command to
work with a tape device description.</span></li>
<li class="stepexpand"><span>Select 2 (Change) for the tape device you want to work with.</span></li>
<li class="stepexpand"><span>In the <var class="varname">Assign device at vary on</var> field, specify
*YES and press Enter to assign the tape device to the system.</span></li>
<li class="stepexpand"><span>Type <samp class="codeph">VRYCFG</samp> (the Vary Configuration command) to
vary off the tape device. </span> <div class="note"><span class="notetitle">Note:</span> The Vary Configuration (VRYCFG)
command can be run by using the VRYCFG command or by using the Work with Configuration
Status (WRKCFGSTS) command. To use the Work with Configuration Status command,
type <samp class="codeph">WRKCFGSTS *DEV *TAP</samp> and press Enter.</div>
</li>
<li class="stepexpand"><span>Type <samp class="codeph">VRYCFG</samp> to vary on the tape device and assign
it to a server.</span></li>
</ol>
<div class="section"><p>If the tape device is being used by another server, a message is
displayed that indicates the tape device is assigned elsewhere. The tape device
must be varied off at the other server before it can be varied on at a new
server.</p>
</div>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="leavetapedevunassigned"><a name="leavetapedevunassigned"><!-- --></a><h2 class="topictitle2">Leave a tape device unassigned</h2>
<div><div class="section">To leave a tape device unassigned, do the following steps:</div>
<ol><li class="stepexpand"><span>Type <samp class="codeph">WRKDEVD *TAP</samp> (the Work with Device Description
command) to work with a tape device description. In the <var class="varname">Assign device
at vary on</var> field, specify *NO and press Enter to leave the tape
device unassigned.</span> <div class="note"><span class="notetitle">Note:</span> A tape device that is unassigned can be
varied on to both servers. You must control the tape application programs
so that the two systems do not interfere with each other. The results of failing
to control the tape application programs can be unpredictable.</div>
</li>
<li class="stepexpand"><span>Type the following command and press Enter to vary off the tape
device:</span> <pre>VRYCFG CFGOBJ(TAP<var class="varname">xx</var>) CFGTYPE(*DEV) STATUS(*OFF)</pre>
</li>
<li class="stepexpand"><span>Type the following command and press Enter to vary on the tape
device:</span> <pre>VRYCFG CFGOBJ(TAP<var class="varname">xx</var>) CFGTYPE(*DEV) STATUS(*ON)</pre>
</li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="considshartapedevtwoservers"><a name="considshartapedevtwoservers"><!-- --></a><h2 class="topictitle2">Considerations for sharing a tape device between two servers</h2>
<div><div class="section"><p>When a tape device is being shared by two iSeries servers, the tape device is only
available on one server at a time. To use a drive, vary it on by using the
following command and pressing Enter:</p>
<pre>VRYCFG CFGOBJ(TAP<var class="varname">xx</var>) CFGTYPE(*DEV) STATUS(*ON)</pre>
<p>If
you do not want to vary on tape devices during future initial program loads
(IPLs), type the following command and press Enter:</p>
<pre>CHGCTLTAP CTLD(TAPCTL<var class="varname">xx</var>) ONLINE(*NO)</pre>
<p>After
doing an IPL, to vary on only the controller, type the following on any command
line and press Enter:</p>
<pre>VRYCFG CFGOBJ(TAPCTL<var class="varname">xx</var>) CFGTYPE(*CTL) STATUS(*ON) RANGE(*OBJ)</pre>
<div class="note"><span class="notetitle">Note:</span> By
using the code examples, you agree to the terms of the <a href="codedisclaimer.htm">Code license and disclaimer information</a>.</div>
</div>
</div>
</div>
</body>
</html>