idsdiradm, ibmdiradm
Use the ibmdiradm command to start or stop the administration server.
Description
The ibmdiradm command starts or stops the administration server that is associated with an instance. The ibmdiradm command changes the working directory to instance_home/idsslapd-instance_name/workdir. Therefore, relative paths are considered as relative to instance_home/idsslapd-instance_name/workdir.
Synopsis
idsdiradm | ibmdiradm [-I instance_name [-f config_file] [-h debug_level] [-t]
[[ [-p port] [-s secure_port] [-c]] | -k | -i | -u] ] | -v | -?
| -h ?
Options
The ibmdiradm takes the following parameters.- -f config_file
- Specifies the full path of the configuration file to use. If this parameter is not specified, the default configuration file for the directory server instance is used.
- -h debug_level
- Sets the LDAP debug level to debug_level. If you specify this parameter, it sends the debug output to stdout. The debug_level value is a bit mask that controls which output is generated with values from 1 to 65535. For more information about debug levels, see Debugging levels.
- -h ?
- Specifies to show the help for debug levels.
- -I instance_name
- Specifies the name of the administration server instance to start or stop.
- -k
- Specifies to stop the administration server
- -p port
- Specifies the port on which administration server listens.
- -s secure_port
- Specifies the secure port on which administration server listens
- -v
- Specifies to print the version information.
- -?
- Specifies to show the syntax help.
- -i
- Specifies to install the administration server instance as a service.
- -u
- Specifies to remove the administration server instance as a service.
- -c
- Specifies to run the server in console mode.
- -t
- Specifies to tail the server log until final startup messages are printed on the console.
Examples
- Example 1:
- To start the administration server that is associated with an
instance, run the following command:
idsdiradm -I instance_name
- Example 2:
- To stop the administration server that is associated with an instance,
run the following command:
idsdiradm -I instance_name -k