SlideShare ist ein Scribd-Unternehmen logo
1 von 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 !

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
 
Less05 asm instance
Less05 asm instanceLess05 asm instance
Less05 asm instanceAmit Bhalla
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different hostOsama Mustafa
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentationVimlendu Kumar
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by exampleMauro Pagano
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsJohn Beresniewicz
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsMarkus Michalewicz
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezInsight Technology, Inc.
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerZohar Elkayam
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsMydbops
 

Was ist angesagt? (20)

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
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
Less05 asm instance
Less05 asm instanceLess05 asm instance
Less05 asm instance
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by example
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 Internals
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarez
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard Broker
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability Methods
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 
les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_tricantino1973
 

Ähnlich wie 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
 
Palpandi
PalpandiPalpandi
Palpandi
 
I/O System and Csae Study
I/O System and Csae StudyI/O System and Csae Study
I/O System and Csae Study
 
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
 
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
 
les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
 

Kürzlich hochgeladen

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

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.