SlideShare a Scribd company logo
1 of 28
©2012TietoCorporation
Oracle Cloud
Storage and File
system
Andrejs Karpovs
Oracle Apps DBA
Tieto,
andrejs.karpovs@tieto.com
© 2012 Tieto Corporation
Few notes about me
•I
• Am a Oracle Apps DBA
• Have 4 years exprerience working with Oracle products
• Am 10g/11g OCP certified
• Sometimes blog at: adbaday.wordpress.com
• More often tweet as @akarpov_
© 2012 Tieto Corporation
Agenda
• Cloud Storage
• Cloud file system (focus)
o Background
o Features
o Use cases
o Demos
o Tips
© 2012 Tieto Corporation
Some Questions
• Who has heard of Oracle Cloud Storage?
• Who has heard of ACFS?
• Who uses ACFS?
4 2012-03-14
© 2012 Tieto Corporation
ACFS
• = ASM Cluster file system or Automatic Storage
Management Cluster file system
• ASM appeared with 10g
• ACFS extension introduced in 11gR2
• In January 2011 ACFS has been rebranded to Oracle Cloud
file system
• Oracle Cloud Storage = ASM + ADVM + ACFS
5 2012-03-14
© 2012 Tieto Corporation
Cloud Storage - architecture
6 2012-03-14
© 2012 Tieto Corporation
ASM Cluster File System (AFCS)
• Introduced in Grid Infrastructure 11gR2
• Built from the traditional ASM disk groups
• General purpose file system
• Uses standard file related system calls like others file
systems in the market
• Disk creation for ACFS is performed with a typical workflow
process
• Requires ASM Dynamic volume
• Supported on RH/EL 5.x ACFS Supported On OS Platforms.
[ID 1369107.1]
7 2012-03-14
© 2012 Tieto Corporation
ASM Dynamic Volumes and ADVM
• Used for creating dynamic volumes
• Similar as other logical volumes
• Designed for cluster and single host volumes
• Loadable kernel driver
• ASM features
• Dynamic storage provisioning
• Cross platform (Windows, Unix)
• Easy to manage using asmcmd, asmca, EM and SQL
8 2012-03-14
© 2012 Tieto Corporation
Overview
9 2012-03-14
© 2012 Tieto Corporation
Demo
10 2012-03-14
© 2012 Tieto Corporation
ACFS deployment
• Two types of ACFS file systems:
• CRS Managed ACFS (for example, ORACLE_HOME)
• Clusterwide by default
• Automatically creates a dependency with placed resource (DB)
• General Purpose ACFS
• No structural differences
• Does not support Oracle Database files (controlfiles,
datafiles, online redo logs, etc.)
• Does not support grid home installation
• From 11.2.0.3 supports RMAN backups (backupsets),
archivelogs and Data Pump dumpsets
11 2012-03-14
© 2012 Tieto Corporation
Demo
12 2012-03-14
© 2012 Tieto Corporation
ACFS Mount registry
• Persistent entry for each GP ACFS file system after reboot
• Similar to /etc/fstab on Linux
• Not needed for CRS Managed ACFS file systems
• Need for mounting GP FS during node startup
• /sbin/acfsutil registry -a -f -n ol58-1123-rac1 /dev/asm/u02-361 /u02
13 2012-03-14
© 2012 Tieto Corporation
Manage ACFS
• Online resize - be careful!
• There is a limit of 5 extents for the file system's internal storage
bitmap. This causes any attempts to increase the file system to fail
after it has been increased four or more times.
• Solution - /sbin/fsck -a -v -y -t acfs /dev/asm/acfs-368
• Decrease FS and increase again with increase size > decrease size
• Mount / umount (also via NFS protocol)
• Register
• Delete
14 2012-03-14
© 2012 Tieto Corporation
ACFS Disk Space Usage
• Preallocates large user files to improve performance when
writing data
• Keeps local bitmaps available to reduce contention on the
global storage bitmap when searching for free space
• This disk space is reported as in use by tools such as the
UNIX df command even though some of it may not actually be
allocated as of yet
15 2012-03-14
© 2012 Tieto Corporation
ACFS Snapshots
• Read / write snapshots from 11.2.0.3
• First Copy-on-Write (FCOW) methodology
• Available under .ACFS
• Point-in-time view of a file
• ACFS snapshots can be very useful for file-based recovery or for file
system backups
• Dynamic and space efficient
• Recovery using copy and replace
• Use case – ORACLE_HOME patching
16 2012-03-14
© 2012 Tieto Corporation
Demo
17 2012-03-14
© 2012 Tieto Corporation
ACFS Replication
• 11.2.0.3 feature
• Enabled replication of ACFS file systems across the network
to a remote site
• Replication logs are used to replicate from primary to
standby asynchronously
• Supports ACFS Tagging, needs specific configuration
18 2012-03-14
© 2012 Tieto Corporation
ACFS Tagging
• Assigns a common naming attribute to a group of files
• Selects files with tag for replication
• /sbin/acfsutil tag set logfiles -r /u02/logfiles/*.log
• /sbin/acfsutil repl init primary -s standby/standby@standby_site
tagname logfiles ...
• Avoids entire file system replication
• Requires some additional rpms and configuration
19 2012-03-14
© 2012 Tieto Corporation
ACFS Security
• Uses Realms, Rules, RuleSets, and Command Rules to
enforce security
• Modeled after Data Vault
• Realm is a virtual container for
• Users
• Files and dirs, access defined by security filters
• Rules and rule sets defining access
• Command rules to allow/disallow operations
• Fine grained access control
• Example: Grant functional consultant John read only access to
logfiles or outfiles between 9-11 pm for reporting purposes
20 2012-03-14
© 2012 Tieto Corporation
ACFS Encryption
• Enable users to encrypt data stored on disk
• Prevents unauthorized use of data in case of data loss or
theft
• Secure encryption keys to decode data
• File encryption key (FEK) – to encrypt file data
• Volume Encryption key (VEK) – to encrypt FEK
• As of now, security cannot be used with replication
• COMPATIBLE.ASM and COMPATIBLE.ADVM should be
set to 11.2.0.3
21 2012-03-14
© 2012 Tieto Corporation
Limits
• 63 snapshots
• Up to 64 mounts on 32 bit systems, and 256 mounts on 64
bit systems
• Do not use ACFS to store database files
• Do not use ADVM volume devices for bootstrap or root file
system
• Do not partition (fdisk) ADVM volume devices
22 2012-03-14
© 2012 Tieto Corporation
Benefits
• A better (faster and more reliable) alternative to traditional
NFS
• Dynamic management
• No need to separate storage administrators and ASM
administrators
• Mount it anywhere with NFS
• Features
• Performance
• Do not use ACFS on 32 bits!
• http://adbaday.wordpress.com/2011/11/11/grid-infrastructure-on-
rhel5-x86-story-oom-explained/
23 2012-03-14
© 2012 Tieto Corporation
Oracle Apps considerations
• Middleware
• eBusiness Suite application stack on ACFS
• Not specially certified
• Not Unsupported
• Ideal for placing shared log files, output files, etc
24 2012-03-14
© 2012 Tieto Corporation
Licencing
• Comes free out-of-the box with Grid Infrastructure
installation
• Free to use for Oracle DB, middleware, applications...
• Unless you want to store your personal files on ACFS
• No limitations in feature usage
25 2012-03-14
© 2012 Tieto Corporation
Documentation
• http://www.oracle.com/technetwork/products/cloud-
storage/index.html Oracle Cloud File System overview
• http://www.oracle.com/technetwork/products/cloud-
storage/acfs-technical-overview-514457.pdf ACFS technical
overview
• http://docs.oracle.com/cd/E11882_01/server.112/e18951/as
mfilesystem.htm#CBBFJCED Introduction to Oracle ACFS
26 2012-03-14
© 2012 Tieto Corporation
Q & A
•?
27 2012-03-14
©2012TietoCorporation
28 2012-03-14

More Related Content

What's hot

High Availability Options for Oracle Enterprise Manager 12c Cloud Control
High Availability Options for Oracle Enterprise Manager 12c Cloud ControlHigh Availability Options for Oracle Enterprise Manager 12c Cloud Control
High Availability Options for Oracle Enterprise Manager 12c Cloud Control
Simon Haslam
 

What's hot (20)

Oracle EBS R12.1.3_Installation_linux(64bit)_Pan_Tian
Oracle EBS R12.1.3_Installation_linux(64bit)_Pan_TianOracle EBS R12.1.3_Installation_linux(64bit)_Pan_Tian
Oracle EBS R12.1.3_Installation_linux(64bit)_Pan_Tian
 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
 
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
EBS in an hour: Build a Vision instance - FAST - in Oracle VirtualboxEBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
 
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
 
Using VirtualBox - Learn Oracle Database 12c and EBS R12
Using VirtualBox - Learn Oracle Database 12c and EBS R12Using VirtualBox - Learn Oracle Database 12c and EBS R12
Using VirtualBox - Learn Oracle Database 12c and EBS R12
 
Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guide
 
Running E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database ApplianceRunning E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database Appliance
 
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
 
Aman sharma hyd_12crac High Availability Day 2015
Aman sharma hyd_12crac High Availability Day 2015Aman sharma hyd_12crac High Availability Day 2015
Aman sharma hyd_12crac High Availability Day 2015
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation InstructionRAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
 
Making MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureMaking MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid Infrastructure
 
Editioning use in ebs
Editioning use in  ebsEditioning use in  ebs
Editioning use in ebs
 
Christo kutrovsky oracle rac solving common scalability problems
Christo kutrovsky   oracle rac solving common scalability problemsChristo kutrovsky   oracle rac solving common scalability problems
Christo kutrovsky oracle rac solving common scalability problems
 
Oracle RAC - Customer Proven Scalability
Oracle RAC - Customer Proven ScalabilityOracle RAC - Customer Proven Scalability
Oracle RAC - Customer Proven Scalability
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
 
High Availability Options for Oracle Enterprise Manager 12c Cloud Control
High Availability Options for Oracle Enterprise Manager 12c Cloud ControlHigh Availability Options for Oracle Enterprise Manager 12c Cloud Control
High Availability Options for Oracle Enterprise Manager 12c Cloud Control
 
Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2
Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2
Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime ReductionGLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
 
veshaal-singh-ebs-oracle cloud(iaas+paas)
veshaal-singh-ebs-oracle cloud(iaas+paas)veshaal-singh-ebs-oracle cloud(iaas+paas)
veshaal-singh-ebs-oracle cloud(iaas+paas)
 

Similar to Oracle cloud storage and file system

OOW13: Accelerate your Exadata deployment with the DBA skills you already have
OOW13: Accelerate your Exadata deployment with the DBA skills you already haveOOW13: Accelerate your Exadata deployment with the DBA skills you already have
OOW13: Accelerate your Exadata deployment with the DBA skills you already have
Marc Fielding
 

Similar to Oracle cloud storage and file system (20)

Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mwareBenchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
 
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
 
dbaas-clone
dbaas-clonedbaas-clone
dbaas-clone
 
les_01_core.ppt
les_01_core.pptles_01_core.ppt
les_01_core.ppt
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
Disaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduDisaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle Cloudu
 
Using Oracle Multitenant to efficiently manage development and test databases
Using Oracle Multitenant to efficiently manage development and test databasesUsing Oracle Multitenant to efficiently manage development and test databases
Using Oracle Multitenant to efficiently manage development and test databases
 
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
Installing your Oracle Software.ppt
Installing your Oracle Software.pptInstalling your Oracle Software.ppt
Installing your Oracle Software.ppt
 
OOW13: Accelerate your Exadata deployment with the DBA skills you already have
OOW13: Accelerate your Exadata deployment with the DBA skills you already haveOOW13: Accelerate your Exadata deployment with the DBA skills you already have
OOW13: Accelerate your Exadata deployment with the DBA skills you already have
 
Microservices with Terraform, Docker and the Cloud. IJug Chicago 2017-06-06
Microservices with Terraform, Docker and the Cloud. IJug Chicago 2017-06-06Microservices with Terraform, Docker and the Cloud. IJug Chicago 2017-06-06
Microservices with Terraform, Docker and the Cloud. IJug Chicago 2017-06-06
 
Oracle Storage a ochrana dat
Oracle Storage a ochrana datOracle Storage a ochrana dat
Oracle Storage a ochrana dat
 
Using Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cUsing Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12c
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
 
Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02
 
exploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptexploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.ppt
 
Exploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptExploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.ppt
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
 
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)Running Oracle EBS in the cloud (DOAG TECH17 edition)
Running Oracle EBS in the cloud (DOAG TECH17 edition)
 

Recently uploaded

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
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
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
 
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
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Oracle cloud storage and file system

  • 1. ©2012TietoCorporation Oracle Cloud Storage and File system Andrejs Karpovs Oracle Apps DBA Tieto, andrejs.karpovs@tieto.com
  • 2. © 2012 Tieto Corporation Few notes about me •I • Am a Oracle Apps DBA • Have 4 years exprerience working with Oracle products • Am 10g/11g OCP certified • Sometimes blog at: adbaday.wordpress.com • More often tweet as @akarpov_
  • 3. © 2012 Tieto Corporation Agenda • Cloud Storage • Cloud file system (focus) o Background o Features o Use cases o Demos o Tips
  • 4. © 2012 Tieto Corporation Some Questions • Who has heard of Oracle Cloud Storage? • Who has heard of ACFS? • Who uses ACFS? 4 2012-03-14
  • 5. © 2012 Tieto Corporation ACFS • = ASM Cluster file system or Automatic Storage Management Cluster file system • ASM appeared with 10g • ACFS extension introduced in 11gR2 • In January 2011 ACFS has been rebranded to Oracle Cloud file system • Oracle Cloud Storage = ASM + ADVM + ACFS 5 2012-03-14
  • 6. © 2012 Tieto Corporation Cloud Storage - architecture 6 2012-03-14
  • 7. © 2012 Tieto Corporation ASM Cluster File System (AFCS) • Introduced in Grid Infrastructure 11gR2 • Built from the traditional ASM disk groups • General purpose file system • Uses standard file related system calls like others file systems in the market • Disk creation for ACFS is performed with a typical workflow process • Requires ASM Dynamic volume • Supported on RH/EL 5.x ACFS Supported On OS Platforms. [ID 1369107.1] 7 2012-03-14
  • 8. © 2012 Tieto Corporation ASM Dynamic Volumes and ADVM • Used for creating dynamic volumes • Similar as other logical volumes • Designed for cluster and single host volumes • Loadable kernel driver • ASM features • Dynamic storage provisioning • Cross platform (Windows, Unix) • Easy to manage using asmcmd, asmca, EM and SQL 8 2012-03-14
  • 9. © 2012 Tieto Corporation Overview 9 2012-03-14
  • 10. © 2012 Tieto Corporation Demo 10 2012-03-14
  • 11. © 2012 Tieto Corporation ACFS deployment • Two types of ACFS file systems: • CRS Managed ACFS (for example, ORACLE_HOME) • Clusterwide by default • Automatically creates a dependency with placed resource (DB) • General Purpose ACFS • No structural differences • Does not support Oracle Database files (controlfiles, datafiles, online redo logs, etc.) • Does not support grid home installation • From 11.2.0.3 supports RMAN backups (backupsets), archivelogs and Data Pump dumpsets 11 2012-03-14
  • 12. © 2012 Tieto Corporation Demo 12 2012-03-14
  • 13. © 2012 Tieto Corporation ACFS Mount registry • Persistent entry for each GP ACFS file system after reboot • Similar to /etc/fstab on Linux • Not needed for CRS Managed ACFS file systems • Need for mounting GP FS during node startup • /sbin/acfsutil registry -a -f -n ol58-1123-rac1 /dev/asm/u02-361 /u02 13 2012-03-14
  • 14. © 2012 Tieto Corporation Manage ACFS • Online resize - be careful! • There is a limit of 5 extents for the file system's internal storage bitmap. This causes any attempts to increase the file system to fail after it has been increased four or more times. • Solution - /sbin/fsck -a -v -y -t acfs /dev/asm/acfs-368 • Decrease FS and increase again with increase size > decrease size • Mount / umount (also via NFS protocol) • Register • Delete 14 2012-03-14
  • 15. © 2012 Tieto Corporation ACFS Disk Space Usage • Preallocates large user files to improve performance when writing data • Keeps local bitmaps available to reduce contention on the global storage bitmap when searching for free space • This disk space is reported as in use by tools such as the UNIX df command even though some of it may not actually be allocated as of yet 15 2012-03-14
  • 16. © 2012 Tieto Corporation ACFS Snapshots • Read / write snapshots from 11.2.0.3 • First Copy-on-Write (FCOW) methodology • Available under .ACFS • Point-in-time view of a file • ACFS snapshots can be very useful for file-based recovery or for file system backups • Dynamic and space efficient • Recovery using copy and replace • Use case – ORACLE_HOME patching 16 2012-03-14
  • 17. © 2012 Tieto Corporation Demo 17 2012-03-14
  • 18. © 2012 Tieto Corporation ACFS Replication • 11.2.0.3 feature • Enabled replication of ACFS file systems across the network to a remote site • Replication logs are used to replicate from primary to standby asynchronously • Supports ACFS Tagging, needs specific configuration 18 2012-03-14
  • 19. © 2012 Tieto Corporation ACFS Tagging • Assigns a common naming attribute to a group of files • Selects files with tag for replication • /sbin/acfsutil tag set logfiles -r /u02/logfiles/*.log • /sbin/acfsutil repl init primary -s standby/standby@standby_site tagname logfiles ... • Avoids entire file system replication • Requires some additional rpms and configuration 19 2012-03-14
  • 20. © 2012 Tieto Corporation ACFS Security • Uses Realms, Rules, RuleSets, and Command Rules to enforce security • Modeled after Data Vault • Realm is a virtual container for • Users • Files and dirs, access defined by security filters • Rules and rule sets defining access • Command rules to allow/disallow operations • Fine grained access control • Example: Grant functional consultant John read only access to logfiles or outfiles between 9-11 pm for reporting purposes 20 2012-03-14
  • 21. © 2012 Tieto Corporation ACFS Encryption • Enable users to encrypt data stored on disk • Prevents unauthorized use of data in case of data loss or theft • Secure encryption keys to decode data • File encryption key (FEK) – to encrypt file data • Volume Encryption key (VEK) – to encrypt FEK • As of now, security cannot be used with replication • COMPATIBLE.ASM and COMPATIBLE.ADVM should be set to 11.2.0.3 21 2012-03-14
  • 22. © 2012 Tieto Corporation Limits • 63 snapshots • Up to 64 mounts on 32 bit systems, and 256 mounts on 64 bit systems • Do not use ACFS to store database files • Do not use ADVM volume devices for bootstrap or root file system • Do not partition (fdisk) ADVM volume devices 22 2012-03-14
  • 23. © 2012 Tieto Corporation Benefits • A better (faster and more reliable) alternative to traditional NFS • Dynamic management • No need to separate storage administrators and ASM administrators • Mount it anywhere with NFS • Features • Performance • Do not use ACFS on 32 bits! • http://adbaday.wordpress.com/2011/11/11/grid-infrastructure-on- rhel5-x86-story-oom-explained/ 23 2012-03-14
  • 24. © 2012 Tieto Corporation Oracle Apps considerations • Middleware • eBusiness Suite application stack on ACFS • Not specially certified • Not Unsupported • Ideal for placing shared log files, output files, etc 24 2012-03-14
  • 25. © 2012 Tieto Corporation Licencing • Comes free out-of-the box with Grid Infrastructure installation • Free to use for Oracle DB, middleware, applications... • Unless you want to store your personal files on ACFS • No limitations in feature usage 25 2012-03-14
  • 26. © 2012 Tieto Corporation Documentation • http://www.oracle.com/technetwork/products/cloud- storage/index.html Oracle Cloud File System overview • http://www.oracle.com/technetwork/products/cloud- storage/acfs-technical-overview-514457.pdf ACFS technical overview • http://docs.oracle.com/cd/E11882_01/server.112/e18951/as mfilesystem.htm#CBBFJCED Introduction to Oracle ACFS 26 2012-03-14
  • 27. © 2012 Tieto Corporation Q & A •? 27 2012-03-14