SlideShare a Scribd company logo
1 of 22
1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Overview
1 - 2
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Objectives
After completing this lesson, you should be able to describe the following:
• Automatic Storage Management (ASM) architecture
• Components of ASM
1 - 3
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
What Is Oracle ASM?
Application
Operating system
Hardware
Logical Volume Manager
File system
Application
Operating system
Hardware
ASM
1 - 4
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Oracle ACFS
• Multi-platform, Scalable file system, and storage management technology that extends
Oracle ASM functionality
• Support Oracle database
files and other files.
• Spreads data across
disks to balance load.
• Provides integrated mirroring
across disks.
ASM/ADVM
3rd Party FS
Operating System
ACFS
Oracle ASM
Files for Oracle
Database
Application
Oracle ASM
Oracle RAC Application
1 - 5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Features and Benefits
• Stripes files rather than logical volumes
• Provides redundancy on a file basis
• Enables online disk reconfiguration and dynamic rebalancing
• Significantly reduces the time to resynchronize a transient failure by tracking changes
while the disk is offline
• Provides adjustable rebalancing speed
• Is cluster-aware
• Supports reading from mirrored copy instead of primary copy for extended clusters
• Is automatically installed as part of Grid Infrastructure
1 - 6
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Software Installation
• Oracle ASM is installed as part of an Oracle Grid Infrastructure installation either for a
standalone cluster or for a standalone server.
• Oracle ASM is installed in the Oracle Grid Infrastructure home before Oracle Database
is installed in a separate Oracle home.
• Oracle ASM is integrated with Oracle Clusterware.
• Oracle Clusterware or Oracle Restart is responsible for:
– Starting and stopping ASM instances
– Mounting and dismounting disk groups
– Enabling and disabling ACFS volumes
– Starting and stopping dependent database instances
1 - 7
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Understanding Oracle ASM Concepts
The key components of Oracle ASM include:
• Oracle ASM Instances
• Oracle ASM Disk Groups
• Mirroring and Failure Groups
• Oracle ASM Disks
• Oracle ASM Allocation Units
• Oracle ASM Files
1 - 8
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Components: ASM Instance
The ASM instance comprises the process and memory components for ASM.
System Global Area (SGA) – memory
Shared
pool
Large
pool
ASM
cache
Free
memory
ASM instance
Other misc. processes
Processes – CPU components
RBAL ARBn GMON Onnn PZ9n
MARK
1 - 10
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Instance Primary Processes
The primary processes of an ASM instance are responsible for the ASM-related activities.
Process Description
RBAL Opens all device files as part of discovery and coordinates the rebalance activity
ARBn Refers to one or more slave processes that perform the rebalance activity
GMON Is responsible for managing disk-level activities such as drop or offline and advancing ASM disk
group compatibility
MARK Marks ASM allocation units as stale following a missed write to an offline disk
Onnn Represents one or more ASM slave processes that form a pool of connections to the ASM instance
for exchanging messages
PZ9n Represents one or more parallel slave processes that are used for fetching data on clustered ASM
installations from GV$ views
1 - 11
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Instance Designs:
Case 1: Non-clustered ASM and Oracle Databases
ASM disk group A ASM disk group B
Single-instance
database server
ASM instance
Oracle DB A
instance
Oracle DB B
instance
Oracle DB C
instance
1 - 12
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Instance Designs:
Case 2: Clustered ASM for Clustered Databases
ASM instance 3
Oracle DB A
instance 1
Oracle DB A
instance 2
Oracle DB B
instance 1
ASM instance 2
ASM instance 1 ASM instance 4
Oracle DB B
instance 2
ASM disk group A ASM disk group B
1 - 13
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Oracle DB A
instance 1
Oracle DB B
instance 1
Oracle DB B
instance 2
ASM instance 2
ASM instance 1 ASM instance 3
Oracle DB C
instance 1
ASM disk group A ASM disk group B
ASM Instance Designs:
Case 3: Clustered ASM for Mixed Databases
1 - 14
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Components: ASM Disk Group
The ASM disk group is the fundamental object that ASM manages. It:
• Consists of one or more ASM disks that provide space
• Includes self-contained metadata and logging information for management of space
within each disk group
• Is the basis for storage of ASM files
• Supports three disk group redundancy levels:
– Normal defaults to internal two-way mirroring of ASM files.
– High defaults to internal three-way mirroring of ASM files.
– External uses no ASM mirroring and relies on external disk hardware or redundant
array of inexpensive disks (RAID) to provide redundancy.
• Supports ASM files from multiple databases
1 - 15
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Components: Failure Groups
A failure group is a subset of the disks in a disk group, which could fail at the same time
because of shared hardware.
• Failure groups enable mirroring of metadata and user data.
• Default failure group creation puts every disk in its own failure group.
• Multiple disks can be placed in a singe failure group.
• Failure groups apply only to normal and high redundancy disk groups.
– A normal redundancy disk group requires at least two failure groups to implement
two-way mirroring of files.
– A high redundancy disk group requires at least three failure groups to implement
three-way mirroring of files.
• A quorum failure group contains copies of voting files when they are stored in normal or
high redundancy disk groups.
1 - 16
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Components: ASM Disks
ASM disks are the storage devices that are provisioned to ASM disk groups.
• Are formed from five sources as follows:
– A disk or partition from a storage array
– An entire physical disk or partitions of a physical disk
– Logical volumes (LV) or logical units (LUN)
– Network-Attached Files (NFS)
– Exadata grid disk
• Are named when they are added to a disk group by using a different name than the
operating system device name
• May use different operating system device names on different nodes in a cluster for the
same ASM disk
• Are divided into allocation units (AU) with sizes 1, 2, 4, 8, 16, 32, or 64 MB allowed
1 - 17
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Components: ASM Files
ASM files are a limited set of file types stored in an ASM disk group.
Some supported file types:
• Are stored as a set or collection of data extents
• Are striped across all disks in a disk group
• Use names that begin with a plus sign (+), which are automatically generated or from
user-defined aliases
Control files Flashback logs Data Pump dump sets
Data files DB SPFILE Data Guard configuration
Temporary data files RMAN backup sets Change tracking bitmaps
Online redo and archive logs RMAN data file copies Disaster recovery configurations
ASM and DB password files Transport data files ASM SPFILE
1 - 18
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Files: Extents and Striping
ASM can use variable size data extents to support larger files, reduce memory
requirements, and improve performance.
• Each data extent resides on an individual disk.
• Data extents consist of one or more allocation units.
• For disk groups with AU size less than 4MB:
– Equal to AU for the first 20,000 extents (0–19999)
– Equal to 4 × AU for the next 20,000 extents (20000–39999)
– Equal to 16 × AU for extents above 40,000
ASM stripes files by using extents with a coarse method for load balancing or a fine method
to reduce latency.
• Coarse-grained striping is always equal to the effective AU size.
• Fine-grained striping is always equal to 128 KB.
1 - 19
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Files: ASM File Mirroring
ASM mirroring is specified at the file level.
• Two files can share the same disk group with one file being mirrored while the other
is not.
• ASM allocates extents for a file with the primary and mirrored copies in different
failure groups.
• The mirroring options for ASM disk group types are:
Disk Group Type Supported
Mirroring Levels
Default
Mirroring Level
External redundancy Unprotected (None) Unprotected (None)
Normal redundancy Two-way
Three-way
Unprotected (None)
Two-way
High redundancy Three-way Three-way
1 - 21
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Clients
Any active database instance that is using ASM storage and is currently connected to the
ASM instance is an ASM client.
• Connected ASM clients can be viewed:
– By using the asmcmd lsct disk_group command
– In the v$asm_client dynamic performance view
• Each file in ASM is associated with a single database.
Oracle DB A
instance
Oracle DB B
instance
Oracle DB C
instance
ASM instance
ADVM Mounted ACFS
OCR
1 - 22
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ASM Utilities
Many utilities can be used for ASM administration. These utilities may include:
• Oracle Universal Installer (OUI)
• ASM Configuration Assistant (ASMCA)
• Oracle Enterprise Manager (EM)
• SQL*Plus
• ASM Command-Line utility (ASMCMD)
• Server controller utility (srvctl)
1 - 23
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Q
Select the utilities that can be used to configure or manage ASM.
a. ASM Configuration Assistant (ASMCA)
b. Oracle Enterprise Manager (EM)
c. Database Configuration Assistant (DBCA)
d. SQL*Plus
e. ASM Command-Line utility (ASMCMD)
Quiz
1 - 24
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Summary
In this lesson, you should have learned how to describe the following:
• Automatic Storage Management (ASM) architecture
• Components of ASM

