Load Balancing Setup For Oracle Parallel Server



Similar documents
Database Assessment. Vulnerability Assessment Course

Deloitte Solutions Network (SNET) Disaster Recovery POC on Amazon EC2

How Do I Load Data Stored in a Microsoft Excel File?

Oracle Easy Connect Naming. An Oracle White Paper October 2007

Reference Architecture for HP Data Protector and Oracle 11gR2 RAC on Linux

Getting Dedicated with Shared Servers, and how not to.

Clonación de una Base de Datos Oracle 11gR2 Activa usando RMAN. CLONACIÓN DE UNA BASE DE DATOS ORACLE 11gR2 ACTIVA USANDO RMAN

Installation Companion Oracle Data Guard on Amazon EC2 Configuration Guide

Institutional Data Integration Using ODBC with Oracle Heterogeneous ous Services. Mingguang Xu.

What is SSL? SSL/TLS, a protocol, used for securing network connections. Uses PKI to provide authentication, encryption, and data integrity.

How-to configure Auditing for IDENTIKEY Authentication Server 3.2 to a remote Oracle Database on a standalone Microsoft machine.

Oracle Net Services - Best Practices for Database Performance and Scalability

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

Oracle Net Services: Best Practices for Database Performance and Scalability. Kant C Patel Director, Oracle Net Development

Oracle Net Services: Performance, Scalability, HA and Security Best Practices

Administering your Oracle Geodatabase

Incremental Replication from SQL Server to Oracle. Kane McKenzie Liberty University

Using DataDirect Connect for JDBC with Oracle Real Application Clusters (RAC)

Oracle Net Services: Performance, Scalability, HA and Security Best Practices

Configuring Network Load Balancing with Cerberus FTP Server

This Document explains the installation of Oracle service on Windows Cluster

Die eingesetzte ORACLE Version ist Oracle Database 10g Enterprise Edition Release

SICAM TOOLBOX II Version 5.10 Installation Manual

Using DataDirect Connect for ODBC with Oracle Heterogeneous Services

Blackboard Academic Suite Setup Guide for Sun Solaris and Linux

Oracle Net Service Name Resolution

SQL*Net PERFORMANCE TUNING UTILIZING UNDERLYING NETWORK PROTOCOL

High Availability for Oracle 8 Using Double-Take

CHAPTER 2 BACKGROUND AND OBJECTIVE OF PRESENT WORK

Backing Up Oracle Databases with Handy Backup

Different ways to guess Oracle database SID

Maximum Availability Architecture. Oracle Best Practices For High Availability

Configuring Load Balancing. Oracle Applications Release 10.7 NCA Windows NT Edition. Gary Burch. April 15, 1998

High Availability for Oracle 10g Using Double-Take

Instant Disaster Recovery for Oracle by Deploying on the Amazon Cloud

managing planned downtime with RAC Björn Rost

HOW TO. RMAN Restore for Standby 10gR2

Installare Oracle su Slack 10

EVault Software Oracle Plug-In for Windows Agent 6.85 User Guide

Oracle Database Security and Audit

Load Balancing Oracle Application Server (Oracle HTTP Server) Quick Reference Guide

1Z Oracle Weblogic Server 11g: System Administration I. Version: Demo. Page <<1/7>>

An Oracle White Paper October Oracle Database and IPv6 Statement of Direction

High Availability for Oracle 9i Using Double-Take

Veritas High Availability Agent for Oracle Installation and Configuration Guide

ORACLE BUSINESS INTELLIGENCE WORKSHOP. Prerequisites for Oracle BI Workshop

Oracle Intelligent Agent

Intellicus Enterprise Reporting and BI Platform

An Oracle White Paper June Oracle Single Client Access Name (SCAN)

RMAN for Commando DBAs. By Charles Kim

Oracle Transparent Gateway for Microsoft SQL Server

Oracle Database. Extensions for.net Developer's Guide 11g Release 1 ( ) for Microsoft Windows E

SQL Server Mirroring. Introduction. Setting up the databases for Mirroring

Project Iris. econtent Server Cluster Support: High Availability through Microsoft Cluster Service DocBase Version /13/2000

1z0-102 Q&A. DEMO Version

Oracle Data Guard for High Availability and Disaster Recovery

Microsoft Dynamics AX 2009 Installation Guide. Microsoft Corporation Published: November 2009

ICONICS Using the Azure Cloud Connector

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.


Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

