For more information....................................................................................................................... 9
Overview
This whitepaper explains how to implement an Oracle Applications Server (AS) J2EE solution for the
database connection using HP ProLiant servers, HP StorageWorks, and HP InfiniBand™ options. The
whitepaper is intended for system administrators, system architects, and systems integrators who are
considering the advantages of HP InfiniBand-based systems in an Oracle AS J2EE environment.
Oracle Application Server overview
Oracle AS is a fully integrated application server – including a J2EE Compatible container, an
enterprise portal, wireless, business intelligence, single sign-on using a LDAP compliant directory, and
much more. It is the integrated nature of Oracle AS that distinguishes it in the marketplace. Oracle
strives not only to provide a container for J2EE applications, but to enable J2EE applications to be
managed more easily, deployed as web services, accessed via a single sign-on, made more secure,
and tied more closely to business level activities.
Typically, the Oracle AS is installed on its own server or set of servers and these servers access an
Oracle database instance on another server across a network. The most typical network connection
between Oracle AS server and the Oracle database server is via TCP/IP over Ethernet.
A typical Oracle Application Server system has the following components:
• One or more application servers
• Oracle database instance
• Public local area network (LAN)
Advantages of InfiniBand in an Oracle Application Server environment
The most common method of communication between application server machines and database
server machines today is TCP/IP over Ethernet. TCP/IP and Ethernet both have limitations. The TCP/IP
processing on the application server and database server machines can result in substantial CPU
utilization on both machines with typical latencies of 50 to 100 microseconds (µs). Additionally,
observed Gigabit Ethernet throughput is limited to approximately 0.8 gigabits per second (Gbps) on
a single network interface card (NIC).
InfiniBand, a standards-based alternative to Ethernet, overcomes the performance limitations of
TCP/IP-based solutions. The key advantages of InfiniBand over TCP/IP and Ethernet is InfiniBand’s
high throughput, low CPU utilization, and ultra-low latency. The current InfiniBand bandwidth of 10
Gbps1provides observed performance over 8 Gbps. CPU utilization of only 1-3 % with latency less
than 5 µs is possible.
InfiniBand supports its own InfiniBand-specific protocol, sockets direct protocol (SDP). This is the
standard wire protocol for the InfiniBand Architecture (IBA) for support of stream sockets
(SOCK_STREAM) networking over IBA.
There are two different versions of SDP protocol that are supported by Oracle. The first is native SDP
support, where the Oracle product implements the SDP directly. The second protocol, called
Transparent SDP, is where the Oracle product is configured to use TCP, and the SDP protocol
provider converts TCP connections to SDP without any configuration changes at the Oracle level.
Native SDP provides support for asynchronous I/O, whereas Transparent SDP only supports
synchronous I/O.
Because it supports asynchronous I/O, native SDP supports one of the most important features of
InfiniBand – remote direct memory access (RDMA). RDMA is a communications technique that allows
data to be transmitted from the memory of one computer to the memory of another computer without
1
InfiniBand 10Gbps bandwidth is represented as 4x or four lanes of traffic each at 2.5 Gbps.
2
passing through either device’s CPU, without needing extensive buffering, and without calling to an
operating system kernel. RDMA can bring about a substantial reduction in CPU utilization on both the
application and database servers.
Oracle’s 10G RDBMS product supports native SDP; however, Oracle products that use an earlier
version of the Oracle DB client can only utilize Transparent SDP. Both Oracle AS 9i and 10G Release
1 use the Oracle 9i DB client. Therefore, they can only use Transparent SDP. While this means that
Oracle AS cannot take advantage of asynchronous I/O or RDMA today, it still benefits from the
additional bandwidth and higher throughput provided by InfiniBand with Transparent SDP. Oracle AS
10G Release 2 will support native SDP.
Applications that connect to the database by using thin JDBC driver are also restricted to Transparent
SDP. Applications that use the OCI driver can use native SDP protocol provided the product support
SDP natively.
HP InfiniBand solution for Oracle Application Server
Solution overview
Many HP customers run J2EE applications in an Oracle Application Server environment using
standards-based HP ProLiant servers and HP StorageWorks Fibre Channel connectivity products.
With the addition of HP InfiniBand options for ProLiant servers, customers can implement a complete
HP-based Oracle Application Server solution using InfiniBand for the database connection.
Figure 1 depicts a sample configuration composed of the following components:
• Application Server
– HP ProLiant DL380 G4 server
– (4) 36GB disk drives
• Database Server
– HP ProLiant DL380 G4 server
– (2) 36GB disk drives
– HP StorageWorks solution
§ HP StorageWorks Modular Smart Array (MSA) or Enterprise Virtual Array (EVA)
§ HP StorageWorks FCA2214DC Fiber Channel HBA
§ HP StorageWorks SAN Switch
• HP InfiniBand cluster interconnect
– HP NC570C dual port PCI-X InfiniBand HCA
– HP 24 port 4x Copper Fabric Switch
3
Figure 1. HP InfiniBand solution for Oracle AS high level diagram
Sample HP InfiniBand configuration for Oracle AS 10G and Oracle RDBMS 10G
The orderable components necessary to build a 2-node sample configuration based on the HP
ProLiant DL380 server, HP StorageWorks MSA 1000 for database storage, and HP ProLiant
InfiniBand options for the private interconnect is shown in Table 1.
Table 1. Sample configuration bill of materials
QuantityPart NumberDescription
HP ProLiant Server Nodes
Channel Host Bus Adapter for W2K, Windows Server 2003 and
Linux®
1221692-B225 Meter FC LC-LC Multi-Mode cable
1201723-B22Modular SAN Array 1000 with 256 MB cache
1190211-001StorageWorks Enclosure Model 4354R – Rack
14286776-B2236.4GB 15,000 rpm, U320 Universal Hard Drive, 1" (shared
storage)
Installation process
Oracle AS on InfiniBand installation process
The following is a list of the installation steps required to implement Oracle AS on InfiniBand using
ProLiant servers.
Hardware setup and configuration
Follow the appropriate installation guides to prepare your site and rack mount the HP StorageWorks
storage device, HP StorageWorks Fibre Channel switch, HP ProLiant servers, and HP 24 port 4x
InfiniBand switch. See HP StorageWorks - Entry-level Storage Products,
http://h18006.www1.hp.com/storage/entrystorage.html, for the StorageWorks MSA 1000 storage
device and related switches. See HP.com - HP ProLiant InfiniBand™,
http://h18004.www1.hp.com/products/servers/networking/index-ib.html, for the InfiniBand switch.
See HP.com - ProLiant servers - Industry standard servers,
http://h18004.www1.hp.com/products/servers/platforms/, for information on ProLiant servers. Use
the HP FC HBA installation guide to install the Fibre Channel HBA in the database server and connect
the Fibre Channel cables between the storage device, Fibre Channel switch, and the Fibre Channel
HBA. See HP Storage SAN Infrastructure Products,
http://h18006.www1.hp.com/storage/saninfrastructure.html, for HBA. Use the HP InfiniBand 4x
HCA install guide to install the HCA in each server and connect the InfiniBand cables to the InfiniBand
switch and both HCAs. See, HP.com - HP ProLiant InfiniBand™,
http://h18004.www1.hp.com/products/servers/networking/index-ib.html for InfiniBand.
Configure the HP StorageWorks storage device for use with Oracle 10G database using the HP
StorageWorks configuration guide for the storage device you have chosen.
Red Hat Enterprise Linux® installation
To install Linux, follow the Red Hat Enterprise Linux installation guides for both application and
database servers and apply any patches deemed necessary. HP also provides a Linux installation
guide specifically designed for installing Linux on ProLiant servers at the following link.
Follow the instructions in the Install and configure HP InfiniBand 4x HCA Drivers for Linux section of
the HP 4x InfiniBand HCA User Guide. By default, the drivers will automatically install support for all
of the protocols used by Oracle including SDP and Internet protocol over InfiniBand (IPoIB).
5
Once the HP InfiniBand 4x HCA drivers have been installed and configured on both servers, modify
one of the unused Linux Ethernet configuration files (or make a copy) for use as the private
interconnect. Edit the hosts file to include both “hostname_IB” and the IP address defined in the Linux
Ethernet configuration files used for private interconnect.
Specify the private interconnect IP address and hostname_IB
Both servers
Modify the hosts file to include the node names and IP addresses used for the private interconnect.
# vi /etc/hosts
10.1.1.10dbhostname_IB
10.1.1.15appshostname_IB
Copy ifcfg-eth0 and rename it ifcfg-ib0
# cd /etc/sysconfig/network-scripts
# cp ifcfg-etho ifcfg-ib0
Database server
Modify ifcfg-ib0 to include only the items listed below.
Once the HP InfiniBand 4x private interconnect is installed, configured, and tested, Oracle10G can
be installed using the procedure documented in the Oracle 10G installation guide, Installing Oracle Database 10G on Linux x86. The following is a link for Oracle latest installation guide.
Once the database server is operational, Oracle Application Server 10G can be installed using the
procedures documented in the Oracle installation guide, Oracle Application Server 10G Installation Guide. The following is a link for Oracle latest installation guide.
The following steps are very crucial and require absolute path statements; any typing errors could
render the system inoperable. The preload file, ld.so.preload points to a library, libsdp.so, to be
loaded during system startup. If the path is incorrect, library name is misspelled, or library does not
exist a reinstall of the operating system may be required.
6. Check /proc/topspin/sdp/conn_main (should have 1 entries)
7. Verify sqlplus connection with the database.
Sample J2EE application installation
Installation notes and scripts are generally provided with the J2EE application software.
Configure the J2EE application to utilize the private InfiniBand interconnect.
Modify the data sources for the sample J2EE Application as in the following example:
IASDBDS
JDBC URLjdbc:oracle:thin:@dbhostname_IB:1521:INT
Test the connectivity
1. sqlplus <Oracle user name>/<Oracle password>@<Oracle Service Name>
information contained herein is subject to change without
notice. The only warranties for HP products and services are
set forth in the express warranty statements accompanying
such products and services. Nothing herein should be
construed as constituting an additional warranty. HP shall not
be liable for technical or editorial errors or omissions
contained herein.
InfiniBand is a trademark or registered trademark of the
InfiniBand Trade Association.
Intel and Xeon are trademarks or registered trademarks of
Intel Corporation or its subsidiaries in the United States and
other countries.
Linux is a U.S. registered trademark of Linus Torvalds.
Oracle is a registered US trademark of Oracle Corporation,
Redwood City, California.
[01/2005]-1
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.