Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Guida di Installazione

Navigare online o scaricare Guida di Installazione per Server Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION. Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Installation guide [en] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Installation Guide

Red Hat Directory Server 8.08.0Installation GuideISBN:Publication date: January 11, 2008

Pagina 3 - Copyright © 2008

Directive Description Requireduser nobody on Linux andSolaris and daemon onHP-UX. This should bechanged for mostdeployments.SuiteSpotGroup Specifies t

Pagina 4

Directive Description Required ExampleSection 2.1, “PortNumbers”.ServerIdentifier Specifies the serveridentifier. This valueis used as part of thename

Pagina 5

Directive Description Required Exampledirective is used andInstallLdifFile isalso used, then thisdirective has noeffect. The default isno.InstallLdifF

Pagina 6

Directive Description Required ExampleThis should bechanged for mostdeployments. Forinformation as to whatusers your serversshould run, seeSection 2.2

Pagina 7

Directive Description Required ExampleServer.Table 6.4. [admin] Directives3.5.2. Sample .inf Files[General]FullMachineName= ldap.example.comSuiteSpotU

Pagina 8 - 1. Document Conventions

UseExistingUG= NoServerPort= 18257ServerIdentifier= directorySuffix= dc=example,dc=comRootDN= cn=Directory ManagerUseReplication= NoAddSampleEntries=

Pagina 9 - 2. We Need Feedback!

/usr/sbin/ds_removal -s example3 -w itsasecret2. Stop the Administration Server./etc/init.d/dirsrv-admin stop3. Then use the system tools to remove th

Pagina 10

rm -Rf /export/ds804. Remove the symlinks to the directories. For example:rm -f /opt/dirsrv /var/opt/dirsrv /etc/opt/dirsrv4.2.3. SolarisTo uninstall

Pagina 12

General Usage InformationThis chapter contains common information that you will use after installing Red Hat DirectoryServer 8.0, such as where files

Pagina 13 - 2.4. Directory Administrator

Preparing for a Directory ServerInstallationBefore you install Red Hat Directory Server 8.0, there are required settings and information thatyou need

Pagina 14 - 2.7. Configuration Directory

File or Directory LocationLog files /var/log/dirsrv/slapd-instanceConfiguration files /etc/dirsrv/slapd-instanceInstance directory /usr/lib64/dirsrv/s

Pagina 15 - 2.8. Administration Domain

File or Directory LocationLog files /var/opt/log/dirsrv/slapd-instanceConfiguration files /etc/opt/dirsrv/slapd-instanceInstance directory /opt/dirsrv

Pagina 16

NOTEMake sure that the correct JRE — the program called java — is set in the PATHbefore launching the Console.When the login screen opens, you are pro

Pagina 17

/usr/lib/dirsrv/slapd-instance/start-slapd/usr/lib/dirsrv/slapd-instance/restart-slapd/usr/lib/dirsrv/slapd-instance/stop-slapd• The Directory Server

Pagina 18 - .inf that is

Passwords are stored in the Directory Server databases and can be modified with tools likeldapmodify and through the Directory Server Console. The Dir

Pagina 19 - 4. Overview of Setup

7. Troubleshooting7.1. Running dsktunedsktune runs when the Directory Server is first set up to check for minimum operatingrequirements. After the set

Pagina 20

7.2. Common Installation ProblemsThere are several common problems that can come up during the setup process, generallyrelating to network or naming p

Pagina 21 - 389/o=NetscapeRoot

Migrating from Previous VersionsRed Hat Directory Server 6.x and 7.x instances can be migrated to Directory Server 8.0.Migration carries over all data

Pagina 22

WARNINGIf Directory Server databases have been moved from their default location(/opt/redhat-ds/slapd-instancename/db), migration will not copy thesed

Pagina 23

On Red Hat Enterprise Linux and Solaris machines, the migrate-ds-admin toolis in the /usr/sbin/ directory. On HP-UX machines, the migrate-ds-admin isi

Pagina 24

