ADMINISTERING


Starting the Domino Diagnostic Probe
The Domino® Diagnostic Probe (DDP) is started from a command prompt and runs as a standalone process, not as a Domino server process.

Before you begin

You must use the IBM® Java™ that comes with Domino. The probe is not supported with SUN Java.

CAUTION: You should not restart the Domino server while the probe is running. The probe must be shut down before restarting the Domino server, or else certain Domino processes may hang during shutdown. (These processes would eventually be cleaned up, and an NSD created.)

About this task

The probe uses the identity of the Domino server and attempts to open a session and a database as specified by the -database [-d] parameter every n seconds as specified by the -polling [-p] parameter. If the time it takes to open the database exceeds the time specified by the -threshold [-t] parameter, then the NSD program is launched to collect diagnostic data. An NSD log file is generated in the domino_data_directory\IBM_TECHNICAL_SUPPORT directory. You can also specify optional parameters for the probe, listed in a table in the following procedure.

Procedure

1. For each database that you want to monitor using the probe, open the database and select File -> Application -> Access Control.

2. In the Access Control List, add and then highlight the Domino server name and, under Attributes, change the User type to Unspecified. Save the access control list.

3. To run the probe on Windows™ or UNIX™, make sure the dbopen.jar is present in the Domino program directory where it is installed by default.

4. From a command prompt, switch to the directory where the server's NOTES.INI is located (typically the data directory on UNIX and the program directory on Windows). Start the probe from a command prompt using the syntax example provided in the table.


5. To run the probe on AS400,/iSeries/IBM i, perform the following steps to use QShell (STRQSH).
6. Optional: Include any desired optional parameters for the probe. All parameters listed in the following table are optional except for the -database [-d] parameter.
Results

The Domino server console will show sessions opened and closed by the server (one session opened by the server for each polling cycle - the previous session will be closed on the Domino server each time a new session is opened.) The output of the probe will print to the local command window and also a log file (if specified). If the database open exceeds the specified threshold, an NSD is created. Once the NSD completes, you'll see a message indicating that it is done and then logging will resume.

Example

Example of Domino server console output for the diagnostic probe session:

07/12/2010 04:45:48 PM  Opened session for vlap2/vTest (Release 8.5.2 [Build 379])

07/12/2010 04:45:48 PM  Closed session for vlap2/vTest Databases accessed:     1   Documents read:     0   Documents written:     0

07/12/2010 04:45:49 PM  Opened session for vlap2/vTest (Release 8.5.2 [Build 379])

07/12/2010 04:45:49 PM  Closed session for vlap2/vTest Databases accessed:     1   Documents read:     0   Documents written:     0

07/12/2010 04:45:54 PM  Opened session for vlap2/vTest (Release 8.5.2 [Build 379])    

07/12/2010 04:45:54 PM  Closed session for vlap2/vTest Databases accessed:     1   Documents read:     0   Documents written:    0

07/12/2010 04:45:59 PM  Opened session for vlap2/vTest (Release 8.5.2 [Build 379])

07/12/2010 04:45:59 PM  Closed session for vlap2/vTest Databases accessed:     1   Documents read:     0   Documents written:     0

Note: Any session for the probe will be closed when the probe is shut down. The end of the session occurs when the probe issues the following message: Shut down complete.

Example of command prompt activity for a DDP session:

[C:\Domino] jvm\bin\java -jar dbopen.jar -d mail\domprobe.nsf -threshold 3 -polling 45 -nsdoptions "-nomemcheck" -outfile C:\Domino\data\IBM_TECHNICAL_SUPPORT\perfmon.txt

11/09/2009 5:46:10 AM Opening database mail\domprobe.nsf has taken 3.001 seconds. This exceeds the set threshold of 3.0 seconds.

The DB open exceeded the threshold of 3 seconds so NSD was kicked off immediately.

11/09/2009 5:46:10 AM Running NSD...  

NSD being created.

11/09/2009 5:47:44 AM NSD completed with exit status 0

NSD completed.

11/09/2009 5:47:45 AM Opening database mail\domprobe.nsf took a total of 4.001 seconds

With the NSD done, DDP records the total time of the database open, in this case, 4.001 seconds. The NSD captured the state of the server at the time of the delayed DB open (at 3.001 seconds).

11/09/2009 5:48:33 AM Opening database mail\domprobe.nsf has taken 3.001 seconds. This exceeds the set threshold of 3.0 seconds.

11/09/2009 5:48:33 AM Running NSD...

11/09/2009 5:48:59 AM NSD completed with exit status 0

11/09/2009 5:49:00 AM Opening database mail\domprobe.nsf took a total of 5.354 seconds

This DB open took 5.354 seconds.

...

Quit

The administrator issued a quit commmand to stop the probe. You must use quit to stop the probe.

11/09/2009 5:51:42 AM Shut down in progress...

Shut down of the probe begins.

11/09/2009 05:52:18 AM Shut down complete.

 Shut down of probe is complete. It can take several minutes to complete shut down if an NSD is in progress.

Parent topic: Monitoring slow or unresponsive servers with the Domino Diagnostic Probe
Next topic: Stopping the Domino Diagnostic Probe