113 lines
6.4 KiB
HTML
113 lines
6.4 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
||
|
|
||
|
<title>Verify and configure TCP/IP</title>
|
||
|
</head>
|
||
|
|
||
|
<BODY>
|
||
|
<!-- Java sync-link -->
|
||
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
||
|
|
||
|
<h3><a name="incftcp"></a>Verify and configure TCP/IP</h3>
|
||
|
|
||
|
<p>TCP/IP must be configured properly and must be started before you start the WebSphere Application Server - Express environment.</p>
|
||
|
|
||
|
<p>To verify that TCP/IP is configured correctly, enter the Configure TCP/IP (CFGTCP) command on an CL command line, and then follow these steps:</p>
|
||
|
|
||
|
<ol>
|
||
|
|
||
|
<li><p><strong>Verify that your TCP/IP address and LOOPBACK interface are active:</strong></p>
|
||
|
<ol type="a">
|
||
|
<li><p>On the Configure TCP/IP menu, select option 1 (Work with TCP/IP interfaces).</p></li>
|
||
|
<li><p>Press <strong>F11</strong> to display the interface status.</p></li>
|
||
|
<li><p>Verify that the TCP/IP address is active. If it is not active, specify option 9 (Start).</p></li>
|
||
|
<li><p>Verify that the LOOPBACK interface with IP address 127.0.0.1 is active. If it is not active, specify option 9 (Start) next to the entry with IP address <strong>127.0.0.1</strong> and press <strong>Enter</strong>.</p></li>
|
||
|
<li><p>Press <strong>F3</strong> to return to the Configure TCP/IP menu.</p></li>
|
||
|
</ol></li>
|
||
|
|
||
|
<li><p><strong>Verify your TCP/IP host name:</p></strong>
|
||
|
<ol type="a">
|
||
|
<li><p>On the Configure TCP/IP menu, select option 12 (Change TCP/IP domain information).</p></li>
|
||
|
<li><p>Verify that the TCP/IP host name is correct. If the host name is not correct, type the correct host name in the <strong>Host name</strong> field and press <strong>Enter</strong>. If the host name is correct, press <strong>F3</strong> to return to the Configure TCP/IP menu.</p>
|
||
|
<p><strong>Note:</strong> The host name cannot be *NONE.</p></li>
|
||
|
<li><p>Press <strong>F3</strong> to return to the command line.</p></li>
|
||
|
</ol></li>
|
||
|
|
||
|
<li><p><strong>Start TCP/IP:</strong></p>
|
||
|
<p>If TCP/IP is not started or if you don't know if TCP/IP is started, enter the Start TCP/IP (STRTCP) command on an CL command line.
|
||
|
</p></li>
|
||
|
|
||
|
<li><p><strong>Verify that the server's IP address is associated with the host name:</strong></p>
|
||
|
<p>Enter this command on an CL command line:</p>
|
||
|
<pre> ping <em>hostname</em></pre>
|
||
|
<p>where <tt><em>hostname</em></tt> is the host name displayed in <strong>Verify a TCP/IP host name</strong>. Verify that the ping is successful and the resulting IP address is correct.</p>
|
||
|
|
||
|
<p>Here is sample output from a successful ping command:</p>
|
||
|
|
||
|
<pre> Verifying connection to host system MYSYSTEM.MYCOMPANY.COM at address
|
||
|
1.2.3.4.
|
||
|
PING reply 1 from 1.2.3.4 took 0 ms. 256 bytes. TTL 64.
|
||
|
PING reply 2 from 1.2.3.4 took 0 ms. 256 bytes. TTL 64.
|
||
|
PING reply 3 from 1.2.3.4 took 0 ms. 256 bytes. TTL 64.
|
||
|
PING reply 4 from 1.2.3.4 took 0 ms. 256 bytes. TTL 64.
|
||
|
PING reply 5 from 1.2.3.4 took 0 ms. 256 bytes. TTL 64.
|
||
|
Round-trip (in milliseconds) min/avg/max = 0/0/0
|
||
|
Connection verification statistics: 5 of 5 successful (100 %).</pre>
|
||
|
|
||
|
<p>If the ping fails, follow these steps:</p>
|
||
|
<ol type="a">
|
||
|
<li><p>Enter the Configure TCP/IP (CFGTCP) command on an CL command line.</p></li>
|
||
|
<li><p>On the Configure TCP/IP menu, select Option 10 (Work with TCP/IP host table entries).</p></li>
|
||
|
<li><p>Configure the iSeries system short name to the active IP address that was listed in the first step ("Verify that your TCP/IP address and LOOPBACK interface are active"):</p>
|
||
|
<ol type="i">
|
||
|
<li><p>Select Option 2 (Change), and type your IP address in the <strong>Internet address</strong> field. Press <strong>Enter</strong>.</p></li>
|
||
|
<li><p>In the Change TCP/IP Host Table Entry (CHGTCPHTE) menu, edit the <strong>Hostnames: Name field</strong> to match the short name of your iSeries server. Press <strong>Enter</strong>.</p></li>
|
||
|
</ol>
|
||
|
<p><strong>Note:</strong> The *ADMIN instance of the HTTP server will not start without a host name.</p></li>
|
||
|
</ol></li>
|
||
|
|
||
|
<li><p><strong>Verify your system configuration:</strong></p>
|
||
|
<p>The IPTest Java utility is shipped with the WebSphere Application Server - Express product and can be used to debug TCP/IP configuration problems. To run this utility, enter this command on an CL command line:</p>
|
||
|
<pre> RUNJVA CLASS(IPTest) CLASSPATH('/QIBM/ProdData/WebASE/ASE5/bin')</pre>
|
||
|
|
||
|
<p><strong>Note:</strong> The class name parameter that you specify for CLASS (IPTest) is case-sensitive.</p>
|
||
|
|
||
|
<p>This display illustrates the output from this command:</p>
|
||
|
<table border="1"><tr><td><pre> Java Shell Display
|
||
|
|
||
|
Local Address: 12.34.56.78
|
||
|
Local Name: MYSYSTEM.MYCOMPANY.COM
|
||
|
All addresses for MYSYSTEM.MYCOMPANY.COM:
|
||
|
12.34.56.78
|
||
|
Java Program Completed
|
||
|
|
||
|
|
||
|
|
||
|
===>___________________________________________________________________________
|
||
|
_______________________________________________________________________________
|
||
|
_______________________________________________________________________________
|
||
|
_______________________________________________________________________________
|
||
|
F3=Exit F6=Print F9=Retreive F12=Exit
|
||
|
F13=Clear F17=Top F18=Bottom F21=CL Command Entry
|
||
|
</pre></td></tr></table>
|
||
|
|
||
|
|
||
|
<p>The Local Address is the IP address for your iSeries server. This value must not be blank and must match the IP address verified in the first step ("Verify that your TCP/IP address and LOOPBACK interface are active"). The Local Name is the domain-qualified host name for your iSeries server. If this value is blank, see the instructions in the first step. Press <strong>F3</strong> to exit.
|
||
|
</p>
|
||
|
<p><strong>Note:</strong> If a host name has not been configured for your iSeries server, you will receive an UnknownHostException message.</p></li>
|
||
|
</ol>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<p><a href="invrfy.htm"><img src="was2088.gif" width="246" height="55" alt="You have completed step 3 of 4. Go on to step 4." border="0"></a></p>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
|