# DCwls.ctl:301:Collects Oracle WebLogic Server Software and Domain Information # $Id: DCwls.ctl,v 1.11 2015/07/03 12:04:44 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OFM/DCwls.ctl,v 1.11 2015/07/03 12:04:44 RDA Exp $ # # Change History # 20150703 MSC Improve the documentation. =head1 NAME OFM:DCwls - Collects Oracle WebLogic Server Software and Domain Information =head1 DESCRIPTION This module collects Oracle WebLogic Server-related information. The module covers Oracle WebLogic Server Release 9.x and later. It includes all reports produced by the L module for the specified Oracle WebLogic Server domains under C. =cut echo tput('bold'),'Processing OFM.WLS module ...',tput('off') # Analyze the domain requests var %tbl = () loop $req (${CUR.O_SETUP}->search('^WREQ_OFM_WLS_DOM')) {var $dom = $req->get_first('I_DOMAIN') if ?$dom->get_first('I_WL_HOME') var $tbl{last->get_oid,$req->get_oid} = $dom->get_first('T_DOMAIN_NAME') else var $tbl{'WH',$req->get_oid} = $dom->get_first('T_DOMAIN_NAME') } # Include the table of content files produced by WREQ var $cnt = 0 loop $oid (keys(%tbl)) {var $flg = $cnt incr $cnt if $flg {toc '%PUSH("%SPLIT%")%' toc '%PUSH("0: * Oracle WebLogic Server ',$cnt,'")%' } elsif compare('eq',$oid,'WH') toc '%PUSH("0: * Orphan Domains")%' else toc '%PUSH("0: * Oracle WebLogic Server")%' toc '%PUSH("1+:Common Product Home")%' toc '%INCLUDE("OFM_IREQ_OFM_WLS_CH_TF.toc")%' toc '%POP%' toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Oracle WebLogic Server Overview")%' toc '%INCLUDE("OFM_WREQ_OFM_WLS_',$oid,'_TF.toc")%' toc '%POP2%' loop $tid (keys($tbl = $tbl{$oid})) {toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:',"'",$tbl->{$tid},"'",' Domain")%' toc '%INCLUDE("OFM_',$tid,'_TF.toc")%' toc '%POP2%' } if $flg toc '%POP2%' else toc '%POP%' } =head1 SEE ALSO L =begin credits =over 10 =item RDA 4.13: Greg Cook, Andrew Salt. =item RDA 4.14: Greg Cook, Eric Gross, Andrew Salt. =item RDA 4.15: Greg Cook, Eric Gross, Ari Kermaier, Andrew Salt, Christo Tonev. =item RDA 4.16: Greg Cook, Sandhya Mohan, Babu Rallapalli, Andrew Salt. =item RDA 4.17: Greg Cook, Adriana Dominguez, Bruce Irvin, Marcus Lachmanez, Andrew Salt. =item RDA 4.18: Greg Cook, Andrew Salt. =item RDA 4.19: Greg Cook, Brad Donison, Meraj Mohammed, Daniel Mortimer, Andrew Salt, Roelof Van Suilichem. =item RDA 4.20: Greg Cook, Adriana Dominguez, Daniel Mortimer, Wes Root, Andrew Salt. =item RDA 4.21: Greg Cook, Tony Mitri, Eliane Papillon Le Noc, Andrew Salt, Hector Viveros. =item RDA 8.01: Greg Cook. =item RDA 8.04: Wes Root. =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