# S090OCM.cfg: Controls Oracle Configuration Manager Installation # $Id: S090OCM.cfg,v 1.21 2008/01/07 15:37:51 mschenke Exp $ # ARCS: $Header: /home/cvs/repository/RDA_4/src/scripting/lib/modules/S090OCM.cfg,v 1.21 2008/01/07 15:37:51 mschenke Exp $ # # Copyright (c) 2002-2008, Oracle. All rights reserved. # # Change History # 20080103 DEM Modify documentation. ############################################################################### # Collect the Oracle Configuration Manager setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${OCM_IN_USE} dsc='Setting up Oracle Configuration Manager Interface' env=JAVA_HOME fam=Unix,Win32 req=S000INI var=ocm_enabled #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [ocm_enabled] typ=B alt=ocm_home dft=${NO_OCM} dsc="Prevent interferences between OCM installation and automated setup" nam=- var=no_ocm [ocm_in_use] typ=B dft=1 dsc='Is Oracle Configuration Manager in use?' nam=OCM_IN_USE var=OCM_DISTRIBUTION [no_ocm] typ=B alt=log_info dft=0 dsc='Is Oracle Configuration Manager in use?' nam=OCM_IN_USE [OCM_DISTRIBUTION] typ=T dsc=OCM Distribution kit opt=1 #------------------------------------------------------------------------------ # Check Oracle Configuration Manager existence #------------------------------------------------------------------------------ [ocm_home] typ=D alt=no_home,no_ocm dft=${ORACLE_HOME} dsc="Oracle Configuration Manager home" nam=OCM_HOME var=chk_ocm_home [chk_ocm_home] typ=D alt=chk_ocm_kit dft="${OCM_HOME}/ccr" dsc="Check if $ORACLE_HOME/ccr already exists" nam=- var=chk_emCCR [chk_emCCR] typ=F alt=chk_ocm_kit dft="${OCM_HOME}/ccr/bin/emCCR" dsc="Check for the existence of emCCR" nam=- var=ocm_in_use #------------------------------------------------------------------------------ # Prerequisite checks #------------------------------------------------------------------------------ [chk_ocm_kit] typ=D alt=no_kit,no_ocm dft='${RDA_HOME}/ccr' dsc='Check if OCM software directory exists' nam=-TMP_RDA_CCR var=chk_platform [chk_platform] typ=I alt=not_supported,no_ocm dft='member:OS_NAME:aix,dec_osf,hpux,linux,solaris,MSWin32' dsc='Validate the platform' nam=- var=chk_aix [chk_aix] typ=I alt=chk_owner dft='member:OS_NAME:aix' dsc='Check if it is a AIX' nam=- var=get_aix_version,chk_aix_version [get_aix_version] typ=T dft=`oslevel` dsc='AIX version' nam=-TMP_AIX_VERSION [chk_aix_version] typ=I alt=chk_owner dft='match:TMP_AIX_VERSION:^[1-4]+' dsc='Check AIX version (OCM does not support 4.3.0)' nam=- var=not_supported,no_ocm [chk_owner] typ=I alt=not_owner,no_ocm dft='owner:OCM_HOME' dsc='Validate the Oracle Configuration Manager home owner' nam=- var=chk_java_home [chk_java_home] typ=D alt=chk_ora_jdk dft='${JAVA_HOME}/jre' dsc='Checks if JDK can be located using JAVA_HOME' nam=- var=chk_auto_setup [chk_ora_jdk] typ=D alt=no_java,no_ocm dft=${ORACLE_HOME}/jdk dsc="Is JDK installed in the ORACLE home?" nam=- var=chk_auto_setup [chk_auto_setup] typ=B alt=OCM_REQUEST dft=${NO_DIALOG} dsc="Is it an automated setup?" nam=- var=not_interactive,no_ocm #------------------------------------------------------------------------------ # Oracle Configuration Manager installation requirement check results #------------------------------------------------------------------------------ [no_home] typ=T dft='OCM-09007: Oracle home not found' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [not_interactive] typ=T dft='OCM-09006: Automated setup' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [no_java] typ=T dft='OCM-09004: Java Development Kit not found' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [no_kit] typ=T dft='OCM-09002: The Oracle Configuration Manager software is not available' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [not_owner] typ=T dft='OCM-09003: Not owner of the destination home' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [not_requested] typ=T dft='OCM-09000: Oracle Configuration Manager installation not requested' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [not_supported] typ=T dft='OCM-09001: The platform is not supported' dsc='OCM installation requirement check result' nam=LAST_INFO_S090OCM [no_info] typ=T dsc='OCM installation result' nam=LAST_INFO_S090OCM #------------------------------------------------------------------------------ # Oracle Configuration Manager log settings #------------------------------------------------------------------------------ [log_info] typ=E dft="OCM|setup|N|||${LAST_INFO_S090OCM}" dsc="Log the installation details" nam=- [log_install] typ=E dft="OCM|setup|${OCM_INSTALL}|${OCM_DB_SCRIPTS}|${OCM_APPS_SCRIPTS}|" dsc="Log the installation details" nam=- #------------------------------------------------------------------------------ # Oracle Configuration Manager installation settings #------------------------------------------------------------------------------ [OCM_REQUEST] typ=B dft=1 dsc='Has Oracle Configuration Manager installation been proposed? var=OCM_INSTALL [OCM_INSTALL] typ=F alt=ocm_menu_cd,ocm_item_cd,ocm_menu dft='<