Sun Java System Directory Server Enterprise Edition 6.2 Administration Guide

Starting, Stopping, and Restarting a Directory Proxy Server Instance

This section provides information about starting, stopping, and restarting Directory Proxy Server from the command line.

ProcedureTo Start and Stop Directory Proxy Server

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. To start or stop Directory Proxy Server, do one of the following.

    • To start Directory Proxy Server, type:


      $ dpadm start instance-path
      

      For example, to start an instance at /local/dps, use this command:


      $ dpadm start /local/dps
    • To stop Directory Proxy Server, type:


      $ dpadm stop instance-path
      

      For example:


      $ dpadm stop /local/dps

ProcedureTo View Whether It Is Necessary to Restart a Directory Proxy Server Instance

Sometimes, a configuration change requires the server to be restarted before the change takes effect. Use this procedure to check whether it is necessary to restart a Directory Proxy Server instance after a configuration change.

  1. View whether it is necessary to restart the server.


    $ dpconf get-server-prop -h host -p port is-restart-required
    • If the command returns true, you must restart the instance of Directory Proxy Server.

    • If the command returns false, it is not necessary to restart the instance of Directory Proxy Server.

ProcedureTo Restart Directory Proxy Server

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Restart Directory Proxy Server.


    $ dpadm restart instance-path
    

    For example, to restart an instance at /local/dps, use this command:


    $ dpadm restart /local/dps