Previous Contents Index Next |
iPlanet Directory Access Router Administrator's Guide |
Chapter 4 Starting, Restarting, and Stopping iDAR
This chapter describes how to start, stop, and restart iPlanet Directory Access Router (iDAR) and how to check its current status.The chapter has the following sections:
Starting and Stopping iDAR
Note You can use the iDAR consoles only when the appropriate Directory Server (identified as the configuration directory) and Administration Server are running. Be sure to start Administration Server at the port you specified during iDAR installation. To minimize security risks, shut down Administration Server when you have finished using the iPlanet Console. For instructions on starting and shutting down Administration Server, see iPlanet Administration Server.
Starting and Stopping iDAR
Once iDAR is installed, it runs constantly, listening for and accepting requests; it runs as a UNIX daemon process or a Windows NT service normally started during system boot time.You can start and stop iDAR in several ways:
Note that stopping iDAR shuts down all its components completely, interrupting service until the server is started again. If the host machine crashes or is taken off line, the server stops, and any requests it was servicing are lost. You need to start the server again to restore the service.
Starting and Stopping iDAR From iPlanet Console
You can use the iPlanet Console to start and stop iDAR installed on a local or remote host. To start or stop iDAR:
Log in to the iPlanet Console (see Step 1. Log In to the iPlanet Console).
In the "Servers and Applications" tab, expand the hostname and then the Server Group that contains the iDAR instance you want to start.
In the navigation tree, locate the iDAR instance you want to start or stop, select the corresponding entry, and click Open.
In the Tasks tab, click Start Directory Access Router to start the server or Stop Directory Access Router to stop the server.
- The iDAR Server Console opens.
Starting and Stopping iDAR From Command Line
To start or stop iDAR from the command line:
Open a terminal window to your server.
In a UNIX system, log in as root if the server runs on ports less than 1024; otherwise, log in either as root or with the server's user account. (By default, if iDAR is run by root, it changes its user ID to nobody.)
At the command-line prompt, enter either of the following lines:
- To start iDAR: <server-root>/idar-<hostname>/start-idar[.exe]
- To stop iDAR: <server-root>/idar-<hostname>/stop-idar[.exe]
- <server-root> is the directory where the iDAR binaries are kept. You first specified this directory during installation.
- <hostname> is the name of the host on which this instance of iDAR is installed.
- .exe specifies the file extension; this is required only when running the utility on a Windows NT system.
Note If iDAR is already running, the start-up command fails. Stop the server first using the stop-idar command, then use the start-idar command.
Starting and Stopping iDAR From Windows NT Services Panel
If you have installed iDAR on a Windows NT system, you can start and stop the server (as a service) from the Windows NT Services panel (see Figure 4-1). The iDAR service has the following name: iPlanet Directory Access Router.
Figure 4-1    iDAR Service Highlighted in the Windows NT Services Panel ![]()
To start or stop iDAR from the Windows NT Services panel:
On your desktop, select Start > Settings > Control Panel.
In the Control Panel window that appears, double-click Services.
Scroll through the list of services, and locate the service that corresponds to the iDAR instance.
To start the service, select the iDAR instance, and click Start. To stop the service, select the iDAR instance, and click Stop.
Restarting iDAR
Whenever you change the iDAR configuration, you must save your changes for them to be stored in the configuration directory. All configuration changes require that you restart iDAR after you save the changes. If restarting is required, the console prompts you accordingly.During restart, iDAR re-reads its configuration and uses the new configuration for future connections. Client connections that are already established continue to use the old configuration until the clients disconnect. The restart function is only available on UNIX platforms. On Windows NT, restarting iDAR is equivalent to stopping and starting iDAR.
Note that changes to certain configuration parameters require that you stop iDAR and start it again; for instructions, see Starting and Stopping iDAR. Table 4-1 lists these configuration parameters.
Table 4-1    Configuration Changes That Require iDAR Startup
UI Elements
Attributes
The Host field in the Settings tab of the System Configuration window; see Configuring System Settings.
The Port field in the Settings tab of the System Configuration window; see Configuring System Settings.
The "SSL port" field in the Settings tab of the System Configuration window; see Configuring System Settings.
The "CA signed certificate file" field in the Encryption tab of System Configuration; see Configuring System Settings.
The "Private key file" field in the Encryption tab of System Configuration; see Configuring System Settings.
The "Connection backlog" field in the Connections tab of the System Configuration window; see Configuring System Settings.
You can restart iDAR in two ways:
Restarting iDAR From iPlanet Console
You can use the iDAR Server Console to restart an instance of iDAR installed on a local or remote host.To restart iDAR from the iDAR Server Console:
If you're not already viewing the iDAR Server Console, log in to the iPlanet Console (see Step 1. Log In to the iPlanet Console).
In the "Servers and Applications" tab, expand the hostname and then the Server Group that contains the iDAR instance you want to restart.
In the navigation tree, locate the iDAR instance you want to start or stop, select the corresponding entry, and click Open.
In the Tasks tab, click Restart Directory Access Router to restart the server.
Restarting iDAR From Command Line
To restart iDAR from the command line:
Open a terminal window to your server.
In a UNIX system, log in either as root or using the server's user account (if that is how you started the server).
At the command-line prompt, enter the following line:
Checking iDAR System Status
You can check whether a particular instance of iDAR is started or stopped in two ways:
Checking iDAR Status From iPlanet Console
You can use the iPlanet Console to find out whether a particular iDAR instance is running.
Log in to the iPlanet Console (see Step 1. Log In to the iPlanet Console).
In the Servers and Applications tab, select the entry that corresponds to the iDAR instance you want to check.
In the right pane, check the Server Status field.
Checking iDAR Status From Command Line
To find out whether a particular iDAR instance is running from the command line:
Previous Contents Index Next
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.
Last Updated July 26, 2001