SlideShare une entreprise Scribd logo
1  sur  51
Automatic Storage Management
Objectives ,[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASM Instances
ASM Single Instance Architecture OCSSD Daemon Only Dedicated Storage Oracle Clusterware ASM Instance RDBMS Instance Server
ASM Single Instance Background Processes Fixed Area Variable Area ASM Cache Oracle 11.1 PMON SMON CKPT LGWR DBW0 VKTM PSP0 MMAN RBAL GMON X000 DIAG DIA0
ASM RAC Architecture Storage Network Private Network Public Network Shared Storage Oracle Clusterware ASM Instance RDBMS Instance Node 1 Oracle Clusterware ASM Instance RDBMS Instance Node 2 Oracle Clusterware ASM Instance RDBMS Instance Node 3 Oracle Clusterware ASM Instance RDBMS Instance Node 4
ASM RAC Architecture PROD1 TEST1 CLUSTERWARE +ASM1 PROD2 TEST2 CLUSTERWARE +ASM2 PROD TEST Clusterware ASM  Instances RDBMS Instances Database Files
ASM RAC Instance Background Processes Fixed Area Variable Area ASM Cache Oracle 11.1 PMON SMON CKPT LGWR DBW0 VKTM PSP0 MMAN RBAL GMON X000 DIAG DIA0 LMON LMS0 LMD0 LCK0 DIAG MARK KATE
ASM Disk Groups
ASM Disk Groups and Disks Disk  Group 1 Disk  Group 2 Disk  Group 3 Disk 1 Disk 4 Disk 2 Disk 6 Disk 5 Disk 7 Disk 3
ASM Disk Groups and Disks Disk  Group 1 Disk 1 Disk 4 Disk  Group 2 Disk 2 Disk 5 Disk 6 Disk 7 Disk 3 Disk  Group 3
ASM Disk Groups, Disks and Database Files Disk  Group 1 Disk 1 Disk 4 Disk  Group 2 Disk 2 Disk 5 Disk 6 Disk 7 Disk 3 Disk  Group 3 File 1 File 2 File 3 File 4 File 5 File 5 File 6
File Extents versus Allocation Units ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
X$KFFXP ,[object Object],[object Object],[object Object],Column Name Description GROUP_KFFXP Disk Group Number NUMBER_KFFXP File Number COMPOUND_KFFXP Disk Group Number || File Number INCARN_KFFXP Incarnation Number PXN_KFFXP Physical Extent Number (within file) XNUM_KFFXP Logical Extent Number (within file) LXN_KFFXP 0=primary, 1=first mirror, 2=second mirror DISK_KFFXP Disk Number AU_KFFXP Allocation Unit Number (within disk) SIZE_KFFXP Size (# allocation units)
ASM Metadata ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],File# Description 0 Metadata Header 1 File Directory 2 Disk Directory 3 Active Change Directory 4 Continuing Operations Directory 5 Template Directory 6 Alias Directory 9 Attribute directory (optional) 12 Staleness registry (optional)
ASM Metadata Active Change Directory Continuing Operations Directory Template Directory Alias Directory Disk Directory File Directory Partner Status Table Metadata Header Free Space Table Allocation Table Disk Header Metadata Header
ASM Metadata ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],File# AU Description # AUs 0 0 Disk Header, Free Space Table, Allocation Table 1 1 Partner Status Table 1 1 File Directory 1 2 Disk Directory 1 3 Active Change Directory 42 4 Continuing Operations Directory 2 5 Template Directory 1 6 Alias Directory 1
ASM Metadata Block Types Type Description 1 KFBTYP_DISKHEAD 2 KFBTYP_FREESPC 3 KFBTYP_ALLOCTBL 4 KFBTYP_FILEDIR 5 KFBTYP_LISTHEAD 6 KFBTYP_DISKDIR 7 KFBTYP_ACDC 8 KFBTYP_CHNGDIR 9 KFBTYP_CODBGO 10 KFBTYP_TMPLTDIR 11 KFBTYP_ALIASDIR 12 KFBTYP_INDIRECT Type Description 13 KFBTYP_PST_NONE 14 KFBTYP_HASHNODE 15 KFBTYP_COD_RBO 16 KFBTYP_COD_DATA 17 KFBTYP_PST_META 18 KFBTYP_PST_DTA 19 KFBTYP_HBEAT 20 KFBTYP_SR 21 KFBTYP_STALEDIR 22 KFBTYP_VOLUMEDIR 23 KFBTYP_ATTRDIR
KFED Utility ,[object Object],[ oracle@server3 ~]$ $ORACLE_HOME/bin/kfed -h as/mlib ASM Library [asmlib='lib'] aun/um AU number to examine or update [AUNUM=number] aus/z Allocation Unit size in bytes [AUSZ=number] blkn/um Block number to examine or update [BLKNUM=number] blks/z Metadata block size in bytes [BLKSZ=number] ch/ksum Update checksum before each write [CHKSUM=YES/NO] cn/t Count of AUs to process [CNT=number] d/ev ASM device to examine or update [DEV=string] o/p KFED operation type  [OP=READ/WRITE/MERGE/NEW/FORM/FIND/STRUCT] p/rovnm Name for provisioning purposes [PROVNM=string] s/eek AU number to seek to [SEEK=number] te/xt File name for translated block text [TEXT=string] ty/pe ASM metadata block type number [TYPE=number] ,[object Object]
KFED Utility ,[object Object],[object Object],SELECT disk_kffxp, au_kffxp FROM x$kffxp  WHERE group_kffxp = 1 AND number_kffxp = 6 AND lxn_kffxp = 0; Disk Allocation Unit 0 49 ,[object Object],SELECT group_number FROM v$asm_diskgroup WHERE name = 'DISKGROUP1'; ,[object Object],SELECT path FROM v$asm_disk WHERE group_number = 1 AND disk_number = 0; Path /dev/oracleasm/disks/VOL1
KFED Utility ,[object Object],[object Object],[object Object],[object Object],[object Object],for (( f = 12544 ; f < 12544 + 256 ; f++ )) do kfed op=read blkn=$f dev='/dev/oracleasm/disks/VOL1' > blk${f} done
Extent  Distribution
Extent Distribution ,[object Object],CREATE DISKGROUP diskgroup1  EXTERNAL REDUNDANCY DISK '/dev/oracleasm/disks/VOL1'; ,[object Object],DROP DISKGROUP diskgroup1  INCLUDING CONTENTS
Extent Distribution 1 disk Disk 0 Metadata Metadata Data 0 1 2 3 4 5 6 7
Extent Distribution 2 disks Disk 0 Disk 1 Metadata Metadata Data 0 2 4 6 8 10 12 14 1 3 5 7 9 11 13 15
Extent Distribution 4 disks Disk 0 Disk 1 Disk 2 Disk 3 Metadata Metadata Data 0 4 8 12 16 20 24 28 2 6 10 14 18 22 26 30 1 5 9 13 17 21 25 29 3 7 11 15 19 23 27 31
Extent Distribution 1 large disk - 1 small disk Disk 0 Disk 1 Metadata Metadata Data 0 1 3 4 6 7 9 10 2 5 8 11
Extent Distribution 1 large disk - 3 small disks Disk 1 Disk 2 Metadata Disk 0 Disk 4 Metadata Data 1 6 11 16 0 3 5 8 10 13 15 18 2 7 12 17 4 9 14 19
Extent Distribution 2 large disks - 2 small disks Disk 1 Disk 2 Metadata Disk 0 Disk 4 Metadata Data 3 9 15 21 0 2 6 8 12 14 18 20 1 4 7 10 5 11 17 23 13 16 19 22
Rebalancing
Extent Distribution ,[object Object],ALTER DISKGROUP diskgroup1  ADD DISK '/dev/oracleasm/disks/VOL2'  REBALANCE POWER 0; ,[object Object],ALTER DISKGROUP diskgroup1  DROP DISK 'DISKGROUP1_0002'  REBALANCE POWER 0; ,[object Object],ALTER DISKGROUP diskgroup1  REBALANCE POWER 1;
Rebalancing Adding disks - 1 disks to 2 disks Disk 0 Metadata Data Disk 1 0 1 2 3 4 5 6 7 5 7 0 1 2 3 4 5 6 7 5 7 1 3 1 3 STOP
Rebalancing Adding disks - 1 disks to 4 disks Disk 0 Disk 1 Disk 2 Disk 3 Metadata Data 0 1 2 3 4 5 6 7 2 6 1 5 0 4 0 1 2 3 4 5 6 7 1 0 4 5 2 6 STOP
Rebalancing Adding disks - 2 disks to 3 disks Disk 0 Disk 1 Disk 2 Metadata Data 1 3 5 7 9 11 13 15 0 2 4 6 8 10 12 14 2 5 8 11 0 1 2 3 4 5 0 3 1 4 14 17 16 17
Rebalancing Adding disks - 2 disks to 4 disks Disk 0 Disk 1 Disk 2 Disk 3 Metadata Data 1 3 5 7 9 11 13 15 0 2 4 6 8 10 12 14 1 5 9 13 0 4 8 12 0 1 2 3 4 5 6 7 1 0 4 5 2 6 STOP
Rebalancing Dropping disks - 3 disks to 1 disk Disk 0 Disk 1 Disk 2 Metadata Data 0 3 6 1 2 4 5 7 4 5 0 3 1 2 4 5 2 5 1 4 8 7 8 1 2 STOP
Rebalancing Moving disks - 2 disks to 2 disks Disk 0 Disk 1 Disk 2 Metadata Data 1 3 5 7 9 11 13 15 4 6 8 10 12 14 10 6 2 0 4 8 0 1 2 3 4 5 6 7 0 4 2 6 STOP 2 0 12 14
Rebalancing V$ASM_OPERATION ,[object Object],Estimate of remaining time Column Name Data Type GROUP_NUMBER NUMBER OPERATION CHAR(5) STATE VARCHAR2(4) POWER NUMBER ACTUAL NUMBER SOFAR NUMBER EST_WORK NUMBER EST_RATE NUMBER EST_MINUTE NUMBER ERROR_CODE VARCHAR2(44)
Rebalancing Power Limit ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Rebalancing Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Redundancy
Redundancy ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASM Failure Groups - External Redundancy Disk Group Disk 1 Disk 2 Disk 3
ASM Failure Groups - Normal Redundancy Failure Group 1 FailureGroup 2 Disk Group Disk 1 Disk 2 Disk 3 Disk 4 Disk 5 Disk 6
ASM Failure Groups - High Redundancy Failure Group 1 Disk Group Failure Group 2 Failure Group 3 Disk 1 Disk 2 Disk 1 Disk 2 Disk 1 Disk 2
Normal Redundancy 1 Disk Per Failure Group Disk 0 Disk 1 Primary Secondary Metadata Data Primary Secondary 0 1 0 1 2 3 2 3 10 11 Failure Group 1 8 9 6 7 0 1 2 3 4 5 9 10 7 8 5 6 0 1 2 3 4 11 Failure Group 2
Normal Redundancy 2 Disks per Failure Group Disk 0 Disk 1 Disk 2 Disk 3 Failure Group 1 Failure Group 2 Primary Secondary Metadata Data Primary Secondary 0 3 0 1 2 3 1 2 4 7 5 6 4 7 5 6 20 23 16 19 12 15 0 3 4 7 8 11 18 21 14 17 10 13 1 2 5 6 9 22 19 20 15 16 11 12 0 3 4 7 8 23 21 22 17 18 13 14 1 2 5 6 9 10
High Redundancy 1 Disk per Failure Group Disk 0 Disk 1 Disk 2 Failure Group 1 Primary Secondary Tertiary Metadata Data Primary Secondary Tertiary 0 0 0 0 Failure Group 2 Failure Group 3 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9
References ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Thanks !

