Oracle Fusion Middleware Upgrade and Migration Guide for Oracle Directory Server Enterprise Edition

Command Line Changes

The functionality of most command-line tools is replaced by only two commands: dsadm and dsconf.

The following table shows commands used in Directory Server 5.2, and the corresponding commands for Directory Server 6, and 11g Release 1 (11.1.1). In version 11g Release 1 (11.1.1), the default path of these commands when installed from native packages is /opt/SUNWdsee7/bin. When installed from the zip installation, the default path is install-path/dsee7/bin.

Table 8–1 Directory Server 5, 6, and 7 commands

Version 5.2 Command 

Version 6 Command 

Version 11g Release 1 (11.1.1) Command

Description 

bak2db

dsadm restore

dsadm restore

Restore a database from backup (locally, offline) 

bak2db-task

dsconf restore

dsconf restore

Restore a database from backup (remotely, online) 

db2bak

dsadm backup

dsadm backup

Create a database backup archive (locally, offline) 

db2bak-task

dsconf backup

dsconf backup

Create a database backup archive (remotely, online) 

db2index

dsadm reindex

dsadm reindex

Create and generate indexes (locally, offline) 

db2index-task

dsconf reindex

dsconf reindex

Create and generate indexes (remotely, online) 

db2ldif

dsadm export

dsadm export

Export database contents to LDIF (locally, offline) 

db2ldif-task

dsconf export

dsconf export

Export database contents to LDIF (remotely, online) 

entrycmp

entrycmp

entrycmp

Compare the same entry in multiple replicas 

fildif

fildif

fildif

Create a filtered version of an LDIF file 

getpwenc

Removed 

Removed 

Print encrypted password 

idsktune

idsktune

idsktune

Check patches and verifies system tuning 

insync

insync

insync

Indicate synchronization between multiple replicas 

ldif2db

dsadm import

dsadm import

Import database contents from LDIF (locally, offline) 

ldif2db-task

dsconf import

dsconf import

Import database contents from LDIF (remotely, online) 

ldif2ldap

ldapmodify -B

ldapmodify -B

Import data from LDIF over LDAP (remotely, online) 

MigrateInstance5

dsmig / manual migration procedure

dsmig / manual migration procedure

Migrate data from a previous version 

mmldif

mmldif

mmldif

Combine multiple LDIF files 

monitor

ldapsearch on cn=monitor

ldapsearch on cn=monitor

Retrieve performance monitoring information 

ns-ldapagt

Removed 

Removed 

Starts a Directory Server SNMP subagent. 

pwdhash

pwdhash

pwdhash

Print the encrypted form of a password 

repldisc

repldisc

repldisc/dsccmon

Discover a replication topology 

restart-slapd

dsadm restart

dsadm restart

Restart a Directory Server instance 

restore-config

dsadm start --safe

dsadm start --safe

Restore Administration server configuration 

saveconfig

Removed 

Removed 

Save Administration server configuration 

schema_push

schema_push

dsadm start --schema-push or dsadm restart –schema-push

Update schema modification time stamps 

start-slapd

dsadm start

dsadm start

Start a Directory Server instance 

stop-slapd

dsadm stop

dsadm stop

Stop a Directory Server instance 

suffix2instance

dsconf get-suffix-prop

dsconf get-suffix-prop

See the backend name for a suffix 

vlvindex

dsadm reindex

dsadm reindex

Create virtual list view indexes 

Table 8–2 Directory Server 5.2, 6, and 7 Commands (Subcommands of the directoryserver Command)

Version 5.2 Command 

Version 6 Command 

Version 11g Release 1 (11.1.1) Command

Description 

directoryserver accountstatus

ns-accountstatus

dsutil account-status

Establish account status 

directoryserver activate

ns-activate

dsutil account-activate

Activate an entry or group of entries 

directoryserver configure

Installation procedure 

Installation procedure 

Install Directory Server 

directoryserver inactivate

ns-inactivate

dsutil account-inactivate

Inactivate an entry or group of entries 

directoryserver unconfigure

Uninstallation procedure 

Uninstallation procedure 

Uninstall Directory Server