JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Directory Server Enterprise Edition Man Page Reference 11g Release 1 (11.1.1.5.0)
search filter icon
search icon

Document Information

Preface

User Commands

Administration Commands

dpadm(1M)

dpconf(1M)

dsadm(1M)

dsccmon(1M)

dsccreg(1M)

dsccsetup(1M)

dsconf(1M)

dsmig(1M)

dsrepair(1M)

dsutil(1M)

idsktune(1M)

replcheck(1M)

Directory Server Configuration

Directory Proxy Server Configuration

File Formats

LDAP Schema Collections

LDAP Schema Attribute Types

LDAP Schema Object Classes

Index

dsccreg

- Register servers with Directory Service Control Center

Synopsis

install-path/bin/dsccreg 
 [subcommand] [options]

Description

The dsccreg command is used to register server instances on the local system with Directory Service Control Center, which may be remote. Use the dsccreg command with the subcommands described in this man page.

SUBCOMMANDS

The following subcommands are supported:

dsccreg add-server

Add a server instance to the Directory Service Control Center registry.

The format of this subcommand is:

dsccreg add-server [-B instance-user-dn] [-G instance-pwd-file]
 [-d desc] [-H local-host] instance-path
dsccreg list-servers

List server instances registered with Directory Service Control Center.

The format of this subcommand is:

dsccreg list-servers [-a] [-C]
dsccreg remove-server

Remove a server instance from the Directory Service Control Center registry.

The usage of this subcommand is:

dsccreg remove-server [-B instance-user-dn] [-G instance-pwd-file]
 [-H local-host] instance-path

GLOBAL OPTIONS

The following options apply to all commands and subcommands:

-?
--help

Display usage for the command or for the specified subcommand.

-D user-dn
--user-dn user-dn

Bind using the specified user-dn.

By default, the value of the environment variable LDAP_ADMIN_USER is used. If LDAP_ADMIN_USER is not defined, cn=admin,cn=Administrators,cn=dcc is used.

-h hostname
--hostname hostname

Connect to the Directory Service Control Center registry on the specified host or IP address.

By default, the value of the environment variable DSCC_HOST is used. If DSCC_HOST is not defined, localhost is used.

For example, when mapping the IPv4 address 192.168.0.99 to IPv6, pass the -h option with its argument as -h ::ffff:192.168.0.99.

-i
--no-inter

Do not prompt for confirmation before restarting servers.

-p port-number
--port port-number

Connect to the Directory Service Control Center registry on the specified port.

By default, the value of the environment variable DSCC_PORT is used. If DSCC_PORT is not defined, 3998 is used.

-u uid
--username uid

Bind using cn=uid,cn=Administrators,cn=dcc.

By default, the value of the environment variable LDAP_ADMIN_USER is used. If LDAP_ADMIN_USER is not defined, cn=admin,cn=Administrators,cn=dcc is used.

-V
--version

Displays the current version of dsccreg. The version is provided in the format year.monthday.time. So version number 2007.1204.0035 was built on December 4th, 2007 at 00h35. If the components used by dsccreg are not aligned, the version of each individual component is displayed.

-v
--verbose

Display extra information for debugging purposes.

-w file
--pwd-file file

Bind using the password specified in file.

By default, the value of the environment variable LDAP_ADMIN_PWF is used. If LDAP_ADMIN_PWF is not defined, dsccreg prompts for a password.

SUBCOMMAND OPTIONS

The following options apply to the subcommands where they are specified:

-B instance-user-dn
--inst-user-dn instance-user-dn

Use the specified bind DN to bind to the instance specified by instance-path.

By default, the dsccreg command uses cn=Directory Manager.

-C
--check-access

Verify that each registered server instance is accessible from Directory Service Control Center.

-G instance-pwd-file
--inst-pwd-file instance-pwd-file

Use the password in the specified file to bind to the instance specified by instance-path.

By default, the dsccreg command prompts for the password.

-H hostname
--current-host hostname

Use the specified host name as the local host.

By default, the dsccreg command uses the local host name returned by the operating system.

-a
--all

Display hidden servers, such as the server used by Directory Service Control Center to manage metainformation about the directory service.

-d desc
--description desc

Use the specified text desc as the description for the server instance.

Operands

The following subcommand operands are supported:

instance-path

Full path to the server instance.

Environment Variables

The following environment variables are supported:

DSCC_HOST

Bind to the registry on this host.

DSCC_PORT

Bind to the registry on this port number.

LDAP_ADMIN_PWF

Read the bind password from this file.

LDAP_ADMIN_USER

Bind with this user DN or uid.

Exit Status

The following exit status values are returned:

0

Successful completion

non-zero

An error occurred.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
SUNWdsee7
Stability Level
Evolving

See Also

dsccmon(1M)