Skip Navigation Links | |
Exit Print View | |
Oracle Fusion Middleware Command-Line Usage Guide for Oracle Unified Directory 11g Release 1 (11.1.1) |
1. Server Administration Commands
Code Generated by the create-rc-script Command
Oracle Directory Server Enterprise Edition LDAP Connection Options
Oracle Unified Directory LDAP Connection Options
Replication Gateway Configuration Options
Oracle Directory Server Enterprise Edition Server Options
Replication Gateway Security Options
Oracle Unified Directory Server Options
Removing a Replication Gateway Server
Oracle Unified Directory Server Connection Options
Oracle Directory Server Enterprise Edition Server Connection Options
The dps2oud command allows you to migrate a Directory Proxy Server (DPS) configuration to an Oracle Unified Directory configuration.
dps2oud [options]
The dps2oud command allows you to migrate a DPS configuration to an Oracle Unified Directory configuration. The dps2oud command takes a DPS configuration as the input and generates a batch file that comprises dsconfig commands, which are used to create an equivalent Oracle Unified Directory configuration. The dps2oud command reads the DPS configuration either through a file or through the LDAP protocol on a running DPS instance.
The dps2oud command accepts the following options.
The output file for dsconfig commands.
Specifies the name of the DPS config file to use.
Creates DPS-disabled objects.
Prints dsconfig commands.
DPS server hostname or IP address.
DPS server port number.
DN to use to bind to the DPS server.
Password to use to bind to the DPS server.
Displays command-line usage information for the command and exit without making any attempt to stop or restart the directory server.
Displays the version information for the directory server.
The following examples show how to use the dps2oud command. For more information, see System Requirements and Certification in Oracle Fusion Middleware Installation Guide for Oracle Unified Directory.
Example 1-20 Viewing the Global Help Subcommands
The following command displays the available global Help subcommands:
$ dps2oud --help
Example 1-21 Migrating a DPS Configuration to an Oracle Unified Directory Configuration
You can migrate a DPS configuration to an Oracle Unified Directory configuration using one of the following methods:
Method 1: Reading a DPS configuration from an LDIF file
The following command displays how to read a DPS configuration from an LDIF file:
$ dps2oud -f dse.ldif -o oud_conf_cmds
The following command provides the path to a batch file containing a set of dsconfig commands to be executed:
$ dsconfig -F oud_conf_cmds
Method 2: Reading a DPS configuration from a running DPS instance
The following command displays how to read a DPS configuration from a DPS instance:
$ dps2oud -h dpsHost -p 389 -D "cn=Proxy Manager" -w password -o oud_conf_cmds
The following command provides the path to a batch file containing a set of dsconfig commands to be executed:
$ dsconfig -F oud_conf_cmds
An exit code of 0 indicates that the operation completed successfully. A nonzero exit code indicates that an error occurred during processing.
UNIX and Linux: instance-dir/OUD/bin/dps2oud
Windows: instance-dir\OUD\bat\dps2oud.bat