# S400RAC.def: Collects Cluster Information # $Id: S400RAC.def,v 1.52 2009/08/17 13:57:03 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S400RAC.def,v 1.52 2009/08/17 13:57:03 mschenke Exp $ # # Change History # 20090818 MSC Add Cluster Verify software check and CSS settings. =head1 NAME S400RAC - Collects Cluster Information =head1 DESCRIPTION This module collects data that is related to the operation of the Oracle Cluster and its configuration. The following reports can be generated and are regrouped under C in C: =cut echo tput('bold'),'Processing Cluster module ...',tput('off') # Initialization var $ORACLE_HOME = getSetting('ORACLE_HOME','') var $MACHINE_NAME = getSetting('MACHINE_NAME','localhost') var $DATABASE_LOCAL = getSetting('DATABASE_LOCAL') var $CLUSTER_OCRDUMP = getSetting('CLUSTER_OCRDUMP') var $CLUSTER_TAIL = getSetting('CLUSTER_TAIL',200) var $AGE = getSetting('CLUSTER_FILE_AGE',15) var $CORE = '(^core\.\d+$|core$)' var $OSN = getOsName() var $PAT1 = concat('itm',$AGE) var $PAT2 = concat('dirm',$AGE) var $PAT3 = concat('drm',$AGE) var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' toc '^1:Cluster' toc '1+:Cluster Information' # Load the common macros run DBinfo() run library() run INSTinfo() =pod Reports the details of the operating system-specific aspects (platform-specific code) =cut var $ORA_CRS_HOME = getEnv('ORA_CRS_HOME','') var @FILES = () var @INITD = () if match($OSN,'solaris') {run OSsunos('RAC',\@INITD,\@FILES) } elsif match($OSN,'hpux') {run OShpux('RAC',\@INITD,\@FILES) } elsif match($OSN,'aix') {run OSaix('RAC',\@INITD,\@FILES) } elsif match($OSN,'dec_osf') {run OSosf('RAC',\@INITD,\@FILES) } elsif match($OSN,'linux') {run OSlinux('RAC',\@INITD,\@FILES) } elsif isWindows() {run OSwin32('RAC') } else {echo 'Platform ',$OSN,' not supported' } =head2 racOnOff - RAC on/off Linked Verifies that the RAC option is currently linked into the F executable. This check is performed only in supported UNIX platforms. =cut if match($OSN,'aix|dec_osf|hpux|linux|solaris') {debug ' Inside RAC module, checking ORACLE binaries to see if RAC is linked' report racOnOff write '---+ Verify RAC Linked' var $cmd = concat('nm -r ',\ catCommand($ORACLE_HOME,'rdbms','lib','libknlopt.a'),\ ' | grep -c "kcsm.o" 2>/dev/null') write '---## Checking ORACLE binaries to see if RAC is linked' write '---### Using command: ',encode($cmd) if command($cmd) write 'RAC option IS installed and linked into the Oracle binary.' else write 'RAC NOT correctly linked or installed into the Oracle binary' toc '2:[[',getFile(),'][rda_report][RAC on/off Linked]]' } =head2 init - Init Files On UNIX, collects the F and the init files. Additional platform-specific files can be present. =cut if isUnix() {debug ' Inside RAC module, gathering init files' report init prefix {write '---+!! Init Files' write $TOC } loop $fil (@INITD) {if testFile('f',$fil) {var $nam = basename($fil) write '---+ Display of ',encode($nam),' File' write '---## Information Taken from ',encode($fil) if !writeFile($fil) {write '**',encode($nam),' not readable.**%BR%\ May be file permission problems.%BR%\ Permissions are:%BR%' call statFile('b',$fil) write 'User: ',id(),'%BR%' } write $TOP } } if isCreated(true) toc '2:[[',getFile(),'][rda_report][Init Files]]' =head2 core - Core Dumps When a debugger is found on UNIX, RDA tries to extract the stack trace from the core dumps present in the cluster directories. =cut debug ' Inside RAC module, detecting core dumps' report core var $log = catDir($ORA_CRS_HOME,'log',getSetting('MACHINE_NAME')) var @dmp = (grepDir(catDir($ORA_CRS_HOME,'crs','init'),$CORE,$PAT3),\ grepDir(catDir($ORA_CRS_HOME,'css','init'),$CORE,$PAT3),\ grepDir(catDir($ORA_CRS_HOME,'evm','init'),$CORE,$PAT3),\ grepDir(catDir($log,'crsd'),$CORE,$PAT3),\ grepDir(catDir($log,'cssd'),$CORE,$PAT3),\ grepDir(catDir($log,'evmd'),$CORE,$PAT3)) var $flg = true if @dmp {# Include the core analyzer run COREinfo() var $flg = false # When a debugger is found, analyze the core dumps if can_analyze_core() {var $dbg = last write '---+!! Core Dump Stack Trace Extraction' write '---## Using: ',encode($dbg) write $TOC call analyze_core(@dmp) } } if match(getOsName(),'solaris') {if $flg run COREinfo() call run_coreadm(('crsd|evmd|evmlogger|init\.cssd|ocssd|ons|oprocd|\ racgmain|racgimon')) } if isCreated(true) toc '2:[[',getFile(),'][rda_report][Core Dumps]]' } =head2 crs_status - CRS Status Sets up and populates CRS_status if Cluster Ready Services is installed. =cut debug ' Inside RAC module, checking Cluster Ready Services status' report crs_status write '---+!! Cluster Ready Services Status' write $TOC prefix write 'Cluster Ready Services detected.' if $ORA_CRS_HOME {if or(testFile('f',catFile($ORA_CRS_HOME,'bin','olsnodes')),\ testFile('f',catFile($ORA_CRS_HOME,'bin','olsnodes.exe'))) {write '---+ Nodes Found' write '---## Using: olsnodes' if isVms() call writeCommand(concat(lastCommand())) else call writeCommand(concat(lastCommand(),' 2>&1')) write $TOP prefix {write '---+ Cluster Synchronization Services Daemon Status' write '---## Using: crsctl check css' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' check css')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Ready Services Status' write '---## Using: crsctl check crs status' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' check crs status')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Ready Services Viability' write '---## Using: crsctl check crsd status' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' check crsd status')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Synchronization Services Viability' write '---## Using: crsctl check cssd status' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' check cssd status')) if hasOutput(true) write $TOP prefix {write '---+ Event Manager Viability' write '---## Using: crsctl check evmd status' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' check evmd status')) if hasOutput(true) write $TOP prefix {write '---+ Location of the Vote Disks' write '---## Using: crsctl query css votedisk' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' query css votedisk')) if hasOutput(true) write $TOP prefix {write '---+ CSS Daemon Priority' write '---## Using: crsctl get css priority' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' get css priority')) if hasOutput(true) write $TOP prefix {write '---+ CSS Diagwait Status' write '---## Using: crsctl get css diagwait' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' get css diagwait')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Disk Latencies' write '---## Using: crsctl get css disktimeout' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' get css disktimeout')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Nework Latencies' write '---## Using: crsctl get css misscount' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' get css misscount')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Reboot Time' write '---## Using: crsctl get css reboottime' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' get css reboottime')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Ready Services Software Version' write '---## Using: crsctl query crs softwareversion' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' query crs softwareversion')) if hasOutput(true) write $TOP prefix {write '---+ Cluster Ready Services Active Version' write '---## Using: crsctl query crs activeversion' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','crsctl'),\ ' query crs activeversion')) if hasOutput(true) write $TOP } } if !hasOutput(true) {write write '**Cluster Ready Services NOT detected.**%BR%' } # Get ocr.loc if isWindows() {write '---+ OCR Configuration Registry Contents' if !writeRegistry('HKLM\Software\Oracle\Ocr') write '**There are no OCR registry entries.**%BR%' } else {write '---+ OCR Configuration File Contents' if testFile('f','/var/opt/oracle/ocr.loc') call writeFile('/var/opt/oracle/ocr.loc') elsif testFile('f','/etc/oracle/ocr.loc') call writeFile('/etc/oracle/ocr.loc') elsif isVms() {var $hom = getEnv('SYS$LOGIN') var ($nod) = command(concat('write sys$output f$getsyi("NODENAME")')) loop $dir (catDir($hom,$nod,'oracle')) {if testFile('r',catFile($dir,'ocr.loc')) {call writeFile(lastFile()) break } } } else write '**ocr.loc file not found.**%BR%' } write $TOP toc '2:[[',getFile(),'][rda_report][CRS Status]]' =head2 cluvfy - Cluster Verify Information Collects Cluster Verify information. =cut if findCommand('cluvfy') {var $pgm = last debug ' Inside RAC module, getting Cluster Verify information' report cluvfy write '---+!! Cluster Verify Information' write $TOC var $cmd = concat($pgm,' comp sys -n ',$MACHINE_NAME,' -p crs -verbose') write '---+ Oracle Clusterware Information Check' write '---## Using: ',encode($cmd) call writeCommand($cmd) write $TOP var $cmd = concat($pgm,' comp sys -n ',$MACHINE_NAME,' -p database -verbose') write '---+ Oracle Real Application Cluster Check' write '---## Using: ',encode($cmd) call writeCommand($cmd) write $TOP var $cmd = concat($pgm,' stage -post crsinst -n ',$MACHINE_NAME,' -verbose') write '---+ Oracle Clusterware Post Installation Check' write '---## Using: ',encode($cmd) call writeCommand($cmd) write $TOP var $cmd = concat($pgm,' comp software -verbose -n all') write '---+ Oracle Clusterware Software Distribution Check' write '---## Using: ',encode($cmd) call writeCommand($cmd) write $TOP toc '2:[[',getFile(),'][rda_report][Cluster Verify Information]]' } =head2 crs_inventory - CRS Inventory Provides the inventory of the Cluster Ready Services home if inventory information is still available. =head2 crs_stat - CRS Stat Details If Cluster Ready Services is installed, provides the C detailed output. =cut if $ORA_CRS_HOME {debug ' Inside RAC module, providing the crs inventory (can take time)' var $fil = catFile($ORA_CRS_HOME,'inventory','ContentsXML','comps.xml') if testFile('fr',$fil) {report crs_inventory prefix {write '---+!! Cluster Ready Services Inventory' write $TOC } call inventory_details($fil,getSetting('CLUSTER_INTERIM')) if isCreated(true) toc '2:[[',getFile(),'][rda_report][CRS Inventory]]' } debug ' Inside RAC module, providing the crs_stat detailed output' report crs_stat prefix {write '---+!! Cluster Ready Services crs_stat' write $TOC write '---+ Using: ',encode($cmd) } var $cmd = concat(catCommand($ORA_CRS_HOME,'bin','crs_stat'),' -u') call writeCommand($cmd) if hasOutput() {prefix write '---+ Using: ',encode($cmd) } var $cmd = concat(catCommand($ORA_CRS_HOME,'bin','crs_stat'),' -p') call writeCommand($cmd) if isCreated(true) toc '2:[[',getFile(),'][rda_report][CRS Stat Details]]' } =head2 alert_log - Alert Log Collects last lines of F<$ORA_CRS_HOME/log/EnodeE/alertEnodeE.log> (Oracle Database 10g R2 and later). =head2 crs_log - CRS Log Handles the log files in F<$ORA_CRS_HOME/crs/log> (Oracle Database 10g R1) or in F<$ORA_CRS_HOME/log/EnodeE/crsd> (Oracle Database 10g R2 and later). =head2 css_log - CSS Log Handles the log files in F<$ORA_CRS_HOME/css/log> (Oracle Database 10g R1) or in F<$ORA_CRS_HOME/log/EnodeE/cssd> (Oracle Database 10g R2 and later). =head2 racg_dump - RACG Dump Gets dump files from F<$CRS_HOME/racg/dump> (Oracle Database 10g R1) or from F<$ORA_CRS_HOME/log/EnodeE/racg> (Oracle Database 10g R2 and later). =head2 evm_log - CRS EVM Log Handles the log files in F<$ORA_CRS_HOME/evm/log> (Oracle Database 10g R1) or in F<$ORA_CRS_HOME/log/EnodeE/evmd> (Oracle Database 10g R2 and later). =head2 client_log - Client Log Handles the log files in F<$ORA_CRS_HOME/log/EnodeE/client> (Oracle Database 10g R2 and later). =head2 admin_log - Admin Log Handles the log files in F<$ORA_CRS_HOME/log/EnodeE/admin> (Oracle Database 10g R2 and later). =cut if $ORA_CRS_HOME {toc '2:CRS Log Files' var $nod = getSetting('MACHINE_NAME') var $log = catDir($ORA_CRS_HOME,'log',$nod) debug ' Inside RAC module, gathering alert log file' report alert_log call tail_file($log,concat('alert',$nod,'.log'),$CLUSTER_TAIL) if isCreated() toc '3:[[',getFile(),'][rda_report][Alert Log]]' debug ' Inside RAC module, gathering CRS log files' report crs_log var $dir = catDir($ORA_CRS_HOME,'crs','log') loop $nam (grepDir($dir,'\.log$',$PAT1)) call tail_file($dir,$nam,$CLUSTER_TAIL) loop $fil (grepDir(catDir($log,'crsd'),'.',$PAT2)) {if testFile('f',$fil) {var $nam = basename($fil) next match($nam,$CORE) call tail_file(dirname($fil),$nam,$CLUSTER_TAIL) } } if isCreated() toc '3:[[',getFile(),'][rda_report][CRS Log]]' debug ' Inside RAC module, gathering CSS log files' report css_log var $dir = catDir($ORA_CRS_HOME,'css','log') loop $nam (grepDir($dir,'\.log$',$PAT1)) call tail_file($dir,$nam,$CLUSTER_TAIL) var $dir = catDir($ORA_CRS_HOME,'css','init') loop $nam (grepDir($dir,'\.log$',$PAT1)) call tail_file($dir,$nam,$CLUSTER_TAIL) loop $fil (grepDir(catDir($log,'cssd'),'.',$PAT2)) {if testFile('f',$fil) {var $nam = basename($fil) next match($nam,$CORE) call tail_file(dirname($fil),$nam,$CLUSTER_TAIL) } } if isCreated() toc '3:[[',getFile(),'][rda_report][CSS Log]]' debug ' Inside RAC module, gathering RACG dump files' report racg_dump var $dir = catDir($ORA_CRS_HOME,'racg','dump') loop $nam (grepDir($dir,'.*',$PAT1)) call tail_file($dir,$nam,$CLUSTER_TAIL) if compare('ne',$ORA_CRS_HOME,$ORACLE_HOME) {var $dir = catDir($ORACLE_HOME,'racg','dump') loop $nam (grepDir($dir,'.*',$PAT1)) {next match($nam,$CORE) call tail_file($dir,$nam,$CLUSTER_TAIL) } } loop $fil (grepDir(catDir($log,'racg'),'.',$PAT2)) {if testFile('f',$fil) {var $nam = basename($fil) next match($nam,$CORE) call tail_file(dirname($fil),$nam,$CLUSTER_TAIL) } } if isCreated() toc '3:[[',getFile(),'][rda_report][RACG Dump]]' debug ' Inside RAC module, gathering CRS EVM Log' report evm_log var $dir = catDir($ORA_CRS_HOME,'evm','log') loop $nam (grepDir($dir,'\.log$',$PAT1)) call tail_file($dir,$nam,$CLUSTER_TAIL) var $dir = catDir($ORA_CRS_HOME,'evm','init') loop $nam (grepDir($dir,'\.log$',$PAT1)) call tail_file($dir,$nam,$CLUSTER_TAIL) loop $fil (grepDir(catDir($log,'evmd'),'.',$PAT2)) {if testFile('f',$fil) {var $nam = basename($fil) next match($nam,$CORE) call tail_file(dirname($fil),$nam,$CLUSTER_TAIL) } } if isCreated(true) toc '3:[[',getFile(),'][rda_report][CRS EVM Log]]' debug ' Inside RAC module, gathering Client Log' report client_log loop $fil (grepDir(catDir($log,'client'),'.',$PAT2)) {if testFile('f',$fil) {var $nam = basename($fil) next match($nam,$CORE) call tail_file(dirname($fil),$nam,$CLUSTER_TAIL) } } if isCreated(true) toc '3:[[',getFile(),'][rda_report][Client Log]]' debug ' Inside RAC module, gathering Admin Log' report admin_log loop $fil (grepDir(catDir($log,'admin'),'.',$PAT2)) {if testFile('f',$fil) {var $nam = basename($fil) next match($nam,$CORE) call tail_file(dirname($fil),$nam,$CLUSTER_TAIL) } } if isCreated(true) toc '3:[[',getFile(),'][rda_report][Admin Log]]' =head2 ocrdump - ocrdump An OCR dump can be requested by C setting to a true (non zero) value. =cut if $CLUSTER_OCRDUMP {debug ' Inside RAC module, requesting an OCR dump' report ocrdump var $pgm = catCommand($ORA_CRS_HOME,'bin','ocrdump') var $tmp = newTemp('ocrdump') if and(getSetting('CLUSTER_XML_OCRDUMP'),\ loadCommand(concat($pgm,' -xml ',quote($tmp,'x'))),\ testFile('s',$tmp)) {write '---+ OCR Dump in XML Format' write '---## Using: ',encode($pgm) call writeFile($tmp) } elsif loadCommand(concat($pgm,' ',quote($tmp,'x'),' 2<&1')) {write '---+ OCR Dump' write '---## Using: ',encode($pgm) call writeFile($tmp) } else {write '---+ OCR Dump Error' call writeLastFile() } call unlinkTemp('ocrdump') if isCreated(true) toc '3:[[',getFile(),'][rda_report][ocrdump]]' } =head2 ocrcheck - ocrcheck Executes C. (Oracle Database 10g R2 and later) =cut debug ' Inside RAC module, requesting an OCR check' report ocrcheck var $pgm = catCommand($ORA_CRS_HOME,'bin','ocrcheck') prefix {write '---+ OCR Check' write '---## Using: ',encode($pgm) } call writeCommand($pgm) if isCreated(true) toc '3:[[',getFile(),'][rda_report][ocrcheck]]' =head2 ocrconfig - ocrconfig -showbackup Executes C. (Oracle Database 10g R2 and later) =cut debug ' Inside RAC module, requesting an OCR config' report ocrconfig var $pgm = concat(catCommand($ORA_CRS_HOME,'bin','ocrconfig'),' -showbackup') prefix {write '---+ OCR Config' write '---## Using: ',encode($pgm) } call writeCommand($pgm) if isCreated(true) toc '3:[[',getFile(),'][rda_report][ocrconfig -showbackup]]' } =head2 srvctl - SRVM Runs F commands and reports the configuration information. =cut debug ' Inside RAC module, running srvctl commands' report srvctl write '---+!! SRVCTL Information' write $TOC write '---+ Location and Contents of srvConfig.loc' if testFile('f','/var/opt/oracle/srvConfig.loc') var $loc = '/var/opt/oracle/srvConfig.loc' elsif testFile('f','/etc/srvConfig.loc') var $loc = '/etc/srvConfig.loc' else {var $loc = undef write '**srvConfig.loc not found.**%BR%\ Either file does not exist or \ this Oracle version does not use this file.' } if $loc {write '---++ Location' call statFile('p',$loc) write $TOP write '---++ Contents of ',encode($loc) call writeFile($loc) write $TOP write '---++ srvConfig File Permissions' loop $fil (grepFile($loc,'srvconfig_loc')) {var @fld = split('=',trim($fil)) call statFile('p',$fld[-1]) } write $TOP } if or(testFile('x',catFile($ORACLE_HOME,'bin','srvctl')),\ testFile('r',catFile($ORACLE_HOME,'bin','srvctl.com')),\ testFile('x',catFile($ORACLE_HOME,'bin','srvctl.bat'))) {var $pgm = lastCommand() var $hst = getSetting('MACHINE_NAME') write '---+ Nodeapps Configuration Information' write '---## Using: srvctl config nodeapps -n ',$hst,' -a -l -g -s' if isVms() call writeCommand(concat('srvctl config nodeapps "-n" ',$hst,\ ' "-a" "-l" "-g" "-s"')) else call writeCommand(concat($pgm,' config nodeapps -n ',$hst,' -a -l -g -s')) write $TOP write '---+ Database Configuration Information' write '---## Using: srvctl config' if isVms() call loadCommand('srvctl config') else call loadCommand(concat($pgm,' config')) call writeLastFile() loop $db (getLines()) {break match($db,'^PRKH-\d+\s*:') if length($db) {write '---++ ',$db,' Database' write '---### Using: srvctl config database -d ',$db,' -a' if isVms() call writeCommand(concat('srvctl config database "-d" ',$db,' "-a"')) else call writeCommand(concat($pgm,' config database -d ',$db,' -a')) } } unprefix write $TOP } toc '2:[[',getFile(),'][rda_report][SRVM]]' =head2 oifcfg - Interfaces Collects interface information using C. =cut debug ' Inside RAC module, gathering interface information' report oifcfg var $TTL = '---+!! Interface Information' prefix {write '---+ Available Interfaces' write '---## Using: oifcfg iflist' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','oifcfg'),' iflist')) if hasOutput(true) write $TOP prefix {write '---+ Defined Interfaces' write '---## Using: oifcfg getif' } call writeCommand(concat(catCommand($ORA_CRS_HOME,'bin','oifcfg'),' getif')) if hasOutput(true) write $TOP if isCreated(true) toc '2:[[',getFile(),'][rda_report][Interfaces]]' =head2 interconnect - Interconnect Collects interconnect information from the database. It requires SYSDBA privileges. =cut debug ' Inside RAC module, gathering interconnect information' report interconnect var $TTL = '---+!! Interconnect Information' var @TTL = ('',\ '---+ x$ksxpia Information',\ '---+ x$sksxpia Information') var @HDR = () var ($HDR[1],$col1) = getSqlColumns('RDA','','X$KSXPIA') call clearSqlColumns('RDA') var ($HDR[2],$col2) = getSqlColumns('RDA','','X$SKGXPIA') call clearSqlColumns('RDA') set $sql {SELECT :1 " FROM x$ksxpia; "PROMPT ___Macro_separator(2)___ "SELECT :2 " FROM x$skgxpia; } call separator(1) call writeSql(bindSql($sql,$col1,$col2)) call separator(0,'Interconnect') =head2 ipc - IPC Runs C commands to generate a trace file, and then displays the IPC trace file. It is performed only for databases associated with the current Oracle home. RDA does not execute the command on Windows. =cut if !isWindows() {debug ' Inside RAC module, gathering IPC trace file' report ipc prefix write '---+ IPC Trace File' if $DATABASE_LOCAL {set $sql {oradebug setmypid "oradebug ipc "oradebug tracefile_name } call loadSql($sql) var ($fil) = grepLastSql('\.trc') if $fil call writeFile(catFile($fil)) else {write '' call writeLastSql() if getSqlMessage() write last write '' } } else write 'Database was not chosen as an option for this execution.%BR%\ oradebug ipc information not gathered.' if isCreated(true) toc '2:[[',getFile(),'][rda_report][IPC]]' } =head2 logs - Cluster Configuration/Logs Looks for the cluster configuration and log files on the operating system. The file list is platform-specific. =cut debug ' Inside RAC module, looking for cluster configuration and logs' report logs prefix {write '---+!! Cluster Configuration and Logs' write $TOC } loop $fil (@FILES) {if testFile('f',$fil) call tail_file(dirname($fil),basename($fil),100) else write '---## ',encode($fil),' not present on this server' write $TOP } if isCreated(true) toc '2:[[',getFile(),'][rda_report][Cluster Configuration/Logs]]' # Disable the group title in next index toc '-:Cluster' =head1 SEE ALSO L, L, L, L, L, L, L, L, L, L =begin credits =over 10 =item RDA 4.0: Bernhard Cock Buning. =item RDA 4.2: Roger Snowden. =item RDA 4.6: Bob Caldwell. =item RDA 4.15: Jaime Alcoreza, Grant Hayden, Hagen Herbst, Scott Jesse. =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