SlideShare a Scribd company logo
Oracle ACFS in Oracle 11.2Concepts, Architecture, Deployment, Management and performance monitoringGuenadi N. Jilevski: OCP 7,8,8i,9i,10g 11g OCM 9i
Oracle ACFS in Oracle 11.2Features & ConceptsACFS is General Purpose Cluster Multi OS file system integrated with Grid Infrastructure. (Linux, Windows, AIX, Solaris in Oracle 11.2 and Oracle 11.2.0.2)ACFS can be dynamically re-sized online. ACFS can be managed with ASMCA, ASMCMD, OEM, sqlplus, Linux/UNIX command line.ACFS is extend based.ACFS in build on top of ASM.ACFS depends on ASM striping.ACFS depends on ASM mirroring.ACFS is based on the ASM features. ( I/O  and data balancing, disk group redundancy etc…)ACFS is build on top of ASM volumes.ASM volumes are created in a ASM disk group.ASM volumes can be used for any FS ( do not assume FS is clustered FS if using ASM volumes).Accessible via NAS protocols (NFS, CIFS), POSIX, X/OPEN compliant for Linux/Unix.ASM Software stack ( ASM replaces  the functionality of the Volume manager and File System)
Oracle ACFS in Oracle 11.2ASM concepts ( ADVM/ACFS) ASM  Dynamic Volumes
ASM volumes devices files in /dev/asm/<Volume-name>-<number> presented by ADVM as block devices
OS kernel modules (Linux):  oracleasm, oracleadvm, oracleoks and oracleacfs
 ASM layers are transparent to OS file system commands.  Only files and directories created in ACFS and ACFS snapshots are visible.Oracle ACFS in Oracle 11.2ASM for FilesASM for ACFS volumesASM contains filesASM files are striped not disk volumes in case of LVMASM mirrors extends based on redundancy levelOnline disk reconfiguration and rebalancingFor fast mirror resynch tracks the changed extends.On extended clusters read from a preferred mirror extent that is localCluster awarePart of Grid InfrastructureASM volumes are ALSO ASM files. Exposed to the OS via ADVM by /dev/asm/<Volume-number>-<number>. Created once a volume is created.Inherit properties of disk group and behaves like ASM file. Rebalanced with add/remove disk to disk group.ADVM represents the ASM volume to OS. Behaves like any block devices.
Oracle ACFS in Oracle 11.2ADVM processes in RAC ASMVDBG –  Volume Driver Background forwards ASM requests to the dynamic volume manager driver (kernel). Death of VDBG kills ASM instance.VBGn – Volume Background processes wait for requests from dynamic volume manager driver (kernel) that need to be coordinated with ASM instance. Death of VBGn does NOT kill ASM instance.VMB – Volume Membership Background coordinates cluster membership with ASM instance. Death of VMB does NOT kill ASM instance.
Oracle ACFS in Oracle 11.2RestrictionsADVM volumes can not be used as boot devices or root file system.ADVM volumes can not be used for RAW devices.ADVM volume devices can not be used for multi-pathing.ADVM volumes can not be used with ASMlib. Do not layer ASM over ASM.ADVM volumes can not be partitioned with fdisk.ADVM volumes are not to be used for Oracle Grid Infrastructure installation.
Oracle ACFS in Oracle 11.2Space allocation for volumes in ASM disk groupVAU – Volume Allocation Unit. Smallest allocation for a volume. On creation or extension of a volume space is allocated from an ASM disk group in multiples of VAU. Stripe is the number of Volume Extents within VAU. Can very from 1 to 8. Default is 4. If 1 than there is no striping.VAU=Stripe X Volume ExtentVE - Volume Extent has a static value based on AU. For a default AU=1MB the extent size is 64MB. Each volume extent is allocated round-robin on different disks of a disk group.Example: if stripe is 4 and AU is 1MB than VAU=4X64=256MB. Space is allocated in multiples of VAU. For a requested volume of 400MB a volume of 512MB consisting of 2 VAU will be created. In case of re-size space will be added in multiple of 256MB (VAU).
Oracle ACFS in Oracle 11.2 Space allocation within a volumeVolume is created with Stripe column – number of stripes. Default 4. From 1 to 8. If 1 no striping.Stripe width – size of each stripe. Default 128K. Range from 4K, 8K,16K,32K,64K, 128K, 256K, 512K,1M.Space for the volume is allocated as explained in VAU from ASM disk group.Space within the volume, when a file is created/resized on the ACFS, is allocated in chunks: size of VAU
the size of the strip width round-robin across all of the VE  in the VAU.Oracle ACFS in Oracle 11.2Steps to create an ACFSPrerequisites: compatible.asm>=11.2compatible.advm>=11.2,  compatible.asm>=compatible.advmLoad ADVM drivers $GI_HOME/bin/acfsload start –s as root on Oracle Restart only. For clustered  Oracle GI in ASM RAC is automatically loaded.Create the ASM volumeCreate the mount pointMake the file system as root or GI ownerMount the file system as root unless using /sbin/acfsutil as GI owner.Register the file system. For the file system to persists reboot register it similarly to /etc/fstab with acfsutil. Registering the File System automatically mounts the file system on restart/reboot and manage it as CRS resource. GI owner for /sbin/acfsutil.
Oracle ACFS in Oracle 11.2ASMCA
Oracle ACFS in Oracle 11.2ASMCANote:  ACFSUTIL registers and mounts the ACFS.  After restart ACFS will be mounted. Similar to /etc/fstab functionality
DB Home FS=GP FS + Register  Mount PointOracle ACFS in Oracle 11.2Using sqlplus to Create a volume ACFS_VOL2 with size 2GB.
Verify the creation processOracle ACFS in Oracle 11.2Using ASMCMD to Create a volume ACFS_VOL1 with size 1GB.
Verify the creation processOracle ACFS in Oracle 11.2Create the file systemRegister the file system using acfsutil –a. It mounts the ACFS automatically.
Oracle ACFS in Oracle 11.2ACFS can be dynamically resized (expand/shrink)
 Example extend/u01/acfs with 2GB
