ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzam8_5.4.0.1/rzam8fixinstallimagewriteable.htm

103 lines
6.7 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="Advanced fix installation: Build virtual image fix packages" />
<meta name="abstract" content="This topic discusses how you can create your own virtual image for fix packages that you want to install at a later time." />
<meta name="description" content="This topic discusses how you can create your own virtual image for fix packages that you want to install at a later time." />
<meta name="DC.Relation" scheme="URI" content="rzam8fixinstalladv1.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzam4/rzam4virtualimage.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzam4/rzam4movevirt.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzam8fixinstallimagewriteable" />
<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>Advanced fix installation: Build virtual image fix packages</title>
</head>
<body id="rzam8fixinstallimagewriteable"><a name="rzam8fixinstallimagewriteable"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Advanced fix installation: Build virtual image fix packages</h1>
<div><p><span><img src="./delta.gif" alt="Start of change" />This topic discusses how you can create your own
virtual image for fix packages that you want to install at a later time.<img src="./deltaend.gif" alt="End of change" /></span></p>
<div class="section"><div class="note"><span class="notetitle">Notes:</span> </div>
<ol><li><img src="./delta.gif" alt="Start of change" />You cannot install PTFs from an image catalog with Management
Central, but you can use the copy from media function to copy PTFs into save
files from an image catalog associated with a virtual optical device. For
instructions, see <a href="rzam8fixobtaincopymedia.htm#rzam8fixobtaincopymedia">Copy fixes from media</a>.<img src="./deltaend.gif" alt="End of change" /></li>
<li>Your user profile must have *ALLOBJ and *SECADM authority to use the image
catalog commands.</li>
<li>If you do not have a virtual optical device, you must create one. To create
one, see <a href="rzam8fixinstallimage.htm">Install fixes from an image catalog</a>.</li>
<li>If you build a custom fix package and save it to virtual optical media,
you cannot span virtual volumes. Your custom fix package must fit on one volume.</li>
</ol>
<p>To create your own virtual image in an image catalog, do the following
steps:</p>
</div>
<ol><li class="stepexpand"><span><strong>Create an image catalog</strong></span> <p>Create an image catalog
for the set of PTFs that you want to install. The Create Image Catalog (CRTIMGCLG)
command associates an image catalog with a target directory where the pre-loaded
images are loaded.</p>
<pre>CRTIMGCLG IMGCLG(<em>ptfcatalog</em>) DIR(<em>'/MYCATALOGDIRECTORY'</em>) CRTDIR(*YES) TEXT(<em>text-description</em>)</pre>
<div class="note"><span class="notetitle">Note:</span> A directory can be associated with only one image catalog.</div>
</li>
<li class="stepexpand"><span><strong>Add an image catalog entry</strong></span> <p><img src="./delta.gif" alt="Start of change" />Add
an image catalog entry to create a new image file in the image catalog.<img src="./deltaend.gif" alt="End of change" /></p>
<pre>ADDIMGCLGE IMGCLG(<em>ptfcatalog</em>) FROMFILE(*NEW) TOFILE(NEWIMAGEFILE)
IMGSIZ(xxxxx) TEXT(<em>text-description</em>)</pre>
<p><img src="./delta.gif" alt="Start of change" />The
size of the image needs be large enough to contain the size of the fixes that
you want to distribute.<img src="./deltaend.gif" alt="End of change" /></p>
</li>
<li class="stepexpand"><span><strong>Load the image catalog</strong></span> <p>This step associates
the virtual optical device to the image catalog. Only one image catalog can
be associated with a specific virtual optical device. Type the following command
to load the image catalog:</p>
<pre>LODIMGCLG IMGCLG(<em>ptfcatalog</em>) DEV(<em>OPTVRT01</em>) OPTION(*LOAD)</pre>
</li>
<li class="stepexpand"><span><strong>Initialize the virtual image</strong></span> <pre>INZOPT NEWVOL(MYVOLUMEID) DEV(OPTVRT01) CHECK(*NO)
TEXT(MYTEXTDESCRIPTION)</pre>
<p>The system initializes the virtual
image.</p>
</li>
<li class="stepexpand"><span><strong>Copy PTFs to virtual media</strong></span> <p>Copy any PTFs and
PTF groups to virtual optical device. You cannot span virtual optical volumes;
all PTFs and PTF groups must fit on a single volume. If you exceed the capacity
of the volume, either create a new volume or initialize the volume to a larger
size.</p>
<p>Use the Copy PTF Groups (CPYPTFGRP) command to copy the PTF groups
to the media. You can optionally specify CPYPTF(*YES) on the command to copy
the PTFs in the group.</p>
<pre>CPYPTFGRP PTFGRP(xxxxxxx) FROMDEV(*SERVICE)
TODEV(OPTVRT01) CPYPTF(*YES)</pre>
<p>Use the Copy PTF (CPYPTF) command
to copy PTFs to the media. Repeat the command for each product that you have.</p>
<pre>CPYPTF LICPGM(xxxxxxx) FROMDEV(*SERVICE)
TODEV(OPTVRT01) SELECT(xxxxxxx)</pre>
</li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzam8fixinstalladv1.htm" title="This topic introduces the advanced topics of loading and applying PTFs. You will also learn how to create your own fix package from CD-ROM and how to create a fix package to a virtual image.">Advanced procedures for fix installation</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../rzam4/rzam4virtualimage.htm">Create actual media from a virtual image</a></div>
<div><a href="../rzam4/rzam4movevirt.htm">Transport virtual images</a></div>
</div>
</div>
</body>
</html>