Contenu connexe

Tendances

Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)Gustavo Rene Antunez
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
Oracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSOracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSChristian Gohmann
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN Riyaj Shamsudeen
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Markus Michalewicz
 
Low Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling ExamplesLow Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling ExamplesTanel Poder
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksMarkus Michalewicz
 

Tendances (20)

Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Oracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTSOracle 21c: New Features and Enhancements of Data Pump & TTS
Oracle 21c: New Features and Enhancements of Data Pump & TTS
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
 
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
 
Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013Oracle RAC 12c Best Practices with Appendices DOAG2013
Oracle RAC 12c Best Practices with Appendices DOAG2013
 
Low Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling ExamplesLow Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling Examples
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
Analyzing awr report
Analyzing awr reportAnalyzing awr report
Analyzing awr report
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
 

En vedette

Presentation implementing oracle asm successfully
Presentation    implementing oracle asm successfullyPresentation    implementing oracle asm successfully
Presentation implementing oracle asm successfullyxKinAnx
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentationeraz
 
FUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolarisFUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolariselliando dias
 
Oracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionOracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionAlex Gorbachev
 
Fuse- Filesystem in User space
Fuse- Filesystem in User space Fuse- Filesystem in User space
Fuse- Filesystem in User space Danny Tseng
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Ludovico Caldara
 
