Title
Silent install of Oracle SOA Suite 10g (10.1.3.3) on Red Hat Linux

Date
2008-05-29

Summary
These instructions describe how to silent install Oracle SOA Suite 10g (10.1.3.3) on Red Hat AS 4 x86. It includes:
  • Install Oracle Database 10g (10.2.0.1)
  • Install Ultra Search 10g (10.2.0.1)
  • Create database and listener
  • Install Oracle Application Server Metadata Repository Upgrade Assistant 10g (10.1.2.0.3)
  • Load Metadata Repository
  • Apply the Oracle Database 10g (10.2.0.3) Patchset
  • Install Oracle SOA Suite 10g (10.1.3.1)
  • Apply the Oracle SOA Suite 10g (10.1.3.3) Patchset

    All commands in bold and italics require manually intervention. Otherwise, you can simply copy and paste the commands as is to completely install the product on a single node. All directories are OFA compliant.

  • Assumptions
  • The ORACLE_BASE is set to c:\oracle\product (i.e., all software is installed under c:\oracle\product).
  • Hostname is 'oradev.oracle.com'.
  • Service name is 'orcl'.
  • All passwords are defaulted to 'password'.

  • Prerequisites
    The following software must be downloaded to a /u01/temp directory:
      SoftwareFilenameSize
      Oracle SOA Suite 10g (10.1.3.1.0)soa_windows_x86_101310_disk1.zip598,032,965 bytes
      Oracle SOA Suite 10g (10.1.3.3.0) Patchsetp6148874_101330_MSwin2000.zip521,158,080 bytes
      Oracle Database 10g (10.2.0.1.0)10201_database_win32.zip655,025,354 bytes
      Oracle Database 10g (10.2.0.3.0) Patchsetp5337014_10203_WINNT.zip893,831,865 bytes
      Oracle Database 10g Companion CD (10.2.0.1.0)10201_companion_win32.zip653,693,751 bytes
      Oracle Application Server Metadata Repository Upgrade Assistant 10g (10.1.2.0.3)as_windows_x86_mrca_101203.zip411,701,483 bytes
  • Download the following zip file and extract it to c:\temp2.
  • Disable all firewalls prior to installation.
  • Ensure that the primary NIC is not DHCP, otherwise the Oracle BPEL Process Manager Configuration Assistant will peg the CPU at 100% infinitely.

  • Details
    1. Install Oracle Database 10g (10.2.0.1):
    rem #
    rem # Install the Oracle Database 10g 10.2.0.1
    rem #
    cd c:\temp2
    unzip 10201_database_win32.zip
    database\setup -silent -responseFile c:\temp2\1_db_windows.rsp
    rmdir database /s /q
    net stop OracleOraDb10g_home1iSQL*Plus
    sc config OracleOraDb10g_home1iSQL*Plus start= disabled
    

    2. Install Ultra Search 10g (10.2.0.1):
    #
    # Install Ultra Search from the companion CD (required to create the Metadata Repository)
    #
    rem #
    rem # Install Ultra Search 10g (10.2.0.1) from the companion CD (required to create the Metadata Repository)
    rem #
    unzip 10201_companion_win32.zip
    companion\setup -silent -responseFile c:\temp2\2_companion_windows.rsp
    rmdir companion /s /q
    set ORACLE_SID=orcl
    emctl stop dbconsole
    lsnrctl stop
    net stop OracleServiceORCL
    

    3. Apply Oracle Database 10g (10.2.0.3) Patchset:
    rem #
    rem # Install Oracle Database 10g (10.2.0.2) patchset (required for SOA Suite 10g)
    rem #
    unzip p5337014_10203_WINNT.zip
    cd Disk1
    setup –silent –responseFile c:\temp2\3_dbpatchset_windows.rsp
    cd ..
    rmdir Disk1 /s /q
    lsnrctl start
    net start OracleServiceORCL
    
    rem #
    rem # Post-installation upgrade steps
    rem #
    set ORACLE_HOME=c:\oracle\product\10.2.0\db_1
    set PATH=%ORACLE_HOME%\bin;%PATH%
    set ORACLE_SID=orcl
    sqlplus "sys/password as sysdba" @4_postpatchset_windows.sql
    del README.html /f /q
    

    4. Load Metadata Repository:
    rem #
    rem # Install the Metadata Repository software
    rem #
    unzip as_windows_x86_mrca_101203.zip
    set ORACLE_HOME=
    setup -silent -responseFile c:\temp2\5_mrca_windows.rsp
    rmdir stage /s /q
    rmdir install /s /q
    rmdir AccessBridge /s /q
    del autorun.inf /s /q
    del setup.exe /s /q
    
    rem #
    rem # Load the Metadata Repository into the database
    rem #
    set ORACLE_HOME=c:\oracle\product\10.2.0\db_1
    set ORACLE_SID=orcl
    sqlplus "sys/password as sysdba" @6_premrca.sql
    set ORACLE_HOME=c:\oracle\product\10.1.2\mrca_1
    C:\oracle\product\10.1.2\mrca_1\runRepca.bat -SILENT -RESPONSEFILE c:\temp2\6_repca_windows.rsp
    

    5. Install Oracle SOA Suite 10g (10.1.3.1):
    rem #
    rem # Create the SOA specific schemas (ORABPEL, ORAESB, ORAWSM) using IRCA
    rem #
    unzip soa_windows_x86_101310_disk1.zip
    set ORACLE_HOME=c:\oracle\product\10.2.0\db_1
    set LD_LIBRARY_PATH=%ORACLE_HOME%\lib;%LD_LIBRARY_PATH%
    set ORACLE_SID=orcl
    set PATH=%ORACLE_HOME%\bin:%PATH%
    cd install\soa_schemas\irca
    irca.bat all "localhost 1521 orcl" password -overwrite ORABPEL password ORAESB password ORAWSM password
    cd ..\..\..
    
    rem #
    rem # Install SOA Suite 10g (10.1.3.1)
    rem #
    setup -silent -responseFile c:\temp2\7_soa_windows.rsp
    (You are prompted to press ENTER when done.)
    rmdir install /s /q
    rmdir stage /s /q
    rmdir doc /s /q
    del setup.exe /s /q
    del setup.exe /s /q /aR
    

    6. Apply Oracle SOA Suite 10g (10.1.3.3) Patchset:
    rem #
    rem # Install SOA Suite 10g (10.1.3.3) patchset
    rem #
    set ORACLE_HOME=c:\oracle\product\10.1.3\soa_1
    set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\opmn\bin;%PATH%
    opmnctl stopall
    unzip p6148874_101330_MSwin2000.zip
    cd Disk1
    setup -silent -responseFile c:\temp2\8_soapatchset_windows.rsp
    (You are prompted to press ENTER when done.)
    cd ..
    rmdir Disk1 /s /q
    
    rem #
    rem # Run Configuration Assistants that failed to start
    rem #
    c:\oracle\product\10.1.3\soa_1\config\deploy_bpel.bat password
    c:\oracle\product\10.1.3\soa_1\config\deploy_esb.bat password
    c:\oracle\product\10.1.3\soa_1\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe -I c:\oracle\product\10.1.3\soa_1\perl\5.8.3\lib;c:\oracle\product\10.1.3\soa_1\perl\5.8.3\lib\MSWin32-x86 c:\oracle\product\10.1.3\soa_1\config\deploy_owsm.pl password
    
    c:\oracle\product\10.1.3\soa_1\opmn\bin\opmnctl shutdown
    c:\oracle\product\10.1.3\soa_1\opmn\bin\opmnctl startall
    
    rem #
    rem # Create 'tnsnames.ora' file
    rem #
    echo ORCL = >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo   (DESCRIPTION = >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo     (ADDRESS_LIST = >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo       (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.local.com)(PORT = 1521)) >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo     ) >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo     (CONNECT_DATA = >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo       (SERVICE_NAME = orcl) >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo     ) >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    echo   ) >> c:\oracle\product\10.1.3\soa_1\network\admin\tnsnames.ora
    
    rem #
    rem # Post-installation upgrade steps
    rem #
    echo exit >> c:\oracle\product\10.1.3\soa_1\bpel\system\database\scripts\upgrade_10131_10133_oracle.sql
    rem # The next command is in a single line
    sqlplus orabpel/password@orcl @c:\oracle\product\10.1.3\soa_1\bpel\system\database\scripts\upgrade_10131_10133_oracle.sql
    

    Applicable Versions
    Oracle SOA Suite 10g (10.1.3.3)
    Oracle Database 10g (10.2.0.3)

    Ahmed Aboulnaga

    .com .com