Sun Cluster Data Service for Oracle Application Server Guide for Solaris OS

ProcedureExample: Install Oracle Application Server in the zones


Caution – Caution –

The steps within this procedure are not precise steps to install Oracle Application Server. Refer to the relevant Oracle Application Server documentation for complete information.


  1. Mount the Oracle Application Server software in the zones.

    Perform this step in the global zone only.

    In this example, the Oracle Application Server software has been copied to node Vigor5 into directory /export/software/oracle/oasv1012.


    Vigor5# zlogin z1 mkdir -p /var/tmp/software
    Vigor5# mount -F lofs /export/software /zones/z1/root/var/tmp/software
    
  2. Install the Oracle Application Server software in zone z1.

    Perform this step from the global zone for zone z1.


    Note –

    The values specified here were those used by this deployment example. You should specify values that are relevant to your installation.


    While navigating through the Oracle Universal Installer specify the following:

    • Enter /ZFSoracle/oraInventory for the inventory directory.

    • Enter OH_INFRA as the name for the installation.

    • Enter /ZFSoracle/oraInfra for the Oracle home directory.

    • Select Oracle Application Server Infrastructure 10g 10.1.2.0.2.

    • Select High Availability and Replication.

    • Select Virtual host.

    • Select Custom Namespace.

    • Enter dc=uk,dc=sun,dc=com for the namespace.

    • Enter oas10g.uk.sun.com for the virtual host.

    • Enter orcl.uk.sun.com global database name.


    Vigor5# /usr/openwin/bin/xhost +
    Vigor5# zlogin z1
    # su - oracle
    $ DISPLAY=192.168.1.5:0.0
    $ TMP=/tmp
    $ export DISPLAY TMP
    $ cd /var/tmp/software/oracle/oasv1012/cd1
    $ ./runInstaller
    
  3. Setup the Oracle Application Server userid .profile.

    Perform this step after you have completed the installation of the Oracle Application Server software in zone z1 as user oracle.


    $ cat >> .profile <<-EOF
    ORACLE_HOME=/ZFSoracle/oraInfra
    ORACLE_SID=orcl
    export ORACLE_HOME ORACLE_SID
    EOF
    $ exit
    # exit
    
  4. Copy /var/opt/oracle from zone z1 to z2.

    Perform this step in the global zone only.


    Vigor5# cp -rp /zones/z1/root/var/opt/oracle /zones/z2/root/var/opt/oracle