/sbin/acfsutil size +2G /u01/acfsOracle ACFS in Oracle 11.2ACFS snapshotOnline read-only point in time copy of the ACFSACFS store metadata in the ACFS volume for directories, filenames and pointers to file blocks. As a file on ACFS gets modified the original blocks are copied for recovery into the snapshot.Useful for :Recovery as of the snapshot timeConsistent backup of the files in the snapshotYou can have up to 63 snapshots per volume
Oracle ACFS in Oracle 11.2Create snapshots: /sbin/acfsutil snap create    <snap_name> <mountpoint>.ACFS directory created as a subdirectory to the ACFS with two subdirectoriessnap : store the snapshot data
repl
  Delete snapshots: /sbin/acfsutil snap delete    <snap_name> <mountpoint>
Oracle ACFS in Oracle 11.2ACFS snapshot stores the data in .ACFS/snaps/<snapshot-name> directoryExample:Make a snapshot on ACFS file system
Use the snapshot as a backup to restore ( from point in time copy)
Oracle internally maintains the file integrityOracle ACFS in Oracle 11.2Obtain ACFS info[oracle@raclinux1 u03]$ /sbin/acfsutil  info fs /u03/u03    ACFS Version: 11.2.0.2.0    flags:        MountPoint,Available    mount time:   Mon Jul 11 15:51:45 2011    volumes:      1    total size:   10737418240    total free:   10514800640    primary volume: /dev/asm/datavol-239        label:                         flags:                 Primary,Available,ADVM        on-disk version:       39.0        allocation unit:       4096        major, minor:          252, 122369        size:                  10737418240        free:                  10514800640        ADVM diskgroup         DATA        ADVM resize increment: 268435456        ADVM redundancy:       unprotected        ADVM stripe columns:   4        ADVM stripe width:     131072    number of snapshots:  0    snapshot space usage: 0[oracle@raclinux1 u03]$ [oracle@raclinux1 u03]$ /sbin/acfsutil  info fs /u03/u03    ACFS Version: 11.2.0.2.0    flags:        MountPoint,Available    mount time:   Mon Jul 11 15:51:45 2011    volumes:      1    total size:   10737418240    total free:   10514767872    primary volume: /dev/asm/datavol-239        label:                         flags:                 Primary,Available,ADVM        on-disk version:       39.0        allocation unit:       4096        major, minor:          252, 122369        size:                  10737418240        free:                  10514767872        ADVM diskgroup         DATA        ADVM resize increment: 268435456        ADVM redundancy:       unprotected        ADVM stripe columns:   4        ADVM stripe width:     131072number of snapshots:  1    snapshot space usage: 32768[oracle@raclinux1 u03]$
Oracle ACFS in Oracle 11.2
Oracle ACFS in Oracle 11.2
Oracle ACFS in Oracle 11.2
Oracle ACFS in Oracle 11.2
Oracle ACFS in Oracle 11.2Example Resize /u01/acfs3 from 2GB to 6GB
Oracle ACFS in Oracle 11.2
Oracle ACFS in Oracle 11.2 /sbin/acfsutil size           [-|+]nnn[K|M|G|T|P] <path> - Resize file system
Oracle ACFS in Oracle 11.2ASM viewsSQL> desc v$asm_volume Name                                      Null?    Type ----------------------------------------- -------- ---------------------------- GROUP_NUMBER                                       NUMBER VOLUME_NAME                                        VARCHAR2(30) COMPOUND_INDEX                                     NUMBER SIZE_MB                                            NUMBER VOLUME_NUMBER                                      NUMBER REDUNDANCY                                         VARCHAR2(6) STRIPE_COLUMNS                                     NUMBER STRIPE_WIDTH_K                                     NUMBER STATE                                              VARCHAR2(8) FILE_NUMBER                                        NUMBER INCARNATION                                        NUMBER DRL_FILE_NUMBER                                    NUMBER RESIZE_UNIT_MB                                     NUMBER USAGE                                              VARCHAR2(30) VOLUME_DEVICE                                      VARCHAR2(256) MOUNTPATH                                          VARCHAR2(1024)SQL>SQL>  select * from v$asm_acfsvolumes;FS_NAME              VOL_DEVICE           VOL_LABEL            PRIMA   TOTAL_MB    FREE_MB-------------------- -------------------- -------------------- ----- ---------- ----------/u03                 /dev/asm/datavol-239                      TRUE       10240 9008.67969/u04                 /dev/asm/datavol1-23                      TRUE       10240 10091.6523                     9/u06                 /dev/asm/sec-351                          TRUE       29696 29476.8047SQL> select * from v$asm_filesystem;FS_NAME              AVAILABLE BLOCK_SIZE STATE         CORRU    NUM_VOL TOTAL_SIZE TOTAL_FREE TOTAL_SNAP_SPACE_USAGE-------------------- --------- ---------- ------------- ----- ---------- ---------- ---------- ----------------------/u03                 11-JUL-11          4 AVAILABLE     FALSE          1      10240 9008.67969                      0/u04                 11-JUL-11          4 AVAILABLE     TRUE           1      10240 10091.6523                .046875/u06                 11-JUL-11          4 AVAILABLE     TRUE           1      29696 29476.8047                      0SQL>
Oracle ACFS in Oracle 11.2ACFS information from asmcmd and acfcutil[oracle@raclinux1 u03]$ /sbin/acfsutil info fs  /u03/u03    ACFS Version: 11.2.0.2.0    flags:        MountPoint,Available    mount time:   Mon Jul 11 15:51:45 2011    volumes:      1    total size:   10737418240    total free:   9446285312    primary volume: /dev/asm/datavol-239        label:                         flags:                 Primary,Available,ADVM        on-disk version:       39.0        allocation unit:       4096        major, minor:          252, 122369        size:                  10737418240        free:                  9446285312        ADVM diskgroup         DATA        ADVM resize increment: 268435456        ADVM redundancy:       unprotected        ADVM stripe columns:   4        ADVM stripe width:     131072    number of snapshots:  0    snapshot space usage: 0[oracle@raclinux1 u03]$ASMCMD> volinfo -G data -aDiskgroup Name: DATA         Volume Name: DATAVOL         Volume Device: /dev/asm/datavol-239         State: ENABLED         Size (MB): 10240         Resize Unit (MB): 256         Redundancy: UNPROT         Stripe Columns: 4         Stripe Width (K): 128         Usage: ACFS         Mountpath: /u03          Volume Name: DATAVOL1         Volume Device: /dev/asm/datavol1-239         State: ENABLED         Size (MB): 10240         Resize Unit (MB): 256         Redundancy: UNPROT         Stripe Columns: 4         Stripe Width (K): 128         Usage: ACFS         Mountpath: /u04 ASMCMD> exit
Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 Designate a primary ACFS and DR standby ACFS asynchronously replicating changes across the network using Oracle Net.Capture changes into a log change file on the primary ACFS. Transfer the changes to similar log change file to the DR ACFS. After application on the DR ACFS changes are purged.Size properly ACFS to accommodate changes.Make sure that the network have sufficient bandwidth. Refer to the docs how to gather sizing statistics.
Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 LimitationsThere is presently only one standby site supported for a given primary files system.Only up to 8 nodes in a cluster can mount a file system.There is no support for ACFS file systems with encryption or ACFS security.Prerequisitescompatible.ASM=11.2.0.2 compatible.ADVM=11.2.0.2
Ad

