# S240OCS.def: Controls Oracle Collaboration Suite Data Collection # $Id: S240OCS.def,v 1.8 2008/02/22 17:08:19 mschenke Exp $ # ARCS: $Header: /home/cvs/repository/RDA_4/src/scripting/lib/modules/S240OCS.def,v 1.8 2008/02/22 17:08:19 mschenke Exp $ # # Change History # 20080222 MSC Improve the description. =head1 NAME S240OCS - Controls Oracle Collaboration Suite Data Collection =head1 DESCRIPTION This module defines common settings for all Oracle Collaboration Suite modules and gathers information that is common for Oracle Collaboration Suite components. The following reports can be generated and are regrouped under "Oracle Collaboration Suite": =cut echo tput('bold'),'Processing OCS module ...',tput('off') var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:Oracle Collaboration Suite' =head2 virtual - Virtual Service Gathers Virtual Service (Service to Service) information from the Oracle Collaboration Suite installation. =cut if findCommand('ldapsearch') {debug ' Inside OCS module, about to gather virtual service information' var $pgm = last # Get the orcladmin password if getSetting('SQL_PASSWORD_LDAP_ORCLADMIN') var ($pwd) = unpack('u',last) elsif getSetting('OCS_LDAP') var $pwd = last else {var $pwd = askPassword(concat('Enter orcladmin password: ')) call setTempSetting('OCS_LDAP',nvl($pwd,'?')) } # Get other required information to perform LDAP query var $hst = getSetting('LDAP_HOST') var $prt = getSetting('LDAP_PORT') # Perform the LDAP query if and($hst,$prt) {report virtual var $cmd = concat($pgm,' -h ',$hst,' -p ',$prt,' -D "cn=orcladmin" -w ',\ $pwd,' -L -s sub -b "cn=Services,cn=OracleContext" \ "labeleduri=*" labeleduri 2>&1') prefix write '---+ Virtual Service (Service to Service) Information' call writeCommand($cmd) if isCreated(true) {write $TOP toc '2:[[',getFile(),'][rda_report][Virtual Service]]' } } } # Disable the group title in next index if isTocCreated() toc '-:Oracle Collaboration Suite' =head1 SEE ALSO See also L, L, L, L, L, L, L, L, L. =begin credits =over 10 =item RDA 4.6: Frederic Daurelle, Takayuki Hamaguchi. =item RDA 4.7: Frederic Daurelle. =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