Domino Java Console

The Domino Java Console provides real-time interaction with the Domino Server and is often the fastest way to see what is happening with a server. In Domino 6, the Domino Console is available through a new, powerful Java application. We covered the basics of enabling this tool in "Java Domino Console" on page 141.

The advantage of the new Java Domino Console feature is that, unlike the Win32 Administration client, you can connect to the server Domino is installed on, even when the Domino server is not responding.

To launch the Domino console, do the following:

► On a Linux system running X-Windows, issue jconsole from a shell command prompt. If you have not added the Domino executable path to your PATH environment variable, you will need to specify the full location, which is /opt/lotus/bin by default.

► On a Windows machine with the Administration client installed, launch jconsole.exe. This executable is located in the Lotus Notes Client program directory.

Once the Domino Console launches, you can connect to a new server by File -Connect Controller (Ctrl-O). If you have previously connected to the server with this console, you can click the multiple server icon and select it from the list. In the prompt box, enter your Notes name (or shortname) as your username and your Domino HTTP password in the password field. For a new server, type the name in the server; otherwise, select the server from the drop-down list.

Scanmail For Lotus Notes Web Console
Figure 3-39 Domino Console - Connecting to a server

Here are some of the common commands you can use from the console; these commands will also work from the web admin quick console.

Table 3-3 Common Domino Console commands

Domino Console command (abbreviation)

Description of the command results

show users (sh us)

shows the users connected to the Domino server

show tasks (sh ta)

shows the tasks currently running

show cluster (sh clu)

shows how the cluster is performing and current connectivity to cluster members

show config servertasks

shows the current value of the servertasks notes.ini entry. You can use show config to display any notes.ini entry.

set config servertasks=

replaces the existing servertasks notes.ini entry with the values you specify after the equals sign. The values you specify replace the existing ones (they are not appended).

load replica

This loads an instance of the replicator that remains until you reboot the server. Any load command without options loads another permanent instance of the task while a load command with options (see the next example) runs then quits.

replicate itsoredhat/ITSO names.nsf (repl itsoredhat/ITSO names.nsf)

This causes the current server, itsosuse/ITSO in our case, to replicate the specified database, names.nsf, with the specified server, itsoredhat/ITSO. You must use the full hierarchical name of the server. Once replication finishes, the replicator will quit.

show stat server.users

show stat displays the specified Domino statistic. There are hundreds of statistics -consult the event4.nsf database for a description of each statistic.

Domino Console command (abbreviation)

Description of the command results

restart server (res s)

This will restart the Domino server. If issued from the web admin quick console, you won't be able to view the restart. If issued from a client connected via the new controller, you can monitor the restart process.

Commands are entered into the Domino Command area at the bottom of the Domino Console. For frequently used commands, you can click the Command button and select from a pre-defined list. Optionally, you can click the arrow to the right of the Command button and create a customize command list.

Here are the steps to record a customized command:

1. Click the arrow to the right of the Command button and select Customize.

2. In the Make a Custom Command dialog box, enter the desired command.

3. Click Add to add the command to your list.

4. Repeat Steps 2 and 3 until you have entered the commands for your list.

5. If you make a mistake or later desire to remove a command, highlight the command in the Make a Custom Command display and click Remove to remove it from your list.

6. Click Save to save and exit the dialog box.

You can now use your custom commands by clicking the arrow to the right of the Command button and picking the desired one from the list.

In addition to Domino commands, you can also send Shell commands as long as you have the appropriate access. Refer to the Help - Help Topics available with the Domino Console or else the Lotus Domino Administrator 6 Help for more information.

+1 0

Post a comment