Microsoft PowerPoint - Tech-iSeminar_10g_RAC_CRS.ppt

Similar documents
Oracle9i Real Application Clusters

Something that can be seen, touched or otherwise sensed

목 차

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

오라클 데이터베이스 10g 핵심 요약 노트

PRO1_04E [읽기 전용]

MS-SQL SERVER 대비 기능

Backup Exec

Simplify your Job Automatic Storage Management DB TSC

05Àå

The Self-Managing Database : Automatic Health Monitoring and Alerting

PowerPoint 프레젠테이션

PowerPoint Presentation

Microsoft Word - 기술노트36_11g R1 Clusterware를 이용한 Oracle HA 구성 _최종본_.doc

°í¼®ÁÖ Ãâ·Â

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (

6주차.key

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

Domino Designer Portal Development tools Rational Application Developer WebSphere Portlet Factory Workplace Designer Workplace Forms Designer

solution map_....

Portal_9iAS.ppt [읽기 전용]

vm-웨어-01장

Oracle Database 10g: Self-Managing Database DB TSC

62

10주차.key

Microsoft PowerPoint - Linux_10gRAC_3Node

휠세미나3 ver0.4

chapter4

김기남_ATDC2016_160620_[키노트].key

Page 2 of 6 Here are the rules for conjugating Whether (or not) and If when using a Descriptive Verb. The only difference here from Action Verbs is wh

DW 개요.PDF

DE1-SoC Board

untitled

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수

PCServerMgmt7

0125_ 워크샵 발표자료_완성.key

Web Application Hosting in the AWS Cloud Contents 개요 가용성과 확장성이 높은 웹 호스팅은 복잡하고 비용이 많이 드는 사업이 될 수 있습니다. 전통적인 웹 확장 아키텍처는 높은 수준의 안정성을 보장하기 위해 복잡한 솔루션으로 구현

슬라이드 1

APOGEE Insight_KR_Base_3P11

Chapter 1

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C

No Slide Title

ecorp-프로젝트제안서작성실무(양식3)

LXR 설치 및 사용법.doc

금오공대 컴퓨터공학전공 강의자료

슬라이드 1

untitled

UML

FMX M JPG 15MB 320x240 30fps, 160Kbps 11MB View operation,, seek seek Random Access Average Read Sequential Read 12 FMX () 2

- 2 -

Security Overview

¨ìÃÊÁ¡2

PowerPoint Presentation


Intro to Servlet, EJB, JSP, WS

15_3oracle

Solaris Express Developer Edition

untitled

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,.,,,,,,,,,,,,.,...,. U.S. GOVERNMENT END USERS. Oracle programs, including any oper

2

ETL_project_best_practice1.ppt

歯I-3_무선통신기반차세대망-조동호.PDF

(Exposure) Exposure (Exposure Assesment) EMF Unknown to mechanism Health Effect (Effect) Unknown to mechanism Behavior pattern (Micro- Environment) Re

thesis


Cache_cny.ppt [읽기 전용]

J2EE & Web Services iSeminar

Remote UI Guide

H3050(aap)

step 1-1


문서 제목

00내지1번2번

PowerChute Personal Edition v3.1.0 에이전트 사용 설명서

ISO17025.PDF

No Slide Title

untitled

<31325FB1E8B0E6BCBA2E687770>

MPLAB C18 C

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

Page 2 of 5 아니다 means to not be, and is therefore the opposite of 이다. While English simply turns words like to be or to exist negative by adding not,

<B3EDB9AEC1FD5F3235C1FD2E687770>

○ 제2조 정의에서 기간통신역무의 정의와 EU의 전자커뮤니케이션서비스 정의의 차이점은

Interstage5 SOAP서비스 설정 가이드

Jerry Held

Assign an IP Address and Access the Video Stream - Installation Guide

CD-RW_Advanced.PDF

#KM-250(PB)

#KLZ-371(PB)

#DPK5(PB)(9.8.19)


Contents 1. 개요 RAC 의기본개요 RAC 의기본구조 2.2. CRS PROCESS 장애항목에따른 Failure Effect CRSSTARTUP SHUTDOWN PROGRESS ON RAC..

11¹Ú´ö±Ô

Journal of Educational Innovation Research 2018, Vol. 28, No. 1, pp DOI: A study on Characte

김경재 안현철 지능정보연구제 17 권제 4 호 2011 년 12 월

01Àå

도비라

#KM-340BL

2009년 국제법평론회 동계학술대회 일정

NoSQL

Transcription:

Getting the most out of MetaLink 남궁혁 한국오라클 ( 주 ) 제품지원실

목차 1. Cluster 개요 2. OPROCD 3. EVMD 4. CSSD 5. CRSD 6. CRS Install 7. 참고자료

Clusters Alternative to symmetric multiprocessing (SMP) Group of interconnected, whole computers working together as a unified computing resource Illusion is that it is one machine Each individual node can run on its own.

Cluster 의 Components 클러스터구성 component Nodes와 Managers Nodes 리소스를제공하는 system Cluster Manager 두개의 node를하나의 machine처럼작동하게하는로직을제공

The Oracle Cluster VIP1 Node1 Database instance 1 ASM Instance 1 CRS Operating System public network cluster interconnect cache to cache VIP2 Node2 Database instance 2 ASM Instance 2 CRS Operating System cluster VIP3 Node3 Database instance 3 interconnect... ASM Instance 3 CRS Operating System shared storage concurrent access from every node = scale out redo logs all instances Database files control files OCR and Voting Disk more nodes = higher availability

Architecture Important Concepts: Services Node Applications Cluster Ready Services Cluster Resources

Cluster Applications Architecture AP AP HR HR Services CRM CRM Instance 1 Instance 2 Instance 3 Database Node Applications Listener OEM Ag. VIP Listener OEM Ag. VIP Listener OEM Ag. Cluster Ready Services Node 1 Node 2 Node 3 VIP

Cluster Applications Architecture

CRS [Cluster Ready Services] CRS is a stack of portable clusterware components: Exposed 10i CRS Major internal components CSS EVM CRS (OCR)

CRS Structure - Runtime View Started by init(1m) or Windows service controller init oprocd evmd cssd crsd evmlogger racgevt action action callout action action action action action

OPROCD [Processor Monitor Daemon] init oprocd

OPROCD [Processor Monitor Daemon] Our solution to Cluster I/O Fencing in 10g. Processor monitor for Cluster Provides hang check timer for cluster integrity [Hang check timer on Linux] Locked in memory, real time. Sleep a fixed time If wake up time is too much later, reset processor & reboot. Different implementations on different machines Runs as root. Failure causes reboot.

EVMD and descendants Event Forwarding Daemon init evmd evmlogger racgevt action action callout

EVMD [Event Forwarding Daemon] Spawns a permanent child evmlogger Evmlogger, on demand, spawns RACGEVT children RACGEVT scans callout directory and invokes callouts. Runs as Oracle. Restarted automatically on failure

EVM Architecture

CSSD [Cluster Synchronization Service] init cssd

CSSD [Cluster Synchronization Service] Group Services Extension of services previously provided by skgxn Oracle database instances join groups Existing members notified when new members become active in cluster, e.g. database instances Lock Services Lock services used by CRSD Shared and exclusive locks

CSSD [Cluster Synchronization Service] Node Information Services Cluster configuration information Static information Node name Node number Etc. Nodes configured may change Add node Delete node

CSSD [Cluster Synchronization Service] Multi-threaded application Does not require privileged mode Two distinct parts Node Monitor Group Manager Uses Network Services, for communication, both internode and intra-node

CSS Initial Cluster formation Connect attempts for all configured nodes Send joining msg to all active nodes Wait for reconfig to start If no reconfig starts within certain amount of time, lowest numbered node starts reconfig All joining nodes included in reconfig

Group Manager Manages group and lock services Locks are special types of groups One node serves as master All nodes serialize requests through master node Master node broadcasts membership changes to all nodes Group membership synchronized at each cluster reconfiguration

Client Interaction Node/cluster configuration information only requires access to OCR Most services require connection with CSS daemon Client communication uses Net Services

CSS in 2 Node Cluster RDBMS1 RDBMS2 RDBMS1 RDBMS2 CSS Daemon GM NM CSS Daemon GM NM OCR Voting Disk

CRSD init crsd action action action action action

CRSD Engine for HA operation Manages application resources Starts, stops, checks and fails them over Generates events when things happen Spawns separate actions to start/stop/check application resources Maintains configuration profiles in OCR. Stores current known state in OCR. Provides process for OCR caching ( ocrd ) Runs as root Restarted automatically on failure

CRS Resources When an oracle entity is created: CRS application resources are created automatically by Oracle tools May have dependencies on other resources May comprise more than one CRS resource

CRS Resources [10gR2] Lifecycle of a CRS resource crs_profile: Create/Edit the resource s attributes crs_register: Add the resource crs_start: Start the resource crs_stat: Find out about the resource crs_relocate: Move the resource crs_stop: Stop the resource crs_unregister: Remove the resource

CRS Resources: Resource Security Security attributes on a resource: crs_setperm crs_getperm % crs_getperm ora.starwars1.vip Name: ora.starwars1.vip owner:root:rwx,pgrp:svrtech:rwx,other::r--, user:oracle:r-x,

CRS application resources Resource state can be determined from the dynamic attributes: STATE TARGET NAME=ora.myResource1 Example crs_stat output: TYPE=application TARGET=ONLINE STATE=ONLINE on alphab-2 NAME=ora.myResource2 TYPE=application TARGET=ONLINE STATE=ONLINE on alphab-2

CRS Action

Starting CRS

Oracle Cluster Registry A mechanism for storing information. Clients include SRVM and CRS Directory tree structure Key-value pairs

OCR Cache Architecture Default clients talk to their local OCR cache OCR caches talk to a cluster master cache Master cache does actual reads/writes to storage Operations atomic per-key value update Writes complete when in storage and all caches are invalidated.

OCR Record Structure Each OCR record contains 3 fields: The key, a value and permissions Example: Database Instance record

Voting disk Used to determine quorum in case of failure and provides a second heartbeat mechanism to validate cluster health. Disk heartbeat maintained in voting disk Voting disk used to ascertain cluster state Voting disk has structures for each node in cluster During evictions, the voting disk contains the eviction message Voting disk needs to be mirrored, should it become unavailable, cluster will come down.

Installation Oracle Installer places software/configuration information in ORA_CRS_HOME Root.sh scripts establish init integration. RAC install runs CRS as root EVM as oracle CSS as oracle, node fatal on unexpected CSSD failure

Installation init integration Use init(1m) to restart critical processes Run from entries in /etc/inittab with respawn Rc.d scripts establish state Set values in flags files read by programs started by init Rc.d scripts do NOT directly start programs. Supported method to start is booting the machine Supported method to stop is shutdown the machine. For maintenance, go single user

Installation Some parameters are in Logfiles are in /etc/init.d/init.crsd /etc/init.d/init.cssd /etc/init.d/init.evmd $ORA_CRS_HOME/crs/log $ORA_CRS_HOME/css/log $ORA_CRS_HOME/evm/log Ensure root.sh scripts are run on all nodes during install

Diagnostics For resources owned by non-root users, profiles and action scripts are in $ORA_CRS_HOME/public For resources owned by the root user, profiles are in $ORA_CRS_HOME/crs/profile, action scripts are in $ORA_CRS_HOME/script CRSD log file: $ORA_CRS_HOME/crs/log/<nodename>.log Log trace contains Timestamp and Thread-id. Most of the diagnostic information comes from this log. CRSD core: $ORA_CRS_HOME/crs/init/<nodename>/core Other system files in $ORA_CRS_HOME/crs/init: <nodename>.pid, <nodename>.flags

참고문서 Note. 274526.1 How to download and install opatch Note. 242993.1 OPATCH FAQ (internal only) Note. 244241.1 Rolling Patch - OPatch Support for RAC Note. 189489.1 Oracle9i Data Server Interim Patch Installation OPATCH USERS GUIDE (Opatch/docs directory) OPATCH FAQ (Opatch/docs directory)