Managing System Processes 3-49
search index. It can also assist system administrators in repairing some problems that are detected in the repository components.
Using the Content Server Analyzer, system administrators can do the following:
■
Confirm the accuracy of synchronization between three important Oracle Content Server database tables Revisions, Documents, and DocMeta.
■
Confirm that the dRevClassID and dDocName fields are consistent across all revisions of content items.
■
Determine if the file system native and Web-viewable file repositories contains any duplicate or missing files.
■
Ensure the accuracy of synchronization between the search index and the file system.
■
Ensure the accuracy of synchronization between the search index and the Revisions database table.
■
Ensure that the file system contains all necessary files.
■
Remove duplicate files from the Oracle Content Server repository either permanently or provisionally by moving them into the logsdirectory.
■
Produce a general report on the state of content items in the Oracle Content Server repository.
The method to start the Content Server Analyzer depends on the operating system:
■
Windows : Select Start, then Oracle Content Server, then Instance_Name, then
Content Server Analyzer .
■
UNIX : Navigate to the DomainHomeucmcsbin directory and run the Oracle
Content Server Analyzer program. These sections describe Oracle Content Server Analyzer tasks:
■
Section 3.7.7.1, Accessing the Content Server Analyzer
■
Section 3.7.7.2, Specifying a Custom Analyzer Log Directory
■
Section 3.7.7.3, Invoking the Analysis Process
■
Section 3.7.7.4, Analyzing the Oracle Content Server Database
■
Section 3.7.7.5, Analyzing the Oracle Content Server Search Index
■
Section 3.7.7.6, Analyzing the Oracle Content Server File System
■
Section 3.7.7.7, Viewing the Analysis Progress and Results
■
Section 3.7.7.8, Generating a Status Report
■
Section 3.7.7.9, Canceling the Status Report
3.7.7.1 Accessing the Content Server Analyzer
To display the Content Server Analyzer, use one of the following methods:
■
Windows: Select Start, then Programs, then Content Server, then instance_name, then Utilities and then Content Server Analyzer.
■
UNIX: Change to the DomainHomeucmcsbin directory, type IdcAnalyze in a shell window, and press the RETURN key.
The Content Server Analyzer application is displayed.
3-50 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server
3.7.7.2 Specifying a Custom Analyzer Log Directory
The logs directory is the default logging directory for the Content Server Analyzer. Analysis output files are written to this directory and extra files detected during a file
system analysis process can be transferred here as well. Optionally, the default logs directory name and path can be changed as desired.
To customize the Analyzer log directory name and path:
1. On the
Content Server Analyzer: Configuration Tab , place the cursor in the
Analyzer log dir field.
2. Enter the desired directory path.
During the next analysis process, the Content Server Analyzer automatically creates the specified directory or directories in the DomainHomeucmcsbin
directory hierarchy.
3.7.7.3 Invoking the Analysis Process
To invoke the analysis process:
1.
On the Content Server Analyzer: Configuration Tab
, select and activate the desired options checking the corresponding checkboxes.
2. Click Start Analysis.
3. Click Yes to overwrite the existing log file.
The Content Server Analyzer: Progress Tab
is displayed automatically.
A completion message is displayed when all of the selected analysis processes are finalized.
4. Click OK.
The results are displayed in the console area on the Progress tab.
3.7.7.4 Analyzing the Oracle Content Server Database
The Check RevClassIDs and Clean database options are used to check the integrity of the database columns. The available options enable users to examine the three tables
that are used to store content item revision information DocMeta, Documents, and Revisions. The DocMeta file is examined for extra entries that are not found in the
Revisions table. Similarly, the Documents table is examined to verify that there are sufficient entries to correspond to the entries in the Revisions table.
Note: If this is the very first time the Content Server Analyzer has
been run, the output files in the logs directory are automatically created. On subsequent analysis processes, a confirmation message is
displayed asking to overwrite the existing log file.
Note: If you click No, the analysis process is terminated and you are
prompted to manually remove files from the logs directory before running the Content Server Analyzer again.
Managing System Processes 3-51
To analyze the Content Server database:
1. On the
Content Server Analyzer: Configuration Tab , select the applicable options.
2. Click Start Analysis.
The results are displayed in the console area on the Content Server Analyzer:
Progress Tab . For information about the analysis procedure, see
Section 3.7.7.3, Invoking the Analysis Process.
3.7.7.5 Analyzing the Oracle Content Server Search Index
The Check search index and csIDCAnalyzeCleanIndex options are used to check the entries in the Revisions table to ensure that all of the documents that belong in the
index are properly listed. Additionally, a check can be performed to ensure that there are no duplicate entries in the search index.
To analyze the Oracle Content Server search index:
1.
On the Content Server Analyzer: Configuration Tab
, select the applicable options.
2. Click the Start Analysis button for information about the analysis procedure, see
Section 3.7.7.3, Invoking the Analysis Process. The results are displayed in the console area on the
Content Server Analyzer: Progress Tab
.
3.7.7.6 Analyzing the Oracle Content Server File System
The Check file system, Delete, Safe delete, and Check for extra files options are used to check the integrity of the file system weblayout and vault file repositories.
Using the information in the database, these options ensure that every file in the Revisions table contains accurate entries corresponding to the items in the file system.
A check can also be completed to locate any extra files in the vault and weblayout file repositories.
Note: The Check RevClassIDs and Clean database options are
activated and selectable only when the Check database option is selected.
Note: The csIDCAnalyzeCleanIndex option is activated and
selectable only when the Check search index option is selected.
3-52 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server
To analyze the Oracle Content Server file system vault and weblayout file repositories:
1.
On the Content Server Analyzer: Configuration Tab
, select the applicable options.
2. Click Start Analysis.
The results are displayed in the console area on the Content Server Analyzer:
Progress Tab . For information about the analysis procedure, see
Section 3.7.7.3, Invoking the Analysis Process.
3.7.7.7 Viewing the Analysis Progress and Results
The Content Server Analyzer: Progress Tab
is displayed automatically when the Start Analysis
button is clicked. The progress bars show when the Content Server Analyzer has completed processing the selected analysis options. The following image shows a
partially finished analysis: When the analysis process is complete, the results are displayed in the console area of
the Progress tab. The results depend on what analysis options were selected. The following image of the console area shows the results from selecting database, search
index, and file system options:
Note: The Delete, Safe delete, and Check for extra files options are
activated and selectable only when the Check file system option is selected.
Note:
The Generate report option was not selected for this example. For an example of the generated status report, see
Section 3.7.7.8, Generating a Status Report.
Managing System Processes 3-53
Figure 3–6 Example Console Display of Results
3.7.7.8 Generating a Status Report