Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.

Slides:



Advertisements
Similar presentations
SOM Sponsors: RAC, GRID, CLOUD OR ON THE WAY TO ORACLE CLOUD 11GR2 RAC FEATURES REVIEW By: Ahmed Baraka (Independent) Yury Velikanov (Pythian) & All of.
Advertisements

ITEC474 INTRODUCTION.
Chapter 20 Oracle Secure Backup.
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.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
NODEMANAGER WEBLOGIC SERVER. 1.Creating logical machines 2.Using nodemanager for server startup and shutdown GETTING STARTED.
Introduction to DBA.
Serverless Network File Systems. Network File Systems Allow sharing among independent file systems in a transparent manner Mounting a remote directory.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle 10g Database Administrator: Implementation and Administration
Harvard University Oracle Database Administration Session 2 System Level.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Lesson 1: Configuring Network Load Balancing
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Implementing Failover Clustering with Hyper-V
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 8: Network Load Balancing (NLB)
Presented by: Alvaro Llanos E.  Motivation and Overview  Frangipani Architecture overview  Similar DFS  PETAL: Distributed virtual disks ◦ Overview.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Configuring File Services Lesson 6. Skills Matrix Technology SkillObjective DomainObjective # Configuring a File ServerConfigure a file server4.1 Using.
SANPoint Foundation Suite HA Robert Soderbery Sr. Director, Product Management VERITAS Software Corporation.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
5 Copyright © 2007, Oracle. All rights reserved. Configuring the Oracle Network Environment.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
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.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Clustering  Types of Clustering. Objectives At the end of this module the student will understand the following tasks and concepts. What clustering is.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
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.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Introduction to HP Availability Manager.
6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
B Copyright © 2009, Oracle. All rights reserved. Configuring Warehouse Builder in RAC Environments.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
FailSafe SGI’s High Availability Solution Mayank Vasa MTS, Linux FailSafe Gatekeeper
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
 Load balancing is the process of distributing a workload evenly throughout a group or cluster of computers to maximize throughput.  This means that.
11 CLUSTERING AND AVAILABILITY Chapter 11. Chapter 11: CLUSTERING AND AVAILABILITY2 OVERVIEW  Describe the clustering capabilities of Microsoft Windows.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
Oracle 10g Clusterware (CRS) Overview 18 Aug 2005 John Sheaffer Platform Solution Specialist
ASM General Architecture
Donna C. Hamby Sr. Principal Instructor Oracle University Oracle Corporation.
Oracle Cache Fusion Cache Fusion Concepts, Data Block Shipping, and Recovery with Cache Fusion.
Oracle Database Architecture By Ayesha Manzer. Automatic Storage Management Spreads database data across all disks Creates and maintains a storage grid.
1 Objectives Discuss File Services in Windows Server 2008 Install the Distributed File System in Windows Server 2008 Discuss and create shared file resources.
Group Communication Theresa Nguyen ICS243f Spring 2001.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
VCS Building Blocks. Topic 1: Cluster Terminology After completing this topic, you will be able to define clustering terminology.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
I Copyright © 2007, Oracle. All rights reserved. Introduction.
6 Copyright © 2006, Oracle. All rights reserved. Oracle Clusterware.
Planning File and Print Services Lesson 5. File Services Role The File Services role and the other storage- related features included with Windows Server.
Introduction to Distributed Platforms
Affinity Depending on the application and client requirements of your Network Load Balancing cluster, you can be required to select an Affinity setting.
High Availability Linux (HA Linux)
Consulting Services JobScheduler Architecture Decision Template
Oracle 11g Real Application Clusters Advanced Administration
Oracle Solaris Zones Study Purpose Only
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Oracle10g RAC Service Architecture
Overview of Real Application Clustering Features and Functionality
Presentation transcript:

Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services

Overview Service Architecture Cluster Ready Services (CRS) Nodeapps User defined Services ASM Services Internally Managed Services Monitoring Services

RAC Service Architecture Oracle 10g RAC features a service based architecture This is an improvement over 9i RAC in several ways Increased flexibility Increased flexibility Increased manageability Increased manageability Improvements in High Availability Improvements in High Availability Enables 10g Grid Deployment Enables 10g Grid Deployment

RAC Services and High Availability Oracle Services facilitate high availability of databases and related applications If key database resources become unavailable (network, storage, etc.): Instances and Services will be relocated to another node Instances and Services will be relocated to another node The “failed” node will be rebooted The “failed” node will be rebooted By default, after any server boot-up, Oracle attempts to restart all services on the node

