November 20, 2009

Scripted install for an Oracle SOA Suite 10g (10.1.3) cluster

Around a year ago, I wrote scripts that would allow you to silently install Oracle SOA Suite 10g as a 2-node cluster. Manual intervention is reduced by 95% (I would have reduced it by 100% if not for bugs in the silent installer).

For those who have installed Oracle SOA Suite in High Availability per the Oracle® Application Server
Enterprise Deployment Guide 10g Release 3 knows that the installation and configuration takes time (often a full day or more) and is loaded with endless manual steps.

My scripts takes away all the manual effort.

Completing the installation of a functioning 2-node SOA Suite cluster can be completed in 60 minutes.

Here is a small portion of the property file you must set up.
    #----------------------------------------
    # Parent directory of scripts
    #----------------------------------------
    SAWFT_INSTALL_DIRECTORY=/u01/temp2/soa_suite_cluster_install_scripts

    #----------------------------------------
    # Location of install software
    #----------------------------------------
    SAWFT_SOFTWARE_DIRECTORY=/u01/temp/software

    #----------------------------------------
    # User/Group owner
    #----------------------------------------
    SAWFT_INSTALL_USER=oracle
    SAWFT_INSTALL_GROUP=oinstall

    #----------------------------------------
    # Hostname of this server
    #----------------------------------------
    SAWFT_HOSTNAME=oradev1.sawft.com
    SAWFT_HOSTNAME_NODE1=oradev1.sawft.com
    SAWFT_HOSTNAME_NODE2=oradev2.sawft.com

    #----------------------------------------
    # Used to create staticports file for installer
    #----------------------------------------
    SAWFT_J2EE_OPMN_REQUEST_PORT=6101
    SAWFT_J2EE_OPMN_LOCAL_PORT=6201
    SAWFT_J2EE_OPMN_REMOTE_PORT=6004

    SAWFT_GTWY_OPMN_REQUEST_PORT=6102
    SAWFT_GTWY_OPMN_LOCAL_PORT=6202
    SAWFT_GTWY_OPMN_REMOTE_PORT=6007

    SAWFT_OHS_OPMN_REQUEST_PORT=6100
    SAWFT_OHS_OPMN_LOCAL_PORT=6200
    SAWFT_OHS_OPMN_REMOTE_PORT=6001
    .
    .
    .
If you would like a copy of these scripts, please contact me via the 'Contact me' link on http://thisisahmed.com.

A few things worth noting:

  • The scripts work perfect, but there is redundant and/or messy code in some areas.
  • Currently it installs a 2-node Oracle SOA Suite 10g 10.1.3.3.1 cluster on Red Hat Linux, but can be modified to support later versions or additional nodes.
  • There are bugs in the Oracle Application Server and Oracle Web Services Manager silent installers that require the GUI installer to be used in a few steps (see http://blog.thisisahmed.com/2008/11/numerous-bugs-in-oracle-soa-suite-10g.html).
I am still doing some minor cleanup to them, so my response may be slow.



Update on 2009-12-01:
The scripts can be downloaded from here.

3 comments: