Use the Services window to configure
autostart of a directory server instance on Windows™.
Before you begin
To configure a directory server instance for starting automatically
after you start the operating system, your computer must meet the
following requirements:
- The computer must contain a directory server instance that can
be run in normal mode.
About this task
On Windows, you
can start a directory server, the idsslapd process,
from the Services window or with the idsslapd command.
For a directory server instance with DB2® database,
you must set the service that is associated with directory server
depend on the DB2 instance
service. For a directory server instance with DB2 database, DB2 must start
before the idsslapd process can start. If you do
not set the dependency and configure the Startup Type field
to Automatic for the service that is associated
with the server, error might occur when you restart the computer.
For a proxy server instance, you do not require to configure the dependency
on the service that is associated with the DB2 instance.For
a proxy server instance, use the 1, 2, 4, 5, and 6 steps.
Procedure
- Log in as an administrator group member.
- To open the Services window,
complete the following steps:
- Click .
- In the Open field, enter services.msc.
- Click OK.
- Find the DB2 service
name that is associated with your directory server instance that you
want to autostart.
The service name starts with DB2
- SDSV64DB2 -. If your DB2 instance
name is DSRDBM01, the entry is DB2 - SDSV64DB2
- DSRDBM01. Double-click the service and record the value
that comes after DB2 - SDSV64DB2 - in the Display
name field. In the example, the value is DSRDBM01.
- Find the service for the directory server instance that you want to
autostart.
The service name starts with IBM® Security Verify
Directory Instance 10.0.2. If your instance name
is dsrdbm01, the entry is IBM Security Verify Directory Instance 10.0.2 - dsrdbm01. Double-click
the service and record the value that comes after IBM Security Verify Directory Instance
10.0.2 - in the
Display name field. In the example, for the instance,
dsrdbm01, the value is idsslapd-dsrdbm01.
- In the
IBM Security Verify
Directory Instance 10.0.2 - dsrdbm01 Properties
window, from the Startup type list select Automatic.
- Click OK.
- To close the Services window,
click .
- To open the Windows registry,
complete the following steps:
- Click .
- In the Open field, enter regedit.
- Click OK.
- On the left navigation pane, go to .
- Find the service that is associated with your directory
server instance.
In the example, it is idsslapd-dsrdbm01.
- Click the service that is associated with your instance.
- On the right pane of the window, double-click the
DependOnService attribute.
- In the Edit Multi-String window,
add the DB2 service
name that is associated with the instance under LanmanServer.
In the example, it is DSRDBM01.
- Click OK.
It creates
a dependency on the DB2 service.
- To close the Windows registry,
click .
Results
When you restart the computer, the directory server instance
starts automatically.