ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahy_5.4.0.1/rzahygatewaytop.htm

151 lines
7.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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))' />
<title>Directory Server (LDAP) - Set up a gateway topology</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<img src="delta.gif" alt="Start of change" />
<a name="rzahygatewaytop"></a>
<h3 id="rzahygatewaytop">Set up a gateway topology</h3>
<p> Before starting to set up your replication topology, make a backup copy
of your original ibmslapd.conf file. You can use this backup copy to restore
your original configuration if you encounter difficulties with replication.</p>
<p>To set up a gateway using the complex topology with peer replication from
the procedure in <a href="rzahypromoteserver.htm#rzahypromoteserver">Promote a server to be a peer</a>, you must complete the
following steps:</p>
<ul>
<li>Convert an existing peer server (peer 1) to a gateway server to create
replication site 1.</li>
<li>Create a new gateway server for replication site 2 and agreements with
peer 1.</li>
<li>Create the topology for replication site 2 (not illustrated in this example).</li>
<li>Copy the data from the master to all the machines in the topology.</li></ul>
<p><span class="bold">Convert an existing peer server to a gateway server</span></p>
<ol type="1">
<li>Use the Web administration tool to log in to the master (server1).</li>
<li>Expand the <span class="bold">Replication management</span> category
in the navigation area and click <span class="bold">Manage topology</span>.</li>
<li>Select the subtree that you want to replicate and click <span class="bold">Show topology</span>.</li>
<li>Click the arrow next to the <span class="bold">Replication topology</span> selection
to expand the list of servers.</li>
<li>To convert an existing server to a gateway server, select <span class="bold">server1</span> or its peer <span class="bold">server5</span>. For this example use <span class="bold">server1</span>.</li>
<li>Click <span class="bold">Edit server</span>.</li>
<li>Verify that <span class="bold">Server is a master</span> is checked and then
select <span class="bold">Server is a gateway</span>.</li>
<li>Click <span class="bold">OK</span>.
<a name="wq257"></a>
<div class="notetitle" id="wq257">Note:</div>
<div class="notebody">If the server you want
to use as a gateway is not already a master, it must be a leaf replica with
no subordinate replicas that you can first promote to be a master and then
designate as a gateway.</div></li></ol>
<p><span class="bold">Create a gateway server and copy data from the master
to all machines in the topology</span></p>
<ol type="1">
<li>Select <span class="bold">server1</span> and click <span class="bold">Add replica</span>.</li>
<li>Create the new replica, <span class="bold">server9</span>. See <a href="rzahycreaterep.htm#rzahycreaterep">Create a replica server</a> for
information about creating replicas, adding credentials, and supplier information.</li>
<li>Select <span class="bold">server9</span> and click <span class="bold">Move</span>.</li>
<li>Select <span class="bold">Replication topology</span> to promote the replica
to a master. Click <span class="bold">Move</span>.</li>
<li>The <span class="bold">Create additional supplier agreements</span> panel
is displayed. In this panel, ensure that the supplier agreement boxes are
checked for server1 only.
<a name="wq259"></a>
<table id="wq259" width="90%" summary="" border="1" frame="border" rules="all">
<thead valign="bottom">
<tr>
<th id="wq260" width="9%" align="center" valign="top"></th>
<th id="wq261" width="45%" align="center" valign="top">Supplier</th>
<th id="wq262" width="45%" align="center" valign="top">Consumer</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center" headers="wq260">X</td>
<td headers="wq261">server9</td>
<td headers="wq262">server1</td>
</tr>
<tr>
<td align="center" headers="wq260"></td>
<td headers="wq261">server9</td>
<td headers="wq262">server2</td>
</tr>
<tr>
<td align="center" headers="wq260"></td>
<td headers="wq261">server9</td>
<td headers="wq262">server4</td>
</tr>
<tr>
<td align="center" headers="wq260"></td>
<td headers="wq261">server9</td>
<td headers="wq262">server5</td>
</tr>
</tbody>
</table>Click <span class="bold">Continue</span>.
<a name="wq263"></a>
<div class="notetitle" id="wq263">Note:</div>
<div class="notebody">In some cases
the <span class="bold">Select credentials</span> panel is shown asking
for a credential that is located in a place other than cn=replication,cn=localhost.
In such situations you must provide a credential object that is located in
a place other than cn=replication,cn=localhost. Select the credentials the
subtree is going to use from the existing sets of credentials or create new
credentials. See <a href="rzahycreatecreds.htm#rzahycreatecreds">Create credentials</a>.</div></li>
<li>Click <span class="bold">OK</span>.</li>
<li>Select <span class="bold">server9</span> and click <span class="bold">Edit server</span>.</li>
<li>Verify that <span class="bold">Server is a master</span> is checked and then
select <span class="bold">Server is a gateway</span>.</li>
<li>Click <span class="bold">OK</span>. The server roles are represented by icons
in the Web administration tool. Your topology is now:
<ul>
<li>server1 (master-gateway for replication site1)
<ul>
<li>server2 (forwarder)
<ul>
<li>server3 (replica)</li>
<li>server6 (replica)</li></ul></li>
<li>server4 (forwarder)
<ul>
<li>server7 (replica)</li>
<li>server8 (replica)</li></ul></li>
<li>server5 (master)</li>
<li>server9 (master-gateway for replication site 2)</li></ul></li>
<li>server5 (master)
<ul>
<li>server1 (master)</li>
<li>server2 (forwarder)</li>
<li>server4 (forwarder)</li></ul></li>
<li>server9 (master-gatway)
<ul>
<li>server1 (master-gateway)</li></ul></li></ul></li>
<li>Add replica servers to <span class="bold">server9</span> to create the topology
for replication site 2.</li>
<li>Repeat this process to create additional replication sites. Remember to
create only one gateway server per replication site.</li>
<li>When you have finished creating the topology, copy the data from server1
to all the new servers in all the replication sites and add the supplier information
to all the new servers. See <a href="rzahyexportdata.htm#rzahyexportdata">Copy data to the replica</a> and <a href="rzahyaddsupply.htm#rzahyaddsupply">Add the supplier information to the replica</a> for
information on how to do that.</li></ol><img src="deltaend.gif" alt="End of change" />
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>