Installation prerequisites

The steps highlighted in this section must be completed prior to the installation.

Ensuring hardware requirements

The hardware requirements given here are recommendations based on the EDG and should be treated as general guidelines and not strict requirements, as hardware sizing can vary drastically as it is based on numerous factors. The following table assumes an installation of Web Tier, SOA Suite, OSB, ESS, and WSM on a single server:

Component

Requirement (per host)

Memory/RAM

24 GB

File descriptors

15,000

Operating system processes

1,000

SWAP

1 GB

/tmp

1.5 GB

Disk space (shared storage)

5 GB

Disk space (local storage)

15 GB (includes software installation files)

Setting up the load balancer

Contact the network team to set up the following load balancer URLs that are needed for the installation. Modify the names according to your naming requirements:

Load Balancer Host/Ports

Target Servers/Ports

Description

soa.packt.com:7777

soahost1.packt.com:7777

soahost2.packt.com:7777

SOA services are accessed through here.

osb.packt.com:7777

soahost1.packt.com:7777

soahost2.packt.com:7777

OSB services are accessed through here.

soainternal.packt.com:7777

soahost1.packt.com:7777

soahost2.packt.com:7777

For internally optimized composites and service access. This is not to be shared publicly.

admin.packt.com:7777

soahost1.packt.com:7777

soahost2.packt.com:7777

Used for the various admin console access.

Setting up the hostname

There are two physical servers in our architecture, but five separate hostnames that are to be set up. They can be set up in DNS as follows:

Hostname

Physical server

soahost1.packt.com

Node 1

webhost1.packt.com

adminhost.packt.com

soahost2.packt.com

Node 2

webhost2.packt.com

Alternatively, they can be set up manually in your /etc/hosts path on both nodes. For example:

192.168.0.20 soahost1.packt.com webhost1.packt.com adminhost.packt.com
192.168.0.21 soahost2.packt.com webhost2.packt.com

Preparing the filesystem

Create the local and shared mount points as defined in the following table. These mount points will be accessible by the oracle Unix user on both nodes of the cluster. Additionally, two locally stored mount points are needed to host the MidTier and WebTier installations:

Directory

Storage type

Unix environment variable

/u01/share/install_software

Shared

SOFTWARE_DIR

/u01/share/oracle/middleware

Shared

SHARED_DRIVE_APP

/u01/oracle/middleware

Local

LOCAL_DRIVE_APP

/u01/oracle/webtier

Local

LOCAL_DRIVE_OHS

A profile script is defined in the subsequent section, which sets various environment variables to each of these directories.

Configuring the operating system

This section describes various Linux operating system tasks.

Verifying the temp and SWAP space

Ensure that /tmp has at least 1.5 GB of available disk space and that SWAP is configured with at least 1 GB of memory.

Creating operating system accounts

These instructions assume that the entire software stack will be installed by the operating system user oracle that has a primary group of oinstall.

As root, run the following commands to create the operating system account:

groupadd oinstall
groupadd dba
useradd nobody
useradd -c "Oracle Software Owner" -g oinstall -G dba oracle
passwd oracle

Configuring operating system prerequisites

Certain recommended Linux operating system prerequisites are needed before installing Oracle SOA Suite 12c and creating the domain. The steps here are specific to the 64-bit versions of Oracle Linux or Red Hat Linux Enterprise Server. All instructions here must be run as the root user.

Execute these instructions on both SOAHOST1 and SOAHOST2:

  1. As root, update the following in /etc/sysctl.conf on both the servers:
    kernel.sem = 256 32000 100 142
    kernel.shmmax = 4294967295
    
  2. Run the following command:
    /sbin/sysctl -p
    
  3. Add the following at the end of /etc/security/limits.conf:
    oracle  soft    nofile  4096
    oracle  hard    nofile  65536
    oracle  soft    nproc   2047
    oracle  hard    nproc   16384
    
  4. Add the following at the end of /etc/profile:
    if [ $USER = "oracle" ]; then
      if [ $SHELL = "/bin/ksh" ]; then
        ulimit -Su 16383
        ulimit -Hu 16383
        ulimit -Sn 63535
        ulimit -Hn 63535
      else
        ulimit -Hn 63535 -Sn 63535 -Hu 16383 -Su 16383
      fi
    fi
    
  5. Ensure that the latest versions of the following Red Hat Package Manager packages (RPMs) are installed. Note that versions of these RPMs may vary depending on the specific release of your operating system:
    • binutils-2.17.50.0.6-20.el5
    • compat-libstdc++-33-3.2.3-61-x86_64
    • compat-libstdc++-33-3.2.3-61-i386
    • elfutils-libelf-0.137
    • elfutils-libelf-devel-0.137
    • gcc-4.1.2
    • gcc-c++-4.1.2
    • glibc-2.5-81-x86_64
    • glibc-2.5-81-i686
    • glibc-common-2.5-81
    • glibc-devel-2.5-81-x86_64
    • glibc-devel-2.5-81-i386
    • libaio-0.3.106-x86_64
    • libaio-0.3.106-i386
    • libaio-devel-0.3.106
    • libgcc-4.1.2-x86_64
    • libgcc-4.1.2-i386
    • libstdc++-4.1.2-x86_64
    • libstdc++-4.1.2-i386
    • libstdc++-devel-4.1.2
    • make-3.81
    • sysstat-7.0.0
  6. Reboot the servers.

