Name
stop-ds — stop OpenDJ directory server
Synopsis
stop-ds [options]
Description
This utility can be used to request that the directory server stop running or perform a restart.
When run without connection options, stop-ds sends a signal to the OpenDJ process to stop the server. When run with connection options, the stop-ds connects to the OpenDJ administration port and creates a shutdown task to stop the server.
Options
The following options are supported.
-r, --stopReason {stopReason}-
Reason the server is being stopped or restarted.
-R, --restart-
Attempt to automatically restart the server once it has stopped.
-t, --stopTime {stopTime}-
Indicates the date/time at which the shutdown operation will begin as a server task expressed in format YYYYMMDDhhmmssZ for UTC time or YYYYMMDDhhmmss for local time. A value of '0' will cause the shutdown to be scheduled for immediate execution. When this option is specified the operation will be scheduled to start at the specified time after which this utility will exit immediately.
-Y, --proxyAs {authzID}-
Use the proxied authorization control with the given authorization ID.
LDAP Connection Options
-D, --bindDN {bindDN}-
DN to use to bind to the server
-h, --hostname {host}-
Directory server hostname or IP address
Default value: 127.0.0.1
-j, --bindPasswordFile {bindPasswordFile}-
Bind password file
-K, --keyStorePath {keyStorePath}-
Certificate key store path
-N, --certNickname {nickname}-
Nickname of certificate for SSL client authentication
-o, --saslOption {name=value}-
SASL bind options
-p, --port {port}-
Directory server administration port number
Default value: 4444
-P, --trustStorePath {trustStorePath}-
Certificate trust store path
-T, --trustStorePassword {trustStorePassword}-
Certificate trust store PIN
-u, --keyStorePasswordFile {keyStorePasswordFile}-
Certificate key store PIN file
-U, --trustStorePasswordFile {path}-
Certificate trust store PIN file
-w, --bindPassword {bindPassword}-
Password to use to bind to the server
Use
-w -to have the command prompt for the password, rather than enter the password on the command line. -W, --keyStorePassword {keyStorePassword}-
Certificate key store PIN
-X, --trustAll-
Trust all server SSL certificates