More Related Content

Similar to D81242GC20_les01.pptx

10g rac asm
10g rac asm10g rac asm
10g rac asmVictor
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentationeraz
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...xKinAnx
 
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdfAlireza Kamrani
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2Mohsen B
 
Less05 asm instance
Less05 asm instanceLess05 asm instance
Less05 asm instanceAmit Bhalla
 
1.8 Data Protection.pdf
1.8 Data Protection.pdf1.8 Data Protection.pdf
1.8 Data Protection.pdfssuser8b6c85
 
Less05 storage
Less05 storageLess05 storage
Less05 storageImran Ali
 
A presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASA presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASRahul Janghel
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)Amazon Web Services
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software ReleaseIsabella789
 
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdfRac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdfAnil Nair
 
3 configuring basic and dynamic disks
3 configuring basic and dynamic disks3 configuring basic and dynamic disks
3 configuring basic and dynamic disksHameda Hurmat
 
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesCollaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesAnil Nair
 
Oracle on vSphere best practices
Oracle on vSphere best practices Oracle on vSphere best practices
Oracle on vSphere best practices Filip Verloy
 

Similar to D81242GC20_les01.pptx (20)

10g rac asm
10g rac asm10g rac asm
10g rac asm
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
 
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
 
Less05 asm instance
Less05 asm instanceLess05 asm instance
Less05 asm instance
 
