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

194 lines
11 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="task" />
<meta name="DC.Title" content="Set up virtual optical storage" />
<meta name="abstract" content="This topic provides a high-level overview of the steps used to set up virtual optical storage. The topic also provides links to information that provide specific instructions for setting up virtual optical storage based on what task you want to accomplish." />
<meta name="description" content="This topic provides a high-level overview of the steps used to set up virtual optical storage. The topic also provides links to information that provide specific instructions for setting up virtual optical storage based on what task you want to accomplish." />
<meta name="DC.Relation" scheme="URI" content="rzam4virtual.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzahc/prepareimagecatalog.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzai4/rzai4createvirtoptdev.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzai4/rzai4distsw.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzam8/rzam8fixinstallimage.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzaiu/rzaiuvirtualoptical.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzaiu/rzaiuintro.htm" />
<meta name="DC.Relation" scheme="URI" content="../books/sc415304.pdf" />
<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="rzam4virtualuse" />
<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>Set up virtual optical storage</title>
</head>
<body id="rzam4virtualuse"><a name="rzam4virtualuse"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Set up virtual optical storage</h1>
<div><p>This topic provides a high-level overview of the steps used to
set up virtual optical storage. The topic also provides links to information
that provide specific instructions for setting up virtual optical storage
based on what task you want to accomplish.</p>
<div class="section"><p>The following provide a high-level overview of how to set up virtual
optical storage for the most common tasks. The exact steps you use to set
up virtual optical storage depend on what task you want to accomplish, such
as performing a save operation or distributing software.</p>
<p>The specific
tasks provide links to instructions for the different tasks that you can perform
with virtual optical storage.</p>
<p>The tasks are as follows:</p>
<ul><li><a href="#installimagecatalog">Install from an image catalog</a></li>
<li><a href="#create">Create virtual optical</a></li>
<li><a href="#use">Use virtual images in an image catalog</a></li>
<li><a href="#specifictasks">Specific tasks</a></li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <img src="./delta.gif" alt="Start of change" /><a href="rzam4virtual.htm" title="When you use virtual optical storage, you create virtual CD or DVD images that exist on your server disk units.">Virtual optical storage</a><img src="./deltaend.gif" alt="End of change" /></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../rzaiu/rzaiuvirtualoptical.htm">Consider using virtual optical storage</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../rzahc/prepareimagecatalog.htm">Preparing to upgrade or replace software using an image catalog</a></div>
<div><a href="../rzai4/rzai4createvirtoptdev.htm">Prepare the central system for virtual images</a></div>
<div><a href="../rzai4/rzai4distsw.htm">Distribute software</a></div>
<div><a href="../rzam8/rzam8fixinstallimage.htm">Install fixes from an image catalog</a></div>
<div><a href="../rzaiu/rzaiuintro.htm">Backup up your server</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../books/sc415304.pdf" target="_blank">Backup and Recovery</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="create"><a name="create"><!-- --></a><h2 class="topictitle2">Create virtual optical</h2>
<div><ol><li class="stepexpand"><span>Create the image catalog:</span> <pre>CRTIMGCLG IMGCLG(MYCATALOG) DIR('/MYCATALOGDIRECTORY') </pre>
</li>
<li class="stepexpand"><span>Add the image from physical media or from image files received
from another system.</span> <p>If you are adding a new blank image, type
the following command:</p>
<pre>ADDIMGCLGE IMGCLG(MYCATALOG) FROMFILE(*NEW) TOFILE(NEWIMAGEFILE) IMGSIZ(16000)</pre>
<p>Repeat
this step for each optical disk needed.</p>
</li>
<li class="stepexpand"><span>If you do not already have a virtual optical device type 632B,
create one and vary it on: </span> <pre>CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT)
VRYCFG CFGOBJ(OPTVRT01) CFGTYPE(*DEV) STATUS(*ON)</pre>
</li>
<li class="stepexpand"><span>Load the image catalog in the virtual device:</span> <pre>LODIMGCLG IMGCLG(MYCATALOG) DEV(OPTVRT01)</pre>
</li>
<li class="stepexpand"><span>Initialize the virtual image:</span> <pre>INZOPT NEWVOL(MYVOLUMEID) DEV(OPTVRT01) CHECK(*NO) TEXT(MYTEXTDESCRIPTION)</pre>
</li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="use"><a name="use"><!-- --></a><h2 class="topictitle2">Use virtual images in an image catalog</h2>
<div><ol><li class="stepexpand"><span>Create the image catalog:</span> <pre>CRTIMGCLG IMGCLG(MYCATALOG) DIR('/MYCATALOGDIRECTORY') CRTDIR(*YES)</pre>
</li>
<li class="stepexpand"><span>Add the image from physical media or from image files received
from another system.</span> <ul><li>To add images from physical media: <pre>ADDIMGCLGE IMGCLG(MYCATALOG) FROMDEV(OPTXX) TOFILE(*fromfile)</pre>
<p>Repeat
for each optical disk.</p>
</li>
<li>To add images from an image file: <pre>ADDIMGCLGE IMGCLG(MYCATALOG) FROMFILE(SLIC_N) TOFILE(*fromfile)</pre>
<p>Repeat
this step for each file in your catalog directory. This step assumes your
image is already in the image catalog directory.</p>
</li>
</ul>
</li>
<li class="stepexpand"><span>Create and vary on the virtual device:</span> <pre>CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT)
VRYCFG CFGOBJ(OPTVRT01) CFGTYPE(*DEV) STATUS(*ON)</pre>
</li>
<li class="stepexpand"><span>Load the image catalog in the virtual device</span> <pre>LODIMGCLG IMGCLG(MYCATALOG) DEV(OPTVRT01)</pre>
</li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="specifictasks1"><a name="specifictasks1"><!-- --></a><h2 class="topictitle2">Specific tasks</h2>
<div><div class="section"><p>You can perform these tasks with virtual optical storage.</p>
<dl><dt class="dlterm">Install or replace software</dt>
<dd>To install or replace software using virtual optical storage, see Preparing
to upgrade or replace software using an image catalog.</dd>
<dt class="dlterm">Software distribution</dt>
<dd>To set up virtual optical storage for software distribution, see Prepare
the central system for virtual images in the Distribute software topic.</dd>
<dt class="dlterm">Install fixes</dt>
<dd>To install fixes with virtual optical storage, see Install fixes from
an image catalog.</dd>
<dt class="dlterm">Perform a save operation</dt>
<dd>To save to virtual optical storage, see Consider using virtual optical
storage in the Backup up your server topic.</dd>
<dt class="dlterm">Perform a restore operation</dt>
<dd>To restore from virtual images, see Backup and Recovery.</dd>
</dl>
</div>
</div>
<div class="nested2" xml:lang="en-us" id="installimagecatalog"><a name="installimagecatalog"><!-- --></a><h3 class="topictitle3">Install from an image catalog</h3>
<div><ol><li class="stepexpand"><span>Create the image catalog: </span> <pre>CRTIMGCLG IMGCLG(MYCATALOG) DIR('/MYCATALOGDIRECTORY') </pre>
</li>
<li class="stepexpand"><span>Add the image from physical media or from image files received
from another system: </span> <ul><li>To add images from physical media: <pre>ADDIMGCLGE IMGCLG(MYCATALOG) FROMDEV(OPTXX) TOFILE(*fromfile)</pre>
<p>Repeat
this step for each optical disk.</p>
</li>
<li>To add the image from an image file: <pre>ADDIMGCLGE IMGCLG(MYCATALOG) FROMFILE(SLIC_N) TOFILE(*fromfile)</pre>
<p>Repeat
this step for each file in your catalog directory. This step assumes your
image is already in the image catalog directory.</p>
</li>
</ul>
</li>
<li class="stepexpand"><span>Create and vary on the virtual device:</span> <pre>CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT)
VRYCFG CFGOBJ(OPTVRT01) CFGTYPE(*DEV) STATUS(*ON)</pre>
</li>
<li class="stepexpand"><span>Load the image catalog in the virtual device:</span> <pre>LODIMGCLG IMGCLG(MYCATALOG) DEV(OPTVRT01)</pre>
</li>
<li class="stepexpand"><span>Verify the catalog for upgrade.</span> <pre>VFYIMGCLG IMGCLG(MYCATALOG) TYPE(*UPGRADE) SORT(*YES)</pre>
<p>The
following are required for the verify operation:</p>
<ol type="a"><li><span>Licensed Internal Code for i5/OS™</span></li>
<li><span>Operating System/iSeries</span></li>
<li><span>i5/OS -
Library QGPL</span></li>
<li><span>i5/OS -
Library QUSRSYS</span></li>
</ol>
</li>
<li class="stepexpand"><span>Start the installation:</span> <pre>PWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(*IMGCLG) IMGCLG(AL)</pre>
<p>Refer
to <a href="../rzahc/prepareimagecatalog.htm">Preparing to
upgrade or replace software using an image catalog</a> for more information.</p>
</li>
</ol>
</div>
</div>
<div class="nested2" xml:lang="en-us" id="specifictasks"><a name="specifictasks"><!-- --></a><h3 class="topictitle3">Specific tasks</h3>
<div><div class="section"><p>You can perform save and restore operations with virtual optical
storage.</p>
<dl><dt class="dlterm">Image files *ALWSAV attributes </dt>
<dd>When the image catalog is in ready status all of the image catalog's
images have a *ALWSAV attribute value of *NO. This does not allow the images
to be saved by the Save Object (SAV) command or the QsrSave API. When the
image catalog is not in ready status all of the image catalog's images have
a *ALWSAV attribute value of *YES. This allows the images to be saved. </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>
</body>
</html>