ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzau9_5.4.0.1/rzau9startlinux.htm

125 lines
7.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="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 Linux servers" />
<meta name="abstract" content="This topic discusses how to start single and multiple integrated Linux servers using the iSeries Navigator and CL commands. It also includes instructions on how to start integrated Linux servers automatically at iSeries startup." />
<meta name="description" content="This topic discusses how to start single and multiple integrated Linux servers using the iSeries Navigator and CL commands. It also includes instructions on how to start integrated Linux servers automatically at iSeries startup." />
<meta name="DC.Relation" scheme="URI" content="rzau9400op.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzau9startlinux" />
<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 Linux servers</title>
</head>
<body id="rzau9startlinux"><a name="rzau9startlinux"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Starting Linux servers</h1>
<div><p>This topic discusses how to start single and multiple integrated Linux<sup>®</sup> servers
using the iSeries™ Navigator
and CL commands. It also includes instructions on how to start integrated Linux servers
automatically at iSeries startup.</p>
<div class="section"><div class="note"><span class="notetitle">Note:</span> You cannot start an integrated Linux server from the Linux console;
however, you can restart a running server from the Linux console.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzau9400op.htm" title="This topic introduces i5/OS operations.">i5/OS operations</a></div>
</div>
</div><div class="nested1" xml:lang="en-us" id="rzau9startlinuxinav"><a name="rzau9startlinuxinav"><!-- --></a><h2 class="topictitle2">Starting a single Linux server using iSeries Navigator</h2>
<div><div class="section">The <strong>Integrated Server Administration</strong> function of iSeries Navigator
provides an interface for starting Linux servers individually or in multiples.<p>To
start a single Linux server using iSeries Navigator, complete the following
steps:</p>
</div>
<ol><li><span>Click <span class="uicontrol">Servers</span> under Integrated Server Administration.</span></li>
<li><span>Right-click the server you want to start.</span></li>
<li><span>Select <span class="uicontrol">Start</span>. After a few moments, you should
see the status change to Started.</span></li>
</ol>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="rzau9startlinuxinavmult"><a name="rzau9startlinuxinavmult"><!-- --></a><h2 class="topictitle2">Starting multiple Linux servers using iSeries Navigator</h2>
<div><div class="section">To start all integrated servers (both Linux and Windows<sup>®</sup>) select one of the following
methods:<ul><li>Right-click <strong>Servers</strong> in the left pane and select <span class="uicontrol">Start
all</span>.</li>
<li>Click <span class="uicontrol">Start all integrated servers</span> in the Taskpad
pane.</li>
</ul>
<p>To start selected servers only, hold down the control key (Ctrl) and
click each of the servers you want started. Then right-click one of the selected
servers and click Start.</p>
<div class="note"><span class="notetitle">Tips:</span> <ul><li>If you have two or more server instances created for the same Integrated xSeries<sup>®</sup> Server
or IXA-attached xSeries server, you should not try to start all servers simultaneously.
Remember, these are server instances, not physical servers.</li>
<li>Because of interdependencies between Linux servers, you might wish to start
the servers in a specific order.</li>
</ul>
</div>
</div>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="rzau9startlinuxcl"><a name="rzau9startlinuxcl"><!-- --></a><h2 class="topictitle2">Starting Linux servers using CL commands</h2>
<div><div class="section"><p>To start a Linux server from an <span class="keyword">i5/OS™</span> command
line, select one of the following CL commands:</p>
<dl><dt class="dlterm">WRKCFGSTS</dt>
<dd><ol><li>Type <kbd class="userinput">WRKCFGSTS *NWS</kbd>. Press <span class="uicontrol">Enter</span>.</li>
<li>Type <kbd class="userinput">1</kbd> in the Opt column next to the network server
description (NWSD) that you want to vary on. Press <span class="uicontrol">Enter</span>.</li>
</ol>
<p>To start multiple Linux servers using the WRKCFGSTS command, simply type <kbd class="userinput">1</kbd> in
the Opt column next to all the network server descriptions (NWSD) that you
want to vary on. Press <span class="uicontrol">Enter</span>.</p>
</dd>
</dl>
<dl><dt class="dlterm">VRYCFG</dt>
<dd><ol><li>Type <kbd class="userinput">VRYCFG</kbd>. Press <span class="uicontrol">F4</span>.</li>
<li>Enter the NWSD that you want to vary on. Press <span class="uicontrol">Enter</span>.
Here is an example: <pre>VRYCFG CFGOBJ(nwsd-name) CFGTYPE(*NWS) STATUS(*ON)</pre>
</li>
</ol>
<p>To start multiple Linux servers using the VRYCFG command, simply list
all the network server descriptions (NWSDs) that you want to vary on in the
CFGOBJ parameter. Press <span class="uicontrol">Enter</span>. For example: </p>
<pre>VRYCFG CFGOBJ(nwsd-name1 nwsd-name2 nwsd-name3) CFGTYPE(*NWS) STATUS(*ON) </pre>
<p>Using the VRYCFG command in this way could lock up your green screen session
for several minutes.</p>
</dd>
</dl>
</div>
</div>
</div>
<div class="nested1" xml:lang="en-us" id="rzau9startlinuxauto"><a name="rzau9startlinuxauto"><!-- --></a><h2 class="topictitle2">Starting Linux servers automatically at iSeries startup</h2>
<div><div class="section">If you only have a single integrated server, or you do not need to
start your servers in a specific order, there is a simple way to start an
integrated server when the iSeries is turned on:</div>
<ol><li><span>On the <span class="keyword">i5/OS</span> command
line type <kbd class="userinput">CFGTCP</kbd>. Press <span class="uicontrol">Enter</span>.</span></li>
<li><span>On the Configure TCP/IP display type <kbd class="userinput">1</kbd>.
Press <span class="uicontrol">Enter</span>.</span></li>
<li><span>Locate the interface for the Point-to-Point Virtual Ethernet line
that corresponds to the server you want to start automatically. It is of the
form nwsd-namePP. Enter <kbd class="userinput">2</kbd> next to the interface. Press <span class="uicontrol">Enter</span>.</span></li>
<li><span>Change the Autostart parameter to <var class="varname">*YES</var>. Press <span class="uicontrol">Enter</span>.</span></li>
</ol>
<div class="section">When you next power up the iSeries, the integrated server starts
automatically.</div>
</div>
</div>
</body>
</html>