one for the Administration Server. These port numbers must be unique.The Directory Server instance (LDAP) has a default port number of 389. The Admini

Pagina 25 - System Requirements

Option Alternate Options Descriptionon the machine.--file=name -f name This sets the path and nameof the .inf file provided withthe migration script.

Pagina 26 - 2.1. Using dsktune

Option Alternate Options DescriptionTable 8.1. migrate-ds-admin Optionsmigrate-ds-admin.pl allows the password parameter to be provided on the command

Pagina 27

• Shut down all Directory Server instances and the Administration Server.• Back up all of your databases.• For servers which have a different configur

Pagina 28 - Requirements

4. Migration ScenariosThe migration scenario differs depending on the type of existing Directory Server configurationyou have. It is possible to migra

Pagina 29 - 2.2.2.2. File Descriptors

WARNINGIf Directory Server databases have been moved from their default location(/opt/redhat-ds/slapd-instancename/db), migration will not copy thesed

Pagina 30 - 2.3. HP-UX 11i

/opt/redhat-ds/ is the directory where the old Directory Server is installed.The migration process starts. The legacy Directory Server is migrated, an

Pagina 31 - 2.3.1. HP-UX Patches

This issue does not occur in cross-platform migrations or migrating using LDIFfiles instead of the binary databases because these already work with an

Pagina 32 - 2.3.2.3. TIME_WAIT Setting

and then for the replicas.4.3. Migrating a Directory Server from One Machine to AnotherTo migrate a Directory Server installation from one machine to

Pagina 33 - 2.4. Sun Solaris 9

NFS-mounted directory:# /usr/sbin/migrate-ds-admin.pl --oldsroot server2:/migration/opt/redhat-ds--actualroot /opt/redhat-ds General.ConfigDirectoryAd

Pagina 34 - 2.4.1. Solaris Patches

For example:# /usr/sbin/migrate-ds-admin.pl --oldsroot server2:/migration/opt/redhat-ds--actualsroot /opt/redhat-dsGeneral.ConfigDirectoryAdminPwd=pas

Pagina 35

Section 2.2, “Directory Server User and Group” has more information about the server user ID.2.2. Directory Server User and GroupThe setup process set

Pagina 36 - 2.4.2.2. TCP Tuning

1. Stop all Directory Server instances and the Administration Server.2. Back up all the Directory Server user and configuration data.3. Export all of

Pagina 37 - 2.4.2.4. File Descriptors

GlossaryAaccess control instruction See ACI.ACI An instruction that grants or denies permissions to entries inthe directory.See Also access control in

Pagina 38

value.attribute list A list of required and optional attributes for a given entry typeor object class.authenticating directoryserverIn pass-through au

Pagina 39

uses the HTTP protocol to communicate with the host server.browsing index Speeds up the display of entries in the Directory ServerConsole. Browsing in

Pagina 40 - 1. Installing the JRE

ciphertext Encrypted information that cannot be read by anyone withoutthe proper key to decrypt the information.class definition Specifies the informa

Pagina 41

data master The server that is the master source of a particular piece ofdata.database link An implementation of chaining. The database link behaves l

Pagina 42 - 3. Express Setup

to a different host#specifically a DNS CNAME record.Machines always have one real name, but they can have oneor more aliases. For example, an alias su

Pagina 43

gateway See Directory Server Gateway.general access When granted, indicates that all authenticated users canaccess directory information.GSS-API Gener

Pagina 44

indirect CoS An indirect CoS identifies the template entry using the value ofone of the target entry's attributes.international index Speeds up s

Pagina 45 - 4. Typical Setup

Access Protocol See LDAP.locale Identifies the collation order, character type, monetary formatand time / date format used to present data for users o

Pagina 46

this user administrative access.There are important differences between the Directory Administrator and the Directory Manager:• The administrator cann

Pagina 47

directory tree.monetary format Specifies the monetary symbol used by specific region,whether the symbol goes before or after its value, and howmonetar

Pagina 48

object class Defines an entry type in the directory by defining whichattributes are contained in the entry.object identifier A string, usually of deci

