213 lines
12 KiB
HTML
213 lines
12 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="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="Starting the installation from i5/OS" />
|
|||
|
<meta name="abstract" content="This topic describes the installation of Linux initiated from an i5/OS command line." />
|
|||
|
<meta name="description" content="This topic describes the installation of Linux initiated from an i5/OS command line." />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="rzau9kickoff.htm" />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="rzau9comparameters.htm" />
|
|||
|
<meta name="DC.Format" content="XHTML" />
|
|||
|
<meta name="DC.Identifier" content="rzau9startos400install" />
|
|||
|
<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>Starting the installation from i5/OS</title>
|
|||
|
</head>
|
|||
|
<body id="rzau9startos400install"><a name="rzau9startos400install"><!-- --></a>
|
|||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|||
|
<h1 class="topictitle1">Starting the installation from <span class="keyword">i5/OS</span></h1>
|
|||
|
<div><p>This topic describes the installation of Linux<sup>®</sup> initiated
|
|||
|
from an <span class="keyword">i5/OS™</span> command line.</p>
|
|||
|
<div class="section"><p>The installation of an integrated Linux server is initiated from an <span class="keyword">i5/OS</span> command line using the Install
|
|||
|
LINUX Server (<span class="cmdname">INSLNXSVR</span>) command. The installation is completed
|
|||
|
from the Linux console.</p>
|
|||
|
<p>The
|
|||
|
Linux server installation occurs in two steps. During the first step, the
|
|||
|
INSLNXSVR command creates all necessary objects to manage the server. This
|
|||
|
includes a network server description, message queue, line descriptions, storage
|
|||
|
spaces and TCP/IP interfaces.</p>
|
|||
|
<p>During the second step of the Linux server
|
|||
|
installation, the Integrated xSeries server is varied on to start the Linux
|
|||
|
server installation. Further Linux server installation is performed using
|
|||
|
the file server console and the normal Linux server install process.</p>
|
|||
|
<p>When
|
|||
|
INSLNXSVR completes normally, the Linux server is left in a varied on state.</p>
|
|||
|
<p><strong>Restrictions:</strong></p>
|
|||
|
<p>•
|
|||
|
You must have input/output system configuration (*IOSYSCFG), all object (*ALLOBJ)
|
|||
|
and job control (*JOBCTL) special authorities to run this command. </p>
|
|||
|
<p>•
|
|||
|
Existing file servers that use the same specified Integrated xSeries hardware
|
|||
|
resource must not be varied on.</p>
|
|||
|
<p>• The file server will be varied off
|
|||
|
and varied back on during the second step of the install as Linux server installs
|
|||
|
and requires the server to reboot. </p>
|
|||
|
<p>If the installation fails at an
|
|||
|
early stage, all <span class="keyword">i5/OS</span> objects
|
|||
|
that have been created are removed. However, if the installation fails after
|
|||
|
being transferred to the Linux console, the <span class="keyword">i5/OS</span> objects
|
|||
|
remain. This is because you might be able to correct the error and recover
|
|||
|
the installation. In this case, restart the server and the installation code
|
|||
|
will try to resume from the point of failure. If you are unable to recover,
|
|||
|
or you decide to restart the installation from scratch, you can delete the Linux server
|
|||
|
instance using the <span class="cmdname">DLTLNXSVR</span> command.</p>
|
|||
|
<div class="note"><span class="notetitle">Note:</span> Any time
|
|||
|
a restart of the Integrated xSeries<sup>®</sup> Adapter occurs, the attached xSeries is
|
|||
|
rebooted twice, so you see the Power On Self Test (POST) sequence twice. This
|
|||
|
is normal.</div>
|
|||
|
<p>To start the installation of Linux on the Integrated xSeries hardware,
|
|||
|
complete the following steps:</p>
|
|||
|
</div>
|
|||
|
<ol><li class="stepexpand"><span>If you are installing Linux on an Integrated xSeries Server,
|
|||
|
verify that the USB diskette drive is plugged into a USB port on the server.</span></li>
|
|||
|
<li class="stepexpand"><span>If you are installing Linux on an Integrated xSeries Adapter-attached xSeries,
|
|||
|
locate the driver diskette but do not insert it into the diskette drive of
|
|||
|
the xSeries server
|
|||
|
yet.</span></li>
|
|||
|
<li class="stepexpand"><span>Verify that no other NWSD is varied on for the hardware resource
|
|||
|
you want to install on by running the CL command by typing <kbd class="userinput">WRKCFGSTS
|
|||
|
*NWS</kbd>.</span> Display each NWSD that is varied on and confirm
|
|||
|
that it is not using the resource you intend to use.</li>
|
|||
|
<li class="stepexpand"><span>If you are installing Linux on an IXS, verify that the iSeries
|
|||
|
optical drive is varied on and that it is not being used by another job. Insert
|
|||
|
the Linux installation CD in the iSeries’ optical drive.</span></li>
|
|||
|
<li class="stepexpand"><span>Sign on to an <span class="keyword">i5/OS</span> green
|
|||
|
screen session with a profile that has the following authorities: <span class="cmdname">*IOSYSCFG,
|
|||
|
*ALLOBJ</span>, and <span class="cmdname">*JOBCTL</span> or <span class="cmdname">*SECADM</span>.</span></li>
|
|||
|
<li class="stepexpand"><span>Change the <span class="cmdname">QSYSOPR</span> message queue to something
|
|||
|
other than <span class="cmdname">*BREAK</span> so that the installation is not interrupted.
|
|||
|
For example, type the CL command <kbd class="userinput">CHGMSGQ MSGQ(QSYSOPR) DLVRY(*NOTIFY)</kbd>.</span></li>
|
|||
|
<li class="stepexpand"><span>On the i5/OS command line type INSLNXSVR and press <strong>F4</strong>.
|
|||
|
This will display the parameters for the command. Below is a brief description
|
|||
|
of the parameters that must be explicitly entered. All other parameters are
|
|||
|
filled in with default values which can be modified as you prefer. For more
|
|||
|
details on the parameters see the section tilted ‘INSLNXSVR command parameter
|
|||
|
descriptions’.</span> <dl><dt class="dlterm">Network Server Description</dt>
|
|||
|
<dd><p>Choose any name of up to eight characters that is meaningful to you.
|
|||
|
This does not have to be identical to the Linux server’s host name. It is simply
|
|||
|
used to track the <span class="keyword">i5/OS</span> objects
|
|||
|
associated with the integrated server. This name is used as the prefix for
|
|||
|
the system and install drives, and the Point-to-Point Virtual Ethernet line
|
|||
|
description.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<dl><dt class="dlterm">Resource name</dt>
|
|||
|
<dd><p>Type in the hardware resource name (LINxx) for the Integrated xSeries
|
|||
|
Server or Integrated xSeries Adapter that you identified.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<dl><dt class="dlterm">Linux server
|
|||
|
distribution</dt>
|
|||
|
<dd><p>Select the appropriate distribution. At the time of writing, the valid
|
|||
|
options are *RHEL3, *RHEL4, *SLES8 or *SLES9. This might change as newer Linux distributions
|
|||
|
become available. <strong>Note:</strong> RHEL 3 is the only Linux distribution supported
|
|||
|
on the IXS.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<p>There are a few parameters that are filled in by default
|
|||
|
but are worth noting here. These parameters are critical to the Linux install.</p>
|
|||
|
<dl><dt class="dlterm">Server storage space sizes</dt>
|
|||
|
<dd><p><strong>• Install source size</strong></p>
|
|||
|
<p>The default value is calculated
|
|||
|
based on the space required to hold the install source. Typically, a storage
|
|||
|
space of 200 megabytes is created for the install source disk. This virtual
|
|||
|
disk can be a between 200 MB and 2047 MB. It does not need to be larger than
|
|||
|
the calculated value and it must be kept as *FAT format. The Linux integration
|
|||
|
code installs some utilities and configuration files here for its own use.
|
|||
|
The install drive is not intended for public use.</p>
|
|||
|
<p><strong>• System size</strong></p>
|
|||
|
<p>The
|
|||
|
default value is calculated based on the space required to hold the Linux
|
|||
|
installation. Typically, a storage space of 12000 megabytes is created for
|
|||
|
the system disk. The size of the system storage space can be anywhere between
|
|||
|
1024 MB and 1024000 MB. Depending on how much data you want to store on this
|
|||
|
disk, you might need to make it considerably larger. The calculated value
|
|||
|
takes into account the following:</p>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. System storage space</caption><thead align="left"><tr valign="bottom"><th valign="bottom" id="d0e211">Partition</th>
|
|||
|
<th valign="bottom" id="d0e213">Description</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td valign="top" headers="d0e211 ">Linux system partition(s)</td>
|
|||
|
<td valign="top" headers="d0e213 ">The estimate for the root and boot (if created) partitions
|
|||
|
with room for updates is 8 GB.</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" headers="d0e211 ">Swap partition</td>
|
|||
|
<td valign="top" headers="d0e213 ">This needs to be at least as large as the amount of
|
|||
|
installed memory. We assume 4 GB.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div class="note"><span class="notetitle">Note:</span> Be careful about specifying a system drive size less than the
|
|||
|
calculated value. While this might work initially, over time
|
|||
|
as you install more distribution updates you might run out of space.</div>
|
|||
|
<p>Unlike
|
|||
|
other Linux platforms, the size of the system drive on iSeries has absolutely
|
|||
|
no effect on performance. This is because storage spaces are actually files
|
|||
|
residing on iSeries disk storage, and the data is automatically spread across
|
|||
|
all physical disk drives in the specified auxiliary storage pool (ASP). Therefore,
|
|||
|
size the drive according to the space you need, not with any performance considerations
|
|||
|
in mind.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<dl><dt class="dlterm">Restricted device resources</dt>
|
|||
|
<dd><p>You can use this parameter to list iSeries tape and optical devices
|
|||
|
that you do not want to make available to the Linux server as virtual devices.
|
|||
|
However, the installation of RHEL 3 requires that at least one optical drive
|
|||
|
is not restricted.</p>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
</li>
|
|||
|
<li class="stepexpand"><span>When you press <span class="uicontrol">Enter</span>, the following occurs:</span> <ul><li>The NWSD is created.</li>
|
|||
|
<li>The system storage space is created. This might take a few minutes depending
|
|||
|
on the size.</li>
|
|||
|
<li>The install storage space is created.</li>
|
|||
|
<li>Files are copied to the install drive.</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
<li class="stepexpand"><span>If you are installing Linux (other than RHEL 3) on an externally
|
|||
|
attached xSeries you will be prompted to input the installation media in the
|
|||
|
xSeries optical drive. For example, a SLES 9 install would prompt with:</span> <p><tt class="sysout">Please insert SLES9 disc 1 into the xSeries CD-ROM
|
|||
|
(C G).</tt></p>
|
|||
|
<p>Verify that the installation media is inserted
|
|||
|
in the xSeries’ CD-ROM drive. Type <kbd class="userinput">G</kbd> then press <span class="uicontrol">Enter</span>.
|
|||
|
(Do not insert the diskette at this time.)</p>
|
|||
|
</li>
|
|||
|
<li class="stepexpand"><span>The configuration files are updated and then the installation is
|
|||
|
transferred to the Linux server’s console. When this happens you see the
|
|||
|
following message at the bottom of the green screen session from which you
|
|||
|
ran the <span class="cmdname">INSLNXSVR</span> command: </span> <p><tt class="sysout">Network
|
|||
|
server install completed for <network server name>.</tt></p>
|
|||
|
<p>The
|
|||
|
server boots after the i5/OS portion of the installation has completed. The
|
|||
|
Linux installation wizard is displayed on the server’s console. You must now
|
|||
|
complete the installation from the Linux console.</p>
|
|||
|
</li>
|
|||
|
</ol>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<ul class="ullinks">
|
|||
|
<li class="ulchildlink"><strong><a href="rzau9comparameters.htm">INSLNXSVR command parameter descriptions</a></strong><br />
|
|||
|
This topic describes the command parameters associated with INSLNXSVR.</li>
|
|||
|
</ul>
|
|||
|
|
|||
|
<div class="familylinks">
|
|||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzau9kickoff.htm" title="This will help you learn about using Intel-based Linux solution on the iSeries platform with the Integrated xSeries Server and Integrated xSeries Adapter.">Linux on an integrated xSeries solution</a></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|