This section explains the following diagnostic and troubleshooting tools:
The Heartbeat utility is a client-side utility, which you can install on any client machine using the instructions provided below. The Diagnostic Service, Diagnostic Report, and Checker utilities are available within the eRSAdmin Window; to access these utilities, select the eRoom Server folder and right click to bring up a menu containing the utilities.
The eRoom Heartbeat utility is a Windows MMC snap-in that you can install on any computer and use to remotely monitor an eRoom server. The default Heartbeat test attempts to open every facility and every eRoom. If it is successful, the test passes; otherwise, it fails. Using VBScript and eRoom’s Server Access API (SAAPI), you can also create custom Heartbeat tests.
In order to use the Heartbeat utility to monitor a server, you must enable Heartbeat monitoring on the server. To do this, perform the following procedure on the eRoom 7 server you want to monitor.
From the Windows Start menu, choose Programs > eRoom Server > eRoom Server Administration.
The ERSAdmin window opens.
Open the eRoom Folder.
Double click "Site Settings".
The General tab of the eRoom Site Settings page opens.
In the Options section, check "Allow heartbeat monitoring".
Click "Apply".
The eRoom Heartbeat utility is a separate download that is not installed with the eRoom server. Consequently, you must install the Heartbeat utility separately. Perform the following procedure on the eRoom 7 client machine you want to use for remotely monitoring an eRoom server.
Download the Heartbeat utility from the Documentum site and launch it.
Follow the prompts to install the utility.
Perform the following procedure on the eRoom client machine on which you have installed the Heartbeat utility.
From the Windows Start menu, choose Programs > eRoom 7 Heartbeat > eRoom Heartbeat Administration.
The eRoom Heartbeat Console opens.
Select the eRoom Heartbeat folder and right-click.
From the pop-up menu, choose New > Job.
The New Heartbeat Job dialog box opens.
For the default test, specify a “Job Name,” “Interval,” “Protocol,” and “Server Name".
If necessary, specify a non-default “Port Number,” “Test Name,” or “Query String Parameters”.
This step is unnecessary for a default test. It is only necessary if you are using a non-default port or a customized test, or if you need to specify query string parameters.
To test the configuration, click "Test URL".
A message box indicates whether the test passed or failed.
Click "OK".
Once you have installed and configured the Heartbeat utility on a remote client machine, you can easily use it to check a server’s status.
On the Windows Start menu, choose Programs > eRoom 7 Heartbeat > eRoom Heartbeat Administration.
The eRoom Heartbeat Console opens.
In the row for the test job you want to monitor, look at the “Last Run Status” column to see the last recorded results.
Alternatively, to run the test immediately, select the test job and right-click.
From the pop-up menu, choose All Tasks > Test Now.
The test results appear in the “Last Run Status” column.
You can record Heartbeat test results to a log file. A new file for the ensuing day’s results is created at Midnight daily.
From the Windows Start menu, choose Programs > eRoom 7 Heartbeat > eRoom Heartbeat Administration.
The eRoom Heartbeat Console opens.
Select the eRoom Heartbeat node and right-click.
From the pop-up menu, choose "Properties".
The eRoom Heartbeat Properties dialog box opens.
Check the “Log Enabled” checkbox.
In the “File Directory” field, specify a writable directory for the log file.
In the File Prefix field, specify a prefix for the log file.
The filename of the generated log will consist of the prefix you specified, the current date, and a .log extension. (For example, hb050802.log). The file is placed in the directory you specified.
The Heartbeat utility can generate performance counter information, which can be used by such monitoring tools as the Windows Performance Monitor. The Heartbeat utility uses a performance object called eRoom Heartbeat. There are four performance counters you can use:
Number of requests--the total number of Heartbeat requests made by a Heartbeat job.
Last Status--the status code that was returned by the last Heartbeat request. (See table below.)
Number of errors--the total number of failed Heartbeat requests.
Last Request Elapsed Time--the time (in milliseconds) required to receive a response from the last Heartbeat request.
There is one instance of each performance counter for each defined Heartbeat job; the names of the instances are the same as the names of the jobs. In addition, there is an instance called “_Total,” which is an aggregated count for all of the jobs.
The following table lists the possible status codes that could be returned by the Last Status performance counter.
Code |
Value |
0 |
Success |
1 |
Timeout |
2 |
Authentication failure |
3 |
Test failed |
4 |
Test disabled |
5 |
Invalid URL |
6 |
Name not resolved |
7 |
Incorrect username |
8 |
Incorrect password |
9 |
Login failure |
10 |
Cannot connect to server |
11 |
Client certificate needed |
12 |
Invalid CA |
13 |
Client authentication not set up |
14 |
Asynchronous thread failed |
15 |
TCP/IP not installed |
16 |
Internet disconnected |
17 |
Server unreachable |
18 |
Proxy server unreachable |
19 |
Bad auto proxy script |
20 |
Invalid certificate |
21 |
Certificate revoked |
22 |
Connection timeout |
23 |
Invalid server response |
24 |
Denied |
25 |
Server error |
26 |
Not found |
27 |
Not supported |
28 |
Bad request |
29 |
Forbidden |
30 |
Bad method |
31 |
None acceptable |
32 |
Proxy Authentication request |
33 |
Request timeout |
34 |
Conflict |
35 |
Gone |
36 |
Length required |
37 |
Request too large |
38 |
Pre-condition failed |
39 |
Version not supplied |
40 |
Gateway timeout |
41 |
Unknown error |
Available from the Server Tuning dialog box, eRoom tracing enables you to retrieve several levels of detail on numerous aspects of eRoom 7 performance. For information on configuring eRoom tracing, refer to eRoom Server Tuning.
The eRoom Diagnostic Report collects several types of diagnostic information and places it in a .zip file that you can specify. You can specify for inclusion as many types of diagnostic information from the following list:
System configuration report
IIS Log
NT event log
User dump
eRoom server configuration report
eTrace log
eRoom performance log
eRoom heartbeat log
eRoom server install log
Note: The eTrace log and the eRoom performance log are only collected if you have previously configured and enabled these utilities separately via the Server Tuning dialog box.
In the event of a server failure, you can run the eRoom Diagnostic Report to collect all the information eRoom Support might request surrounding the incident. Note that the collection of all diagnostics (especially Userdumps) may take several minutes (0-40 minutes). However, all information is necessary in the event of a server outage.
From the Windows Start menu, choose Programs > eRoom Server > eRoom Server Administration.
The ERSAdmin window opens.
Open the eRoom folder.
Right click on the eRoom Server machine.
Choose "Diagnostic Report".
The eRoom Diagnostic Report dialog box opens.
The date and time are filled in automatically. Enter a description of the incident. Provide as much detail as possible.
Select the types of data files you want included.
For outages, leave all checkboxes checked.
Click "OK".
Specify a filename and directory for the output .zip file.
If the web server is not responding, you will need to reboot after running the report.
When the server is rebooted, the diagnostic service will be restarted upon reboot.
Each time the report runs in a given day, it will capture all Performance Monitor logs for that day. After running the report, we recommend that you delete the eTrace and Performance Monitor logs (after confirming they were zipped and captured). This way, each time the report is run it will capture only the eTrace and Performance Monitor logs that were captured since the last time the service was restarted.
The eRoom Checker tool is installed with the eRoom Application and checks the following:
Server Software Configuration
General Site Consistency and File Permissions
Site Database
Facility Databases
Use the following procedure to configure and run eRoom Checker.
From the Windows Start menu, choose Programs > eRoom Server > eRoom Server Administration.
The ERSAdmin window opens.
Open the eRoom folder and right click on the eRoom server you would like to check.
Choose “eRoom Checker”.
The eRoom Checker dialog box opens.
Specify what you would like to check and a policy for handling any errors that are found.
Click the “Start” button.
The Checker process runs. When it is completed, Errors and a Full Report appear in the dialog box.
The Checker executable resides in the …\Program Files\eRoom\eRoom Server directory. In most cases, it is unnecessary to run the eRoom Checker from a command line. However, if you have SQL Anywhere, running the erchecker/r all command from an operating system window in the eRoom Server directory can repair SQL Anywhere log files for facilities and databases. To see a listing of all available command line arguments, use the erchecker/? command.
eRoom 7 contains a site database backup and recovery feature. This feature is not intended to replace normal backup procedures, but it can provide a means of easily restoring a lost eRoom 7 site. The backup and recovery feature makes regular, automated backups of the site database. By default, this feature is enabled.
Use the following steps to disable or enable Site Recovery.
On the Scheduler page of the Site Settings, clear or check the "Enable site recovery" Nightly task. (If there is more than one eRoom server, the site recovery checkbox appears only in the row for the primary eRoom server.)
Click "Apply".
When site recovery task is enabled, a nightly job creates (or replaces) a file called "SiteBackup.bak" containing the Members, Groups & Communities tables in the site database. This file is placed on the eRoom file server that stores facility templates and extensions. Failed backup attempts are listed in the Event Viewer.
Use the following steps to recover a site database from a site backup file.
Run the Checker from a command line with the recover switch. Use the following syntax:
erchecker -recover
The Checker dialog appears with a "Restore Site" button.
Click the "Restore Site" button.
A file browser dialog appears, so that you can browse for the SiteBackup.bak file.
Browse for the SiteBackup.bak file and click "OK".
Confirm the site restoration.
Automatically created by eRoom, the eRoomerrors.log file records any errors generated by the eRoom 7 server. When this file is created, it is placed in the eRoom Data directory location you specified when installing eRoom 7. This file can be sent to eRoom Support when you encounter problems that need troubleshooting.