Sun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWHSun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWHMark Rabne
 
Google File System
Google File SystemGoogle File System
Google File Systemguest2cb4689
 
Zettabyte File Storage System
Zettabyte File Storage SystemZettabyte File Storage System
Zettabyte File Storage SystemAmdocs
 

En vedette (11)

Presentation implementing oracle asm successfully
Presentation    implementing oracle asm successfullyPresentation    implementing oracle asm successfully
Presentation implementing oracle asm successfully
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
 
Les 01 Arch
Les 01 ArchLes 01 Arch
Les 01 Arch
 
Oracle on linux
Oracle on linuxOracle on linux
Oracle on linux
 
FUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolarisFUSE (Filesystem in Userspace) on OpenSolaris
FUSE (Filesystem in Userspace) on OpenSolaris
 
Oracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionOracle ASM 11g - The Evolution
Oracle ASM 11g - The Evolution
 
Fuse- Filesystem in User space
Fuse- Filesystem in User space Fuse- Filesystem in User space
Fuse- Filesystem in User space
 
Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?Oracle Database on ACFS: a perfect marriage?
Oracle Database on ACFS: a perfect marriage?
 
Sun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWHSun Oracle Exadata V2 For OLTP And DWH
Sun Oracle Exadata V2 For OLTP And DWH
 