HOW TO. Implementierung Oracle 10gR2 DataGuard Physical Standby

Implementing High-Availability (HA) Solutions for Siebel ebusiness Applications

Microsoft Active Directory and Windows Security Integration with Oracle Database

Test Report. Microsoft Windows 2003 Server Network Load Balancer Setup for SuperGIS Server 3. Published by: SuperGeo Technologies Inc.

ActiveVOS Clustering with JBoss

Installing and Configuring Oracle on the Linux Platform

SSIM Database Extension Pack 4.0 for Oracle on Linux Installation Guide

LOAD BALANCING TECHNIQUES FOR RELEASE 11i AND RELEASE 12 E-BUSINESS ENVIRONMENTS

Composite C1 Load Balancing Product Sheet

Kaspersky Anti-Virus 8.0 for Windows Servers Enterprise Edition DEPLOYMENT GUIDE

Database Mirroring: High Availability (HA) and Disaster Recovery (DR) Technology

CASE STUDY: Oracle TimesTen In-Memory Database and Shared Disk HA Implementation at Instance level. -ORACLE TIMESTEN 11gR1

THE DG TOOLKIT. Charles Kim, Viscosity Technology, LLC

Securing Your Oracle Database to Protect your Data

Using Oracle Real Application Clusters (RAC)

Installation Guide 11g Release 1 ( )

Oracle Plug-in for Windows Agent 7.1 User Guide

Batch Processing in Disaster Recovery Configurations Best Practices for Oracle Data Guard

Oracle E-Business Suite (EBS)

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

Exploring Oracle E-Business Suite Load Balancing Options. Venkat Perumal IT Convergence

Disclaimer. Maximum Availability Architecture

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Database Security. Nathan Aaron ICTN 4040 Spring 2006

How To Install Linux Titan

Future-Proofing MySQL for the Worldwide Data Revolution

Configuring and Integrating Oracle

Guidelines for Installing and Updating Site-Controlled Oracle and MS SQL Software for Windows Server

TIBCO ActiveMatrix BusinessWorks SmartMapper Plug-in Release Notes

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam

Integrating OID/SSO with E- Business Suite and Third-Party SSO Solutions. Presented by Paul Jackson (Norman Leach)

WebLogic Server Foundation Topology, Configuration and Administration

Oracle Databases on VMware High Availability

Outpost Office Firewall

Comparison of the High Availability and Grid Options

Integration Service Database. Installation Guide - Oracle. On-Premises

+1 (855)

Database Selection Guide

70-414: Implementing a Cloud Based Infrastructure. Course Overview

Transcription:

