# DCuoa.ctl:353:Collects Oracle Universal Online Archive Information # $Id: DCuoa.ctl,v 1.5 2015/07/03 12:04:44 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OFM/DCuoa.ctl,v 1.5 2015/07/03 12:04:44 RDA Exp $ # # Change History # 20150703 MSC Improve the documentation. =head1 NAME OFM:DCuoa - Collects Oracle Universal Online Archive Information =head1 DESCRIPTION This module collects Oracle Universal Online Archive information, which includes executable list, configuration, and log files. The module covers Oracle Universal Online Archive Release 10.2.2.x and 11.x. The following reports can be generated and are regrouped under C: =head1 REPORTS =cut echo tput('bold'),'Processing OFM.UOA module ...',tput('off') # Initialization var $ORACLE_HOME = ${D_ORACLE_HOME/P:''} var $MNU = 'Enterprise Content Management' var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '^1:',$MNU pretoc '1+:Universal Online Archive' # UOA version 11g if ?testDir('d',$UOA_HOME = catDir($ORACLE_HOME,'uoa')) {# Initialization var $TAIL = ${DFT.N_TAIL:1000} # Load the common macros run OFM:WLSlib() run RDA:library() =head1 ORACLE HOME COLLECTIONS =head2 repos_info - Repository Collects Universal Online Archive repository information such as repository version, domain properties, node, service, and server configurations. =cut run OFM:CONTinfo(true,true) =head2 uoa_bin - Executable List Gathers Universal Online Archive executable list. =cut debug ' Inside UOA module, getting UOA executable list' var $dir = catDir($UOA_HOME,'bin') report uoa_bin prefix write '---+ List of Files in ',encode($dir) loop $fil ($dir,findDir($dir,'^\.+$','dvr')) call statDir('an',$fil) if isCreated(true) toc '2:[[',getFile(),'][rda_report][Executable List]]' =head2 Manifest Information Gathers the Oracle home manifest information. =cut if ${B_PRIMARY} {debug ' Inside UOA module, getting Oracle home manifest information \ (can take time)' pretoc '2:Manifest Information' call dsp_manifest(3,$ORACLE_HOME) unpretoc } =head2 Configuration Files Gathers Universal Online Archive-related configuration files. =cut debug ' Inside UOA module, collecting the configuration files from Oracle home' pretoc '2:Configuration Files' call sort_files(3,$TAIL,\ grepDir(catDir($UOA_HOME,'admin','config'),'\.xml$','p'),\ grepDir(catDir($UOA_HOME,'settings'),'\.xml$','p')) unpretoc =head1 COMMON HOME INFORMATION Includes the reports generated by the L module about the common home. =cut toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Common Product Home")%' toc '%INCLUDE("OFM_IREQ_OFM_UOA_CH_TF.toc")%' toc '%POP2%' =head1 ORACLE WEBLOGIC SERVER DOMAIN COLLECTIONS It includes all reports produced by the L module for the specified Oracle WebLogic Server domain. =cut toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Oracle WebLogic Server Overview")%' toc '%INCLUDE("OFM_WREQ_OFM_UOA_WH_TF.toc")%' toc '%POP2%' toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Oracle WebLogic Server Domain")%' toc '%INCLUDE("OFM_WREQ_OFM_UOA_DOM_TF.toc")%' toc '%POP2%' } elsif ?testDir('d',catDir($ORACLE_HOME,'content')) {# Initialization var $TAIL1 = ${N_TAIL1:5000} var $TAIL2 = ${N_TAIL2:500} # Collect 10g content information run OFM:CONTinfo(false,true) } =head2 not_found - Not found Used as a warning when none of the Oracle Universal Online Archive files are found. =cut if !isTocCreated() {debug ' Inside UOA module, no file found' report not_found write 'No Oracle Universal Online Archive configuration 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]]' } # Disable the group title in next index toc '-:',$MNU =head1 SEE ALSO L, L, L, L, L, L =begin credits =over 10 =item RDA 4.16: Greg Cook, Andrew Salt. =item RDA 4.24: Greg Cook, Andrew Salt. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. =head1 TRADEMARK NOTICE Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. =cut