ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajw_5.4.0.1/rzajwlbvip.htm

134 lines
10 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="concept" />
<meta name="DC.Title" content="Scenario: Adapter failover using virtual IP and proxy ARP" />
<meta name="abstract" content="This solution requires you to have an external load balancing machine, such as IBM eNetwork Dispatcher. Virtual IP addresses allow you to assign an address to the system rather than to a specific interface. You can define the same address to multiple servers, which allows many new options for load balancing." />
<meta name="description" content="This solution requires you to have an external load balancing machine, such as IBM eNetwork Dispatcher. Virtual IP addresses allow you to assign an address to the system rather than to a specific interface. You can define the same address to multiple servers, which allows many new options for load balancing." />
<meta name="DC.Relation" scheme="URI" content="rzajwloadbasics.htm" />
<meta name="DC.Relation" scheme="URI" content="rzajwconfiglb.htm" />
<meta name="DC.Relation" scheme="URI" content="rzajwcpil.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="rzajwlbvip" />
<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>Scenario: Adapter failover using virtual IP and proxy ARP</title>
</head>
<body id="rzajwlbvip"><a name="rzajwlbvip"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Scenario: Adapter failover using virtual IP and proxy ARP</h1>
<div><p>This solution requires you to have an external load balancing machine,
such as IBM<sup>®</sup> eNetwork
Dispatcher. Virtual IP addresses allow you to assign an address to the system
rather than to a specific interface. You can define the same address to multiple
servers, which allows many new options for load balancing.</p>
<div class="section" id="rzajwlbvip__situation"><a name="rzajwlbvip__situation"><!-- --></a><h4 class="sectionscenariobar">Situation</h4><p>Your
production iSeries™ handles
data entry from both remote and LAN clients. It has the company's critical
application on it. As the company has grown, so has its demand on the iSeries server
and the network. Because of the growth, it has become imperative that this iSeries server
be available on the network without an unscheduled down time. If, for any
reason, a network adapter becomes unavailable, other network adapters on the iSeries server
should take over and the network clients should be unaware of any failures.</p>
</div>
<div class="section" id="rzajwlbvip__objective"><a name="rzajwlbvip__objective"><!-- --></a><h4 class="sectionscenariobar">Objectives</h4><p>The
concept of availability has many different aspects of redundancy and backup
for failing components. In this scenario, the goal is to provide network availability
to the iSeries server
for its clients in the event of an adapter failure.</p>
</div>
<div class="section" id="rzajwlbvip__details"><a name="rzajwlbvip__details"><!-- --></a><h4 class="sectionscenariobar">Details</h4><p>One
way to handle the preceding situation is to have multiple physical connections
to the LAN from the iSeries server. Consider the following figure.</p>
<div class="fignone"><span class="figcap">Figure 1. Adapter failover without local clients</span><br /><img src="rzajw528.gif" alt="Adapter failover without local clients" /><br /></div>
<p>Each physical connection has a different IP address. Then you can
assign a virtual IP address to the system. This virtual IP address is the
IP address by which all of its clients recognize it. All remote clients (clients
that are not physically attached to the same LAN as the iSeries server)
communicate with the iSeries server through an external load balancing
server such as a network dispatcher. When the IP requests from the remote
clients go through the network dispatcher, the network dispatcher routes the
virtual IP addresses to one of the network adapters on the iSeries server.</p>
<p><img src="./delta.gif" alt="Start of change" />If the LAN that the iSeries server is connected to has clients,
these clients will not use the network dispatcher to direct their locally
bound traffic because that will unnecessarily overload the network dispatcher.
You can create route entries on each client that are similar to the route
tables in the network dispatcher. However, this will be impractical if the
LAN has a large number of local clients. This situation is described in the
following figure.<img src="./deltaend.gif" alt="End of change" /></p>
<div class="fignone" id="rzajwlbvip__failoverlocal"><a name="rzajwlbvip__failoverlocal"><!-- --></a><span class="figcap">Figure 2. Adapter failover with
local clients</span><br /><img src="rzajw526.gif" alt="Adapter failover with local clients" /><br /></div>
<p>As of OS/400<sup>®</sup> V5R2,
local clients (clients that are attached to the same LAN as the iSeries server)
can connect to the virtual IP address of the iSeries server through ARP. This allows
local clients to have an adapter failover solution as well. </p>
<p><img src="./delta.gif" alt="Start of change" />In
each case, neither local clients nor remote clients are aware of the failover
when it occurs. The system chooses which adapters and IP addresses are the
preferred interface for virtual IP address (VIPA) proxy Address Resolution
Protocol (ARP) agent selection.<img src="./deltaend.gif" alt="End of change" /></p>
<p><img src="./delta.gif" alt="Start of change" />Starting with i5/OS™ V5R4, you
can manually select which adapters and IP addresses are to be the preferred
interface for VIPA proxy ARP agent selection. You can select which interface
to use by creating a preferred interface list if an adapter failure occurs.
A preferred interface list is an ordered list of the interface addresses that
will take over for the failed adapters. You can use either iSeries Navigator
or the Change TCP/IP IPv4 Interface (QTOCC4IF) application programming interface
(API) to configure a preferred interface list. The preferred interface list
is also configurable for both virtual Ethernet and virtual IP address interfaces.<img src="./deltaend.gif" alt="End of change" /></p>
<p><img src="./delta.gif" alt="Start of change" />Using <a href="#rzajwlbvip__failoverlocal">Figure 2</a> as
an example, remote clients are communicating with the local system using virtual
IP address 10.1.1.7. Suppose 10.1.1.4 is the initial local adapter being used
for this communication, and you want 10.1.1.5 to take over if 10.1.1.4 fails.
You also want interface 10.1.1.6 to take over if both adapters for 10.1.1.4
and 10.1.1.5 have failed. To control the order in which these interfaces are
used in a failover situation, you can define a preferred interface list for
virtual IP address 10.1.1.7. In this case, it is an ordered list of interface
addresses that consists of 10.1.1.4, 10.1.1.5, and 10.1.1.6.<img src="./deltaend.gif" alt="End of change" /></p>
<p>The solution
can also involve using two or more iSeries servers to support each other.
If one of the iSeries systems
become unavailable, then the second system can serve as a failover. The following
figure shows the same setup using two iSeries servers.</p>
<div class="fignone"><span class="figcap">Figure 3. Adapter
failover with multiple iSeries and local clients</span><br /><img src="rzajw527.gif" alt="Adapter failover with multiple iSeries and local clients" /><br /></div>
<p>The packet routing is the same as routing for a single iSeries server
and its remote clients; however, there is a distinct difference for the local
clients. If you have multiple iSeries servers using the same virtual
IP address, you can only proxy for one of the iSeries servers. In this case, you will
have the iSeries server
with the two LAN connections serve as the proxy.</p>
</div>
<div class="section" id="rzajwlbvip__steps"><a name="rzajwlbvip__steps"><!-- --></a><h4 class="sectionscenariobar">Configuration
steps</h4><p><img src="./delta.gif" alt="Start of change" />The configuration for load balancing using virtual
IP and proxy ARP is very similar to standard TCP/IP configurations with the
addition of a virtual TCP/IP interface.<img src="./deltaend.gif" alt="End of change" /></p>
</div>
</div>
<div>
<ol>
<li class="olchildlink"><a href="rzajwconfiglb.htm">Configure load balancing using virtual IP and proxy ARP</a><br />
Use these configuration steps for load balancing using virtual IP and proxy ARP.</li>
<li class="olchildlink"><a href="rzajwcpil.htm">Create a preferred interface list</a><br />
You can create a preferred interface list to control the order in which the local interfaces are used when an adapter failure occurs.</li>
</ol>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajwloadbasics.htm" title="Workload balancing is redistributing network traffic and workload of heavily accessed machines across multiple processors, multiple interface adapters, or multiple host servers.">TCP/IP workload balancing methods</a></div>
</div>
</div>
</body>
</html>