# S248CONT.def: Collects Oracle Content Services Information # $Id: S248CONT.def,v 1.13 2009/05/04 14:48:54 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S248CONT.def,v 1.13 2009/05/04 14:48:54 mschenke Exp $ # # Change History # 20090410 KRA Move the repository collection to a separate file. =head1 NAME S248CONT - Collects Oracle Content Services Information =head1 DESCRIPTION This module collects Oracle Content Services information (for example, configuration and log files). The reports are regrouped under C. =head1 REPORTS =cut echo tput('bold'),'Processing Content module ...',tput('off') # Load the common macros run library() # Initialization var $ORACLE_HOME = getSetting('ORACLE_HOME','') var $TAIL1 = getSetting('OCS_TAIL1',5000) var $TAIL2 = getSetting('OCS_TAIL2',500) var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' toc '^1:Oracle Collaboration Suite' toc '1+:Oracle Content Services' # Collect the generic information run CONTinfo(false) =head2 Configuration and Log Files Gets configuration and log files for Content Services node. =cut pretoc "2:Content Services' Node Config and Log Files" var $dir = catDir($ORACLE_HOME,'content') var $log = catFile($dir,'log','ContentMTConfig.log') var $LOG{$log} = 0 call sort_files(3,$TAIL1,\ catFile($dir,'settings','oracle','ifs','utils','common',\ 'Settings.properties'),\ catFile($dir,'temp','ifsoc4j.properties'),\ grepDir(catDir($dir,'log','Content'),'_Node.log$','ip'),\ $log) unpretoc =pod Gets configuration and log files for Content Services HTTP Node. =cut pretoc '2:HTTP Node Config and Log Files' var $dir = catDir($ORACLE_HOME,'j2ee','OC4J_Content') var $dir1 = catDir($dir,'config') var $dir2 = catDir($dir,'log','OC4J_Content_default_island_1') var $dir3 = catDir($dir,'application-deployments','content',\ 'OC4J_Content_default_island_1') var %LOG = () call sort_files(3,$TAIL1,\ catFile($dir3,'application.log')) call sort_files(3,$TAIL2,\ catFile($dir1,'application.xml'),\ catFile($dir1,'data-sources.xml'),\ catFile($dir1,'default-web-site.xml'),\ catFile($dir1,'global-web-application.xml'),\ catFile($dir1,'http-web-site.xml'),\ catFile($dir1,'internal-settings.xml'),\ catFile($dir1,'j2ee-logging.xml'),\ catFile($dir1,'jazn.xml'),\ catFile($dir1,'jazn-data.xml'),\ catFile($dir1,'jms.xml'),\ catFile($dir1,'oc4j-connectors.xml'),\ catFile($dir1,'principals.xml'),\ catFile($dir1,'rmi.xml'),\ catFile($dir1,'server.xml'),\ catFile($dir2,'default-web-access.log'),\ catFile($dir2,'global-application.log'),\ catFile($dir2,'jms.log'),\ catFile($dir2,'rmi.log'),\ catFile($dir2,'server.log')) unpretoc =pod Gets configuration and log files for Content Services Records Management Node. =cut pretoc '2:Records Management Node Config and Log Files' var $dir = catDir($ORACLE_HOME,'j2ee','OC4J_RM') var $dir1 = catDir($dir,'config') var $dir2 = catDir($dir,'log','OC4J_RM_default_island_1') var $dir3 = catDir($dir,'application-deployments','content',\ 'OC4J_RM_default_island_1') call sort_files(3,$TAIL1,\ catFile($dir3,'application.log')) call sort_files(3,$TAIL2,\ catFile($dir1,'application.xml'),\ catFile($dir1,'data-sources.xml'),\ catFile($dir1,'default-web-site.xml'),\ catFile($dir1,'global-web-application.xml'),\ catFile($dir1,'http-web-site.xml'),\ catFile($dir1,'internal-settings.xml'),\ catFile($dir1,'j2ee-logging.xml'),\ catFile($dir1,'jazn.xml'),\ catFile($dir1,'jazn-data.xml'),\ catFile($dir1,'jms.xml'),\ catFile($dir1,'oc4j-connectors.xml'),\ catFile($dir1,'principals.xml'),\ catFile($dir1,'rmi.xml'),\ catFile($dir1,'server.xml'),\ catFile($dir2,'server.log'),\ catFile($dir2,'default-web-access.log'),\ catFile($dir2,'jms.log'),\ catFile($dir2,'global-application.log'),\ catFile($dir2,'rmi.log')) unpretoc =pod Gets configuration and log files for Java containers running Content Services Node, HTTP Node, and Records Management Node. =cut pretoc '2:Java Containers Config and Log Files' var $dir1 = catDir($ORACLE_HOME,'opmn','conf') var $dir2 = catDir($ORACLE_HOME,'opmn','logs') call sort_files(3,$TAIL2,\ catFile($dir1,'opmn.xml'),\ catFile($dir2,'Content~Node~1'),\ catFile($dir2,'Content~OC4J_Content~default_island~1'),\ catFile($dir2,'Content~OC4J_RM~default_island~1')) unpretoc # Disable the group title in next index toc '-:Oracle Collaboration Suite' =head1 SEE ALSO L, L, L =begin credits =over 10 =item RDA 4.1: Bert Vanderstraeten, Matthias von Ehrenstein. =item RDA 4.2: Frederic Daurelle, Bert Vanderstraeten. =item RDA 4.16: Greg Cook, Andrew Salt. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002-2009, 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