Cluster Ready Services Manage the RAC Cluster Several Different Services OracleCRSService OracleCRSService Oracle CSService Oracle CSService OracleEVMService OracleEVMService OraFenceService OraFenceService Required for RAC installation Installed in its own CRS_HOME

CRS Basics Used to manage RAC Only one set of CRS Daemons per system Multiple instances share the same CRS Multiple instances share the same CRS CRS runs as both root and Oracle users CRS runs as both root and Oracle users CRS must be running before RAC can start

CRS Management Started automatically Can stop and start manually Start the OracleCRSService Start the OracleCRSService Stop the OracleCRSService Stop the OracleCRSService Uses the voting disk and OCR (Oracle Cluster Repository) Requires 3 network addresses Public Public Private Private Virtual Public Virtual Public

CRS Services OracleCRSService Cluster Ready Services Daemon Cluster Ready Services DaemonOracleCSService Oracle Cluster Synchronization Service Daemon Oracle Cluster Synchronization Service DaemonOracleEVMService Event Manager Daemon Event Manager DaemonOraFenceService Process Monitor Process Monitor

Cluster Ready Services Daemon OracleCRSService Runs as Administrator user Automatically restarted Manages Application Resources Starts, stops and fails-over application resources Maintains the OCR (Oracle Cluster Repository) Keeps state information in the OCR Keeps state information in the OCR

Oracle Cluster Synchronization Service Daemon OracleCSService Runs as Administrator user Maintains the heartbeat (failure causes system reboot) Provides Node Membership Node Membership Group Access Group Access Basic Cluster Locking Basic Cluster Locking Can integrate with 3 rd party clustering products or run standalone OracleCSService also works with non-RAC systems

Event Manager Daemon OracleEVMService Runs as Administrator user Restarts on failure Generates Events Starts the racgevt thread to invokes Server Callouts

Process Monitor OraFenceService Runs as Administrator user Locked in memory to monitor the cluster Provides I/O fencing OraFenceService periodically monitors cluster status, and can reboot the node if a problem is detected An OraFenceService failure results in Oracle Clusterware restarting the node

RACG RACG is a behind-the-scenes process (or thread) that extends clusterware to support Oracle-specific requirements and complex resources. Runs server callout scripts when FAN events occur. Runs as processes (or threads), not as a service (racgmain.exe, racgimon.exe)

Cluster Ready Services Management Log Files OracleCRSService OracleCRSService %ORA_CRS_HOME%\log\hostname\crsd %ORA_CRS_HOME%\log\hostname\crsd Oracle Cluster Registry (OCR) Oracle Cluster Registry (OCR) %ORA_CRS_HOME%log\hostname\ocr %ORA_CRS_HOME%log\hostname\ocr OracleEVMService OracleEVMService %ORA_CRS_HOME%\log\hostname\evmd %ORA_CRS_HOME%\log\hostname\evmd OracleCSService OracleCSService %ORA_CRS_HOME%log\hostname\cssd %ORA_CRS_HOME%log\hostname\cssd RACG RACG %ORA_CRS_HOME%log\hostname\racg %ORA_CRS_HOME%log\hostname\racg

Nodeapp Services Nodeapps are a standard set of Oracle application services that are automatically launched for RAC Virtual IP (VIP) Virtual IP (VIP) Oracle Net Listener Oracle Net Listener Global Services Daemon (GSD) Global Services Daemon (GSD) Oracle Notification Service (ONS) Oracle Notification Service (ONS) Nodeapp services run on each node Can be relocated to other nodes through the virtual IP Can be relocated to other nodes through the virtual IP

VIP (Virtual IP) Creates a virtual IP address used by the Listener The virtual IP address fails over between nodes Multiple virtual IP addresses can exist on the same system (during failover) Independent of the Oracle Instance Potential Problem if more than one database per node Potential Problem if more than one database per node

Global Services Daemon (GSD) The daemon which executes SRVCTL commands GSD receives requests from SRVCTL to execute administrative tasks, such as startup or shutdown The command is executed locally on each node, and the results are sent back to SRVCTL. The daemon is installed on the nodes by default. It is important that you do not kill this process and it should not be deleted.

Listener Server-side component of Oracle Net Listens for incoming client connection requests Manages the traffic to the server; when a client requests a network session with a server, the listener actually receives the request and brokers the client request If the client's information matches the listener's information, then the listener grants a connection to the server.

Oracle Notification Service (ONS) The Oracle Notification Service is installed automatically on each RAC node as a Node Application ONS starts automatically with each boot ONS uses a simple push/subscribe method to publish event messages to all RAC nodes with active ONS daemons

