You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
If you use DSCC to create a new server instance, you can choose to copy some or all of the server configuration settings from an existing server.
Create the instance of Directory Proxy Server.
$ dpadm create -p port instance-path |
For example, to create a new instance in the directory /local/dps, use this command:
$ dpadm create -p 2389 /local/dps |
To specify any other parameter of the instance, see the dpadm(1M) man page.
Type a password if required.
Confirm that the instance has been created by verifying the status of the instance.
$ dpadm info instance-path |
(Optional) If you installed Directory Proxy Server using the Sun JavaTM Enterprise System installer or a native package installation, and your OS provides a service management solution, you can enable the server to be managed as a service, as shown in this table.
Operating System |
Command |
---|---|
Solaris 10 |
dpadm enable-service --type SMF instance-path |
Solaris 9 |
dpadm autostart instance-path |
Linux, HP-UX |
dpadm autostart instance-path |
Windows |
dpadm enable-service --type WIN_SERVICE instance-path |
(Optional) Register the server instance, using one of these methods:
Access DSCC through the URL https://localhost:6789 and log in to the browser interface.
Use the command dsccreg add-server.
For details, see the dsccreg(1M) man page.