Load Balancing Setup For Oracle Parallel Server By Arup Nanda Version 1 Release Date : 4/16/2001 For load balancing to work properly several parameters have to be set in oracle. This document discusses the recommended setting of these parameters and the reasons thereof. Assumptions?? There are 4 nodes in the OPS cluster named prodsvr1, prodsvr2, prodsvr3 and prodsvr4.?? Only the first three nodes serve the OLTP clients and the last one (prodsvr4 exclusively serve the batch processes.?? Only the OLTP nodes need multithreaded server setup; the batch node needs dedicated server setup.?? The database name is PRDN.?? Load balancing and Failover is to be set up between prodsvr1, prodsvr2 and prodsvr3 only. The instance on prodsvr4 is not to be balanced for load or is not to participate in failover. TNSNAMES.ORA on PRODSVR The tnsnames.ora file has to look the same in all four nodes like this. PRODSVR1.OURCUSTOMER.COM = (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr1.ourcustomer.com (PORT = 1521 (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr1.ourcustomer.com (PORT = 1526 (SERVICE_NAME = PRDN.WORLD PRODSVR2.OURCUSTOMER.COM = (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr2.ourcustomer.com (PORT = 1521 (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr2.ourcustomer.com (PORT = 1526

(SERVICE_NAME = PRDN.WORLD PRODSVR3.OURCUSTOMER.COM = (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr3.ourcustomer.com (PORT = 1521 (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr3.ourcustomer.com (PORT = 1526 (SERVICE_NAME = PRDN.WORLD PRODSVR4.OURCUSTOMER.COM = (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr4.ourcustomer.com (PORT = 1521 (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr4.ourcustomer.com (PORT = 1526 (SERVICE_NAME = PRDN.WORLD SQLNET.ORA on PRODSVR All four nodes of PRODSVR machines should have the same sqlnet.ora as follows. NAMES.DEFAULT_DOMAIN = OURCUSTOMER.COM NAMES.DIRECTORY_PATH= (TNSNAMES AUTOMATIC_IPC=FALSE TNSNAMES.ORA on Application Servers All app servers (production and development app servers have to have the same tnsnames.ora as follows. The name PRODSVR2RR was chosen as the name is currently used and it connects to the load balance machine. The applications need not change to connect to a load balanced prodsvr cluster. The following setup always tries to connect to the listener on prodsvr1 port 1521 and if it s down, then the one on prodsvr1 port 1526. If that is down too, it tries to connect to prodsvr2 and so on. Regardless of which listener it connects to, it connects to the instance that is least loaded. The final entry PRODSVR2BATCH is needed to connect to the last node as it is being used now. Oracle 8I Migration Project: Load-Balancing/Fail-Over Parameters Page 2 of 5

PRODSVR2RR = (DESCRIPTION_LIST= (ADDRESS=(PROTOCOL=TCP(HOST=prodsvr1(PORT=1521 (ADDRESS=(PROTOCOL=TCP(HOST=prodsvr1(PORT=1526 (CONNECT_DATA=(SERVICE_NAME=PRDN.WORLD (ADDRESS=(PROTOCOL=TCP(HOST=prodsvr2(PORT=1521 (ADDRESS=(PROTOCOL=TCP(HOST=prodsvr2(PORT=1526 (CONNECT_DATA=(SERVICE_NAME=PRDN.WORLD (ADDRESS=(PROTOCOL=TCP(HOST=prodsvr3(PORT=1521 (ADDRESS=(PROTOCOL=TCP(HOST=prodsvr3(PORT=1526 (CONNECT_DATA=(SERVICE_NAME=PRDN.WORLD PRODSVR2BATCH.OURCUSTOMER.COM = (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr4.ourcustomer.com (PORT = 1521 (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr4.ourcustomer.com (PORT = 1526 (SERVICE_NAME = PRDN.WORLD (SERVER=DEDICATED SQLNET.ORA on Application Servers All app servers should be setup in such a way that SQL*Net 2.3 client should not use IPC as a mode of communication if available. If IPC is used then the load balancing will not work. AUTOMATIC_IPC=FALSE LISTENER.ORA on PRODSVR The prodsvr1 machines should have the listener.ora file as follows. On the other machines, the setup is similar except that the machine names are changed. LISTENER = (DESCRIPTION_LIST = Oracle 8I Migration Project: Load-Balancing/Fail-Over Parameters Page 3 of 5

(ADDRESS = (PROTOCOL = TCP(HOST = prodsvr1.ourcustomer.com (PORT = 1521 (ADDRESS = (PROTOCOL = IPC(KEY = EXTPROC LISTENER1 = (DESCRIPTION_LIST = (ADDRESS = (PROTOCOL = TCP(HOST = prodsvr1.ourcustomer.com (PORT = 1526 SID_LIST_LISTENER = (SID_LIST = (SID_NAME = PLSExtProc (ORACLE_HOME = /oracle/product/8.1.7 (PROGRAM = extproc (GLOBAL_DBNAME = PRDN.WORLD (ORACLE_HOME = /oracle/product/8.1.7 (SID_NAME = PRDN SID_LIST_LISTENER1 = (SID_LIST = (GLOBAL_DBNAME = PRDN.WORLD (ORACLE_HOME = /oracle/product/8.1.7 (SID_NAME = PRDN INIT.ORA on PRODSVR The mts_dispatchers parameter of the prodsvr1 machine should have the following value. MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR1.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR2.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR3.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 The same in prodsvr2 is similar but the order is changed to make the prodsvr2 the first dispatcher. MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR2.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 Oracle 8I Migration Project: Load-Balancing/Fail-Over Parameters Page 4 of 5

MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR3.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR1.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 The same goes for prodsvr3. MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR3.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR1.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 MTS_DISPATCHERS= (PROTOCOL=TCP(LISTENER=PRODSVR2.OURCUSTOMER.COM(DISP ATCHERS=20(CONNECTIONS=500 And finally since the prodsvr4 should be dedicated server only, the mts_dispatchers parameter should have no value in init.ora file. The parameter should be commented out. Oracle 8I Migration Project: Load-Balancing/Fail-Over Parameters Page 5 of 5