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

158 lines
9.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="concept" />
<meta name="DC.Title" content="Create a data link" />
<meta name="abstract" content="A communication line must be created between the tape library and the library manager." />
<meta name="description" content="A communication line must be created between the tape library and the library manager." />
<meta name="DC.Relation" scheme="URI" content="rzam4config.htm" />
<meta name="DC.Relation" scheme="URI" content="rzam4config.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/cfgdevmlb.htm" />
<meta name="DC.Relation" scheme="URI" content="rzam4landetails.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="rzam4robotdev" />
<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>Create a data link</title>
</head>
<body id="rzam4robotdev"><a name="rzam4robotdev"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Create a data link</h1>
<div><p>A communication line must be created between the tape library and
the library manager.</p>
<p>The 3494 tape library requires a communications line for the library manager
functions. The communication line can be RS232 ASYNC, LAN, or TCP/IP. Before
the 3494 tape library can be varied on, the communication line needs to be
specified in the ROBOTDEV or ROBOTHOST parameter in the tape library device
description.</p>
<p>To create the data link between the tape library and the library manager
use the Configure Device MLB (CFGDEVMLB) command. This command uses the required
input parameters to configure and connect the communications line to the tape
library device description and attempts to vary on the tape library.</p>
<div class="note"><span class="notetitle">Notes:</span> <ol><li>To use the LAN connection, you must also add the LAN host to the 3494
Library Manager. For complete instructions, see the 3494 documentation.</li>
<li>If your 3494 tape library has the high-availability option installed so
that your 3494 tape library uses two Library Manager personal computers, you
need to configure two communication lines, one for each Library Manager personal
computer.</li>
</ol>
</div>
<p>Use one of the following procedures to create a data link.</p>
<div class="section"><h4 class="sectiontitle">Create an RS/232 ASYNC connection</h4><p>To configure a
RS/232 ASYNC connection to communicate with the 3494 Library Manager, use
the following command:</p>
<pre>CFGDEVMLB DEV(TAPMLB01) ADPTTYPE(*RS232) RSRCNAME(CMN02)</pre>
<p>The
following list explains the details of this command:</p>
<dl><dt class="dlterm">DEV(TAPMLB01)</dt>
<dd>Specifies the name of the tape library device description.</dd>
<dt class="dlterm">ADPTTYPE(*RS232)</dt>
<dd>Indicates that this tape library is attached through an RS232 ASYNC line.</dd>
<dt class="dlterm">RSRCNAME(CMN02)</dt>
<dd>Specifies the resource name of the RS232 port. Use WRKHDWRSC TYPE(*CMN)
to determine what resource name is used.</dd>
</dl>
<div class="note"><span class="notetitle">Note:</span> The RS232 ASYNC line, controller and device descriptions
will be created ONLINE(*NO). Do not vary them on. They will be varied on as
needed by the operating system when the tape library is varied on.</div>
</div>
<div class="section"><h4 class="sectiontitle">Create a LAN connection using APPC</h4><p>To configure
a LAN connection to communicate using APPC, use the following command: </p>
<pre>CFGDEVMLB DEV(TAPMLB01) ADPTTYPE(*LAN) PROTOCOL(*APPC) LIND(TRNLINE)
RMTLOCNAME(APPN.MLD01) ADPTADR(0123456789AB)</pre>
<p>The following list
explains the details of this command:</p>
<dl><dt class="dlterm">DEV(TAPMLB01)</dt>
<dd>Specifies the name of the media library (MLB) device description.</dd>
<dt class="dlterm">ADPTTYPE(*LAN)</dt>
<dd>Indicates that this MLB is attached through a LAN line.</dd>
<dt class="dlterm">PROTOCOL(*APPC)</dt>
<dd>Specifies that APPC will be used as the communications protocol for the
LAN connection to the 3494 tape library.</dd>
<dt class="dlterm">LIND(TRNLINE)</dt>
<dd>Specifies the line description name for the LAN line being used. Use WRKCFGSTS
CFGTYPE(*LIN) to display the list of valid LAN line descriptions. The line
description for the LAN must be created before using the CFGDEVMLB command.</dd>
<dt class="dlterm">RMTLOCNAME(APPN.MLD01)</dt>
<dd>Refers to the name of the Library Manager that is connected through the
LAN line. It is of the form <var class="varname">nnnnnnnn.cccccccc</var> where <var class="varname">nnnnnnnn</var> is
the network identifier and <var class="varname">cccccccc</var> is the remote location
name. If no network identifier is specified, use DSPNETA to determine the
default value. Obtain this parameter from the 3494 Library Manager console
using the menu options, LAN options, and LM LAN information.</dd>
<dt class="dlterm">ADPTADR(0123456789AB)</dt>
<dd>Specifies the LAN adapter address of the Library Manager. You can obtained
the parameter from the 3494 library manager console selecting the following:<ul><li>Commands</li>
<li>LAN options</li>
<li>LM LAN information</li>
</ul>
</dd>
</dl>
<div class="note"><span class="notetitle">Notes:</span> <ol><li>The LAN transaction program remains as QMLD/QMLDSTRCC and is contained
in the Licensed Internal Code.</li>
<li>For APPC only, any routers between the iSeries™ server and the 3494 tape library
need to allow SNA traffic.</li>
</ol>
</div>
<p>To configure a LAN connection using APPC to communicate to
the 3494 Library Manager, use the following command:</p>
<pre>DSPLANMLB LIND(TRNLINE) OUTPUT(*)</pre>
<p>For
detailed information about working with this information, see Add a tape library
to a LAN.</p>
</div>
<div class="section"><h4 class="sectiontitle">Create a TCP/IP connection</h4><p>To configure a LAN connection
using TCP/IP to communicate to the 3494 Library Manager, use the following
command:</p>
<p>To display the required LAN information about the iSeries, use
the following command:</p>
<pre>CFGDEVMLB DEV(TAPMLB01) ADPTTYPE(*LAN) PROTOCOL(*TCP) ROBOTHOST(MLD01) LCLINTNETA(192.168.5.10)</pre>
<p>The following list explains the details of this command:</p>
<dl><dt class="dlterm">DEV(TAPMLB01)</dt>
<dd>Specifies the name of the MLB device description.</dd>
<dt class="dlterm">ADPTTYPE(*LAN)</dt>
<dd>Indicates that this MLB is attached through a LAN line.</dd>
<dt class="dlterm">PROTOCOL(*TCP)</dt>
<dd>Specifies that TCP/IP will be used as the communications protocol for
the LAN connection to the 3494 tape library.</dd>
<dt class="dlterm">ROBOTHOST(MLD01)</dt>
<dd>Specifies the TCP/IP host name for the 3494 tape library. The host name
can be a fully qualified domain and host name.</dd>
<dt class="dlterm">LCLINTNETA(192.168.5.10)</dt>
<dd>Specifies the local internet address of the interface that is connecting
to the 3494 Library Manager. This is the interface the iSeries server will start when TCP/IP
needs to be started to use the 3494 tape library.</dd>
</dl>
<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>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzam4config.htm" title="After you have set up the tape library and connected it to your system, the iSeries server automatically configures it.">Configure tape libraries</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzam4landetails.htm" title="Several steps must be taken to add a LAN to your library.">Add a tape library to a LAN</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzam4config.htm" title="After you have set up the tape library and connected it to your system, the iSeries server automatically configures it.">Configure tape libraries</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/cfgdevmlb.htm">Configure Device MLB (CFGDEVMLB)</a></div>
</div>
</div>
</body>
</html>