# S342OVD.def: Collects Oracle Virtual Directory Information # $Id: S342OVD.def,v 1.2 2008/02/25 17:32:55 mschenke Exp $ # ARCS: $Header: /home/cvs/repository/RDA_4/src/scripting/lib/modules/S342OVD.def,v 1.2 2008/02/25 17:32:55 mschenke Exp $ # # Change History # 20080225 MSC Change the copyright notice. =head1 NAME S342OVD - Collects Oracle Virtual Directory Information =head1 DESCRIPTION This module collects Oracle Virtual Directory-related information (for example, server, configuration, and log files). The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing Oracle Virtual Directory module ...',tput('off') # Initialization var $ORACLE_HOME = getSetting('ORACLE_HOME','') var $OVD_HOME = getSetting('OVD_HOME',$ORACLE_HOME) var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:Oracle Virtual Directory' # Load the common macros run library() =head2 Server Files Collects the following server files: =over =item o F =item o F =item o F =back =cut debug ' Inside OVD module, gathering server files' pretoc '2:Server Files' var $dir = $OVD_HOME call cat_report($dir,'ovidserver.lax','s_') call cat_report($dir,'vde.sh','s_') call cat_report($dir,'vde_start.sh','s_') unpretoc =head2 Configuration Files Collects configuration files from the F directory. =cut debug ' Inside OVD module, gathering configuration files' pretoc '2:Configuration Files' var $dir = catDir($OVD_HOME,'conf') loop $fil (grepDir($dir,'.*','n')) call cat_report($dir,$fil,'c_') unpretoc =head2 Log Files Collects the log files from the F directory. =cut debug ' Inside OVD module, gathering log files' pretoc '2:Log Files' var $dir = catDir($OVD_HOME,'log') call cat_report($dir,'access.log','l_') call cat_report($dir,'vde.log','l_') call cat_report($dir,'vde.log.exception','l_') call cat_report($dir,'vde_startup.log','l_') unpretoc =head2 not_found - Not Found Used as a warning when none of the Oracle Virtual Directory files are found. =cut if !isTocCreated() {debug ' Inside OVD module, no file found' report not_found write 'No Oracle Virtual Directory files were found and all files were \ optional. This does not mean there was necessarily a problem with RDA, \ but it should be investigated.' toc '2:[[',getFile(),'][rda_report][Not Found]]' } =begin credits =over 10 =item RDA 4.9: Mark Wilcox. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002-2008, Oracle. All rights reserved. =head1 TRADEMARK NOTICE Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. =cut