Google File System
Google File SystemGoogle File System
Google File System
 
Zettabyte File Storage System
Zettabyte File Storage SystemZettabyte File Storage System
Zettabyte File Storage System
 

Similaire à ASM

RAC+ASM: Stories to Share
RAC+ASM: Stories to ShareRAC+ASM: Stories to Share
RAC+ASM: Stories to Sharekutrovsky
 
General commands for navisphere cli
General commands for navisphere cliGeneral commands for navisphere cli
General commands for navisphere climsaleh1234
 
1Z0-053 Exam-Oracle Database 11g: Administration II
1Z0-053 Exam-Oracle Database 11g: Administration II 1Z0-053 Exam-Oracle Database 11g: Administration II
1Z0-053 Exam-Oracle Database 11g: Administration II Isabella789
 
Exam 1Z0-053 Oracle Database 11g: Administration II
Exam 1Z0-053 Oracle Database 11g: Administration IIExam 1Z0-053 Oracle Database 11g: Administration II
Exam 1Z0-053 Oracle Database 11g: Administration IIEllina Beckman
 
Sheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project DetailsSheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project Detailsshadikbsc
 
I/O System and Csae Study
I/O System and Csae StudyI/O System and Csae Study
I/O System and Csae Studypalpandi it
 
Cloning database using srdf copy
Cloning database using srdf copyCloning database using srdf copy
Cloning database using srdf copyAmit Vashishth
 
Mass Storage Structure
Mass Storage StructureMass Storage Structure
Mass Storage StructureVimalanathan D
 
10g rac asm
10g rac asm10g rac asm
10g rac asmVictor
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMSAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMAlex Zaballa
 

Similaire à ASM (20)

RAC+ASM: Stories to Share
RAC+ASM: Stories to ShareRAC+ASM: Stories to Share
RAC+ASM: Stories to Share
 
General commands for navisphere cli
General commands for navisphere cliGeneral commands for navisphere cli
General commands for navisphere cli
 
1Z0-053 Exam-Oracle Database 11g: Administration II
1Z0-053 Exam-Oracle Database 11g: Administration II 1Z0-053 Exam-Oracle Database 11g: Administration II
1Z0-053 Exam-Oracle Database 11g: Administration II
 
Oracle acfs in oracle 11
Oracle acfs in oracle 11Oracle acfs in oracle 11
Oracle acfs in oracle 11
 
Exam 1Z0-053 Oracle Database 11g: Administration II
Exam 1Z0-053 Oracle Database 11g: Administration IIExam 1Z0-053 Oracle Database 11g: Administration II
Exam 1Z0-053 Oracle Database 11g: Administration II
 
Sheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project DetailsSheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project Details
 
Os
OsOs
Os
 
I/O System and Csae Study
I/O System and Csae StudyI/O System and Csae Study
I/O System and Csae Study
 
Palpandi
PalpandiPalpandi
Palpandi
 
RAC.docx
RAC.docxRAC.docx
RAC.docx
 
Os
OsOs
Os
 
Pandi
PandiPandi
Pandi
 
Cloning database using srdf copy
Cloning database using srdf copyCloning database using srdf copy
Cloning database using srdf copy
 