Pagina 49 - 5. Custom Setup

protocol A set of rules that describes how devices on a networkexchange information.protocol data unit See PDU.proxy authentication A special form of

Pagina 50

process is called a referral.read-only replica A replica that refers all update operations to read-write replicas.A server can hold any number of read

Pagina 51

schema Definitions describing what types of information can be storedas entries in the directory. When information that does notmatch the schema is st

Pagina 52

See Also ns-slapd.SNMP Used to monitor and manage application processes running onthe servers by exchanging data about network activity. AlsoSimple Ne

Pagina 53

Ttarget In the context of access control, the target identifies thedirectory information to which a particular ACI applies.target entry The entries wi

Pagina 54

X.500 standard The set of ISO/ITU-T documents outlining the recommendedinformation model, object classes and attributes used bydirectory server implem

Pagina 56

Appendix A. Revision HistoryRevision HistoryRevision 8.0.0-4 Thurs. Jan. 10, 2008 EllaDeonLackey<[email protected]>Added note that Directory Se

Pagina 57

Server in your organization, you must determine which Directory Server instance will host theconfiguration directory tree, o=NetscapeRoot. Make this d

Pagina 59

IndexSymbols.inf file, 88directives, 89samples, 94AAdministration domain, 5Administration Serverconfiguring IP authorization, 79configuring proxy serv

Pagina 60

HP-UX, 20Solaris, 24HP-UXhardware requirements, 20required patches, 21system configuration, 22DNS, 23kernel parameters, 22Large file support, 23Perl,

Pagina 61

Solaris, 24PerlHP-UX, 22Red Hat Enterprise Linux, 19Solaris, 26Port numberfinding Administration Server, 102RRed Hat Enterprise Linux, 29custom setup,

Pagina 62

File descriptors, 19Perl, 19Solaris, 25DNS and NIS, 27File descriptors, 27Perl, 26TCP tuning, 26TThe port is in use, 106Troubleshootingdsktune, 105ins

Pagina 63

Would you like to continue with setup? [yes]:• Pressing Enter accepts the default answer and proceeds to the next dialog screen. Yes/Noprompts accept

Pagina 64

• An .inf file can be used in conjunction with command line parameters. Parameters set in thecommand line override those specified in an .inf file, wh

Pagina 65

Option Alternate Options Description Example--silent parameter;if used alone, it setsthe default values forthe setup prompts.--debug -d[dddd] This par

Pagina 66

Option Alternate Options Description Examplewhich to write theoutput. If this is notset, then the setupinformation is writtento a temporary file./expo

Pagina 67

This manual provides a high-level overview of design and planning decisions you need to makebefore installing Directory Server, and describes the diff

Pagina 68

NOTEIt is possible to use y and n with the yes and no inputs described in Section 3.5,“About .inf File Parameters”.SetupScreenParameterInputExpress Ty

Pagina 69 - Custom Setup

SetupScreenParameterInputExpress Typical Custom Silent SetupFileParameternew DirectoryServer withan existingConfigurationDirectoryServerSet theConfigu

Pagina 70

SetupScreenParameterInputExpress Typical Custom Silent SetupFileParameterAdministratorpasswordSet theDirectoryServer port389[slapd]ServerPort=389Set t

Pagina 71

SetupScreenParameterInputExpress Typical Custom Silent SetupFileParametersuch asou=People• Type none,which doesnot importany data[slapd]AddOrgEntries=

Pagina 73

System RequirementsBefore configuring the default Red Hat Directory Server 8.0 instances, it is important to verifythat the host server has the requir

Pagina 74

Number of Entries Disk Space/Required MemoryFree disk space: 8 GBFree memory: 1 GBTable 2.1. Hardware Requirements2. Operating System RequirementsDire

Pagina 75

instances so that you can properly configure your kernel settings and install any missingpatches. On Red Hat Enterprise Linux and Solaris, the dsktune

Pagina 76

Linux Patches”, and the recommended system configuration changes are described inSection 2.2.2, “Red Hat Enterprise Linux System Configuration”.Criter