More Related Content

What's hot (20)

Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
Ludovico Caldara
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
Ludovico Caldara
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
Anju Garg
 
Crating a Robust Performance Strategy
Crating a Robust Performance StrategyCrating a Robust Performance Strategy
Crating a Robust Performance Strategy
Guatemala User Group
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
pasalapudi123
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Leighton Nelson
 
Long live to CMAN!
Long live to CMAN!Long live to CMAN!
Long live to CMAN!
Ludovico Caldara
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
Vigilant Technologies
 
Oracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newOracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats new
Nassyam Basha
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex cluster
Ghanshyam Khetan
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
Ludovico Caldara
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
Trivadis
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
Satishbabu Gunukula
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Ludovico Caldara
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
Ludovico Caldara
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
Deiby Gómez
 
141 Rac
141 Rac141 Rac
141 Rac
Emanuel Mateus
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
Ludovico Caldara
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
Ludovico Caldara
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
Anju Garg
 
Crating a Robust Performance Strategy
Crating a Robust Performance StrategyCrating a Robust Performance Strategy
Crating a Robust Performance Strategy
Guatemala User Group
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
pasalapudi123
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Leighton Nelson
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Oracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats newOracle12c data guard farsync and whats new
Oracle12c data guard farsync and whats new
Nassyam Basha
 