Les 01 Arch
Les 01 ArchLes 01 Arch
Les 01 Arch
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
 
1.8 Data Protection.pdf
1.8 Data Protection.pdf1.8 Data Protection.pdf
1.8 Data Protection.pdf
 
Less05 storage
Less05 storageLess05 storage
Less05 storage
 
A presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASA presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NAS
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
 
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdfRac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
 
Pandi
PandiPandi
Pandi
 
DAS RAID NAS SAN
DAS RAID NAS SANDAS RAID NAS SAN
DAS RAID NAS SAN
 
3 configuring basic and dynamic disks
3 configuring basic and dynamic disks3 configuring basic and dynamic disks
3 configuring basic and dynamic disks
 
Massstorage
MassstorageMassstorage
Massstorage
 
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesCollaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
 
Oracle on vSphere best practices
Oracle on vSphere best practices Oracle on vSphere best practices
Oracle on vSphere best practices
 

Recently uploaded

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 

Recently uploaded (20)

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 

D81242GC20_les01.pptx

  • 1. 1 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Overview
  • 2. 1 - 2 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Objectives After completing this lesson, you should be able to describe the following: • Automatic Storage Management (ASM) architecture • Components of ASM
  • 3. 1 - 3 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. What Is Oracle ASM? Application Operating system Hardware Logical Volume Manager File system Application Operating system Hardware ASM
  • 4. 1 - 4 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Oracle ACFS • Multi-platform, Scalable file system, and storage management technology that extends Oracle ASM functionality • Support Oracle database files and other files. • Spreads data across disks to balance load. • Provides integrated mirroring across disks. ASM/ADVM 3rd Party FS Operating System ACFS Oracle ASM Files for Oracle Database Application Oracle ASM Oracle RAC Application
  • 5. 1 - 5 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Features and Benefits • Stripes files rather than logical volumes • Provides redundancy on a file basis • Enables online disk reconfiguration and dynamic rebalancing • Significantly reduces the time to resynchronize a transient failure by tracking changes while the disk is offline • Provides adjustable rebalancing speed • Is cluster-aware • Supports reading from mirrored copy instead of primary copy for extended clusters • Is automatically installed as part of Grid Infrastructure
  • 6. 1 - 6 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Software Installation • Oracle ASM is installed as part of an Oracle Grid Infrastructure installation either for a standalone cluster or for a standalone server. • Oracle ASM is installed in the Oracle Grid Infrastructure home before Oracle Database is installed in a separate Oracle home. • Oracle ASM is integrated with Oracle Clusterware. • Oracle Clusterware or Oracle Restart is responsible for: – Starting and stopping ASM instances – Mounting and dismounting disk groups – Enabling and disabling ACFS volumes – Starting and stopping dependent database instances
  • 7. 1 - 7 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Understanding Oracle ASM Concepts The key components of Oracle ASM include: • Oracle ASM Instances • Oracle ASM Disk Groups • Mirroring and Failure Groups • Oracle ASM Disks • Oracle ASM Allocation Units • Oracle ASM Files
  • 8. 1 - 8 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Components: ASM Instance The ASM instance comprises the process and memory components for ASM. System Global Area (SGA) – memory Shared pool Large pool ASM cache Free memory ASM instance Other misc. processes Processes – CPU components RBAL ARBn GMON Onnn PZ9n MARK
  • 9. 1 - 10 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Instance Primary Processes The primary processes of an ASM instance are responsible for the ASM-related activities. Process Description RBAL Opens all device files as part of discovery and coordinates the rebalance activity ARBn Refers to one or more slave processes that perform the rebalance activity GMON Is responsible for managing disk-level activities such as drop or offline and advancing ASM disk group compatibility MARK Marks ASM allocation units as stale following a missed write to an offline disk Onnn Represents one or more ASM slave processes that form a pool of connections to the ASM instance for exchanging messages PZ9n Represents one or more parallel slave processes that are used for fetching data on clustered ASM installations from GV$ views
  • 10. 1 - 11 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Instance Designs: Case 1: Non-clustered ASM and Oracle Databases ASM disk group A ASM disk group B Single-instance database server ASM instance Oracle DB A instance Oracle DB B instance Oracle DB C instance
  • 11. 1 - 12 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Instance Designs: Case 2: Clustered ASM for Clustered Databases ASM instance 3 Oracle DB A instance 1 Oracle DB A instance 2 Oracle DB B instance 1 ASM instance 2 ASM instance 1 ASM instance 4 Oracle DB B instance 2 ASM disk group A ASM disk group B
  • 12. 1 - 13 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Oracle DB A instance 1 Oracle DB B instance 1 Oracle DB B instance 2 ASM instance 2 ASM instance 1 ASM instance 3 Oracle DB C instance 1 ASM disk group A ASM disk group B ASM Instance Designs: Case 3: Clustered ASM for Mixed Databases
  • 13. 1 - 14 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Components: ASM Disk Group The ASM disk group is the fundamental object that ASM manages. It: • Consists of one or more ASM disks that provide space • Includes self-contained metadata and logging information for management of space within each disk group • Is the basis for storage of ASM files • Supports three disk group redundancy levels: – Normal defaults to internal two-way mirroring of ASM files. – High defaults to internal three-way mirroring of ASM files. – External uses no ASM mirroring and relies on external disk hardware or redundant array of inexpensive disks (RAID) to provide redundancy. • Supports ASM files from multiple databases
  • 14. 1 - 15 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Components: Failure Groups A failure group is a subset of the disks in a disk group, which could fail at the same time because of shared hardware. • Failure groups enable mirroring of metadata and user data. • Default failure group creation puts every disk in its own failure group. • Multiple disks can be placed in a singe failure group. • Failure groups apply only to normal and high redundancy disk groups. – A normal redundancy disk group requires at least two failure groups to implement two-way mirroring of files. – A high redundancy disk group requires at least three failure groups to implement three-way mirroring of files. • A quorum failure group contains copies of voting files when they are stored in normal or high redundancy disk groups.
  • 15. 1 - 16 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Components: ASM Disks ASM disks are the storage devices that are provisioned to ASM disk groups. • Are formed from five sources as follows: – A disk or partition from a storage array – An entire physical disk or partitions of a physical disk – Logical volumes (LV) or logical units (LUN) – Network-Attached Files (NFS) – Exadata grid disk • Are named when they are added to a disk group by using a different name than the operating system device name • May use different operating system device names on different nodes in a cluster for the same ASM disk • Are divided into allocation units (AU) with sizes 1, 2, 4, 8, 16, 32, or 64 MB allowed
  • 16. 1 - 17 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Components: ASM Files ASM files are a limited set of file types stored in an ASM disk group. Some supported file types: • Are stored as a set or collection of data extents • Are striped across all disks in a disk group • Use names that begin with a plus sign (+), which are automatically generated or from user-defined aliases Control files Flashback logs Data Pump dump sets Data files DB SPFILE Data Guard configuration Temporary data files RMAN backup sets Change tracking bitmaps Online redo and archive logs RMAN data file copies Disaster recovery configurations ASM and DB password files Transport data files ASM SPFILE
  • 17. 1 - 18 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Files: Extents and Striping ASM can use variable size data extents to support larger files, reduce memory requirements, and improve performance. • Each data extent resides on an individual disk. • Data extents consist of one or more allocation units. • For disk groups with AU size less than 4MB: – Equal to AU for the first 20,000 extents (0–19999) – Equal to 4 × AU for the next 20,000 extents (20000–39999) – Equal to 16 × AU for extents above 40,000 ASM stripes files by using extents with a coarse method for load balancing or a fine method to reduce latency. • Coarse-grained striping is always equal to the effective AU size. • Fine-grained striping is always equal to 128 KB.
  • 18. 1 - 19 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Files: ASM File Mirroring ASM mirroring is specified at the file level. • Two files can share the same disk group with one file being mirrored while the other is not. • ASM allocates extents for a file with the primary and mirrored copies in different failure groups. • The mirroring options for ASM disk group types are: Disk Group Type Supported Mirroring Levels Default Mirroring Level External redundancy Unprotected (None) Unprotected (None) Normal redundancy Two-way Three-way Unprotected (None) Two-way High redundancy Three-way Three-way
  • 19. 1 - 21 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Clients Any active database instance that is using ASM storage and is currently connected to the ASM instance is an ASM client. • Connected ASM clients can be viewed: – By using the asmcmd lsct disk_group command – In the v$asm_client dynamic performance view • Each file in ASM is associated with a single database. Oracle DB A instance Oracle DB B instance Oracle DB C instance ASM instance ADVM Mounted ACFS OCR
  • 20. 1 - 22 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ASM Utilities Many utilities can be used for ASM administration. These utilities may include: • Oracle Universal Installer (OUI) • ASM Configuration Assistant (ASMCA) • Oracle Enterprise Manager (EM) • SQL*Plus • ASM Command-Line utility (ASMCMD) • Server controller utility (srvctl)
  • 21. 1 - 23 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Q Select the utilities that can be used to configure or manage ASM. a. ASM Configuration Assistant (ASMCA) b. Oracle Enterprise Manager (EM) c. Database Configuration Assistant (DBCA) d. SQL*Plus e. ASM Command-Line utility (ASMCMD) Quiz
  • 22. 1 - 24 Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Summary In this lesson, you should have learned how to describe the following: • Automatic Storage Management (ASM) architecture • Components of ASM