ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakh_5.4.0.1/rzakhconfigbackupkdc.htm

127 lines
8.6 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="task" />
<meta name="DC.Title" content="Configure secondary Kerberos server" />
<meta name="abstract" content="Configure a secondary Kerberos server to use as a backup server." />
<meta name="description" content="Configure a secondary Kerberos server to use as a backup server." />
<meta name="DC.Relation" scheme="URI" content="rzakhconfigpase.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakhconfigwkstation.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="rzakhconfigbackupkdc" />
<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>Configure secondary Kerberos server</title>
</head>
<body id="rzakhconfigbackupkdc"><a name="rzakhconfigbackupkdc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Configure secondary Kerberos server</h1>
<div><p>Configure a secondary Kerberos server to use as a backup server.</p>
<div class="p">After you have configured the primary <a href="rzakhconfigpase.htm#rzakhconfigpase">Kerberos
server in i5/OS™ PASE</a>,
you can optionally configure a secondary Kerberos server to use as a backup
server in case your primary Kerberos server goes down or is too busy to handle
requests.<p>For example, you currently use iSeries™ A as your Kerberos server. Now
you want to configure iSeries B to be your secondary (backup) Kerberos
server.</p>
<div class="note"><span class="notetitle">Note:</span> A Kerberos server is also known as a key distribution center
(KDC).</div>
<p>The following figure illustrates the iSeries servers described in the following
instructions.<br /><img src="rzakh514.gif" alt="Configure a secondary Kerberos server" /><br /></p>
<p><strong>Details</strong></p>
<ul><li>The figure illustrates the servers as they appear after you have completed
the steps for configuring a secondary Kerberos server:<ul><li>iSeries A
acts as the primary Kerberos server configured in i5/OS PASE.</li>
<li>iSeries B
acts as the secondary Kerberos server configured in i5/OS PASE.</li>
<li>iSeries C
acts as the client enabled to use iSeries B as its Kerberos server.</li>
</ul>
</li>
</ul>
<p>To configure iSeries B to be a secondary Kerberos server in i5/OS PASE,
follow these steps:</p>
</div>
<ol><li class="stepexpand"><span>Configure iSeries B as a client.</span><ol type="a"><li class="substepexpand"><span>In a character-based interface on iSeries B, type <kbd class="userinput">call QP2TERM</kbd>.</span> This command opens an interactive shell environment that allows you
to work with i5/OS PASE
applications.</li>
<li class="substepexpand"><span>At the command line, enter: </span> <p><kbd class="userinput">export PATH=$PATH:/usr/krb5/sbin</kbd></p>
<p>This
command points to the Kerberos scripts that are necessary to run the executable
files.</p>
</li>
<li class="substepexpand"><span>At the command line, enter:</span> <img src="./delta.gif" alt="Start of change" /><p><kbd class="userinput">config.krb5 -E -d rchland.ibm.com -r MYCO.COM -s lp16b1b.rchland.ibm.com</kbd></p><img src="./deltaend.gif" alt="End of change" />
</li>
<li class="substepexpand"><img src="./delta.gif" alt="Start of change" /><span>Enter the administrator password; for example: <kbd class="userinput">secret</kbd></span><img src="./deltaend.gif" alt="End of change" /></li>
</ol>
<p><img src="./delta.gif" alt="Start of change" />The <span class="cmdname">config.krb5</span> command
configures the client, primary server, and secondary server. The <span class="parmname">-C</span> flag
configures the client on iSeries C. The <span class="parmname">-s</span> flag configures
the primary Kerberos server on iSeries A. The <span class="parmname">-E</span> flag
configures the secondary Kerberos server on iSeries B.<img src="./deltaend.gif" alt="End of change" /></p>
</li>
<li class="stepexpand"><span>Add an i5/OS principal for iSeries A and iSeries B to the Kerberos server on iSeries A.</span><ol type="a"><li class="substepexpand"><span>In a character-based interface on iSeries A, enter <kbd class="userinput">call QP2TERM</kbd>.</span> This command opens an interactive shell environment that allows you
to work with i5/OS PASE
applications.</li>
<li class="substepexpand"><span>At the command line, enter:</span> <p><kbd class="userinput">export PATH=$PATH:/usr/krb5/sbin</kbd></p>
<p>This
command points to the Kerberos scripts that are necessary to run the executable
files.</p>
</li>
<li class="substepexpand"><span>At the command line, enter <tt>kadmin -p admin/admin</tt>.</span></li>
<li class="substepexpand"><span>Sign in with administrator's password. For example, <tt>secret</tt>.</span></li>
<li class="substepexpand"><span>At the command line, enter:</span> <p><tt>addprinc -randkey -clearpolicy host/iseriesa.myco.com</tt></p>
</li>
<li class="substepexpand"><span>At the command line, enter:</span> <p><tt>addprinc -randkey -clearpolicy host/iseriesb.myco.com</tt></p>
</li>
</ol>
</li>
<li class="stepexpand"><img src="./delta.gif" alt="Start of change" /><span>Propagate the master database from the primary Kerberos
server to the secondary Kerberos server.</span><ol type="a"><li class="substepexpand"><span>In a character-based interface on iSeries A, enter <kbd class="userinput">call QP2TERM</kbd>.</span> This command opens an interactive shell environment that allows you
to work with i5/OS PASE
applications.</li>
<li class="substepexpand"><span>At the command line, enter:</span> <p><kbd class="userinput">export PATH=$PATH:/usr/krb5/sbin</kbd></p>
<p>This
command points to the Kerberos scripts that are necessary to run the executable
files.</p>
</li>
<li class="substepexpand"><span>At the command line, enter:</span> <p><kbd class="userinput">/usr/krb5/sbin/config.krb5 -P -r MYCO.COM -d rchland.ibm.com -e rchasrc2.rchland.ibm.com</kbd></p>
<div class="tip"><span class="tiptitle">Tip:</span> You can cut and paste the command in the message
on the primary Kerberos system.</div>
<p>The <span class="parmname">-P</span> flag
propagates the master database from the primary Kerberos server to the secondary
Kerberos server. The <span class="parmname">-r</span> flag specifies the realm name.
The <span class="parmname">-d</span> flag specifies the name of the DNS domain. The <span class="parmname">-e</span> flag
specifies the host name of the secondary Kerberos server.</p>
</li>
</ol>
<img src="./deltaend.gif" alt="End of change" /></li>
<li class="stepexpand"><img src="./delta.gif" alt="Start of change" /><span>On the secondary Kerberos server, verify that the master
database has been propagated successfully.</span><ol type="a"><li class="substepexpand"><span>On the secondary Kerberos server, answer <kbd class="userinput">Y</kbd> to
the following prompt: <tt class="sysout">Have you successfully run the above command?</tt></span></li>
<li class="substepexpand"><span>Enter the database master password; for example: <tt>pasepwd</tt>.</span> This command picks up the master key.</li>
</ol>
<img src="./deltaend.gif" alt="End of change" /></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakhconfigpase.htm" title="Configure and manage a Kerberos server from your iSeries system to provide an integrated runtime environment for AIX applications.">Configure a Kerberos server in i5/OS PASE</a></div>
<div class="previouslink"><strong>Previous topic:</strong> <a href="rzakhconfigwkstation.htm" title="Configure your client workstations by setting the Kerberos realm and the Kerberos server.">Configure Windows 2000 and Windows XP workstations</a></div>
</div>
</div>
</body>
</html>