SlideShare a Scribd company logo
Oracle Retail 13.2 High-
Availability Case Study Oracle
Linux
An Oracle Case Study
April 2011
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided
for information purposes only and the contents hereof are subject to change without notice.
This document is not warranted to be error-free, nor subject to any other warranties or
conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted
in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names
may be trademarks of their respective owners.
Note: The following is intended to outline our general product
direction. It is intended for information purposes only, and may
not be incorporated into any contract. It is not a commitment to
deliver any material, code, or functionality, and should not be
relied upon in making purchasing decisions. The development,
release, and timing of any features or functionality described for
Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Contents
Case Study: Installing Oracle Linux for Oracle Retail 13.2 .................................................1
Installation Overview.......................................................................................................................1
Install Oracle Linux on All Systems...............................................................................................2
Hardware and Software Requirements ......................................................................................2
Required Software Package Versions .........................................................................................6
Installing Packages ........................................................................................................................7
Configuring Linux for Oracle Products .................................................................................8
Configuring the Linux Kernel Parameters....................................................................................8
Configuring symlinks ......................................................................................................................9
Configuring /etc/modprobe.conf..................................................................................................9
Configuring the Pluggable Authentication Module (PAM).......................................................9
Configuring the Hangcheck-Timer Module .................................................................................9
Reboot the Server..............................................................................................................................9
Configure System Level Pre-Requisites..............................................................................10
Allocate Servers...............................................................................................................................10
Acquire Virtual IP Addresses for RAC Database Servers.........................................................10
Allocate Disk ...................................................................................................................................10
Create Oracle Software Owner Accounts....................................................................................11
Setting the Password for Oracle Accounts ...............................................................................11
Setting Shell Limits for the Oracle User....................................................................................11
Basic Load-Balancer Setup ............................................................................................................12
Configure SNATs............................................................................................................................13
Create Monitors ..............................................................................................................................14
Create Pools.....................................................................................................................................16
Create Virtual Servers ....................................................................................................................19
Setup Complete...............................................................................................................................23
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Case Study: Installing Oracle Linux for Oracle
Retail 13.2
This document describes the case study for installing Oracle Linux for Oracle Retail 13.2.
Installation Overview
Oracle Retail applications can be deployed in a grid computing environment, utilizing
Oracle Fusion Middleware Active-Active clustering and Oracle Real Application Cluster
(RAC) databases to provide high availability and scalability. This configuration allows
lower-cost commodity systems to be combined into a single scalable, fault-tolerant
computing environment.
There are many options for configuring an Oracle grid computing environment and these
options can have a significant impact on the way that the environment is configured and
built. The intent of this case study is not to provide exhaustive documentation on all possible
ways to configure a suitable grid computing environment for Oracle Retail, but rather to
document a specific configuration that was used for verification purposes. As such, the
specific installation steps documented in this case study will only apply in their entirety to
the exact hardware and software configuration described here.
This Case Study details the steps used to setup the Oracle Linux systems that will be used as
servers for the High-Availability Oracle Retail environment:
1. Create Oracle Linux environment:
a. Install Oracle Linux 5 Update 3 on all systems.
b. Configure Linux for Oracle.
c. Configure system level pre-requisites.
d. Configure load-balancer.
Note: This case study uses the hostnames dbserver1, dbserver2,
appserver1, appserver2, and appserver3 for the systems
involved in the Oracle Retail environment. You should
substitute the appropriate names of the hosts for your
installation.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 1
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Install Oracle Linux on All Systems
Installing the Oracle Linux Release 5 Update 3 (OL5U3) operating system to prepare for
Oracle Fusion Middleware (FMW) and Oracle Real Application Clusters (RAC) installations
can be broken down to the following basic steps:
1. Hardware and Software Requirements.
2. Basic OS installation.
3. Configuring Linux for Oracle.
Hardware and Software Requirements
This section describes the hardware and software requirements.
Disk Space
The following table shows the internal disk layout used for this case study
Partition Allocation (in Mbytes)
/ 4096
/boot 128
/usr 10091
/var 4096
<swap> Equal to physical memory size
Kernel Version
Oracle Linux 5 Update 3 for x86-64 is required. The kernel version is:
kernel-2.6.18-128.el5
Basic OS Installation
The following is a detailed, step-by-step procedure to install Oracle Linux 5 Update 3 on x86-
64 hardware in a configuration necessary for successful installation and use of Oracle
Database 11g Release 2, Oracle Fusion Middleware, and Oracle Real Application Clusters.
2 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Installation Procedure
To install:
1. Download the Oracle Linux Release 5 Update 3 Media Pack for x86-64 (64-bit) from the
Oracle E-Delivery Web site for Oracle Linux (http://edelivery.oracle.com/linux). The
source CDs are not required.
2. Unzip the downloaded files and burn image CDs from the extracted .iso files. The CDs
will be mounted as file systems during the installation.
3. Boot the computer using the first CD. You may need to change the order that the BIOS
search devices when trying to boot. The BIOS must search the CD-ROM drive first and
the hard drive second. Press F2 or F12 immediately when booting to bring up the BIOS
maintenance window.
4. The Enterprise Linux boot window appears with the boot prompt at the left bottom of
the window.
Click Enter to continue with a graphical install on the console. The installer
scans your hardware, briefly displays a splash window, and then begins a series
of window prompts.
5. The CD Found window appears to begin testing the CD media before installation.
Click OK to verify the media or click Skip to skip the media test. It is
recommended that you verify the media for the first use of the installation CDs.
6. The Welcome to Oracle Enterprise Linux window opens.
Click Next.
7. The Language Selection window opens.
Select the appropriate language. Click Next.
8. The Keyboard Configuration window opens.
Select the appropriate keyboard for the system. Click Next.
9. If the system was previously installed, the Installation Type window opens.
Select Install Enterprise Linux.
Click Next.
10. The Hard Drive Installation Type window opens.
Select Create custom layout. Click Next.
11. The Disk Setup window opens.
Click New to add partitions. Refer to the preceding table for recommended
partitions and sizes.
12. The Boot Loader Configuration window opens.
Click Next.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 3
13. If the system was previously configured, you may see the Install Boot Loader record
window opens.
Keep the default values.
Click Next.
14. The Network Configuration window opens.
You should use a fixed, static IP address. Although it is possible to use DHCP
addressing, any change in IP address after installation may result in problems
later on. Click Edit.
A pop-up window appears. Uncheck the Configure using DHCP box. Enter the
IP Address and Netmask for the server. Select Activate on boot. Click OK.
In the Hostname box, select manually and enter the hostname.
In the Miscellaneous Settings box, enter the remaining network settings.
Click Next.
15. The Time Zone Selection window opens.
Choose the time settings that are appropriate for your area. Setting the system
clock to UTC is usually a good practice for servers. To do so, select System clock
uses UTC.
Click Next.
16. The Set Root Password window opens.
Enter a password for root, and enter it again to confirm.
Click Next.
17. The Package Group Selection window opens.
Select Customize now.
Click Next.
18. The Software Selection window opens.
In the Desktop Environments area, select Gnome Desktop Environment.
In the Applications area, select Editors. Clear everything else.
In the Development area, select Development Tools.
In the Servers area, leave the default selections.
In the Base System area, select Administration Tools, Base, Java, and X window
System.
In the Cluster Storage area, select nothing.
In the Clustering area, select nothing.
In the Virtualization area, select nothing.
Click Next.
4 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
19. The Begin Installation window opens.
Click Next.
The dialog box detailing required CDs opens.
Click Continue.
Software will be copied to the hard disk and installed. Change disks as
prompted.
20. Congratulations, the installation is complete.
Remove the installation CD-ROM from the system, and click Reboot.
21. The system automatically reboots and a new Welcome window opens.
Click Forward.
22. The License Agreement window opens.
Read the license agreement. If you agree to the terms, select Yes, I agree to the
License Agreement and click Forward.
23. The Firewall Configuration window opens.
Select Enable firewall.
Select SSH checkbox.
Click Next.
24. The SELinux window opens.
Set SELinux Setting to Disabled.
Click Forward.
25. The Kdump window opens.
Clear Enable kdump?
Click Forward.
26. The Date and Time window opens.
Set the Date and Time.
If you want to use an NTP server (recommended), select Enable Network Time
Protocol and enter the name of the NTP server.
Click Forward.
27. The System User window opens.
Create an account for regular, non-administrative use of your system. Do not
create an account for Oracle at this time.
28. The Sound Card window opens.
Click Next.
29. The Additional CDs window opens.
Click Finish.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 5
30. A graphical Enterprise Linux login window appears. Congratulations! Your Linux
software is now installed.
Login to the root account to setup Linux for the installation of the Oracle
products.
Required Software Package Versions
The following software packages (or later versions) must be installed on the system before
attempting to install the Oracle products. All rpms can be found on one of the installation
CDs. Failure to have installed all of these packages can result in a failed installation or subsequent
operation of the Oracle products.
RPM Name Installation CD
binutils-2.17.50.0.6-9.el5.x86_64.rpm Disc1
compat-db-4.2.52-5.1.i386.rpm Disc3
compat-db-4.2.52-5.1.x86_64.rpm Disc3
compat-libstdc++-33-3.2.3-61.i386.rpm Disc3
compat-libstdc++-33-3.2.3-61.x86_64.rpm Disc3
control-center-2.16.0-16.el5.x86_64.rpm Disc2
gcc-4.1.2-44.el5.x86_64.rpm Disc2
gcc-c++-4.1.2-44.el5.x86_64.rpm Disc2
glibc-2.5-34.i686.rpm Disc1
glibc-2.5-34.x86_64.rpm Disc1
glibc-common-2.5-34.x86_64.rpm Disc1
glibc-devel-2.5-34.i386.rpm Disc2
glibc-devel-2.5-34.x86_64.rpm Disc2
glibc-headers-2.5-34.x86_64.rpm Disc2
gnome-utils-2.16.0-5.el5.x86_64.rpm Disc2
libaio-0.3.106-3.2.i386.rpm Disc1
libaio-0.3.106-3.2.x86_64.rpm Disc1
libaio-devel-0.3.106-3.2.i386.rpm Disc3
libaio-devel-0.3.106-3.2.x86_64.rpm Disc3
libgcc-4.1.2-44.el5.i386.rpm Disc1
libgcc-4.1.2-44.el5.x86_64.rpm Disc1
libstdc++-4.1.2-44.el5.x86_64.rpm Disc1
libstdc++-devel-4.1.2-44.el5.x86_64.rpm Disc1
libXp-1.0.0-8.1.el5.i386.rpm Disc3
libXp-1.0.0-8.1.el5.x86_64.rpm Disc3
6 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
RPM Name Installation CD
libXp-devel-1.0.0-8.1.el5.i386.rpm Disc3
libXp-devel-1.0.0-8.1.el5.x86_64.rpm Disc3
libXpm-3.5.5-3.i386.rpm Disc1
libXpm-3.5.5-3.x86_64.rpm Disc1
libXpm-devel-3.5.5-3.i386.rpm Disc3
libXpm-devel-3.5.5-3.x86_64.rpm Disc3
make-3.81-3.el5.x86_64.rpm Disc1
ncomClick-4.2.4-47.x86_64.rpm Disc4
openmotif22-2.2.3-18.i386.rpm Disc3
openmotif22-2.2.3-18.x86_64.rpm Disc3
sysstat-7.0.2-3.el5.x86_64.rpm Disc4
tzdata-2008i-1.el5.noarch.rpm Disc1
unixODBC-2.2.11-7.1.i386.rpm Disc2
Installing Packages
To install the additional packages, perform the following steps to extract them directly from
the installation CDs:
1. Insert the appropriate installation disc in the CD-ROM drive. The disc should mount
automatically when you insert it. If it does not mount automatically, then execute this
command to mount it:
mount -t iso9660 /dev/cdrom /media/cdrom
2. Change to the directory on the disc which contains the RPMs:
cd /media/cdrom/Server
3. Install each additional rpm contained on the CD with the command:
rpm –Uvh –nodeps --force <rpm name>
4. When finished with the disc, dismount and eject it with the commands:
cd
eject
In addition, download and install the following packages with the same procedure as above:
glibc-kernheaders-2.4-9.1.100.EL.x86_64.rpm
gnome-libs-1.4.1.2.90-44.2.x86_64.rpm
openmotif21-2.1.30-11.EL5.i386.rpm
xorg-x11-deprecated-libs-6.8.2-1.EL.18.0.1.i386.rpm
xorg-x11-deprecated-libs-6.8.2-1.EL.18.0.1.x86_64.rpm
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
xwindowsaver-4.18-5.rhel4.13.0.1.x86_64.rpm
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 7
Configuring Linux for Oracle Products
The following sections list the steps that must be completed to configure Linux for Oracle
Database 11g Release 2, Oracle Fusion Middleware, and Oracle Real Application Clusters
(RAC).
Configuring the Linux Kernel Parameters
Use the following commands to make the necessary kernel parameter changes to the
/etc/sysctl.conf file:
cp /etc/sysctl.conf /etc/sysctl.conf.bak
cat > /etc/sysctl.conf <<EOF
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Usefun forndebugging multi-threaded applications.
kernel.msgmnb = 65535
kernel.msgmni = 2878
kernel.sem = 256 32000 100 142
kernel.shmmax = 6442450942
kernel.shmall = 2097152
kernel.shmmni = 4096
fs.aio-max-nr = 1048576
8 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 65536 8388608
net.ipv4.tcp_mem = 4096 4096 4096
fs.file-max = 6815744
EOF
Configuring symlinks
Run the following commands:
mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORIG
ln -s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6
ln -s /bin/awk /bin/nawk
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
Configuring /etc/modprobe.conf
Run the following commands:
echo alias net-pf-10 off >> /etc/modprobe.conf
echo alias ipv6 off >> /etc/modprobe.conf
Configuring the Pluggable Authentication Module (PAM)
Use a text editor to add the following entry near the bottom of the PAM file
/etc/pam.d/login:
session required /lib/security/pam_limits.so
Configuring the Hangcheck-Timer Module
The hangcheck-timer driver is a method for catching kernel hangs and pauses. It is already
included in the Linux kernel but it needs to be configured in the /etc/modules.conf and
/etc/rc.local files. To make these changes, run the following commands as root:
cat >> /etc/modules.conf <<EOF
options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180
EOF
cat >> /etc/rc.local <<EOF
modprobe hangcheck-timer
EOF
Reboot the Server
At this point the server should be rebooted to pick up the kernel parameter changes and load
the hangcheck-timer module.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 9
Configure System Level Pre-Requisites
Before installing the RAC or starting clustered OAS installations, the following items must
be completed first:
Allocate Servers
Acquire Virtual IP Addresses for RAC Database Servers
Allocate Disk
Create Oracle software owner accounts
Allocate Servers
Determine the servers that will be used to create the RAC database and the Applications.
For this case study, the following was used:
2 Database servers: dbserver1 and dbserver2
3 Application servers: appserver1, appserver2, and appserver3
Acquire Virtual IP Addresses for RAC Database Servers
Virtual IP Addresses are needed for each RAC Database Server, work with your System
Administrator and or Network Administrator to request these.
For this case study, the following was used:
Two virtual IP addresses: dbvip1 & dbvip2
Allocate Disk
This is a high level list of what disk needs to be in place before starting any of the RAC or
FMW installations:
1. Amount of disk space needed on Application Servers and its layout.
2. Amount of non-shared disk space for RAC Database Server and its location.
3. Amount of shared disk space for RAC Database Servers and its location.
For this case study, the following was requested for the RAC database cluster, the Fusion
Middleware cluster, and the Fusion Middleware standalone server:
1. Application Server Space:
For each Application Server (appserver1, appserver2 and appserver3):
/u00 - 100G local, NAS or SAN space (i.e. separate /u00s on each)
2. Non-Shared disk space for RAC DB Servers:
For each RAC Database Server (dbserver1 and dbserver2)
/u00 - 100G local, NAS or SAN space (i.e. separate /u00s on each)
10 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
3. Shared NFS disk space for RAC Database Servers.
Mount Point Size NFS Mount Options
/u02/ocr1 500M hard,nointr,rsize=32768,wsize=32768,tcp,noac,timeo=600
/u02/ocr2 500M hard,nointr,rsize=32768,wsize=32768,tcp,noac,timeo=600
/arch 50G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600
/u03 100G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600
/u04 100G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600
/u05 100G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600
Create Oracle Software Owner Accounts
To create the DBA group and Oracle software owner accounts, execute the following
commands as root:
/usr/sbin/groupadd –g 2006 dba
/usr/sbin/useradd –u 869 –g 2006 –d /u00/oracle –m –s /bin/ksh oracle
/usr/sbin/useradd –u 505 –g 2006 –d /u00/webadmin –m –s /bin/ksh webadmin
Setting the Password for Oracle Accounts
Set the password on the oracle and webadmin accounts by executing the following
commands as root:
passwd oracle
passwd webadmin
Setting Shell Limits for the Oracle User
Run the following command as root to configure operating system limits for the Oracle user:
cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 32768
oracle hard stack 32768
webadmin soft nproc 16384
webadmin hard nproc 16384
webadmin soft nofile 4096
webadmin hard nofile 65536
webadmin soft stack 32768
webadmin hard stack 32768
EOF
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 11
ConfigureLoadBalancer
For this case study, our load balancer was set up with the following configurations:
One load-balanced virtual IP address with:
HTTP Port 7777 balanced between appserver1/appserver2
HTTP Port 8888 balanced between appserver1/appserver2
HTTP Port 18888 balanced between appserver1/appserver2
LDAP Port 11389 balanced between appserver1/appserver2
SSL LDAP Port 11636 balanced between dev appserver1/appserver2
Basic Load-Balancer Setup
Follow the instructions to set up BIG-IP in the BIG-IP Reference Guide.
Note: For access to technical documentation, including the BIG-
IP Reference Guide, register for a free account on the Ask F5
Web site.
Ensure that the Configuration utility web interface is available and ready for configuration.
Launch a web browser and navigate to the configuration utility:
https://<HTTPD Admin IP Address>/xui/
12 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Configure SNATs
To configure SNATs:
Click Local Traffic.
Click SNATs.
Update the configuration dropdowns.
Click Update.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 13
Create Monitors
To create the monitors:
Select Monitors from the left menubar. You will need to create three monitors with settings
similar to the ones shown in this screenshot. A few key items will differ for each monitor,
and those settings are detailed below.
14 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Create a monitor called OAS_HTTP with the following settings:
Setting Value
Defaults From HTTP
Interval 30
Timeout 91
Send String GET /
Create a monitor called OAS_LDAP_11389 with the following settings:
Setting Value
Defaults From ldap
Interval 10
Timeout 31
Alias Service Port 11389
Create a monitor called OAS_SSL_11636 with the following settings:
Setting Value
Defaults From TCP
Interval 5
Timeout 16
Alias Service Port 11636
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 15
Create Pools
To create pools:
Select Pools from the left menubar. You will need to create four pools with settings similar to
the ones shown in the following figure. A few key items will differ for each pool, and those
settings are detailed below.
16 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Create a pool called OAS_Pool with these settings:
Setting Value
Name OAS_Pool
Health Monitors OAS_HTTP
Allow SNAT Yes
Allow NAT Yes
Load Balance Method Least Connections (member)
Members 10.141.29.89:8888 (appserver1)
10.141.29.89:18888 (appserver1)
10.141.29.90:8888 (appserver2)
10.141.29.90:18888 (appserver2)
Create a pool called OAS_LDAP_11389 with these settings:
Setting Value
Name OAS_LDAP_11389
Health Monitors OAS_LDAP_11389
Allow SNAT Yes
Allow NAT Yes
Load Balance Method Least Connections (member)
Members 10.141.29.89:11389 (appserver1)
10.141.29.90:11389 (appserver2)
Create a pool called OAS_SSL_11636 with these settings:
Setting Value
Name OAS_SSL_116363
Health Monitors OAS_SSL_11636
Allow SNAT Yes
Allow NAT Yes
Load Balance Method Least Connections (member)
Members 10.141.29.89:11636 (appserver1)
10.141.29.90:11636 (appserver2)
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 17
Create a pool called OAS_Admin_7777 with these settings:
Setting Value
Name OAS_Admin_7777
Health Monitors OAS_HTTP
Allow SNAT Yes
Allow NAT Yes
Load Balance Method Least Connections (member)
Members 10.141.29.89:7777 (appserver1)
10.141.29.90:7777 (appserver2)
18 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Create Virtual Servers
To create virtual servers:
Select Virtual Servers from the left menubar. You will need to create four virtual servers
with settings similar to the ones shown in this screenshot. A few key items will differ for
each virtual server, and those settings are detailed below.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 19
20 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Create a virtual server called OAS_Virtual_Server with these settings:
Setting Value
Name OAS_Virtual_Server
Destination host
Destination 10.141.31.254
Service Port *
Service Port *All Ports
State Enabled
Protocol TCP
Protocol Profile (Client) tcp
Protocol Profile (Server) (Use Client Profile)
OneConnect Profile oneconnect
HTTP Profile http
SNAT Pool Auto Map
Default Pool OAS_Pool
Default Persistence Profile cookie
Fallback Persistence Profile none
Create a virtual server called OAS_LDAP_11389 with these settings:
Setting Value
Name OAS_LDAP_11389
Destination host
Destination 10.141.31.254
Service Port 11389
State Enabled
Protocol TCP
Protocol Profile (Client) tcp
Protocol Profile (Server) (Use Client Profile)
OneConnect Profile oneconnect
HTTP Profile http
SNAT Pool Auto Map
Default Pool OAS_LDAP_11389
Default Persistence Profile none
Fallback Persistence Profile none
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 21
Create a virtual server called OAS_SSL_11636 with these settings:
Setting Value
Name OAS_SSL_11636
Destination host
Destination 10.141.31.254
Service Port 11636
State Enabled
Type Performance (Layer 4)
Protocol TCP
Protocol Profile (Client) fastL4
OneConnect Profile None
Address Translation Enabled
Port Translation Enabled
Source Port Preserve
SNAT Pool Auto Map
Default Pool OAS_SSL_11636
Default Persistence Profile none
Create a virtual server called OAS_Admin_7777 with these settings:
Setting Value
Name OAS_Admin_7777
Destination Host
Destination 10.141.31.254
Service Port 7777
State Enabled
Protocol TCP
Protocol Profile (Client) Tcp
Protocol Profile (Server) (Use Client Profile)
OneConnect Profile Oneconnect
HTTP Profile http
SNAT Pool Auto Map
Default Pool OAS_Admin_7777
Default Persistence Profile cookie
Fallback Persistence Profile none
22 Oracle Retail 13.2 High-Availability Case Study Oracle Linux
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without
notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and
conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either
directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior
written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Setup Complete
At this point the load-balancer setup should be complete and was activated automatically.
Later in the case study, there are steps where traffic should be disabled to a specific node.
This can be done by navigating to Local Traffic>Nodes, selecting the node to disable and
clicking Disable.
Oracle Retail 13.2 High-Availability Case Study Oracle Linux 23
Authors:
Jason Hubler
James R. Jarocki
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com
Copyright © 2011, Oracle. All rights reserved.
This document is provided for information purposes only and the
contents hereof are subject to change without notice.
This document is not warranted to be error-free, nor subject to any
other warranties or conditions, whether exClicked orally or implied
in law, including implied warranties and conditions of merchantability
or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document and no contractual obligations
are formed either directly or indirectly by this document. This document
may not be reproduced or transmitted in any form or by any means,
electronic or mechanical, for any purpose, without our prior written permission.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.

More Related Content

What's hot

Oracle grc install
Oracle grc installOracle grc install
Oracle grc install
Paras Ali
 
E49322 07
E49322 07E49322 07
E49322 07
tompark21
 
Oracle onsite rdc user guide 4.6
Oracle onsite rdc   user guide 4.6Oracle onsite rdc   user guide 4.6
Oracle onsite rdc user guide 4.6
Ceecil1959
 
E29632
E29632E29632
E29632
ssfdsdsf
 
Oracle partners-in-india
Oracle partners-in-indiaOracle partners-in-india
Oracle partners-in-india
LDS INFOTECH PVT. LTD.
 
Oracle database 12c client release notes 2
Oracle database 12c client release notes 2Oracle database 12c client release notes 2
Oracle database 12c client release notes 2
bupbechanhgmail
 
Data archival tool
Data archival toolData archival tool
Data archival tool
Soumendu Gorai
 
Oracle database 12c client installation guide
Oracle database 12c client installation guideOracle database 12c client installation guide
Oracle database 12c client installation guide
bupbechanhgmail
 
Oracle 10g Reference
Oracle 10g  ReferenceOracle 10g  Reference
Oracle 10g Reference
Edison
 
Oracle database 12c client release notes
Oracle database 12c client release notesOracle database 12c client release notes
Oracle database 12c client release notes
bupbechanhgmail
 
Oracle database 12c client installation guide 6
Oracle database 12c client installation guide 6Oracle database 12c client installation guide 6
Oracle database 12c client installation guide 6
bupbechanhgmail
 
e13513
e13513e13513
Hrms
HrmsHrms
Sca bpel-1.1-spec
Sca bpel-1.1-specSca bpel-1.1-spec
Sca bpel-1.1-spec
Vibhor Rastogi
 
A42525
A42525A42525
120posig
120posig120posig
120posig
vinodchun
 
Instalacion de apex
Instalacion de apexInstalacion de apex
Instalacion de apex
Diego Barrios
 
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle e business-suite_r12_installation_guide_step_by_step_on_linuxOracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
moh_arifay
 
Esm rel notes_v5.2
Esm rel notes_v5.2Esm rel notes_v5.2
Esm rel notes_v5.2
Protect724
 

What's hot (19)

Oracle grc install
Oracle grc installOracle grc install
Oracle grc install
 
E49322 07
E49322 07E49322 07
E49322 07
 
Oracle onsite rdc user guide 4.6
Oracle onsite rdc   user guide 4.6Oracle onsite rdc   user guide 4.6
Oracle onsite rdc user guide 4.6
 
E29632
E29632E29632
E29632
 
Oracle partners-in-india
Oracle partners-in-indiaOracle partners-in-india
Oracle partners-in-india
 
Oracle database 12c client release notes 2
Oracle database 12c client release notes 2Oracle database 12c client release notes 2
Oracle database 12c client release notes 2
 
Data archival tool
Data archival toolData archival tool
Data archival tool
 
Oracle database 12c client installation guide
Oracle database 12c client installation guideOracle database 12c client installation guide
Oracle database 12c client installation guide
 
Oracle 10g Reference
Oracle 10g  ReferenceOracle 10g  Reference
Oracle 10g Reference
 
Oracle database 12c client release notes
Oracle database 12c client release notesOracle database 12c client release notes
Oracle database 12c client release notes
 
Oracle database 12c client installation guide 6
Oracle database 12c client installation guide 6Oracle database 12c client installation guide 6
Oracle database 12c client installation guide 6
 
e13513
e13513e13513
e13513
 
Hrms
HrmsHrms
Hrms
 
Sca bpel-1.1-spec
Sca bpel-1.1-specSca bpel-1.1-spec
Sca bpel-1.1-spec
 
A42525
A42525A42525
A42525
 
120posig
120posig120posig
120posig
 
Instalacion de apex
Instalacion de apexInstalacion de apex
Instalacion de apex
 
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle e business-suite_r12_installation_guide_step_by_step_on_linuxOracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
 
Esm rel notes_v5.2
Esm rel notes_v5.2Esm rel notes_v5.2
Esm rel notes_v5.2
 

Similar to high availability case study oracle linux

Sales userguide121asnug
Sales userguide121asnugSales userguide121asnug
Sales userguide121asnug
G Selvam Guru
 
Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...
Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...
Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...
Berry Clemens
 
Ocdm installation guide
Ocdm installation guideOcdm installation guide
Ocdm installation guide
Ishtiaq Khan
 
122gopug.pdf
122gopug.pdf122gopug.pdf
122gopug.pdf
Arunkumar302499
 
Oracle supplier ship and debit
Oracle supplier ship and debitOracle supplier ship and debit
Oracle supplier ship and debit
Franklin Gomez
 
e13406_WSHIM.pdf
e13406_WSHIM.pdfe13406_WSHIM.pdf
e13406_WSHIM.pdf
Samir Mahapatra
 
Installed base
Installed baseInstalled base
Installed base
Vikram Reddy
 
Oracle database 12c application express end user's guide
Oracle database 12c application express end user's guideOracle database 12c application express end user's guide
Oracle database 12c application express end user's guide
bupbechanhgmail
 
Applications Cloud Using Common Features.pdf
Applications Cloud Using Common Features.pdfApplications Cloud Using Common Features.pdf
Applications Cloud Using Common Features.pdf
Prabhakar Subburaj
 
Oracle-Service-Procurement - User Guide.pdf
Oracle-Service-Procurement - User Guide.pdfOracle-Service-Procurement - User Guide.pdf
Oracle-Service-Procurement - User Guide.pdf
TarigTaha3
 
Ame
AmeAme
Oracle database 12c client installation overview
Oracle database 12c client installation overviewOracle database 12c client installation overview
Oracle database 12c client installation overview
bupbechanhgmail
 
Oracle® database 2 days security guide e10575
Oracle® database 2 days security guide e10575Oracle® database 2 days security guide e10575
Oracle® database 2 days security guide e10575
imranshahid7861
 
120cioig
120cioig120cioig
120cioig
Charan Reddy
 
iSupplier Implementation.pdf
iSupplier Implementation.pdfiSupplier Implementation.pdf
iSupplier Implementation.pdf
sudhavanarasi123
 
Oracle database 12c sql tuning
Oracle database 12c sql tuningOracle database 12c sql tuning
Oracle database 12c sql tuning
Femi Adeyemi
 
Oracle service procurement manual
Oracle  service procurement manualOracle  service procurement manual
Oracle service procurement manual
Vikram Reddy
 
121eamig implementation guide
121eamig implementation guide121eamig implementation guide
121eamig implementation guide
Rajesh Khatri
 
11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...
11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...
11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...
Beverley Baker-Harris
 
Oracle hrms approvals management implementation guide
Oracle hrms approvals management implementation guideOracle hrms approvals management implementation guide
Oracle hrms approvals management implementation guide
Barış Ergün
 

Similar to high availability case study oracle linux (20)

Sales userguide121asnug
Sales userguide121asnugSales userguide121asnug
Sales userguide121asnug
 
Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...
Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...
Simplified user experience_design_patterns_for_the_oracle_applications_cloud_...
 
Ocdm installation guide
Ocdm installation guideOcdm installation guide
Ocdm installation guide
 
122gopug.pdf
122gopug.pdf122gopug.pdf
122gopug.pdf
 
Oracle supplier ship and debit
Oracle supplier ship and debitOracle supplier ship and debit
Oracle supplier ship and debit
 
e13406_WSHIM.pdf
e13406_WSHIM.pdfe13406_WSHIM.pdf
e13406_WSHIM.pdf
 
Installed base
Installed baseInstalled base
Installed base
 
Oracle database 12c application express end user's guide
Oracle database 12c application express end user's guideOracle database 12c application express end user's guide
Oracle database 12c application express end user's guide
 
Applications Cloud Using Common Features.pdf
Applications Cloud Using Common Features.pdfApplications Cloud Using Common Features.pdf
Applications Cloud Using Common Features.pdf
 
Oracle-Service-Procurement - User Guide.pdf
Oracle-Service-Procurement - User Guide.pdfOracle-Service-Procurement - User Guide.pdf
Oracle-Service-Procurement - User Guide.pdf
 
Ame
AmeAme
Ame
 
Oracle database 12c client installation overview
Oracle database 12c client installation overviewOracle database 12c client installation overview
Oracle database 12c client installation overview
 
Oracle® database 2 days security guide e10575
Oracle® database 2 days security guide e10575Oracle® database 2 days security guide e10575
Oracle® database 2 days security guide e10575
 
120cioig
120cioig120cioig
120cioig
 
iSupplier Implementation.pdf
iSupplier Implementation.pdfiSupplier Implementation.pdf
iSupplier Implementation.pdf
 
Oracle database 12c sql tuning
Oracle database 12c sql tuningOracle database 12c sql tuning
Oracle database 12c sql tuning
 
Oracle service procurement manual
Oracle  service procurement manualOracle  service procurement manual
Oracle service procurement manual
 
121eamig implementation guide
121eamig implementation guide121eamig implementation guide
121eamig implementation guide
 
11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...
11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...
11212017 oracle project_portfolio_management_cloud_functional_known_issues_-_...
 
Oracle hrms approvals management implementation guide
Oracle hrms approvals management implementation guideOracle hrms approvals management implementation guide
Oracle hrms approvals management implementation guide
 

Recently uploaded

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 

Recently uploaded (20)

writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 

high availability case study oracle linux

  • 1. Oracle Retail 13.2 High- Availability Case Study Oracle Linux An Oracle Case Study April 2011 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 2. Note: The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 3. Contents Case Study: Installing Oracle Linux for Oracle Retail 13.2 .................................................1 Installation Overview.......................................................................................................................1 Install Oracle Linux on All Systems...............................................................................................2 Hardware and Software Requirements ......................................................................................2 Required Software Package Versions .........................................................................................6 Installing Packages ........................................................................................................................7 Configuring Linux for Oracle Products .................................................................................8 Configuring the Linux Kernel Parameters....................................................................................8 Configuring symlinks ......................................................................................................................9 Configuring /etc/modprobe.conf..................................................................................................9 Configuring the Pluggable Authentication Module (PAM).......................................................9 Configuring the Hangcheck-Timer Module .................................................................................9 Reboot the Server..............................................................................................................................9 Configure System Level Pre-Requisites..............................................................................10 Allocate Servers...............................................................................................................................10 Acquire Virtual IP Addresses for RAC Database Servers.........................................................10 Allocate Disk ...................................................................................................................................10 Create Oracle Software Owner Accounts....................................................................................11 Setting the Password for Oracle Accounts ...............................................................................11 Setting Shell Limits for the Oracle User....................................................................................11 Basic Load-Balancer Setup ............................................................................................................12 Configure SNATs............................................................................................................................13 Create Monitors ..............................................................................................................................14 Create Pools.....................................................................................................................................16 Create Virtual Servers ....................................................................................................................19 Setup Complete...............................................................................................................................23 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 4. Case Study: Installing Oracle Linux for Oracle Retail 13.2 This document describes the case study for installing Oracle Linux for Oracle Retail 13.2. Installation Overview Oracle Retail applications can be deployed in a grid computing environment, utilizing Oracle Fusion Middleware Active-Active clustering and Oracle Real Application Cluster (RAC) databases to provide high availability and scalability. This configuration allows lower-cost commodity systems to be combined into a single scalable, fault-tolerant computing environment. There are many options for configuring an Oracle grid computing environment and these options can have a significant impact on the way that the environment is configured and built. The intent of this case study is not to provide exhaustive documentation on all possible ways to configure a suitable grid computing environment for Oracle Retail, but rather to document a specific configuration that was used for verification purposes. As such, the specific installation steps documented in this case study will only apply in their entirety to the exact hardware and software configuration described here. This Case Study details the steps used to setup the Oracle Linux systems that will be used as servers for the High-Availability Oracle Retail environment: 1. Create Oracle Linux environment: a. Install Oracle Linux 5 Update 3 on all systems. b. Configure Linux for Oracle. c. Configure system level pre-requisites. d. Configure load-balancer. Note: This case study uses the hostnames dbserver1, dbserver2, appserver1, appserver2, and appserver3 for the systems involved in the Oracle Retail environment. You should substitute the appropriate names of the hosts for your installation. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 5. Install Oracle Linux on All Systems Installing the Oracle Linux Release 5 Update 3 (OL5U3) operating system to prepare for Oracle Fusion Middleware (FMW) and Oracle Real Application Clusters (RAC) installations can be broken down to the following basic steps: 1. Hardware and Software Requirements. 2. Basic OS installation. 3. Configuring Linux for Oracle. Hardware and Software Requirements This section describes the hardware and software requirements. Disk Space The following table shows the internal disk layout used for this case study Partition Allocation (in Mbytes) / 4096 /boot 128 /usr 10091 /var 4096 <swap> Equal to physical memory size Kernel Version Oracle Linux 5 Update 3 for x86-64 is required. The kernel version is: kernel-2.6.18-128.el5 Basic OS Installation The following is a detailed, step-by-step procedure to install Oracle Linux 5 Update 3 on x86- 64 hardware in a configuration necessary for successful installation and use of Oracle Database 11g Release 2, Oracle Fusion Middleware, and Oracle Real Application Clusters. 2 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 6. Installation Procedure To install: 1. Download the Oracle Linux Release 5 Update 3 Media Pack for x86-64 (64-bit) from the Oracle E-Delivery Web site for Oracle Linux (http://edelivery.oracle.com/linux). The source CDs are not required. 2. Unzip the downloaded files and burn image CDs from the extracted .iso files. The CDs will be mounted as file systems during the installation. 3. Boot the computer using the first CD. You may need to change the order that the BIOS search devices when trying to boot. The BIOS must search the CD-ROM drive first and the hard drive second. Press F2 or F12 immediately when booting to bring up the BIOS maintenance window. 4. The Enterprise Linux boot window appears with the boot prompt at the left bottom of the window. Click Enter to continue with a graphical install on the console. The installer scans your hardware, briefly displays a splash window, and then begins a series of window prompts. 5. The CD Found window appears to begin testing the CD media before installation. Click OK to verify the media or click Skip to skip the media test. It is recommended that you verify the media for the first use of the installation CDs. 6. The Welcome to Oracle Enterprise Linux window opens. Click Next. 7. The Language Selection window opens. Select the appropriate language. Click Next. 8. The Keyboard Configuration window opens. Select the appropriate keyboard for the system. Click Next. 9. If the system was previously installed, the Installation Type window opens. Select Install Enterprise Linux. Click Next. 10. The Hard Drive Installation Type window opens. Select Create custom layout. Click Next. 11. The Disk Setup window opens. Click New to add partitions. Refer to the preceding table for recommended partitions and sizes. 12. The Boot Loader Configuration window opens. Click Next. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 3
  • 7. 13. If the system was previously configured, you may see the Install Boot Loader record window opens. Keep the default values. Click Next. 14. The Network Configuration window opens. You should use a fixed, static IP address. Although it is possible to use DHCP addressing, any change in IP address after installation may result in problems later on. Click Edit. A pop-up window appears. Uncheck the Configure using DHCP box. Enter the IP Address and Netmask for the server. Select Activate on boot. Click OK. In the Hostname box, select manually and enter the hostname. In the Miscellaneous Settings box, enter the remaining network settings. Click Next. 15. The Time Zone Selection window opens. Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, select System clock uses UTC. Click Next. 16. The Set Root Password window opens. Enter a password for root, and enter it again to confirm. Click Next. 17. The Package Group Selection window opens. Select Customize now. Click Next. 18. The Software Selection window opens. In the Desktop Environments area, select Gnome Desktop Environment. In the Applications area, select Editors. Clear everything else. In the Development area, select Development Tools. In the Servers area, leave the default selections. In the Base System area, select Administration Tools, Base, Java, and X window System. In the Cluster Storage area, select nothing. In the Clustering area, select nothing. In the Virtualization area, select nothing. Click Next. 4 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 8. 19. The Begin Installation window opens. Click Next. The dialog box detailing required CDs opens. Click Continue. Software will be copied to the hard disk and installed. Change disks as prompted. 20. Congratulations, the installation is complete. Remove the installation CD-ROM from the system, and click Reboot. 21. The system automatically reboots and a new Welcome window opens. Click Forward. 22. The License Agreement window opens. Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click Forward. 23. The Firewall Configuration window opens. Select Enable firewall. Select SSH checkbox. Click Next. 24. The SELinux window opens. Set SELinux Setting to Disabled. Click Forward. 25. The Kdump window opens. Clear Enable kdump? Click Forward. 26. The Date and Time window opens. Set the Date and Time. If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server. Click Forward. 27. The System User window opens. Create an account for regular, non-administrative use of your system. Do not create an account for Oracle at this time. 28. The Sound Card window opens. Click Next. 29. The Additional CDs window opens. Click Finish. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 5
  • 9. 30. A graphical Enterprise Linux login window appears. Congratulations! Your Linux software is now installed. Login to the root account to setup Linux for the installation of the Oracle products. Required Software Package Versions The following software packages (or later versions) must be installed on the system before attempting to install the Oracle products. All rpms can be found on one of the installation CDs. Failure to have installed all of these packages can result in a failed installation or subsequent operation of the Oracle products. RPM Name Installation CD binutils-2.17.50.0.6-9.el5.x86_64.rpm Disc1 compat-db-4.2.52-5.1.i386.rpm Disc3 compat-db-4.2.52-5.1.x86_64.rpm Disc3 compat-libstdc++-33-3.2.3-61.i386.rpm Disc3 compat-libstdc++-33-3.2.3-61.x86_64.rpm Disc3 control-center-2.16.0-16.el5.x86_64.rpm Disc2 gcc-4.1.2-44.el5.x86_64.rpm Disc2 gcc-c++-4.1.2-44.el5.x86_64.rpm Disc2 glibc-2.5-34.i686.rpm Disc1 glibc-2.5-34.x86_64.rpm Disc1 glibc-common-2.5-34.x86_64.rpm Disc1 glibc-devel-2.5-34.i386.rpm Disc2 glibc-devel-2.5-34.x86_64.rpm Disc2 glibc-headers-2.5-34.x86_64.rpm Disc2 gnome-utils-2.16.0-5.el5.x86_64.rpm Disc2 libaio-0.3.106-3.2.i386.rpm Disc1 libaio-0.3.106-3.2.x86_64.rpm Disc1 libaio-devel-0.3.106-3.2.i386.rpm Disc3 libaio-devel-0.3.106-3.2.x86_64.rpm Disc3 libgcc-4.1.2-44.el5.i386.rpm Disc1 libgcc-4.1.2-44.el5.x86_64.rpm Disc1 libstdc++-4.1.2-44.el5.x86_64.rpm Disc1 libstdc++-devel-4.1.2-44.el5.x86_64.rpm Disc1 libXp-1.0.0-8.1.el5.i386.rpm Disc3 libXp-1.0.0-8.1.el5.x86_64.rpm Disc3 6 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 10. RPM Name Installation CD libXp-devel-1.0.0-8.1.el5.i386.rpm Disc3 libXp-devel-1.0.0-8.1.el5.x86_64.rpm Disc3 libXpm-3.5.5-3.i386.rpm Disc1 libXpm-3.5.5-3.x86_64.rpm Disc1 libXpm-devel-3.5.5-3.i386.rpm Disc3 libXpm-devel-3.5.5-3.x86_64.rpm Disc3 make-3.81-3.el5.x86_64.rpm Disc1 ncomClick-4.2.4-47.x86_64.rpm Disc4 openmotif22-2.2.3-18.i386.rpm Disc3 openmotif22-2.2.3-18.x86_64.rpm Disc3 sysstat-7.0.2-3.el5.x86_64.rpm Disc4 tzdata-2008i-1.el5.noarch.rpm Disc1 unixODBC-2.2.11-7.1.i386.rpm Disc2 Installing Packages To install the additional packages, perform the following steps to extract them directly from the installation CDs: 1. Insert the appropriate installation disc in the CD-ROM drive. The disc should mount automatically when you insert it. If it does not mount automatically, then execute this command to mount it: mount -t iso9660 /dev/cdrom /media/cdrom 2. Change to the directory on the disc which contains the RPMs: cd /media/cdrom/Server 3. Install each additional rpm contained on the CD with the command: rpm –Uvh –nodeps --force <rpm name> 4. When finished with the disc, dismount and eject it with the commands: cd eject In addition, download and install the following packages with the same procedure as above: glibc-kernheaders-2.4-9.1.100.EL.x86_64.rpm gnome-libs-1.4.1.2.90-44.2.x86_64.rpm openmotif21-2.1.30-11.EL5.i386.rpm xorg-x11-deprecated-libs-6.8.2-1.EL.18.0.1.i386.rpm xorg-x11-deprecated-libs-6.8.2-1.EL.18.0.1.x86_64.rpm xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm xwindowsaver-4.18-5.rhel4.13.0.1.x86_64.rpm Oracle Retail 13.2 High-Availability Case Study Oracle Linux 7
  • 11. Configuring Linux for Oracle Products The following sections list the steps that must be completed to configure Linux for Oracle Database 11g Release 2, Oracle Fusion Middleware, and Oracle Real Application Clusters (RAC). Configuring the Linux Kernel Parameters Use the following commands to make the necessary kernel parameter changes to the /etc/sysctl.conf file: cp /etc/sysctl.conf /etc/sysctl.conf.bak cat > /etc/sysctl.conf <<EOF # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 0 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Usefun forndebugging multi-threaded applications. kernel.msgmnb = 65535 kernel.msgmni = 2878 kernel.sem = 256 32000 100 142 kernel.shmmax = 6442450942 kernel.shmall = 2097152 kernel.shmmni = 4096 fs.aio-max-nr = 1048576 8 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 12. net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.tcp_rmem = 4096 87380 8388608 net.ipv4.tcp_wmem = 4096 65536 8388608 net.ipv4.tcp_mem = 4096 4096 4096 fs.file-max = 6815744 EOF Configuring symlinks Run the following commands: mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORIG ln -s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6 ln -s /bin/awk /bin/nawk ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 Configuring /etc/modprobe.conf Run the following commands: echo alias net-pf-10 off >> /etc/modprobe.conf echo alias ipv6 off >> /etc/modprobe.conf Configuring the Pluggable Authentication Module (PAM) Use a text editor to add the following entry near the bottom of the PAM file /etc/pam.d/login: session required /lib/security/pam_limits.so Configuring the Hangcheck-Timer Module The hangcheck-timer driver is a method for catching kernel hangs and pauses. It is already included in the Linux kernel but it needs to be configured in the /etc/modules.conf and /etc/rc.local files. To make these changes, run the following commands as root: cat >> /etc/modules.conf <<EOF options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 EOF cat >> /etc/rc.local <<EOF modprobe hangcheck-timer EOF Reboot the Server At this point the server should be rebooted to pick up the kernel parameter changes and load the hangcheck-timer module. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 9
  • 13. Configure System Level Pre-Requisites Before installing the RAC or starting clustered OAS installations, the following items must be completed first: Allocate Servers Acquire Virtual IP Addresses for RAC Database Servers Allocate Disk Create Oracle software owner accounts Allocate Servers Determine the servers that will be used to create the RAC database and the Applications. For this case study, the following was used: 2 Database servers: dbserver1 and dbserver2 3 Application servers: appserver1, appserver2, and appserver3 Acquire Virtual IP Addresses for RAC Database Servers Virtual IP Addresses are needed for each RAC Database Server, work with your System Administrator and or Network Administrator to request these. For this case study, the following was used: Two virtual IP addresses: dbvip1 & dbvip2 Allocate Disk This is a high level list of what disk needs to be in place before starting any of the RAC or FMW installations: 1. Amount of disk space needed on Application Servers and its layout. 2. Amount of non-shared disk space for RAC Database Server and its location. 3. Amount of shared disk space for RAC Database Servers and its location. For this case study, the following was requested for the RAC database cluster, the Fusion Middleware cluster, and the Fusion Middleware standalone server: 1. Application Server Space: For each Application Server (appserver1, appserver2 and appserver3): /u00 - 100G local, NAS or SAN space (i.e. separate /u00s on each) 2. Non-Shared disk space for RAC DB Servers: For each RAC Database Server (dbserver1 and dbserver2) /u00 - 100G local, NAS or SAN space (i.e. separate /u00s on each) 10 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 14. 3. Shared NFS disk space for RAC Database Servers. Mount Point Size NFS Mount Options /u02/ocr1 500M hard,nointr,rsize=32768,wsize=32768,tcp,noac,timeo=600 /u02/ocr2 500M hard,nointr,rsize=32768,wsize=32768,tcp,noac,timeo=600 /arch 50G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600 /u03 100G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600 /u04 100G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600 /u05 100G hard,nointr,rsize=32768,wsize=32768,tcp,actimeo=0,timeo=600 Create Oracle Software Owner Accounts To create the DBA group and Oracle software owner accounts, execute the following commands as root: /usr/sbin/groupadd –g 2006 dba /usr/sbin/useradd –u 869 –g 2006 –d /u00/oracle –m –s /bin/ksh oracle /usr/sbin/useradd –u 505 –g 2006 –d /u00/webadmin –m –s /bin/ksh webadmin Setting the Password for Oracle Accounts Set the password on the oracle and webadmin accounts by executing the following commands as root: passwd oracle passwd webadmin Setting Shell Limits for the Oracle User Run the following command as root to configure operating system limits for the Oracle user: cat >> /etc/security/limits.conf <<EOF oracle soft nproc 16384 oracle hard nproc 16384 oracle soft nofile 4096 oracle hard nofile 65536 oracle soft stack 32768 oracle hard stack 32768 webadmin soft nproc 16384 webadmin hard nproc 16384 webadmin soft nofile 4096 webadmin hard nofile 65536 webadmin soft stack 32768 webadmin hard stack 32768 EOF Oracle Retail 13.2 High-Availability Case Study Oracle Linux 11
  • 15. ConfigureLoadBalancer For this case study, our load balancer was set up with the following configurations: One load-balanced virtual IP address with: HTTP Port 7777 balanced between appserver1/appserver2 HTTP Port 8888 balanced between appserver1/appserver2 HTTP Port 18888 balanced between appserver1/appserver2 LDAP Port 11389 balanced between appserver1/appserver2 SSL LDAP Port 11636 balanced between dev appserver1/appserver2 Basic Load-Balancer Setup Follow the instructions to set up BIG-IP in the BIG-IP Reference Guide. Note: For access to technical documentation, including the BIG- IP Reference Guide, register for a free account on the Ask F5 Web site. Ensure that the Configuration utility web interface is available and ready for configuration. Launch a web browser and navigate to the configuration utility: https://<HTTPD Admin IP Address>/xui/ 12 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 16. Configure SNATs To configure SNATs: Click Local Traffic. Click SNATs. Update the configuration dropdowns. Click Update. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 13
  • 17. Create Monitors To create the monitors: Select Monitors from the left menubar. You will need to create three monitors with settings similar to the ones shown in this screenshot. A few key items will differ for each monitor, and those settings are detailed below. 14 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 18. Create a monitor called OAS_HTTP with the following settings: Setting Value Defaults From HTTP Interval 30 Timeout 91 Send String GET / Create a monitor called OAS_LDAP_11389 with the following settings: Setting Value Defaults From ldap Interval 10 Timeout 31 Alias Service Port 11389 Create a monitor called OAS_SSL_11636 with the following settings: Setting Value Defaults From TCP Interval 5 Timeout 16 Alias Service Port 11636 Oracle Retail 13.2 High-Availability Case Study Oracle Linux 15
  • 19. Create Pools To create pools: Select Pools from the left menubar. You will need to create four pools with settings similar to the ones shown in the following figure. A few key items will differ for each pool, and those settings are detailed below. 16 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 20. Create a pool called OAS_Pool with these settings: Setting Value Name OAS_Pool Health Monitors OAS_HTTP Allow SNAT Yes Allow NAT Yes Load Balance Method Least Connections (member) Members 10.141.29.89:8888 (appserver1) 10.141.29.89:18888 (appserver1) 10.141.29.90:8888 (appserver2) 10.141.29.90:18888 (appserver2) Create a pool called OAS_LDAP_11389 with these settings: Setting Value Name OAS_LDAP_11389 Health Monitors OAS_LDAP_11389 Allow SNAT Yes Allow NAT Yes Load Balance Method Least Connections (member) Members 10.141.29.89:11389 (appserver1) 10.141.29.90:11389 (appserver2) Create a pool called OAS_SSL_11636 with these settings: Setting Value Name OAS_SSL_116363 Health Monitors OAS_SSL_11636 Allow SNAT Yes Allow NAT Yes Load Balance Method Least Connections (member) Members 10.141.29.89:11636 (appserver1) 10.141.29.90:11636 (appserver2) Oracle Retail 13.2 High-Availability Case Study Oracle Linux 17
  • 21. Create a pool called OAS_Admin_7777 with these settings: Setting Value Name OAS_Admin_7777 Health Monitors OAS_HTTP Allow SNAT Yes Allow NAT Yes Load Balance Method Least Connections (member) Members 10.141.29.89:7777 (appserver1) 10.141.29.90:7777 (appserver2) 18 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 22. Create Virtual Servers To create virtual servers: Select Virtual Servers from the left menubar. You will need to create four virtual servers with settings similar to the ones shown in this screenshot. A few key items will differ for each virtual server, and those settings are detailed below. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 19
  • 23. 20 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 24. Create a virtual server called OAS_Virtual_Server with these settings: Setting Value Name OAS_Virtual_Server Destination host Destination 10.141.31.254 Service Port * Service Port *All Ports State Enabled Protocol TCP Protocol Profile (Client) tcp Protocol Profile (Server) (Use Client Profile) OneConnect Profile oneconnect HTTP Profile http SNAT Pool Auto Map Default Pool OAS_Pool Default Persistence Profile cookie Fallback Persistence Profile none Create a virtual server called OAS_LDAP_11389 with these settings: Setting Value Name OAS_LDAP_11389 Destination host Destination 10.141.31.254 Service Port 11389 State Enabled Protocol TCP Protocol Profile (Client) tcp Protocol Profile (Server) (Use Client Profile) OneConnect Profile oneconnect HTTP Profile http SNAT Pool Auto Map Default Pool OAS_LDAP_11389 Default Persistence Profile none Fallback Persistence Profile none Oracle Retail 13.2 High-Availability Case Study Oracle Linux 21
  • 25. Create a virtual server called OAS_SSL_11636 with these settings: Setting Value Name OAS_SSL_11636 Destination host Destination 10.141.31.254 Service Port 11636 State Enabled Type Performance (Layer 4) Protocol TCP Protocol Profile (Client) fastL4 OneConnect Profile None Address Translation Enabled Port Translation Enabled Source Port Preserve SNAT Pool Auto Map Default Pool OAS_SSL_11636 Default Persistence Profile none Create a virtual server called OAS_Admin_7777 with these settings: Setting Value Name OAS_Admin_7777 Destination Host Destination 10.141.31.254 Service Port 7777 State Enabled Protocol TCP Protocol Profile (Client) Tcp Protocol Profile (Server) (Use Client Profile) OneConnect Profile Oneconnect HTTP Profile http SNAT Pool Auto Map Default Pool OAS_Admin_7777 Default Persistence Profile cookie Fallback Persistence Profile none 22 Oracle Retail 13.2 High-Availability Case Study Oracle Linux Copyright © 2011, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
  • 26. Setup Complete At this point the load-balancer setup should be complete and was activated automatically. Later in the case study, there are steps where traffic should be disabled to a specific node. This can be done by navigating to Local Traffic>Nodes, selecting the node to disable and clicking Disable. Oracle Retail 13.2 High-Availability Case Study Oracle Linux 23
  • 27. Authors: Jason Hubler James R. Jarocki Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 oracle.com Copyright © 2011, Oracle. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether exClicked orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.