# S300IAS.def: Collects Web Server Information # $Id: S300IAS.def,v 1.27 2009/01/14 10:14:26 ldens Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S300IAS.def,v 1.27 2009/01/14 10:14:26 ldens Exp $ # # Change History # 20090114 LDE Change the copyright notice. =head1 NAME S300IAS - Collects Web Server Information =head1 DESCRIPTION This module collects Web Server-related information through a release-specific sub module. It automatically detects OAS 11g, OAS 10g R4 (10.1.4), OAS 10g R3 (10.1.3), OAS 10g R2 (10.1.2), OAS 10g (9.0.4), 9iAS R2 (9.0.2/9.0.3), and 9iAS (1.0.2). =cut echo tput('bold'),'Processing Web Server module ...',tput('off') # Initialization var $APACHE_TOP = getSetting('APACHE_TOP','') var $ORACLE_HOME = getSetting('ORACLE_HOME','') # Execute the collection based on web server release if nvl(getVersion('oracle.apache2'),getVersion('oracle.apache'),\ getVersion('oracle.opmn'),getVersion('oracle.ons')) {var $ver = last if match($ver,'^11\.') echo 'Current version is 11g' elsif match($ver,'^10\.1\.4') run IASr1014('10.1.4') elsif match($ver,'^10\.1\.3') run IASr1013('10.1.3') elsif match($ver,'^10\.1\.2') {if match(getVersion('oracle.iappserver.iappcore'),'^10\.1\.4') run IASr1014('10.1.4') else run IASr1012('10.1.2',match($ver,'^(10\.1\.2\.\d+)')) } elsif match($ver,'^9\.0\.4') run IASr10g('9.0.4') elsif match($ver,'^9\.0\.3') run IASr2('9.0.3') elsif match($ver,'^9\.0\.2') run IASr2('9.0.2') else run IASr1() } else {var $fil = catFile($ORACLE_HOME,'config','ias.properties') if testFile('f',$fil) {if grepFile($fil,'10\.1\.4') run IASr1014('10.1.4') elsif grepFile($fil,'10\.1\.3') run IASr1013('10.1.3') elsif grepFile($fil,'10\.1\.2') run IASr1012('10.1.2',match(last,'(10\.1\.2\.\d+)')) elsif grepFile($fil,'9\.0\.4') run IASr10g('9.0.4') elsif grepFile($fil,'9\.0\.3') run IASr2('9.0.3') elsif grepFile($fil,'9\.0\.2') run IASr2('9.0.2') else run IASr1() } else run IASr1() } =head1 SEE ALSO L, L, L, L, L, L, L, L =begin credits =over 10 =item RDA 4.4: Wes Root. =item RDA 4.5: Greg Cook, Wes Root. =item RDA 4.7: Bill Loi, Pedro Nunes, Wes Root. =item RDA 4.9: Greg Cook, Albert Girona. =item RDA 4.13: 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