Oracle flex asm & flex cluster
Oracle flex asm & flex clusterOracle flex asm & flex cluster
Oracle flex asm & flex cluster
Ghanshyam Khetan
 
Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?Oracle Drivers configuration for High Availability, is it a developer's job?
Oracle Drivers configuration for High Availability, is it a developer's job?
Ludovico Caldara
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
Trivadis
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Ludovico Caldara
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
Ludovico Caldara
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
Deiby Gómez
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And TricksCloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 

Similar to Oracle acfs in oracle 11 (20)

10g rac asm
10g rac asm10g rac asm
10g rac asm
Victor
 
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias ZarickTrivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis
 
General commands for navisphere cli
General commands for navisphere cliGeneral commands for navisphere cli
General commands for navisphere cli
msaleh1234
 
ASM
ASMASM
ASM
VINAY PANDEY
 
クラウド時代の半導体メモリー技術
クラウド時代の半導体メモリー技術クラウド時代の半導体メモリー技術
クラウド時代の半導体メモリー技術
Ryousei Takano
 
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASMRACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
Maaz Anjum
 
Les 01 Arch
Les 01 ArchLes 01 Arch
Les 01 Arch
vivaankumar
 
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
 
New Oracle Infrastructure2
New Oracle Infrastructure2New Oracle Infrastructure2
New Oracle Infrastructure2
markleeuw
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa
 
oracle dba
oracle dbaoracle dba
oracle dba
uday jampani
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
eraz
 
🔴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
Alireza Kamrani
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
Markus Michalewicz
 
Docker Security Paradigm
Docker Security ParadigmDocker Security Paradigm
Docker Security Paradigm
Anis LARGUEM
 
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Виталий Стародубцев
 
Ds8000 Practical Performance Analysis P04 20060718
Ds8000 Practical Performance Analysis P04 20060718Ds8000 Practical Performance Analysis P04 20060718
Ds8000 Practical Performance Analysis P04 20060718
brettallison
 
RAC+ASM: Stories to Share
RAC+ASM: Stories to ShareRAC+ASM: Stories to Share
RAC+ASM: Stories to Share
kutrovsky
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
Ajith Narayanan
 
Rac&asm
Rac&asmRac&asm
Rac&asm
Osama Mustafa
 
10g rac asm
10g rac asm10g rac asm
10g rac asm
Victor
 
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias ZarickTrivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis TechEvent 2017 ACFS Replication as of 12 2 by Mathias Zarick
Trivadis
 
General commands for navisphere cli
General commands for navisphere cliGeneral commands for navisphere cli
General commands for navisphere cli
msaleh1234
 
クラウド時代の半導体メモリー技術
クラウド時代の半導体メモリー技術クラウド時代の半導体メモリー技術
クラウド時代の半導体メモリー技術
Ryousei Takano
 
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASMRACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
RACATTACK Lab Handbook - Enable Flex Cluster and Flex ASM
Maaz Anjum
 
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
 
New Oracle Infrastructure2
New Oracle Infrastructure2New Oracle Infrastructure2
New Oracle Infrastructure2
markleeuw
 
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
Osama Mustafa
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
eraz
 
🔴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
Alireza Kamrani
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
Markus Michalewicz
 
Docker Security Paradigm
Docker Security ParadigmDocker Security Paradigm
Docker Security Paradigm
Anis LARGUEM
 
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Технологии работы с дисковыми хранилищами и файловыми системами Windows Serve...
Виталий Стародубцев
 
Ds8000 Practical Performance Analysis P04 20060718
Ds8000 Practical Performance Analysis P04 20060718Ds8000 Practical Performance Analysis P04 20060718
Ds8000 Practical Performance Analysis P04 20060718
brettallison
 
RAC+ASM: Stories to Share
RAC+ASM: Stories to ShareRAC+ASM: Stories to Share
RAC+ASM: Stories to Share
kutrovsky
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
Ajith Narayanan
 
Ad