Creating custom environment scripts

The following environment scripts allow you to easily switch between the MidTier and WebTier environments by setting up their respective shell environment variables. Execute these instructions on both SOAHOST1 and SOAHOST2:

  1. Login as the oracle user.
  2. Create a new MidTier profile script:
    vi /home/oracle/envMidTier.sh
    
  3. Insert the following in to the file. Modify the hostnames as needed:
    #----------
    # Oracle SOA Suite 12c: MidTier environment variables
    #----------
    
    #----------
    # Top-level directories
    #----------
    export SHARED_DRIVE_APP=/u01/share/oracle/middleware
    export LOCAL_DRIVE_APP=/u01/oracle/middleware
    export SOFTWARE_DIR=/u01/share/install_software
    
    #----------
    # Environment variables
    #----------
    if [ "$HOSTNAME" == "soahost1.packt.com" ] || [ "$HOSTNAME" == "soahost1" ]; then
      export OHS_INSTANCE=ohs_1
    fi
    if [ "$HOSTNAME" == "soahost2.packt.com" ] || [ "$HOSTNAME" == "soahost2" ]; then
      export OHS_INSTANCE=ohs_2
    fi
    export ORACLE_HOME=$SHARED_DRIVE_APP/products/fmw1213
    export ORACLE_COMMON_HOME=$SHARED_DRIVE_APP/products/fmw1213/oracle_common
    export WL_HOME=$SHARED_DRIVE_APP/products/fmw1213/wlserver
    export SOA_DIR=$SHARED_DRIVE_APP/products/fmw1213/soa
    export OSB_DIR=$SHARED_DRIVE_APP/products/fmw1213/osb
    export EM_DIR=$SHARED_DRIVE_APP/products/fmw1213/em
    export JAVA_HOME=$SHARED_DRIVE_APP/products/jdk1.7.0_55
    export ASERVER_HOME=$SHARED_DRIVE_APP/config/domains/soa_domain
    export MSERVER_HOME=$LOCAL_DRIVE_APP/config/domains/soa_domain
    export APPLICATION_HOME=$SHARED_DRIVE_APP/config/applications/soa_domain
    export DEPLOY_PLAN_HOME=$SHARED_DRIVE_APP/config/dp
    export OHS_ADMIN_CONFIG_DIR=$SHARED_DRIVE_APP/config/domains/soa_domain/config/fmwconfig/components/OHS/$OHS_INSTANCE
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    export PATH=~:$JAVA_HOME/bin:/usr/bin:/bin:/usr/local/bin:/usr/sbin:.
    
  4. Create a WebTier profile script:
    vi /home/oracle/envWebTier.sh
    

    Insert the following in the file. Modify the hostnames as needed:

    #----------
    # Oracle SOA Suite 12c: WebTier environment variables
    #----------
    
    #----------
    # Top-level directories
    #----------
    export LOCAL_DRIVE_OHS=/u01/oracle/webtier
    export SOFTWARE_DIR=/u01/share/install_software
    
    #----------
    # Environment variables 
    #----------
    if [ "$HOSTNAME" == "soahost1.packt.com" ] || [ "$HOSTNAME" == "soahost1" ]; then
      export OHS_INSTANCE=ohs_1
    fi
    if [ "$HOSTNAME" == "soahost2.packt.com" ] || [ "$HOSTNAME" == "soahost2" ]; then
      export OHS_INSTANCE=ohs_2
    fi
    export ORACLE_HOME=$LOCAL_DRIVE_OHS/products/fmw1213
    export ORACLE_COMMON_HOME=$LOCAL_DRIVE_OHS/products/fmw1213/oracle_common
    export WL_HOME=$LOCAL_DRIVE_OHS/products/fmw1213/wlserver
    export OHS_DIR=$LOCAL_DRIVE_OHS/products/fmw1213/ohs
    export EM_DIR=$LOCAL_DRIVE_OHS/products/fmwnnnn/em
    export MSERVER_HOME=$LOCAL_DRIVE_OHS/config/domains/soa_domain
    export APPLICATION_HOME=$LOCAL_DRIVE_OHS/config/applications/soa_domain
    export JAVA_HOME=$LOCAL_DRIVE_OHS/products/jdk1.7.0_55
    export OHS_WEBHOST_CONFIG_DIR=$LOCAL_DRIVE_OHS/config/domains/soa_domain/config/fmwconfig/components/OHS/instances/$OHS_INSTANCE
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
    export PATH=~:$JAVA_HOME/bin:/usr/bin:/bin:/usr/local/bin:/usr/sbin:.
    
  5. Update the permissions:
    chmod 700 /home/oracle/env*Tier.sh
    

Unzipping the software

Unzip the software which we have downloaded to the shared storage to prepare for the installations:

  1. On SOAHOST1, unzip the software to prepare for the installation:
    cd $SOFTWARE_DIR
    unzip V44416-01.zip
    unzip V44420-01.zip
    unzip V44423-01.zip
    unzip fmw_12.1.3.0.0_ohs_linux64_Disk1_1of1.zip
    
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.62.122