Pagina 77

Criteria RequirementsRed Hat Enterprise Linux 5 Server (x86 andx86_64)Required Filesystem ext3Table 2.3. System Versions2.2.2. Red Hat Enterprise Linu

Pagina 78

Red Hat Directory Server 8.0: Installation GuideCopyright © 2008Copyright © You need to override this in your local ent file Red Hat. This material ma

Pagina 79

3. Then increase the maximum number of open files on the system by editing the/etc/security/limits.conf configuration file. Add the following entry:*

Pagina 80

Criteria Requirementsdeployment2 GB minimum for larger environments4 GB minimum for very large environments(more than a million entries)You must use t

Pagina 81

2.3.2. HP-UX System ConfigurationBefore setting up Directory Server, tune your HP-UX system so Directory Server can access therespective kernel parame

Pagina 82

This limits the socket TIME_WAIT state to 60 seconds.2.3.2.4. Large File SupportTo run Directory Server on HP-UX, you must enable large file support.1

Pagina 83

are listed in Section 2.4.1, “Solaris Patches”, and the recommended configuration changes aredescribed in Section 2.4.2, “Solaris System Configuration

Pagina 84

Patch ID Description112233-12 SunOS 5.9: Kernel patch112964-08 SunOS 5.9: /usr/bin/ksh patch112808 CDE1.5: Tooltalk patch113279-01 SunOS 5.9: klmmod p

Pagina 85

• Section 2.4.2.4, “File Descriptors”2.4.2.1. Perl PrerequisitesOn Solaris systems, Red Hat Directory Server is installed with a Perl package, RHATper

Pagina 86

connections. If you increase the rlim_fd_max value to over 4096, you must decrease thetcp_smallest_anon_port value in the /etc/init.d/inetinit file.nd

Pagina 88

Setting up Red Hat Directory Serveron Red Hat Enterprise LinuxInstalling and configuring Red Hat Directory Server on Red Hat Enterprise Linux has thre

Pagina 89 - /usr/bin/redhat-idm-console

Red Hat Directory Server 8.0

Pagina 90

NOTEThere is a fourth setup option called a silent installation. This provides two waysof performing the setup without user interaction, either by pas

Pagina 91

2. Log in as root, and install the JRE. For example:rpm -Uvh java-1.5.0-ibm-1.5.0.5-1jpp.2.el4.i386.rpmAfter installing the JRE, install the Directory

Pagina 92 - 3. Silent Setup

ls *.rpm | egrep -iv -e devel -e debuginfo | xargs rpm -ivh2. After the Directory Server packages are installed, run the setup-ds-admin.pl script to s

Pagina 93

match the /etc/resolv.conf settings, the setup program cannot use the defaulthostname option, and setup will fail.WARNINGIf Directory Server is alread

Pagina 94

NOTETo register the Directory Server instance with an existing Configuration DirectoryServer, select yes. This continues with the registration process

Pagina 95

Updating adm.conf . . .Updating admpw . . .Registering admin server with the configuration directory server . . .Updating adm.conf with information fr

Pagina 96 - .inf files and on the

ports for the Directory and Administration Servers, the domain name, and directory suffix.WARNINGIf Directory Server is already installed on your mach

Pagina 97 - /dev/null:

The hostname is very important. It is used generate the Directory Server instance name, theadmin domain, and the base suffix, among others. If you are

Pagina 98

This information is supplied in place of creating an admin user and domain forthe new Directory Server, steps 8, 9, and 10.8. Set the administrator us

Pagina 99 - 3.5.1. .inf File Directives

Creating directory server . . .Your new DS instance 'example2' was successfully created.Creating the configuration directory server . . .Beg

Pagina 100

Preface ... vii1. Document Convention

Pagina 101

you have existing information. The other imports sample data that is included with DirectoryServer; this is useful for testing features of Directory S

Pagina 102 - Table 6.3. [slapd] Directives

NOTEThe setup program gets the host information from the /etc/resolv.conf file. Ifthere are aliases in the /etc/hosts file, such as ldap.example.com,