Recently uploaded (20)

AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Ad

Oracle acfs in oracle 11

  • 1. Oracle ACFS in Oracle 11.2Concepts, Architecture, Deployment, Management and performance monitoringGuenadi N. Jilevski: OCP 7,8,8i,9i,10g 11g OCM 9i
  • 2. Oracle ACFS in Oracle 11.2Features & ConceptsACFS is General Purpose Cluster Multi OS file system integrated with Grid Infrastructure. (Linux, Windows, AIX, Solaris in Oracle 11.2 and Oracle 11.2.0.2)ACFS can be dynamically re-sized online. ACFS can be managed with ASMCA, ASMCMD, OEM, sqlplus, Linux/UNIX command line.ACFS is extend based.ACFS in build on top of ASM.ACFS depends on ASM striping.ACFS depends on ASM mirroring.ACFS is based on the ASM features. ( I/O and data balancing, disk group redundancy etc…)ACFS is build on top of ASM volumes.ASM volumes are created in a ASM disk group.ASM volumes can be used for any FS ( do not assume FS is clustered FS if using ASM volumes).Accessible via NAS protocols (NFS, CIFS), POSIX, X/OPEN compliant for Linux/Unix.ASM Software stack ( ASM replaces the functionality of the Volume manager and File System)
  • 3. Oracle ACFS in Oracle 11.2ASM concepts ( ADVM/ACFS) ASM Dynamic Volumes
  • 4. ASM volumes devices files in /dev/asm/<Volume-name>-<number> presented by ADVM as block devices
  • 5. OS kernel modules (Linux): oracleasm, oracleadvm, oracleoks and oracleacfs
  • 6. ASM layers are transparent to OS file system commands. Only files and directories created in ACFS and ACFS snapshots are visible.Oracle ACFS in Oracle 11.2ASM for FilesASM for ACFS volumesASM contains filesASM files are striped not disk volumes in case of LVMASM mirrors extends based on redundancy levelOnline disk reconfiguration and rebalancingFor fast mirror resynch tracks the changed extends.On extended clusters read from a preferred mirror extent that is localCluster awarePart of Grid InfrastructureASM volumes are ALSO ASM files. Exposed to the OS via ADVM by /dev/asm/<Volume-number>-<number>. Created once a volume is created.Inherit properties of disk group and behaves like ASM file. Rebalanced with add/remove disk to disk group.ADVM represents the ASM volume to OS. Behaves like any block devices.
  • 7. Oracle ACFS in Oracle 11.2ADVM processes in RAC ASMVDBG – Volume Driver Background forwards ASM requests to the dynamic volume manager driver (kernel). Death of VDBG kills ASM instance.VBGn – Volume Background processes wait for requests from dynamic volume manager driver (kernel) that need to be coordinated with ASM instance. Death of VBGn does NOT kill ASM instance.VMB – Volume Membership Background coordinates cluster membership with ASM instance. Death of VMB does NOT kill ASM instance.
  • 8. Oracle ACFS in Oracle 11.2RestrictionsADVM volumes can not be used as boot devices or root file system.ADVM volumes can not be used for RAW devices.ADVM volume devices can not be used for multi-pathing.ADVM volumes can not be used with ASMlib. Do not layer ASM over ASM.ADVM volumes can not be partitioned with fdisk.ADVM volumes are not to be used for Oracle Grid Infrastructure installation.
  • 9. Oracle ACFS in Oracle 11.2Space allocation for volumes in ASM disk groupVAU – Volume Allocation Unit. Smallest allocation for a volume. On creation or extension of a volume space is allocated from an ASM disk group in multiples of VAU. Stripe is the number of Volume Extents within VAU. Can very from 1 to 8. Default is 4. If 1 than there is no striping.VAU=Stripe X Volume ExtentVE - Volume Extent has a static value based on AU. For a default AU=1MB the extent size is 64MB. Each volume extent is allocated round-robin on different disks of a disk group.Example: if stripe is 4 and AU is 1MB than VAU=4X64=256MB. Space is allocated in multiples of VAU. For a requested volume of 400MB a volume of 512MB consisting of 2 VAU will be created. In case of re-size space will be added in multiple of 256MB (VAU).
  • 10. Oracle ACFS in Oracle 11.2 Space allocation within a volumeVolume is created with Stripe column – number of stripes. Default 4. From 1 to 8. If 1 no striping.Stripe width – size of each stripe. Default 128K. Range from 4K, 8K,16K,32K,64K, 128K, 256K, 512K,1M.Space for the volume is allocated as explained in VAU from ASM disk group.Space within the volume, when a file is created/resized on the ACFS, is allocated in chunks: size of VAU
  • 11. the size of the strip width round-robin across all of the VE in the VAU.Oracle ACFS in Oracle 11.2Steps to create an ACFSPrerequisites: compatible.asm>=11.2compatible.advm>=11.2, compatible.asm>=compatible.advmLoad ADVM drivers $GI_HOME/bin/acfsload start –s as root on Oracle Restart only. For clustered Oracle GI in ASM RAC is automatically loaded.Create the ASM volumeCreate the mount pointMake the file system as root or GI ownerMount the file system as root unless using /sbin/acfsutil as GI owner.Register the file system. For the file system to persists reboot register it similarly to /etc/fstab with acfsutil. Registering the File System automatically mounts the file system on restart/reboot and manage it as CRS resource. GI owner for /sbin/acfsutil.
  • 12. Oracle ACFS in Oracle 11.2ASMCA
  • 13. Oracle ACFS in Oracle 11.2ASMCANote: ACFSUTIL registers and mounts the ACFS. After restart ACFS will be mounted. Similar to /etc/fstab functionality
  • 14. DB Home FS=GP FS + Register Mount PointOracle ACFS in Oracle 11.2Using sqlplus to Create a volume ACFS_VOL2 with size 2GB.
  • 15. Verify the creation processOracle ACFS in Oracle 11.2Using ASMCMD to Create a volume ACFS_VOL1 with size 1GB.
  • 16. Verify the creation processOracle ACFS in Oracle 11.2Create the file systemRegister the file system using acfsutil –a. It mounts the ACFS automatically.
  • 17. Oracle ACFS in Oracle 11.2ACFS can be dynamically resized (expand/shrink)
  • 19. /sbin/acfsutil size +2G /u01/acfsOracle ACFS in Oracle 11.2ACFS snapshotOnline read-only point in time copy of the ACFSACFS store metadata in the ACFS volume for directories, filenames and pointers to file blocks. As a file on ACFS gets modified the original blocks are copied for recovery into the snapshot.Useful for :Recovery as of the snapshot timeConsistent backup of the files in the snapshotYou can have up to 63 snapshots per volume
  • 20. Oracle ACFS in Oracle 11.2Create snapshots: /sbin/acfsutil snap create <snap_name> <mountpoint>.ACFS directory created as a subdirectory to the ACFS with two subdirectoriessnap : store the snapshot data
  • 21. repl
  • 22. Delete snapshots: /sbin/acfsutil snap delete <snap_name> <mountpoint>
  • 23. Oracle ACFS in Oracle 11.2ACFS snapshot stores the data in .ACFS/snaps/<snapshot-name> directoryExample:Make a snapshot on ACFS file system
  • 24. Use the snapshot as a backup to restore ( from point in time copy)
  • 25. Oracle internally maintains the file integrityOracle ACFS in Oracle 11.2Obtain ACFS info[oracle@raclinux1 u03]$ /sbin/acfsutil info fs /u03/u03 ACFS Version: 11.2.0.2.0 flags: MountPoint,Available mount time: Mon Jul 11 15:51:45 2011 volumes: 1 total size: 10737418240 total free: 10514800640 primary volume: /dev/asm/datavol-239 label: flags: Primary,Available,ADVM on-disk version: 39.0 allocation unit: 4096 major, minor: 252, 122369 size: 10737418240 free: 10514800640 ADVM diskgroup DATA ADVM resize increment: 268435456 ADVM redundancy: unprotected ADVM stripe columns: 4 ADVM stripe width: 131072 number of snapshots: 0 snapshot space usage: 0[oracle@raclinux1 u03]$ [oracle@raclinux1 u03]$ /sbin/acfsutil info fs /u03/u03 ACFS Version: 11.2.0.2.0 flags: MountPoint,Available mount time: Mon Jul 11 15:51:45 2011 volumes: 1 total size: 10737418240 total free: 10514767872 primary volume: /dev/asm/datavol-239 label: flags: Primary,Available,ADVM on-disk version: 39.0 allocation unit: 4096 major, minor: 252, 122369 size: 10737418240 free: 10514767872 ADVM diskgroup DATA ADVM resize increment: 268435456 ADVM redundancy: unprotected ADVM stripe columns: 4 ADVM stripe width: 131072number of snapshots: 1 snapshot space usage: 32768[oracle@raclinux1 u03]$
  • 26. Oracle ACFS in Oracle 11.2
  • 27. Oracle ACFS in Oracle 11.2
  • 28. Oracle ACFS in Oracle 11.2
  • 29. Oracle ACFS in Oracle 11.2
  • 30. Oracle ACFS in Oracle 11.2Example Resize /u01/acfs3 from 2GB to 6GB
  • 31. Oracle ACFS in Oracle 11.2
  • 32. Oracle ACFS in Oracle 11.2 /sbin/acfsutil size [-|+]nnn[K|M|G|T|P] <path> - Resize file system
  • 33. Oracle ACFS in Oracle 11.2ASM viewsSQL> desc v$asm_volume Name Null? Type ----------------------------------------- -------- ---------------------------- GROUP_NUMBER NUMBER VOLUME_NAME VARCHAR2(30) COMPOUND_INDEX NUMBER SIZE_MB NUMBER VOLUME_NUMBER NUMBER REDUNDANCY VARCHAR2(6) STRIPE_COLUMNS NUMBER STRIPE_WIDTH_K NUMBER STATE VARCHAR2(8) FILE_NUMBER NUMBER INCARNATION NUMBER DRL_FILE_NUMBER NUMBER RESIZE_UNIT_MB NUMBER USAGE VARCHAR2(30) VOLUME_DEVICE VARCHAR2(256) MOUNTPATH VARCHAR2(1024)SQL>SQL> select * from v$asm_acfsvolumes;FS_NAME VOL_DEVICE VOL_LABEL PRIMA TOTAL_MB FREE_MB-------------------- -------------------- -------------------- ----- ---------- ----------/u03 /dev/asm/datavol-239 TRUE 10240 9008.67969/u04 /dev/asm/datavol1-23 TRUE 10240 10091.6523 9/u06 /dev/asm/sec-351 TRUE 29696 29476.8047SQL> select * from v$asm_filesystem;FS_NAME AVAILABLE BLOCK_SIZE STATE CORRU NUM_VOL TOTAL_SIZE TOTAL_FREE TOTAL_SNAP_SPACE_USAGE-------------------- --------- ---------- ------------- ----- ---------- ---------- ---------- ----------------------/u03 11-JUL-11 4 AVAILABLE FALSE 1 10240 9008.67969 0/u04 11-JUL-11 4 AVAILABLE TRUE 1 10240 10091.6523 .046875/u06 11-JUL-11 4 AVAILABLE TRUE 1 29696 29476.8047 0SQL>
  • 34. Oracle ACFS in Oracle 11.2ACFS information from asmcmd and acfcutil[oracle@raclinux1 u03]$ /sbin/acfsutil info fs /u03/u03 ACFS Version: 11.2.0.2.0 flags: MountPoint,Available mount time: Mon Jul 11 15:51:45 2011 volumes: 1 total size: 10737418240 total free: 9446285312 primary volume: /dev/asm/datavol-239 label: flags: Primary,Available,ADVM on-disk version: 39.0 allocation unit: 4096 major, minor: 252, 122369 size: 10737418240 free: 9446285312 ADVM diskgroup DATA ADVM resize increment: 268435456 ADVM redundancy: unprotected ADVM stripe columns: 4 ADVM stripe width: 131072 number of snapshots: 0 snapshot space usage: 0[oracle@raclinux1 u03]$ASMCMD> volinfo -G data -aDiskgroup Name: DATA Volume Name: DATAVOL Volume Device: /dev/asm/datavol-239 State: ENABLED Size (MB): 10240 Resize Unit (MB): 256 Redundancy: UNPROT Stripe Columns: 4 Stripe Width (K): 128 Usage: ACFS Mountpath: /u03 Volume Name: DATAVOL1 Volume Device: /dev/asm/datavol1-239 State: ENABLED Size (MB): 10240 Resize Unit (MB): 256 Redundancy: UNPROT Stripe Columns: 4 Stripe Width (K): 128 Usage: ACFS Mountpath: /u04 ASMCMD> exit
  • 35. Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 Designate a primary ACFS and DR standby ACFS asynchronously replicating changes across the network using Oracle Net.Capture changes into a log change file on the primary ACFS. Transfer the changes to similar log change file to the DR ACFS. After application on the DR ACFS changes are purged.Size properly ACFS to accommodate changes.Make sure that the network have sufficient bandwidth. Refer to the docs how to gather sizing statistics.
  • 36. Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 LimitationsThere is presently only one standby site supported for a given primary files system.Only up to 8 nodes in a cluster can mount a file system.There is no support for ACFS file systems with encryption or ACFS security.Prerequisitescompatible.ASM=11.2.0.2 compatible.ADVM=11.2.0.2
  • 37. Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 Example: Primary ACFS based on volume prim mounted on /u05 and DR secondary ACFS based on volume sec mounted on /u06.ACFS needs to be mounted on only one node (primary) during setup.Use the following commends for mount dismount./bin/umount /dev/asm/prim-481 # Unmount on raclinux1,raclinux2/bin/mount -t acfs /dev/asm/prim-481 /u05 # Mount on raclinux1,raclinux2/bin/mount -t acfs /dev/asm/sec-351 /u06 # Mount on raclinux1,raclinux2/bin/umount /dev/asm/sec-351 # Mount on on raclinux1,raclinux2/sbin/mount.acfs -o all # Mount all on raclinux1, raclinux2
  • 38. Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 Create a user on ASM with sysasm and sysdba privileges (oracle in the example)Create a service for the primary site (prim) and secondary site(sec). +ASMn will not work.Initiate the standby ACFS[root@raclinux1 bin]# /sbin/acfsutil repl init standby -p oracle/oracle@prim -c sec /u06 Where prim is the service created in bullet two and oracle is the user created in bullet one. Note that before starting the initiation the standby and primary site you need to have the ACFS mounted on only one node ,that is, you need to dismount the both /u05 and /u06 on raclinux2 node.Initiate the primary ACFS while as root ( In case of failure re-Initiate the standby) [root@raclinux1 bin]# /sbin/acfsutil repl init primary -s oracle/oracle@sec -m /u06 -c prim /u05validating the remote connection validating the remote connectionvalidating the remote connectionacfsutil repl init: ACFS-05050: remote connection cannot be establishedacfsutil repl init: ACFS-05052: standby replication site requires reinitialization[root@raclinux1 bin]# /sbin/acfsutil repl init standby -p oracle/oracle@prim -c sec /u06[root@raclinux1 bin]#[root@raclinux1 bin]# /sbin/acfsutil repl init primary -s oracle/oracle@sec -m /u06 -c prim /u05remote connection has been establishedRegistering with user specified service name-primwaiting for the standby replication site to initializewaiting for the standby replication site to initializeThe standby replication site is initialized. ACFS replication will begin.[root@raclinux1 bin]#Step 4 starts the processes for ACFS replication and we can use already the ACFS replication. The replication can be validated and configuration checked with the following commands.
  • 39. Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 Validation[root@raclinux1 bin]# /sbin/acfsutil repl info -c -v /u06Site: StandbyStandby status: OnlineStandby mount point: /u06Standby Oracle Net service name: secPrimary mount point: /u05Primary Oracle Net service name: PRIMPrimary Oracle Net alias: oracle/****@primReplicated tags:Log compression: OffDebug log level: 0[root@raclinux1 bin]# [root@raclinux1 bin]# /sbin/acfsutil repl bg info /u06Resource: ora.repl.transport.sec.sec.acfsTarget State: ONLINECurrent State: ONLINE on raclinux1Resource: ora.repl.main.sec.sec.acfsTarget State: ONLINECurrent State: ONLINE on raclinux1Resource: ora.repl.apply.sec.sec.acfsTarget State: ONLINECurrent State: ONLINE on raclinux1[root@raclinux1 bin]#Mount primary and standby ACFS on all nodes of the cluster.Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 Managing Replication
  • 41. # /sbin/acfsutil repl info -c -v /u06
  • 42. # /sbin/acfsutil repl info -c -v /u05
  • 43. # /sbin/acfsutil repl info -s -v /u05
  • 44. Start & Stop replication : Although ACFS replication is automatically started after initiation and registered with Grid Infrastructure as a resource for automatic restart the acfsutil repl bg command can be used to start and stop the background processes and daemons implementing the replication.
  • 45. # /sbin/acfsutil repl bg stop /u06
  • 46. # /sbin/acfsutil repl bg start /u06
  • 47. Suspending and resuming ACFS replication. ACFS replication can be manually suspended and resumed. Prior to pausing the replication the sync must be executed. Pausing and resuming ACFS replication are done using the acfsutl repl [ pause | resume] /standby_fs command. Here we are going to suspend replication, resume replication create a file in the primary ACFS to synchronize with the standby ACFS file system.Oracle ACFS in Oracle 11.2 Oracle 11gR2 ACFS Replication – New feature in 11.2.0.2 # sync# /sbin/acfsutil repl pause /u06# /sbin/acfsutil repl info -s -v /u05——————————————————-Fri Dec 3 14:49:52 2010 – Fri Dec 3 16:44:18 2010——————————————————-Data replicated: 5.01GBFrom writes: 5.01GBFrom memory mapped updates: 0.00GBFile operations replicated: 11......................................## /sbin/acfsutil repl resume /u06## Create another 1GB file on /u05# /sbin/acfsutil repl sync /u05# /sbin/acfsutil repl sync apply /u05# /sbin/acfsutil repl info -s -v /u05——————————————————-Fri Dec 3 14:49:52 2010 – Fri Dec 3 16:56:55 2010——————————————————-Data replicated: 6.01GBFrom writes: 6.01GBFrom memory mapped updates: 0.00GBFile operations replicated: 19........................................#
  • 48. Oracle ACFS in Oracle 11.2 Q & A