# S340OID.cfg: Setup specification to get the internal variables used for # Oracle Internet Directory gathering function of the RDA process. # $Id: S340OID.cfg,v 1.22 2009/05/05 09:46:52 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S340OID.cfg,v 1.22 2009/05/05 09:46:52 mschenke Exp $ # # Copyright (c) 2002-2009, Oracle. All rights reserved. # # Change History # 20090504 KRA Include 'trg' attribute list. ############################################################################### # Collect Oracle Internet Directory setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${INTERNET_DIRECTORY_IN_USE} dsc="Collects Oracle Internet Directory Information" req=S000INI,*?OID_REQ_ASIT:S313ASIT rpt=INTERNET_DIRECTORY_IN_USE trg=?OID_REQ_ASIT:S313ASIT ttl="Oracle Product Settings" var=check_internet_directory #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [check_internet_directory] typ=D alt=no_internet_directory dft="${ORACLE_HOME}/ldap" nam=- var=INTERNET_DIRECTORY_IN_USE [no_internet_directory] typ=B dft=0 dsc="Is OID in use?" nam=INTERNET_DIRECTORY_IN_USE [INTERNET_DIRECTORY_IN_USE] typ=B dft=${RDA_DEFAULT:0} dsc="Is OID in use?" inp="Is Oracle Internet Directory used in this Oracle home (Y/N)?" var=check_sid,OID_DIAG,get_install [check_sid] typ=I alt=oid_local dft="exists:ORACLE_SID" dsc="Check if ORACLE_SID is defined" nam=- var=OID_LOCAL [oid_local] typ=B alt=OID_SID dft=0 dsc="Is the OID schema stored in the database to be analyzed?" nam=OID_LOCAL [OID_LOCAL] typ=B alt=OID_SID dft=1 dsc="Is the OID schema stored in the database to be analyzed?" inp="Is the OID schema stored in the '${ORACLE_SID}' database (Y/N)?" [OID_SID] typ=T clr='-' dft='' dsc="Database SID" err="Database SID should not contain any space" inp="Enter the OID database SID. If you do not want RDA to collect \ information from the database, then enter a dash ('${clr}')." ref="^(|\S+)$" val=E [OID_DIAG] typ=B dft=1 dsc="Is the output of the oiddiag command requested?" inp="Do you want RDA to collect the output of the oiddiag command (Y/N)?" hlp="oiddiag command execution can hang. If you face a hang during RDA data \ collection, you must rerun the setup and disable the oiddiag execution." var=check_sid_format,OID_DB_HOST,OID_DB_PORT,OID_SERVICE_NAME [check_sid_format] typ=I dft="match:OID_SID:^[^:]+\:\d+\:[^:]*\:.*$" dsc="Check the sid format" nam=- var=tmp_db_host,tmp_db_port,tmp_service_name [tmp_db_host] typ=I dft="re:OID_SID:1:^([^:]+)\:\d+\:[^:]*\:.*$" dsc="Database hostname" nam=-TMP_DB_HOST [tmp_db_port] typ=I dft="re:OID_SID:1:^[^:]+\:(\d+)\:[^:]*\:.*$" dsc="Database listener port number" nam=-TMP_DB_PORT [tmp_service_name] typ=I dft="re:OID_SID:1:^[^:]+\:\d+\:[^:]*\:(.*)$" dsc="Database Service Name" nam=-TMP_SERVICE_NAME [OID_DB_HOST] typ=T dft=${TMP_DB_HOST:${MACHINE_NAME}.${DOMAIN_NAME}} dsc="Database hostname" err="Fully domain-qualified database host name cannot be null and should not \ contain any space" inp="Enter the fully domain-qualified database host name" ref="^\S+$" val=E [OID_DB_PORT] typ=N dft=${TMP_DB_PORT:1521} dsc="Database listener port number" inp="Enter the database listener port number" [OID_SERVICE_NAME] typ=T dft=${TMP_SERVICE_NAME} dsc="Database Service Name" err="Database service name cannot be null and should not contain any space" inp="Enter the database service name" hlp="oiddiag expects the database service name instead of the database system \ identifier. Depending on the configuration, it could require a fully \ qualified service name. You can often retrieve the information from the \ tnsnames.ora file or by running a tnsping command. When the listener \ is configured on the local system, you can retrieve the information by \ running 'lsnrctl status' or 'lsnrctl services' commands." ref="^\S+$" val=E [get_install] typ=P alt=check_rcu dft="product" dsc="Installation Type" nam=-TMP_INSTALL var=check_install [check_install] typ=I alt=check_rcu dft="match:TMP_INSTALL:^Oracle Identity Management 11g" dsc="Check for AS 11g install" nam=- var=OID_REQ_ASIT [check_rcu] typ=D dft=${ORACLE_HOME}/rcu dsc="Oracle home rcu directory" nam=- var=OID_REQ_ASIT [OID_REQ_ASIT] typ=B dft=1 dsc="Does OID require ASIT?"