# S430DBC.cfg: Setup specification to get the internal variables used for # the Database Control Server gathering function of the RDA # process. # $Id: S430DBC.cfg,v 1.19 2009/05/18 08:33:43 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S430DBC.cfg,v 1.19 2009/05/18 08:33:43 mschenke Exp $ # # Copyright (c) 2002-2009, Oracle. All rights reserved. # # Change History # 20090518 DEM Check for the default for O_HOME_3. ############################################################################### # Collect the Database Control Server setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${DBCONTROL_SERVER_IN_USE} dsc="Collects Database Control Information" env=ORACLE_SID inv=get_db_version man="This module is not considered if the Oracle home contains database \ software earlier than Oracle Database 10g. This check is performed only \ when the inventory information is available." req=S000INI rpt=DBCONTROL_SERVER_IN_USE ttl="Oracle Product Settings" var=DBCONTROL_SERVER_IN_USE #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [get_db_version] typ=P alt=DBCONTROL_SERVER_IN_USE dft="find:version:oracle.rdbms" dsc="Get the database version" nam=-TMP_DB_VERSION var=check_db_version [check_db_version] typ=I alt=no_dbcontrol_server dft="match:TMP_DB_VERSION:^(1[01]\.\d+\.)" dsc="Check the database version" nam=- var=DBCONTROL_SERVER_IN_USE [no_dbcontrol_server] typ=B dft=0 dsc="Is Grid Server in use?" nam=DBCONTROL_SERVER_IN_USE [DBCONTROL_SERVER_IN_USE] typ=B dft=${RDA_DEFAULT:0} dsc="Is Database Control in use?" inp="Is the Database Control in use (Y/N)?" var=check_default1,O_HOME_3 [check_default1] typ=D alt=check_default2 dft=${ORACLE_HOME}/${MACHINE_NAME}.${DOMAIN_NAME}_${ORACLE_SID} dsc="Check if the directory exists" nam=-DEFAULT_HOME [check_default2] typ=D dft=${ORACLE_HOME}/${MACHINE_NAME}_${ORACLE_SID} dsc="Check if the directory exists" nam=-DEFAULT_HOME [O_HOME_3] typ=D dft=${DEFAULT_HOME} dsc="Database Control Server directory" err="Warning: The specified directory does not -yet- exist" inp="Enter the directory where Database Control is installed" val=W