ONS and Fast Application Notification ONS can be configured to run on nodes hosting client or mid-tier applications ONS is the key component of Fast Application Notification (FAN) Can be utilized to extend RAC high availability and load balancing to mid-tier applications Can be utilized to extend RAC high availability and load balancing to mid-tier applications Independent of True Application Failover Independent of True Application Failover Less reliance on network configuration Less reliance on network configuration

User Defined Services User defined, named services may be created to manage database resources that are associated with application workloads One or more database instances may be mapped to a single service A database instance may be assigned to one or more services The Automated Workload Repository may be used to monitor Service metrics

User Defined Services and Failover Services can be defined with preferred and alternate instances A service may be assigned to start on preferred instances A service may be assigned to start on preferred instances The same service may have alternate instances assigned for failover The same service may have alternate instances assigned for failover If multiple services are assigned for the same database, the preferred and alternate instance assignments may be different for each service If multiple services are assigned for the same database, the preferred and alternate instance assignments may be different for each service

Automatic Storage Management Services Automatic Storage Management (ASM) is a storage option for creating and managing databases ASM operates like a Logical Volume Manager between the physical storage and the database. ASM operates like a Logical Volume Manager between the physical storage and the database. A small, automatically managed Oracle database instance is created on each node (if ASM is chosen as a storage option) A small, automatically managed Oracle database instance is created on each node (if ASM is chosen as a storage option) ASM instances start automatically as Oracle services ASM instances start automatically as Oracle services

Internally Managed Services When the Global Services Daemon is started as a part of the Node Applications, it in turn launches key internally managed services The Global Cache Service manages Cache Fusion and in- memory data buffers The Global Cache Service manages Cache Fusion and in- memory data buffers The Global Enqueue Service manages inter-instance locking and RAC recovery The Global Enqueue Service manages inter-instance locking and RAC recovery GCS and GES show up as OS processes or threads, but GSD is the only service that can be externally controlled GCS and GES together manage a set of “virtual” tables in memory, called the Global Resouce Directory

Global Cache Service (GCS) The controlling process that implements Cache Fusion. Manages the status and transfer of data blocks across the buffer caches of all instances. Tightly integrated with the buffer cache manager to enable fast lookup of resource information in the Global Resource Directory. Maintains the block mode for blocks in the global role. Employs various background processes (or threads) such as the Global Cache Service Processes (LMSn) and Global Enqueue Service Daemon (LMD).

Global Enqueue Service Monitor (LMON) Background process that monitors the entire cluster to manage global resources. Manages instance and process expirations and recovery for GCS. Handles the part of recovery associated with global resources

Global Resource Directory The data structures associated with global resources. It is distributed across all instances in a cluster. Global Cache Service and Global Enqueue Service maintain the Global Resource Directory to record information about resources and enqueues held globally. The Global Resource Directory resides in memory and is distributed throughout the cluster to all nodes. In this distributed architecture, each node participates in managing global resources and manages a portion of the Global Resource Directory.

Monitoring RAC Services %ORA_CRS_HOME%\bin\crs_stat NAME=ora.rac1.gsd NAME=ora.rac1.gsd TYPE=application TYPE=application TARGET=ONLINE TARGET=ONLINE STATE=ONLINE STATE=ONLINE NAME=ora.rac1.oem NAME=ora.rac1.oem TYPE=application TYPE=application TARGET=ONLINE TARGET=ONLINE STATE=ONLINE STATE=ONLINE NAME=ora.rac1.ons NAME=ora.rac1.ons TYPE=application TYPE=application TARGET=ONLINE TARGET=ONLINE STATE=ONLINE STATE=ONLINE

Monitoring RAC Services Creating a tabular report: %ORA_CRS_HOME%\bin\crs_stat -t NameType Target State Host ora.rac1.gsd application ONLINE ONLINE rac1 ora.rac1.oemapplication ONLINE ONLINE rac1 ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vipapplication ONLINE ONLINErac1 ora.rac2.gsd application ONLINE ONLINE rac2 ora.rac2.oemapplication ONLINE ONLINE rac2 ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vipapplication ONLINE ONLINErac2

Review What advantages does a service based architecture offer? What four services comprise Cluster Ready Services? Nodeapps consists of which four applications? True or False: a database instance may be assigned to multiple services

Summary Service Architecture Cluster Ready Services (CRS) OracleCRSService OracleCRSService OracleCSService OracleCSService OracleEVMService OracleEVMService OraFenceService OraFenceServiceNodeapps VIP VIP Listener Listener GSD GSD ONS ONS User defined Services ASM Services Internally managed services Global Cache Service Global Cache Service Global Enqueue Service Global Enqueue Service Global Resource Directory Global Resource Directory Monitoring Services