Oracle9 i * Real Application Clusters (RAC) with Red Hat Linux Advanced Server* 2.1 Powered by Intel ® Itanium ® 2 Processors Bill Garner, Sr. Oracle.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

The Architecture of Oracle
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Oracle Architecture. Instances and Databases (1/2)
Introduction to DBA.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2007 all rights.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle Database Administration
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
Harvard University Oracle Database Administration Session 2 System Level.
Harvard University Oracle Database Administration Session 5 Data Storage.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
INTRODUCTION TO ORACLE
Backup and Recovery Part 1.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Simplify your Job – Automatic Storage Management Angelo Session id:
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Client-Server – Lecture 4 Copyright System Managers LLC 2007 all rights reserved.
Oracle Database Administration
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
ORACLE RAC. Definition Oracle Real Application Cluster (RAC) is a cluster system at the application level. It uses shared disk architecture that provides.
■ Decide on the local database name, and which domain will contain this database. These names are set in the initialization parameters DB_NAME and DB_DOMAIN.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
Installing Oracle9i RAC Release 2 on HP OpenVMS Systems.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
DONE-08 Sizing and Performance Tuning N-Tier Applications Mike Furgal Performance Manager Progress Software
Achieving Scalability, Performance and Availability on Linux with Oracle 9iR2-RAC Grant McAlister Senior Database Engineer Amazon.com Paper
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
Oracle 10g Database Administrator: Implementation and Administration Chapter 3 Creating an Oracle Instance.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
44 Creating a Database. 4-2 Objectives Preparing the operating system Preparing the parameter file Creating the database Preparing the operating system.
Donna C. Hamby Sr. Principal Instructor Oracle University Oracle Corporation.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown President System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2003.
Week 2 Lecture 1 Creating an Oracle Instance. Learning Objectives  Learn the steps for creating a database  Understand the prerequisites for creating.
Creating an Oracle Database. Considerations before creating a DB Planning for Database Creation –Select the standard database block size. –Use an undo.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
LHC Logging Cluster Nilo Segura IT/DB. Agenda ● Hardware Components ● Software Components ● Transparent Application Failover ● Service definition.
Database CNAF Barbara Martelli Rome, April 4 st 2006.
© 2005 Solution Beacon, LLC. All Rights Reserved. Release 11i Workshops Release 11i … Please Add RAC Session Leader Kevin Dahl, Solution Beacon Release.
Basic Oracle Net Services Client-Side Configuration
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
13 Copyright © 2004, Oracle. All rights reserved. Optimizing Database Performance.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Creating an Oracle Database
Scalable Database Services for Physics: Oracle 10g RAC on Linux
Get Oracle 8i Running on Your Linux Server Straight Away!
Introduction of Week 6 Assignment Discussion
Introduction of Week 3 Assignment Discussion
Oracle Architecture Overview
Scalable Database Services for Physics: Oracle 10g RAC on Linux
Presentation transcript:

Oracle9 i * Real Application Clusters (RAC) with Red Hat Linux Advanced Server* 2.1 Powered by Intel ® Itanium ® 2 Processors Bill Garner, Sr. Oracle DBA First Trust Corporation Wally Pereira, Sr. Technical Architect Intel ® Solution Services, Intel ® Corporation Gary Dodge, Principal Sales Consultant Oracle Corporation Session id: *Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved.

