Exit Print View

Sun OpenDS Standard Edition 2.2 Administration Guide

Get PDF Book Print View
 

Document Information

Before You Start

Starting and Stopping Your Server Instance

Starting the Server

To Start the Server by Using start-ds

To Start the Server as a Foreground Process

To Start the Server by Using the Control Panel

To Restart the Server

To Restart the Server by Using the Control Panel

To Start the Server by Using a Script (UNIX/Linux)

Stopping the Server

To Stop the Server by Using stop-ds

To Stop the Server by Using the Control Panel

To Stop the Server that is Running in the Foreground

To Stop the Server by Using a Script (UNIX/Linux)

Checking if the Server is Started or Stopped

To Check the Server Status Using the CLI

To Check the Directory Server Status By Using the Control Panel

To Check the Proxy Server Status By Using the Control Panel

Configuring the Server Instance

Configuring the Proxy Components

Configuring Security Between Clients and Servers

Configuring Security Between the Proxy and the Data Source

Configuring Servers With the Control Panel

Managing Directory Data

Replicating Directory Data

Controlling Access To Data

Managing Users and Groups

Monitoring Sun OpenDS Standard Edition

Improving Performance

Advanced Administration

Starting the Server

To start the server, run the start-ds command on UNIX or Linux systems or the start-ds.bat command on Windows systems. By default, the start-ds command starts the server as a background process when no options are specified. You can use the start-ds command with the --nodetach option to run the server as a foreground process. For more information, see start-ds in Sun OpenDS Standard Edition 2.2 Command-Line Usage Guide.

The start-ds command automatically attempts to find the correct Java environment to use when starting the server. You can specify the path to the Java installation, and provide additional options directly to the JVM when the directory server is starting. For more information, see Configuring the Default JVM and Java Arguments in Sun OpenDS Standard Edition 2.2 Installation Guide.

To Start the Server by Using start-ds

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)      C:\> cd install-dir\bat
  2. Type start-ds.
    (UNIX, Linux)  $ start-ds
    (Windows)      C:\> start-ds

To Start the Server as a Foreground Process

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)      C:\> cd install-dir\bat
  2. Type start-ds with -N or --nodetach.
    (UNIX, Linux)  $ start-ds --nodetach
    (Windows)      C:\> start-ds --nodetach

    You can stop the directory server by pressing Control-C in the terminal window in which the server is running or by running the stop-ds utility from another window.

To Start the Server by Using the Control Panel

This procedure describes how to use the Control Panel to administer the directory server.

This procedure applies to the directory server component only. If you have installed a proxy server, use the vdp-control-panel command to launch the proxy control panel.

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)      C:\> cd install-dir\bat
  2. Type control-panel to open the GUI control panel.
    (UNIX, Linux)  $ control-panel
    (Windows)      C:\> control-panel
  3. On the Server Status panel, click Start.

To Restart the Server

  1. Change to the installation directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)      C:\> cd install-dir\bat 
  2. Type stop-ds with -R or --restart.
    (UNIX, Linux)  $ stop-ds --restart
    (Windows)      C:\> stop-ds --restart

To Restart the Server by Using the Control Panel

This procedure describes how to use the Control Panel to administer the directory server.

This procedure applies to the directory server component only. If you have installed a proxy server, use the vdp-control-panel command to launch the proxy control panel.

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd install-dir/bin
    (Windows)      C:\> cd install-dir\bat
  2. Type control-panel to open the GUI control panel.
    (UNIX, Linux)  $ control-panel
    (Windows)      C:\> control-panel
  3. On the Server Status panel, click Restart.
  4. In the Confirmation dialog, click Yes.

To Start the Server by Using a Script (UNIX/Linux)

The start-ds command provides a “quiet” option ( -Q or --quiet) that suppresses output during the startup process unless a significant error occurs. You can use this option in a startup script.

  1. Create a shell script and add the following start-ds command.
    install-dir/bin/start-ds --quiet 
  2. Run the script.