Pagina 103 - ConfigDirectoryAdminID

• The Configuration Directory Server administrator's user ID; by default, this isadmin.• The administrator user's password.• The Configurati

Pagina 104 - 3.5.2. Sample .inf Files

16.Select whether you want to install sample entries with the Directory Server instance. Thismeans that an example LDIF, with preconfigured users, gro

Pagina 105 - 4.2.1. Linux

Exiting . . .Log file is '/tmp/setupul88C1.log'When the setup-ds-admin.pl script is done, then the Directory Server is configured andrunning

Pagina 106 - 4.2.2. HP-UX

Setting up Red Hat Directory Serveron HP-UX 11iInstalling and configuring Red Hat Directory Server on HP-UX has three major steps:1. Install the requi

Pagina 107 - 4.2.3. Solaris

Server and Administration Server”.This chapter describes the complete process for installing Directory Server on HP-UX 11i,including both the JRE and

Pagina 108

NOTEDirectory Server version 8.0 conforms to the Filesystem Hierarchy Standards.This means that the directories and files are in different locations t

Pagina 109 - General Usage Information

2. Select y to accept the Red Hat licensing terms.3. The dsktune utility runs. Select y to continue with the setup.dsktune checks the available disk s

Pagina 110

Directory Server in steps 6 and 7.6. Set the administrator username. The default is admin.7. Set the administrator password and confirm it.8. Set the

Pagina 111 - 2. LDAP Tool Locations

1.2. Configuring Proxy Servers for the Administration Server ...802. Working with Directory Server Instances ...

Pagina 112

2. Using the Administration Server port number, launch the Console./opt/dirsrv/bin/redhat-idm-console -a http://localhost:9830NOTEIf you do not pass t

Pagina 113

3. The dsktune utility runs. Select y to continue with the setup.dsktune checks the available disk space, processor type, physical memory, and othersy

Pagina 114

NOTETo register the Directory Server instance with an existing Configuration DirectoryServer, select yes. This continues with the registration process

Pagina 115 - 7. Troubleshooting

12.Enter the Directory Server identifier; this defaults to the hostname.Directory server identifier [example]:13.Enter the directory suffix. This defa

Pagina 116 - Solution

grep \^Listen /etc/dirsrv/admin-serv/console.confListen 0.0.0.0:98302. Using the Administration Server port number, launch the Console./opt/dirsrv/bin

Pagina 117 - 1. Migration Overview

# /opt/dirsrv/sbin/setup-ds-admin.pl2. Select y to accept the Red Hat licensing terms.3. The dsktune utility runs. Select y to continue with the setup

Pagina 118 - 2. About migrate-ds-admin.pl

network, it is not possible to register it with another directory. Select n to set up this DirectoryServer as a Configuration Directory Server and mov

Pagina 119

Directory server network port [389]: 106612.Enter the Directory Server identifier; this defaults to the hostname.Directory server identifier [example]

Pagina 120 - /dev/null as the logfile

example:Run Administration Server as [daemon]:21.The last screen asks if you are ready to set up your servers. Select yes.Are you ready to set up your

Pagina 121 - 3. Before Migration

If you do not pass the Administration Server port number with theredhat-idm-console command, then you are prompted for it at the Consolelogin screen.C

Pagina 122

PrefaceThis installation guide describes the Red Hat Directory Server 8.0 installation process and themigration process. This manual provides detailed

Pagina 124 - IMPORTANT

Setting up Red Hat Directory Serveron Sun SolarisInstalling and configuring Red Hat Directory Server on Sun Solaris has three major steps:1. Install t

Pagina 125

Necessary Java JRE libraries are not bundled with Directory Server. They must be downloadedand extracted separately before installing the Directory Se

Pagina 126

After installing the JRE, install the Directory Server packages, as described in Section 2,“Installing the Directory Server Packages”.2. Installing th

Pagina 127

backup directory.5. Delete the temporary directory.rm -rf /tmp/rhds806. After the Directory Server packages are installed, run the setup program to se

