# DCsebl.cfg: Collects Siebel Information # $Id: DCsebl.cfg,v 1.5 2013/12/18 13:10:06 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/APPS/DCsebl.cfg,v 1.5 2013/12/18 13:10:06 RDA Exp $ # # Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. # # Change history # 20131217 KRA Fix spell. ############################################################################### # Collect Siebel collection setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${B_IN_USE} dsc='Collects Siebel Information' fam=Cygwin,Unix,Windows pre=RDA:DCbegin rpt=B_IN_USE var=not_used # Flow:in_use,B_IN_USE exe=sdcl { "var @{AUX.var} = (cond(${PRF.B_TESTS},'in_use','B_IN_USE')) " "macro check_dir " return testDir('d',catDir(@arg)) } #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [in_use] typ=B dft=true dsc='Should RDA collect Siebel information?' nam=B_IN_USE var=B_APPL,B_GATE,B_WEB,force_db [not_used] typ=B dft=false dsc='Should RDA collect Siebel information?' nam=B_IN_USE [B_IN_USE] typ=B dft=${AUX.B_SELECTED} dsc='Should RDA collect Siebel information?' inp='Do you want RDA to collect Siebel information (Y/N)?' var=true:B_APPL,B_GATE,B_WEB,force_db [B_APPL] typ=B dft=false dsc='Is Siebel Server installed?' inp='Is Siebel Server installed on this system (Y/N)?' var=true:D_APPL_TOP [D_APPL_TOP] typ=D dsc='Location in which Siebel Server is installed' err="The directory '${D_APPL_TOP}' does not exist or does not have a \ 'siebsrvr' subdirectory. Provide a valid Siebel Server directory.\n" \ # stopwords siebsrvr inp='Enter the full path of the directory where Siebel Server is installed' raw=true ref=check_dir(last,'siebsrvr') val=E var=exists:chk_appl_ccr,T_APPL_ENTERPRISE,T_APPL_SERVER [chk_appl_ccr] typ=B dft=false dsc='Check if OCM is installed in Siebel Server' nam=- exe=sdcl { "if ?nvl(testDir('d',catDir(${D_APPL_TOP},'ccr')),\ " testDir('d',catDir(${D_APPL_TOP},'siebsrvr','ccr'))) "{var ($dir,$ttl) = (getNativePath(last),'Siebel Server') " if findItem('SYS',{B_DEDICATED=>true,\ " T_TITLE=>$ttl}) " var $tgt = defineTarget(last,{D_CCR_HOME=>$dir}) " else " var $tgt = defineTarget('SYS',{B_DEDICATED=>true,\ " D_CCR_HOME =>$dir,\ " T_TITLE =>$ttl}) " var (${AUX.dft},${I_APPL_CCR:'Siebel Server target'}) = (true,$tgt) "} } [T_APPL_ENTERPRISE] typ=T dsc='Application Enterprise name' inp='Enter the name for the enterprise in the Application' [T_APPL_SERVER] typ=T dsc='Application Server name' inp='Enter the name for the server for the enterprise' [B_GATE] typ=B dft=false dsc='Is Siebel Gateway installed?' inp='Is Siebel Gateway installed on this system (Y/N)?' var=true:D_GATE_TOP [D_GATE_TOP] typ=D dsc='Location in which Siebel Gateway is installed' err="The directory '${D_GATE_TOP}' does not exist or does not have a \ 'gtwysrvr' subdirectory. Provide a valid Siebel Gateway directory.\n" \ # stopwords gtwysrvr inp='Enter the full path of the directory where Siebel Gateway is installed' raw=true ref=check_dir(last,'gtwysrvr') val=E var=exists:chk_gate_ccr,T_GATE_NODE,N_GATE_PORT,T_GATE_USER [chk_gate_ccr] typ=B dft=false dsc='Check if OCM is installed in Siebel Gateway' nam=- exe=sdcl { "if ?nvl(testDir('d',catDir(${D_GATE_TOP},'ccr')),\ " testDir('d',catDir(${D_GATE_TOP},'gtwysrvr','ccr'))) "{var ($dir,$ttl) = (getNativePath(last),'Siebel Gateway') " if findItem('SYS',{B_DEDICATED=>true,\ " T_TITLE=>$ttl}) " var $tgt = defineTarget(last,{D_CCR_HOME=>$dir}) " else " var $tgt = defineTarget('SYS',{B_DEDICATED=>true,\ " D_CCR_HOME =>$dir,\ " T_TITLE =>$ttl}) " var (${AUX.dft},${I_GATE_CCR:'Siebel Gateway target'}) = (true,$tgt) "} } [T_GATE_NODE] typ=T dft=${RDA.T_NODE} dsc='Siebel Gateway machine name' err='Error: The node name cannot contain a space or one of the following \ characters \ < > ; : " * + = \ | ? ,' inp='Enter the name of the node the Siebel Gateway is running on' ref='^[^><;:\*\+=\\\|\?\,\s"]*$' val=E [N_GATE_PORT] typ=N dft=2320 dsc='Siebel Gateway port' err='The port number is an integer number greater than zero' inp='Enter the port number used for Siebel Gateway' ref='I]0,[' val=E [T_GATE_USER] typ=T dft='sadmin' dsc='Siebel Server admin user name' inp='Enter the admin user name for Siebel Server to check OBI integration' [B_WEB] typ=B dft=false dsc='Is Siebel Web Server installed?' inp='Is Siebel Web Server installed on this system (Y/N)?' var=true:D_WEB_TOP [D_WEB_TOP] typ=D dsc='Location in which Siebel Web Server is installed' err="The directory '${D_WEB_TOP}' does not exist or does not have a \ 'sweapp' subdirectory. Provide a valid Siebel Web Server directory.\n" \ # stopwords sweapp inp='Enter the full path of the directory where Siebel Web Server is installed' raw=true ref=check_dir(last,'sweapp') val=E var=exists:chk_web_ccr [chk_web_ccr] typ=B dsc='Check if OCM is installed in Siebel Web Server' nam=- exe=sdcl { "if ?nvl(testDir('d',catDir(${D_WEB_TOP},'ccr')),\ " testDir('d',catDir(${D_WEB_TOP},'siebsrvr','ccr'))) "{var ($dir,$ttl) = (getNativePath(last),'Siebel Web Server') " if findItem('SYS',{B_DEDICATED=>true,\ " T_TITLE=>$ttl}) " var $tgt = defineTarget(last,{D_CCR_HOME=>$dir}) " else " var $tgt = defineTarget('SYS',{B_DEDICATED=>true,\ " D_CCR_HOME =>$dir,\ " T_TITLE =>$ttl}) " var (${AUX.dft},${I_WEB_CCR:'Siebel Web Server target'}) = (true,$tgt) "} } [force_db] typ=B dft=${PRF.B_DB} nam=- var=false:B_DB:\ sebl_db [sebl_db] typ=B dft=true dsc='Collect information from an Oracle Database' nam=B_DB var=T_OWNER,I_DB [B_DB] typ=B dft=false dsc='Collect information from an Oracle Database' hlp="WARNING: RDBMS information is collected from Oracle Database only.\n" inp='Do you want to collect Siebel information from an Oracle Database (Y/N)?' var=true:T_OWNER,I_DB [T_OWNER] typ=T dft='siebel' dsc='Owner of Siebel database tables' err="The Siebel user name should begin with an alphanumeric character and can \ have only alphanumeric characters, underscores (_), dollar signs ($), or \ number signs (#) thereafter. It can be only 128 characters long." inp='Enter an owner of Siebel database tables' ref='^[A-Za-z0-9][\w\$\#]{0,127}$' val=E [I_DB] typ=I cls='SQ' dsc='Database to analyze'