0% found this document useful (0 votes)
75 views24 pages

2019 Urh Srecnik Oracle Grid Infrastructure

This document discusses Oracle Grid Infrastructure and some of its key concepts and features. It describes Oracle Clusterware and Automatic Storage Management (ASM) as core components that enable communication and shared storage. It also discusses Real Application Clusters (RAC), licensing considerations, and demonstrates some advanced features like restartable root scripts and the cluster verification utility.

Uploaded by

mcelo7003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views24 pages

2019 Urh Srecnik Oracle Grid Infrastructure

This document discusses Oracle Grid Infrastructure and some of its key concepts and features. It describes Oracle Clusterware and Automatic Storage Management (ASM) as core components that enable communication and shared storage. It also discusses Real Application Clusters (RAC), licensing considerations, and demonstrates some advanced features like restartable root scripts and the cluster verification utility.

Uploaded by

mcelo7003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Oracle Grid Infrastructure

Concepts and Fancy Features

Speaker:

Urh Srečnik <urh.srecnik@abakus.si>


Abakus Plus d.o.o.

● Infrastructure Team ● Development Team


● Services ● Enterprise

– OS & NET admin Applications


● Document
– DBA, Programming
Management
● Newspaper
● Applications
– Deja Vu
Distribution
● Flight Information
– APPM
System
– Arbiter
References
concepts

Oracle Grid Infrastructure


● Oracle Clusterware
… enables servers to communicate with each other,
so that they appear to function as a collective unit.

● Oracle ASM
Oracle Automatic Storage Management
concepts

Oracle Grid Infrastructure

Is direct access to shared


storage required for ALL the nodes?
concepts

Real Application Cluster

Could we have RAC


without GI?
terminology

RAC One One

Is therefore RAC required


to run databases on top of GI?
Single Instance High Availability

Can we relocate »single instance«


Database using »srvctl« ?
concepts

Cluster Domain

Minimum number
of nodes?
concepts

Extended Cluster

»read« performance implications?


What about »write« performance?
Network Considerations
concepts

live »demo« #1

Policy Based Clusters


licensing

Database Licensing
● Desupport of Oracle Real Application Clusters (RAC) with
Oracle Database Standard Edition 19c (Doc ID 2504078.1)

● Standard Edition 2 has a maximum of


● 2 sockets

● 16 CPU threads per instance

● Standard Edition had maximum of


● 4 sockets

● Unlimited CPU threads.


licensing

Clusterware Licensing
https://www.oracle.com/technetwork/database/database-technologies/clusterware/overview/clusterware-for-linux-088663.html#13

https://docs.oracle.com/en/database/oracle/oracle-database/19/dblic/Licensing-Information.html#GUID-75262092-CD86-4B30-A21B-92ECC1C2E130
Oracle VM?

Oracle RAC on Oracle VM


● It is supported, but it only makes sense when VM
technology is used for hardware partitioning:
● When your HW has more CPUs than licensing

allows
● When you want to use the same hardware for

something else (other VMs)

● Clusterware generally provides faster recovery than


OVM because it does so by relocating specific
services rather than complete VM.
fancy feature #1

root.sh is restartable!

● rootupgrade.sh and root.sh are restartable


● Both use »checkpoint« file to mark the completed
steps:
● $ORACLE_BASE/crsdata/grid1/crsconfig/ckptGridHA_grid1.xml
● $ORACLE_BASE/crsdata/@global/crsconfig/ckptGridHA_global.xml

● Log messages are detailed to exact command in


$ORACLE_BASE/crsdata/grid1/crsconfig/rootcrs_<hostname>_<date>.log
2019-09-21 19:22:40: Invoking "/oracle/grid/19.4.0/gihome_1/bin/cluutil -ckpt -global -oraclebase /oradmin/grid -chkckpt -
name ROOTCRS_FIRSTNODE -status"
2019-09-21 19:22:40: trace file=/oradmin/grid/crsdata/grid1/crsconfig/cluutil8.log
2019-09-21 19:22:40: Running as user grid: /oracle/grid/19.4.0/gihome_1/bin/cluutil -ckpt -global -oraclebase /oradmin/grid
-chkckpt -name ROOTCRS_FIRSTNODE -status
fancy feature #2

Cluster Verification Utility

$ cluvfy stage -post crsinst \


-allnodes -verbose


Verifying OCR Integrity ...WARNING
PRVG-6017 : OCR backup is located in the same
disk group "+VOTE" as OCR.

fancy feature #3

Clusterware Agent API


● Use shell script (aka »actionscript«) to protect your
resource (scriptagent) or
● Write your own agent in C/C++ using Agent
Framework
fancy feature #3

live demo #1

Database Standard Edition?


● Manually install/clone software to all nodes
● srvctl remove database
● Write your own action script
● Make sure you can manually start the database on
any node using your actionscript (spfile, sudoers,
oratab, audit_file_dest …)
● crsctl add resource
live demo #1

Clusterware Resources
fancy feature #4

Resource Dependencies
● START_DEPENDENCIES ● STOP_DEPENDENCIES
● hard ● hard

● weak

● attraction
● (Some) other options
● dispersion
● global
● exclusion
● res. type or resource
● pullup
fancy feature #5

ASM Normal Redundancy


fancy feature #6

ASM Flex Redundancy


http://www.abakus.si/

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy