The steps highlighted in this section must be completed prior to the installation.
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) |
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 services are accessed through here. |
|
|
OSB services are accessed through here. |
|
|
For internally optimized composites and service access. This is not to be shared publicly. |
|
|
Used for the various admin console access. |
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 |
---|---|
|
Node 1 |
| |
| |
|
Node 2 |
|
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
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.
This section describes various Linux operating system tasks.
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.
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
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:
/etc/sysctl.conf
on both the servers:kernel.sem = 256 32000 100 142 kernel.shmmax = 4294967295
/sbin/sysctl -p
/etc/security/limits.conf
:oracle soft nofile 4096 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384
/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
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:
vi /home/oracle/envMidTier.sh
#---------- # 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:.
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:.
chmod 700 /home/oracle/env*Tier.sh
18.191.62.122