3 Agenda  About First Trust  Oracle9 i * Real Application Clusters (RAC)  Installing and configuring Oracle9 i RAC on Intel ® Itanium ® 2-based servers  Testing results

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 4 About First Trust

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 5 About First Trust  Serving investors and their financial representatives since 1962  One of the nation’s largest trustees of self-directed retirement accounts  Administers 259,000 retirement and custodial accounts valued at $21.8 billion  Another resource from Fiserv, Inc.

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 6 About First Trust’s Choices: About First Trust’s Choices: Why Intel ® Architecture-based Solutions?  Business Need – First Trust was looking for an architecture that could deliver a price/performance advantage for its securities trading back office processing application  Customer Goal – High availability: 24x7, availability – High-performance to reconcile an increasing volume of daily trades in a fixed timeframe – Standby database at disaster recovery site

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 7 About First Trust’s Choices: About First Trust’s Choices: Why Intel ® Solution Services?  Intel ® Solution Services −Intel Corporation’s professional services organization −Foremost expertise in Intel ® architecture and next-generation technologies −Worldwide consultants design cost-effective, leading-edge solutions that deliver superior business results Services Intel Consultants ProvidedServices Intel Consultants Provided −Evaluated the application and its components for optimization and availability improvements −Assisted First Trust in porting its application to Red Hat Linux Advanced Server* 2.1 for Intel ® Itanium ® 2 microarchitecture Business Value for First TrustBusiness Value for First Trust −Increased performance and availability for key trading solution and completed a timely deployment

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 8 About First Trust’s Choices: About First Trust’s Choices: Why This Technology Suite?  HP 2600* servers powered by Intel ® Itanium ® 2 processors  Red Hat Linux Advanced Server* 2.1 for Intel Itanium 2 microarchitecture  Oracle9 i * RAC  XIOTech Magnitude* storage architecture

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 9 About First Trust’s Choices: About First Trust’s Choices: Simple System Architecture Powered by Intel ® Itanium ® 2 Processors Two databases on XIOTech* Storage XIOTech* Storage Gigabit Switch First Trust Network HP 2600 Server HP 2600* Server HP 2600 Standby Server Brocade* Switch

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 10 About First Trust’s Choices: About First Trust’s Choices: Why HP 2600* Servers Powered by Intel ® Itanium ® 2 Processors?  Investment protection – Maximize return on investment with improved price/performance – Easy upgrade to future Intel ® Itanium ® 2 processors – Greater choices than proprietary operating systems  Increased power per processor – First Trust used 1GHz processor – Now available up to 1.5GHz processor

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 11  Intel ® Itanium ® 2 microarchitecture enables large in memory processing – 1024 TB memory addressing – Decreases I/O to disk  Deployed 3MB On-Dye L3 cache for this project – Decreases memory accesses – 6MB On-Dye cache now available  Explicitly Parallel Instruction Architecture (EPIC) – Can issue up to six instructions per clock cycle – Effective branch prediction architecture  6.4GB front side bus bandwidth About First Trust’s Choices: About First Trust’s Choices: Why HP 2600* Servers Powered by Intel ® Itanium ® 2 Processors?

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 12 Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 13 Oracle9 i * RAC  A single Oracle9 i * database! – One set of database files accessed by multiple instances – First Trust has two instances deployed – One set of Initialization parameter values  Each instance has its own – “Thread” of redo commands (its own redo log files on shared storage) – Undo tablespace – Unique instance specific initialization parameter values  Additional components not in a single-instance Oracle9 i : – A cluster manager – A “quorum disk” file – An optional cluster file system

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 14  Failover – Server-side  RAC instances monitor each other  Failover protection - if one instance fails, another does the housekeeping necessary to recover completed transactions from redo logs – Client-side  Oracle Net Services Transparent Application Failover* can be configured to automatically reconnect the client to a surviving node  Connection load balancing – Client-side  Specify in TNSNAMES or in OID – Server-side  Can specify with REMOTE_LISTENER parameter in spfile/init.ora  LISTENER attribute of DISPATCHERS parameter Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 15 Installing and Configuring Oracle9 i * RAC with Red Hat Linux Advanced Server* 2.1 on Intel ® Itanium ® 2-based Servers

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 16  Installation – Use Red Hat Linux Advanced Server 2.1 for Intel ® Itanium ® 2 microarchitecture – Use Enterprise Edition for Intel Itanium 2 microarchitecture – Use Oracle9 i * Enterprise Edition for Intel Itanium 2 microarchitecture  As of August 2003 – Raw partitions were required when using Oracle9 i RAC on Intel Itanium 2 microarchitecture – Oracle Cluster File System* (OCFS) for Itanium 2 Linux available as of August 21, 2003; not in time for this project. – OCFS for Intel ® Xeon ™ processor-based solution running Linux has been available for over a year. Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 17 Installing Red Hat Linux Advanced Server* 2.1 on Intel ® Itanium ® 2 Microarchitecture  Step 1 - Install default installation on each server – Example server names: rac1, rac2, etc.  Step 2 - Set up interconnect network – Create addresses and server names for private interconnect  Use x address for each server  Example private interconnect server names: ic-rac1, ic-rac2, etc. – Enable trusted relationship on private interconnect for the Oracle user  Ensure rcp and rsh (or equivalent) work across the private interconnect  Enable telnet and ftp services between servers over the private interconnect  Step 3 - Set up semaphores and open files parameters – Use /etc/rc.local file, see installation manual for details

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 18 Configuring a Shared Drive  Step 1 - Configure logical unit number (LUN) to present to the servers – One LUN will allow 15 raw partitions under the current fdisk version – One raw partition = one Oracle data file – If more than 15 data files, then more than 1 LUN is required; First Trust used six LUNs – Future releases of Red Hat Linux Advanced Server* for Intel ® Itanium ® 2 microarchitecture will increase the number of raw partitions per LUN.  Step 2 - Use fdisk to cut raw partitions – Create two 150MB raw partitions for configuration files (srvcfg and quorum) Installing Red Hat Linux Advanced Server* 2.1 on Intel ® Itanium ® 2 Microarchitecture

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 19 Configuring a Shared Drive  Step 3 - Use fdisk to cut raw partitions continued – Create raw partition slices for  Each data file in the database  Redo log files - at least two for each node  Control files - two or three required  Archive log directory is typically not on raw partitions  Step 4 - Bind raw partitions to the system with ‘make node’ file – Example:  mknod /oradata/prod/prod_redo1_2c  mknod /oradata/prod/prod_redo1_3c  mknod /oradata/prod/prod_redo2_1c Installing Red Hat Linux Advanced Server* 2.1 on Intel ® Itanium ® 2 Microarchitecture

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 20 Configuring a Shared Drive  Step 5 - Create ‘make raw’ file – Example:  raw /oradata/prod/prod_redo1_2 /dev/sde5  raw /oradata/prod/prod_redo1_3 /dev/sde6  raw /oradata/prod/prod_redo2_1 /dev/sde9  Step 6 - Create symbolic links to simplify access to raw partitions  Step 7 – Set up the hangcheck-timer (a memory module) Installing Red Hat Linux Advanced Server* 2.1 on Intel ® Itanium ® 2 Microarchitecture

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 21 Tips for the Hangcheck-timer Parameters  Hangcheck-timer – Enables one node to determine if another node has failed and then ejects the hung node  Default settings – NOTE: The system will wait for up to five minutes before determining that another node had failed  To reduce to one minute, First Trust used these settings: – In rc.local: /sbin/insmod hangcheck-timer hangcheck_tick=10 hangcheck_margin=30 – In $ORACLE_HOME/oracm/admin/cmcfg.ora MissCount=40 Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 22 Setting Up the Oracle Cluster Manager  Step 1 - Copy Oracle Release CDs to /Disk1, /Disk2, /Disk3 respectively – Release is the first release for Intel ® Itanium ® 2 microarchitecture  Step 2 - Change directory to /Disk1 – Execute runInstaller* to invoke Oracle Universal Installer* in a Xwindow  Step 3 - Select option to install Oracle Cluster Manager – Shared drive is the Quorum disk  Step 4 - Install on both servers and start oracm executable Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 23 Setting Up Oracle Database Software  Step 1 - Choose install Oracle software only – You can chose to install a example database, but this might interfere with your test database  Step 2 - The OUI (Oracle Universal Installer) installs the software on all nodes – NOTE: The installer forgets to create two directories – To correct this problem create the following directories:  $ORACLE_HOME/rdbms/audit  $ORACLE_HOME/rdbms/log  Step 3 - Separately configure the listener for all nodes  Step 4 - Use DBCA (Database Configuration Assistant) or a script to create the database Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 24 Configuring the Listener* SID_LIST_LISTENER = (SID_LIST = (SID_LIST = (SID_DESC = (SID_DESC = (SID_NAME = PLSExtProc) (SID_NAME = PLSExtProc) (ORACLE_HOME = /oracle/product/9.2.0) (ORACLE_HOME = /oracle/product/9.2.0) (PROGRAM = extproc) (PROGRAM = extproc) )) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION_LIST = (DESCRIPTION = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (ADDRESS_LIST = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521)) ) ) ) Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 25 Configuring TNSNames*  NOTE: There is some sensitivity for specific options and the order.  Also, all SIDs, for database and local instances need to be listed in the server-side tnsnames file in order for Oracle to start with remote listeners specified in the init.ora – This configuration worked – This configuration worked: (DESCRIPTION = (ENABLE = BROKEN) (ADDRESS_LIST = (LOAD_BALANCE = ON) (FAILOVER = YES) (ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = PROD) (FAILOVER_MODE = (TYPE = SELECT ) (METHOD = BASIC ) (RETRIES = 64) (DELAY = 4) ) Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 26 Creating the Database  Use DBCA or a script to create the database  If using a script create an init.ora file  Oracle9 i * RAC specific parameters: *.cluster_database=true*.cluster_database_instances=2RAC1.instance_name='RAC1'RAC2.instance_name='RAC2'RAC2.instance_number=2RAC1.instance_number=1 RAC1.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))' RAC2.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))' RAC2.remote_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))' RAC1.remote_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))' Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 27 Creating the Database  With a script database creation set MAXINSTANCES to > the number of instances in the cluster  Example can be found at ; edited version below:  Example can be found at ORACLE_HOME/srvm/admin; edited version below: set echo on connect / as sysdba startup nomount pfile="/apps/oracle/9.2.0/dbs/initPROD.ora" CREATE DATABASE PROD CONTROLFILE REUSE MAXLOGMEMBERS 3 MAXLOGHISTORY 100 MAXDATAFILES 254 MAXINSTANCES 32 MAXLOGFILES 64 DATAFILE '/oradata/PROD/datafiles/systemPROD.dbf' SIZE 600M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE TEMP_LOCAL TEMPFILE '/oradata/PROD/datafiles/temp_local.dbf' SIZE 2048M REUSE NEXT 640K MAXSIZE UNLIMITED UNDO TABLESPACE "UNDOTBS1" DATAFILE '/oradata/PROD/datafiles/undotbs1.dbf' SIZE 2048M REUSE NEXT 5120K MAXSIZE UNLIMITED LOGFILE GROUP 1 ('/oradata/PROD/logfiles/logPROD1_01.dbf') SIZE 110M REUSE, GROUP 2 ('/oradata/PROD/logfiles/logPROD1_02.dbf') SIZE 110M REUSE CHARACTER SET US7ASCII ; Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 28 Tips for Creating the Database  For the best performance, all added tablespaces for a Oracle9 i * RAC database require: – EXTENT MANAGEMENT LOCAL  Let Oracle internally manage how extents are allocated using a bitmap in the file header – SEGMENT SPACE MANAGEMENT AUTO  Uses a bitmap in the segment headers to manage how much free space a block has ­0% free, 25% free, 50% free or 75% free  Metalink tests indicate 35% performance improvement over optimally tuned freelists  Not for UNDO tablespaces Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 29 Creating the Database  Step 1 - Run the catalog scripts for clusters: – Run the cluster specific script:  connect / as sysdba  Step 2 - Add a minimum of two log files on shared disks; for each server: – alter database add log file thread 2 – group 3 '/oradata/PROD/logfiles/logPROD2_01.dbf' SIZE 110M reuse, – group 4 '/oradata/PROD/logfiles/logPROD2_02.dbf' SIZE 110M reuse;  Step 3 - Add UNDO tablespaces on shared disk, one for each server: – CREATE UNDO TABLESPACE "UNDOTBS2" DATAFILE '/oradata/PROD/datafiles/undotbs2.dbf' SIZE 2048M REUSE NEXT 5120K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL; Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 30 Configuring Transparent Application Failover* Oracle9 i * NOTE: Transparent Application Failover (TAF) is a part of Oracle Net Services, not Oracle9 i * RAC  Step 1 -TAF is configured in tnsnames.ora file on both the server and the client  Step 2 - Set up the ‘Local Listener’ and the ‘Remote Listener’ in the init.ora file  Step 3 - Failover Sessions or Selects – Updates, deletes and inserts don’t failover – For a connection to be re-initiated, the application needs to be coded to recognize connection failures – OCI (Oracle Call Interface), JDBC thick driver and Microsoft Access* ODBC SELECT connections support failover  Step 4 – Fast mean time to recover in Init.ora in seconds – Seconds between checkpoints: fast_start_mttr_target=300 Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 31 Configuring Transparent Application Failover*  Example of edited version: prod = (DESCRIPTION = (ENABLE = BROKEN) (ADDRESS_LIST = (LOAD_BALANCE = ON) (FAILOVER = YES) (ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = PROD) (FAILOVER_MODE = (TYPE = SELECT ) (METHOD = BASIC ) (RETRIES = 64) (DELAY = 4) ) Installing Oracle9 i * RAC

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 32 Testing Results Oracle9 i * RAC with Red Hat Linux Advanced Server* 2.1 on Intel ® Itanium ® 2-based Servers

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 33 Performance Testing and Optimization  For the best performance some adjustments are required – An application certified to run on Oracle9 i * will run without modification on Oracle9 i RAC  Performance testing for First Trust applications – Performance compared to production servers  Original Production Server – AIX Server  Interim Production Server – HP ProLiant DL360* servers with Intel ® Xeon ™ processors – Load has two characteristics  Batch load of daily trades into portfolios  Interactive users accessing the database via application server using JBDC* with a JAVA* application

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 34  Instance Parameters – Set Parallel_Min_Server = 2 – Set parallel_max_server = 99 – db_writer_processes = 8 – Use large db_cache_size  Object Level Parameters – parallel degree > 1 on tables and indexes – set inittrans based on cpu – set maxtrans = 99 – set cache for sequences to 100 . Performance Testing and Optimization

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 35 Tips For The Best Performance 1. 1.Create each tablespace with SEGMENT SPACE MANAGEMENT AUTO 2. 2.Create tables and indexes with INITRANS > 2 (default is 1) 3. 3.Hash partition large tables and indexes or stripe them Use parallel query –parallel_automatic_tuning=true 5. 5.Automate PGA space management (replaces sort_area_size, hash_area_size etc.) – pga_aggregate_target=  Total aggregate for all users – workarea_size_policy=auto 6. 6.Match db_block_size*db_file_multiblock_read_count to TCP buffer size for the private cluster interconnect

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 36 Performance Testing Results 1  Batch load processing runs 1/3 the time than single instance RISC-based server  Overall benchmark performance runs in 1/3 to 1/5 the time than single instance RISC-based server – Benchmark is built by First Trust to simulate the load profile of their application. It consists of:  Index builds  Batch loads  OLTP processing etc. 1 Customer savings and results are specific to the client, their business goals and the configuration of their enterprise environment. Differences in business goals, software design, infrastructure or configuration may affect actual results. Performance tests and ratings are measured using specific computer systems and/or components and reflect the approximate performance of Intel products as measured by those tests. Any difference in system hardware or software design or configuration may affect actual performance.

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 37 Availability Testing and Results 1  Instance failure testing – Performed a shutdown abort on active node – Session failed to second node in average of 10 seconds  Interconnect failure testing – Pulled network interconnect during session – Session paused and continued in 15 seconds 1 Customer savings and results are specific to the client, their business goals and the configuration of their enterprise environment. Differences in business goals, software design, infrastructure or configuration may affect actual results. Performance tests and ratings are measured using specific computer systems and/or components and reflect the approximate performance of Intel products as measured by those tests. Any difference in system hardware or software design or configuration may affect actual performance.

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 38 Availability Testing and Results 1  Server failure testing – Pulled power plug on active node – Session failed over to second node in less than one minute  Operating System failure testing – Performed shutdown and reboot (init 0 and init 6) on active node – Session failed over to second node in less than one minute 1 Customer savings and results are specific to the client, their business goals and the configuration of their enterprise environment. Differences in business goals, software design, infrastructure or configuration may affect actual results. Performance tests and ratings are measured using specific computer systems and/or components and reflect the approximate performance of Intel products as measured by those tests. Any difference in system hardware or software design or configuration may affect actual performance.

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 39 Tips for High Availability 1. 1.Duplicate the interconnect with dual NICs (Network Interface Cards) on each server and dual gigabit switches 2. 2.Duplicate the host bus adaptors and the SAN (Storage Area Network) switch 3. 3.Configure data guard for a remote location

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 40 Recommendation Recommendation First Trust Production Architecture Powered by Intel ® Itanium ® 2 Microarchitecture Two Test Databases on XIOTech* Storage Standby DB Brocade Switch First Trust Network Gigabit Switch Brocade* Switch Gigabit Switch HP 2600* Server HP 2600 Server Standby HP 2600 Server

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 41 Important Metalink* Notes  Hangcheck-timer FAQ  RAC Linux 9.2: Configuration of cmcfg.ora and ocmargs.ora  Step by Step install of RAC on Linux  PRK% Errors – Cause & Action Required  Configuration of Load Balancing and Transparent Application Failover

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 42 Reminder – please complete the OracleWorld online session survey Thank you.

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 43 A Q & Q U E S T I O N S A N S W E R S

*Other names and brands may be claimed as the property of others. Material within this presentation is the property of First Trust and Intel Corporation. Copyright © 2003, Intel Corporation. All rights reserved. 44 Thanks for attending