Mass Storage Structure
Mass Storage StructureMass Storage Structure
Mass Storage Structure
 
Mass storage systemsos
Mass storage systemsosMass storage systemsos
Mass storage systemsos
 
Mass storage structure
Mass storage structureMass storage structure
Mass storage structure
 
10g rac asm
10g rac asm10g rac asm
10g rac asm
 
oracle dba
oracle dbaoracle dba
oracle dba
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASMSAOUG - Connect 2014 - Flex Cluster and Flex ASM
SAOUG - Connect 2014 - Flex Cluster and Flex ASM
 

Dernier

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Dernier (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

ASM

  • 2.
  • 3.
  • 5. ASM Single Instance Architecture OCSSD Daemon Only Dedicated Storage Oracle Clusterware ASM Instance RDBMS Instance Server
  • 6. ASM Single Instance Background Processes Fixed Area Variable Area ASM Cache Oracle 11.1 PMON SMON CKPT LGWR DBW0 VKTM PSP0 MMAN RBAL GMON X000 DIAG DIA0
  • 7. ASM RAC Architecture Storage Network Private Network Public Network Shared Storage Oracle Clusterware ASM Instance RDBMS Instance Node 1 Oracle Clusterware ASM Instance RDBMS Instance Node 2 Oracle Clusterware ASM Instance RDBMS Instance Node 3 Oracle Clusterware ASM Instance RDBMS Instance Node 4
  • 8. ASM RAC Architecture PROD1 TEST1 CLUSTERWARE +ASM1 PROD2 TEST2 CLUSTERWARE +ASM2 PROD TEST Clusterware ASM Instances RDBMS Instances Database Files
  • 9. ASM RAC Instance Background Processes Fixed Area Variable Area ASM Cache Oracle 11.1 PMON SMON CKPT LGWR DBW0 VKTM PSP0 MMAN RBAL GMON X000 DIAG DIA0 LMON LMS0 LMD0 LCK0 DIAG MARK KATE
  • 11. ASM Disk Groups and Disks Disk Group 1 Disk Group 2 Disk Group 3 Disk 1 Disk 4 Disk 2 Disk 6 Disk 5 Disk 7 Disk 3
  • 12. ASM Disk Groups and Disks Disk Group 1 Disk 1 Disk 4 Disk Group 2 Disk 2 Disk 5 Disk 6 Disk 7 Disk 3 Disk Group 3
  • 13. ASM Disk Groups, Disks and Database Files Disk Group 1 Disk 1 Disk 4 Disk Group 2 Disk 2 Disk 5 Disk 6 Disk 7 Disk 3 Disk Group 3 File 1 File 2 File 3 File 4 File 5 File 5 File 6
  • 14.
  • 15.
  • 16.
  • 17. ASM Metadata Active Change Directory Continuing Operations Directory Template Directory Alias Directory Disk Directory File Directory Partner Status Table Metadata Header Free Space Table Allocation Table Disk Header Metadata Header
  • 18.
  • 19. ASM Metadata Block Types Type Description 1 KFBTYP_DISKHEAD 2 KFBTYP_FREESPC 3 KFBTYP_ALLOCTBL 4 KFBTYP_FILEDIR 5 KFBTYP_LISTHEAD 6 KFBTYP_DISKDIR 7 KFBTYP_ACDC 8 KFBTYP_CHNGDIR 9 KFBTYP_CODBGO 10 KFBTYP_TMPLTDIR 11 KFBTYP_ALIASDIR 12 KFBTYP_INDIRECT Type Description 13 KFBTYP_PST_NONE 14 KFBTYP_HASHNODE 15 KFBTYP_COD_RBO 16 KFBTYP_COD_DATA 17 KFBTYP_PST_META 18 KFBTYP_PST_DTA 19 KFBTYP_HBEAT 20 KFBTYP_SR 21 KFBTYP_STALEDIR 22 KFBTYP_VOLUMEDIR 23 KFBTYP_ATTRDIR
  • 20.
  • 21.
  • 22.
  • 24.
  • 25. Extent Distribution 1 disk Disk 0 Metadata Metadata Data 0 1 2 3 4 5 6 7
  • 26. Extent Distribution 2 disks Disk 0 Disk 1 Metadata Metadata Data 0 2 4 6 8 10 12 14 1 3 5 7 9 11 13 15
  • 27. Extent Distribution 4 disks Disk 0 Disk 1 Disk 2 Disk 3 Metadata Metadata Data 0 4 8 12 16 20 24 28 2 6 10 14 18 22 26 30 1 5 9 13 17 21 25 29 3 7 11 15 19 23 27 31
  • 28. Extent Distribution 1 large disk - 1 small disk Disk 0 Disk 1 Metadata Metadata Data 0 1 3 4 6 7 9 10 2 5 8 11
  • 29. Extent Distribution 1 large disk - 3 small disks Disk 1 Disk 2 Metadata Disk 0 Disk 4 Metadata Data 1 6 11 16 0 3 5 8 10 13 15 18 2 7 12 17 4 9 14 19
  • 30. Extent Distribution 2 large disks - 2 small disks Disk 1 Disk 2 Metadata Disk 0 Disk 4 Metadata Data 3 9 15 21 0 2 6 8 12 14 18 20 1 4 7 10 5 11 17 23 13 16 19 22
  • 32.
  • 33. Rebalancing Adding disks - 1 disks to 2 disks Disk 0 Metadata Data Disk 1 0 1 2 3 4 5 6 7 5 7 0 1 2 3 4 5 6 7 5 7 1 3 1 3 STOP
  • 34. Rebalancing Adding disks - 1 disks to 4 disks Disk 0 Disk 1 Disk 2 Disk 3 Metadata Data 0 1 2 3 4 5 6 7 2 6 1 5 0 4 0 1 2 3 4 5 6 7 1 0 4 5 2 6 STOP
  • 35. Rebalancing Adding disks - 2 disks to 3 disks Disk 0 Disk 1 Disk 2 Metadata Data 1 3 5 7 9 11 13 15 0 2 4 6 8 10 12 14 2 5 8 11 0 1 2 3 4 5 0 3 1 4 14 17 16 17
  • 36. Rebalancing Adding disks - 2 disks to 4 disks Disk 0 Disk 1 Disk 2 Disk 3 Metadata Data 1 3 5 7 9 11 13 15 0 2 4 6 8 10 12 14 1 5 9 13 0 4 8 12 0 1 2 3 4 5 6 7 1 0 4 5 2 6 STOP
  • 37. Rebalancing Dropping disks - 3 disks to 1 disk Disk 0 Disk 1 Disk 2 Metadata Data 0 3 6 1 2 4 5 7 4 5 0 3 1 2 4 5 2 5 1 4 8 7 8 1 2 STOP
  • 38. Rebalancing Moving disks - 2 disks to 2 disks Disk 0 Disk 1 Disk 2 Metadata Data 1 3 5 7 9 11 13 15 4 6 8 10 12 14 10 6 2 0 4 8 0 1 2 3 4 5 6 7 0 4 2 6 STOP 2 0 12 14
  • 39.
  • 40.
  • 41.
  • 43.
  • 44. ASM Failure Groups - External Redundancy Disk Group Disk 1 Disk 2 Disk 3
  • 45. ASM Failure Groups - Normal Redundancy Failure Group 1 FailureGroup 2 Disk Group Disk 1 Disk 2 Disk 3 Disk 4 Disk 5 Disk 6
  • 46. ASM Failure Groups - High Redundancy Failure Group 1 Disk Group Failure Group 2 Failure Group 3 Disk 1 Disk 2 Disk 1 Disk 2 Disk 1 Disk 2
  • 47. Normal Redundancy 1 Disk Per Failure Group Disk 0 Disk 1 Primary Secondary Metadata Data Primary Secondary 0 1 0 1 2 3 2 3 10 11 Failure Group 1 8 9 6 7 0 1 2 3 4 5 9 10 7 8 5 6 0 1 2 3 4 11 Failure Group 2
  • 48. Normal Redundancy 2 Disks per Failure Group Disk 0 Disk 1 Disk 2 Disk 3 Failure Group 1 Failure Group 2 Primary Secondary Metadata Data Primary Secondary 0 3 0 1 2 3 1 2 4 7 5 6 4 7 5 6 20 23 16 19 12 15 0 3 4 7 8 11 18 21 14 17 10 13 1 2 5 6 9 22 19 20 15 16 11 12 0 3 4 7 8 23 21 22 17 18 13 14 1 2 5 6 9 10
  • 49. High Redundancy 1 Disk per Failure Group Disk 0 Disk 1 Disk 2 Failure Group 1 Primary Secondary Tertiary Metadata Data Primary Secondary Tertiary 0 0 0 0 Failure Group 2 Failure Group 3 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9
  • 50.