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

71 lines
4.8 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="DNS-based load balancing" />
<meta name="abstract" content="You can use DNS-based load balancing for your inbound workload. If load balancing is needed for local clients, use DNS load balancing." />
<meta name="description" content="You can use DNS-based load balancing for your inbound workload. If load balancing is needed for local clients, use DNS load balancing." />
<meta name="DC.Relation" scheme="URI" content="rzajwloadbasics.htm" />
<meta name="DC.Relation" scheme="URI" content="rzajwstatic.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="rzajwdnsrr" />
<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>DNS-based load balancing</title>
</head>
<body id="rzajwdnsrr"><a name="rzajwdnsrr"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DNS-based load balancing</h1>
<div><p>You can use DNS-based load balancing for your inbound workload.
If load balancing is needed for local clients, use DNS load balancing.</p>
<p>DNS-based load balancing is used for inbound load balancing. Multiple host
IP addresses are configured in DNS for a single host server name. DNS alternates
the host IP address returned to a successive client host name resolution request.
An advantage to this type of load balancing is that it is a common DNS function.
Disadvantages to this solution are that IP addresses can be cached by a client
and it is a connection-based solution, not a load-based solution.</p>
<p>The first way to achieve load balancing is to use a DNS function to pass
out multiple addresses for the same system name. The DNS will serve a different
IP address each time a request is made for the address record for your system
name. In the following example, each address corresponds to a different system.
This allows you to provide load balancing across two separate systems. In
the case of clients on the private networks, they receive a different address
for each request. This is a common DNS function. Notice that the public DNS
also has two address entries. These addresses are translated using static
NAT so that if you are on the Internet, you can reach the two systems.</p>
<br /><img src="rzajw518.gif" alt="DNS-based load balancing" /><br /><p>If your programs depend on getting to a specific system or depend on returning
to the same system after the initial connection, the Web pages and site should
be coded to send a different system name after the first contact is made.
Additional DNS entries can be added for MyServer1 208.222.150.10 and MyServer2
208.222.150.11. By doing this, the Web sites, for example, can point to MyServer2
after the first contact. This type of load balancing provides balancing by
the connection request. In most cases, after you have resolved
the address the client caches the address and will not ask again. This type
of load balancing does not consider the amount of traffic going to each system.
Note that this type of load balancing only considers inbound traffic and also
that you can have two adapters on one system rather than one adapter on two
systems.</p>
</div>
<div>
<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 class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzajwstatic.htm" title="Static NAT can use inbound connections from a public network into a private network.">Static NAT</a></div>
</div>
</div>
</body>
</html>