Pagina 128

cd /directory/tmp/RedHat/PKGS3. Translate the package to the Solaris filesystem format:for i in `ls *.pkg`; do yes all | pkgtrans $i /directory/ ; don

Pagina 129

NOTEThe setup program gets the host information from the /etc/resolv.conf file. Ifthere are aliases in the /etc/hosts file, such as ldap.example.com,

Pagina 130

up the administrator user.NOTETo register the Directory Server instance with an existing Configuration DirectoryServer, select yes. This continues wit

Pagina 131 - Glossary

Creating Admin Server files and directories . . .Updating adm.conf . . .Updating admpw . . .Registering admin server with the configuration directory

Pagina 132

The typical setup process is the most commonly-used setup process. It offers control over theports for the Directory and Administration Servers, the d

Pagina 133

1. Document ConventionsCertain words in this manual are represented in different fonts, styles, and weights. Thishighlighting indicates that the word

Pagina 134

match the /etc/resolv.conf settings, you cannot use the default hostnameoption.The hostname is very important. It is used generate the Directory Serve

Pagina 135

• The Configuration Directory Server Admin domain, such as example.com.• The CA certificate to authenticate to the Configuration Directory Server. Thi

Pagina 136

Administration port [9830]:17.The last screen asks if you are ready to set up your servers. Select yes.Are you ready to set up your servers? [yes]:Cre

Pagina 137

login screen.5. Custom SetupCustom setup provides two special configuration options that allow you to add information to theDirectory Server databases

Pagina 138

5. Set the computer name of the machine on which the Directory Server is being configured.This defaults to the fully-qualified domain name (FQDN) for

Pagina 139

ldap://ldap.example.com:389/o=NetscapeRootTo use TLS/SSL, set the protocol as ldaps:// instead of ldap:// ForLDAPS, use the secure port (636) instead

Pagina 140

Suffix [dc=redhat, dc=com]:14.Set the Directory Manager username. The default is cn=Directory Manager.15.Set the Directory Manager password and confir

Pagina 141

Creating Admin Server files and directories . . .Updating adm.conf . . .Updating admpw . . .Registering admin server with the configuration directory

Pagina 143

Advanced Setup and ConfigurationAfter the default Directory Server and Administration Server have been configured, there aretools available to manage,

Pagina 144

TipA tip is typically an alternative way of performing a task.ImportantImportant information is necessary, but possibly unexpected, such as aconfigura

Pagina 145

*.*.*.*This allows all IP addresses to access the Administration Server.6. Restart the Administration Server.CAUTIONAdding the client machine proxy IP

Pagina 146

It is also possible to provide Directory Server parameters on the command line, so that theinstance is created with pre-defined defaults. For example:

Pagina 147

register-ds-admin script./usr/sbin/register-ds-admin.plIMPORTANTRunning register-ds-admin creates a default instance of the AdministrationServer and C

Pagina 148

RootDNPwd= password123[admin]Port= 9830ServerIpAddress= 111.11.11.11ServerAdminID= adminServerAdminPwd= adminNOTEThere are three sections of directive

Pagina 149 - Appendix A. Revision History

packages must already be installed, and the Administration Server must alreadybe configured and running.1. Make the setup .inf file. It must specify t

Pagina 150

The setup utility, setup-ds-admin.pl, allows settings for all three configuration components —General (host server), slapd (LDAP server), and admin (A

Pagina 151

The section names and parameter names used in the .inf files and on thecommand line are case sensitive. Refer to Table 6.1, “setup-ds-admin Options”to

Pagina 152

Option Alternate Options Description ExampleWARNINGThecachefilecontainsthecleartextpasswordssuppliedduringsetup.Useappropriatecautionandprotectionwith

Pagina 153

For example, to configure a new Directory Server instance as a supplier in replication,ConfigFile can be used to create the replication manager, repli

Pagina 154

• General — which supplies information about the server machine; these are global directivesthat are common to all your Directory Servers.• slapd — wh

Commenti su questo manuale

Nessun commento