Skip Navigation Links | |
Exit Print View | |
Oracle Directory Server Enterprise Edition Installation Guide 11 g Release 1 (11.1.1.5.0) |
Quick Scan of Fully Installed and Running Directory Server Enterprise Edition
Directory Server Enterprise Edition Software Distributions
File and Process Ownership on Unix Systems
Part I Installing and Uninstalling Directory Server Enterprise Edition
2. Installing Directory Server Enterprise Edition
Installing Directory Server Enterprise Edition Using Zip Distribution
To Install Directory Server Enterprise Edition Using Zip Distribution
Pre-Configuring the Directory Server Enterprise Edition Installation
To Pre-Configure Directory Service Control Center
To Pre-Configure the DSCC Agent
Useful Information for Your Records
Checking Your Directory Server Enterprise Edition Installation
Creating Server Instances From Command Line
To Create a Directory Server Instance From the Command Line
Creating Server Instances Using Directory Service Control Center
To Create Server Instances with Directory Service Control Center
3. Uninstalling Directory Server Enterprise Edition
4. Installing and Uninstalling Directory Server Enterprise Edition Using Native Packages
A. Deploying the DSCC WAR File
B. Working With Sun Cryptographic Framework on Solaris 10 Systems
When you have successfully installed and pre-configured the Directory Server Enterprise Edition software, you can check your installation by creating server instances and working with them.
This section covers the following topics:
The following set of commands create a sample server instance, populates it with example data and registers it with DSCC. These commands should execute without any error if software is correctly installed and configured.
Non-root users can create server instances.
Refer to the following procedure to create a Directory Server instance using the command line:
$ dsadm create -p 1389 -P 1636 /local/dsInst Choose the Directory Manager password:secret12 Confirm the Directory Manager password:secret12 Use 'dsadm start /local/dsInst' to start the instance
The dsInst instance is created under the existing directory, /local/ and secret12 is assigned as the Directory Manager password.
$ dsadm start /local/dsInst Server started: pid=2845
$ dsconf create-suffix -p 1389 -e dc=example,dc=com Enter "cn=Directory Manager" password:secret12
A suffix with root dc=example,dc=com is created.
$ dsconf import -p 1389 -e\ install-path/resources/ldif/Example.ldif dc=example,dc=com Enter "cn=Directory Manager" password: New data will override existing data of the suffix "dc=example,dc=com". Initialization will have to be performed on replicated suffixes. ... ... ## Closing files... ## Import complete. Processed 160 entries in 4 seconds. (40.00 entries/sec) Task completed (slapd exit code: 0).
The suffix is populated with sample data from Example.ldif.
$ ldapsearch -p 1389 -b dc=example,dc=com "(uid=bjensen)" mail version: 1 dn: uid=bjensen, ou=People, dc=example,dc=com mail: bjensen@example.com
The following steps assume that DSCC is installed and pre-configured on dscc-host.
$ dsccreg add-server -h dscc-host -p dscc-registry-port /local/dsInst Enter DSCC administrator's password: directory-service-pwd /local/dsInst is an instance of DS Enter password of "cn=Directory Manager" for /local/dsInst: secret12 This operation will restart /local/dsInst. Do you want to continue ? (y/n) y Connecting to /local/dsInst (using ldap://127.0.0.1:1389) Enabling DSCC access to /local/dsInst Restarting /local/dsInst Registering /local/dsInst in DSCC on dscc-host:dscc-registry-port.
# dsccreg list-servers -h dscc-host -p dscc-registry-port Enter DSCC administrator's password: directory-service-pwd Hostname Port sPort Type Owner Flags iPath Description -------------- -------- ----- ---- ----- ----- ---------- ----------- current-host 1389 1636 DS uid /local/dsInst
# dsccreg remove-server -h dscc-host -p dscc-registry-port /local/dsInst # dsadm delete /local/dsInst
Next Steps
You can add more suffixes, configure replication with other server instances, tune the instance, and generally proceed with other configuration operations.
See Part I, Directory Server Administration, in Oracle Directory Server Enterprise Edition Administration Guide for instructions on configuring Directory Server with command-line administration tools.
For information about creating Directory Proxy Server instances using the command line, see Chapter 17, Directory Proxy Server Instances, in Oracle Directory Server Enterprise Edition Administration Guide.
After successfully deploying DSCC, use the following procedure to create a sample Directory Server instance.
Non-root users can create server instances.
Refer to the following procedure to create server instances using DSCC.
Directory Service Manager's entry is stored in the DSCC registry. Directory Service Manager also has administrator access to the server instances registered with DSCC.
* Directory Server Manager: admin * Password: directory-service-pwd
The Directory Service Control Center New Directory Server wizard displays.
While creating the new server instances, you need to provide the following information:
* Host: server-host # Host where DSCC agent has been configured * LDAP Port: 1389 * LDAPS Port: 1636 * Instance Path: /local/dsInst * Directory Manager Password: secret12 * Confirm Password: secret12 * Runtime User ID: install-user * Runtime User Password: install-user-pw * DSCC Agent Port: dscc-agent-port
Note - The instance path does not support non-ASCII characters.
Note - To successfully create an instance on Windows 2003 Primary Domain Controller, type domainname\username in Runtime User Id.
See Also
Similarly, you can create Directory Proxy Server instances using the Proxy Server tab.
For further configuration and administration of Directory Server and Directory Proxy Server instances, refer to Oracle Directory Server Enterprise Edition Administration Guide.
See the online help for Directory Service Control Center for hints on configuring Directory Server and Directory Proxy Server through the graphical user interface.
Note - If you setup your browser for your preferred language, DSCC may sometimes report few messages in other language. The language in which such messages are shown is the language that was effective when the dsccsetup cacao-reg command was executed. Such a language usually is the default locale of the host.