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

Stopping the Server

On any system (whether the server is running in the foreground or the background), or even from a remote system, you can stop the server using one of the following methods. For more information about the stop-ds command, see stop-ds in Sun OpenDS Standard Edition 2.2 Command-Line Usage Guide.

To Stop the Server by Using stop-ds

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

To Stop 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 Stop.
  4. On the Confirmation dialog, click Yes.

To Stop the Server that is Running in the Foreground

This procedure assumes that the directory server is running as a foreground process (using the -N or --nodetach option).

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

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

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