0
©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 produ...
© 2012 Tieto Corporation
Agenda
• Cloud Storage
• Cloud file system (focus)
o Background
o Features
o Use cases
o Demos
o ...
© 2012 Tieto Corporation
Some Questions
• Who has heard of Oracle Cloud Storage?
• Who has heard of ACFS?
• Who uses ACFS?...
© 2012 Tieto Corporation
ACFS
• = ASM Cluster file system or Automatic Storage
Management Cluster file system
• ASM appear...
© 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 traditi...
© 2012 Tieto Corporation
ASM Dynamic Volumes and ADVM
• Used for creating dynamic volumes
• Similar as other logical volum...
© 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)
•...
© 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 /et...
© 2012 Tieto Corporation
Manage ACFS
• Online resize - be careful!
• There is a limit of 5 extents for the file system's i...
© 2012 Tieto Corporation
ACFS Disk Space Usage
• Preallocates large user files to improve performance when
writing data
• ...
© 2012 Tieto Corporation
ACFS Snapshots
• Read / write snapshots from 11.2.0.3
• First Copy-on-Write (FCOW) methodology
• ...
© 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...
© 2012 Tieto Corporation
ACFS Tagging
• Assigns a common naming attribute to a group of files
• Selects files with tag for...
© 2012 Tieto Corporation
ACFS Security
• Uses Realms, Rules, RuleSets, and Command Rules to
enforce security
• Modeled aft...
© 2012 Tieto Corporation
ACFS Encryption
• Enable users to encrypt data stored on disk
• Prevents unauthorized use of data...
© 2012 Tieto Corporation
Limits
• 63 snapshots
• Up to 64 mounts on 32 bit systems, and 256 mounts on 64
bit systems
• Do ...
© 2012 Tieto Corporation
Benefits
• A better (faster and more reliable) alternative to traditional
NFS
• Dynamic managemen...
© 2012 Tieto Corporation
Oracle Apps considerations
• Middleware
• eBusiness Suite application stack on ACFS
• Not special...
© 2012 Tieto Corporation
Licencing
• Comes free out-of-the box with Grid Infrastructure
installation
• Free to use for Ora...
© 2012 Tieto Corporation
Documentation
• http://www.oracle.com/technetwork/products/cloud-
storage/index.html Oracle Cloud...
© 2012 Tieto Corporation
Q & A
•?
27 2012-03-14
©2012TietoCorporation
28 2012-03-14
Upcoming SlideShare
Loading in...5
×

Oracle cloud storage and file system

351

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
351
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Oracle cloud storage and file system"

  1. 1. ©2012TietoCorporation Oracle Cloud Storage and File system Andrejs Karpovs Oracle Apps DBA Tieto, andrejs.karpovs@tieto.com
  2. 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. 3. © 2012 Tieto Corporation Agenda • Cloud Storage • Cloud file system (focus) o Background o Features o Use cases o Demos o Tips
  4. 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. 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. 6. © 2012 Tieto Corporation Cloud Storage - architecture 6 2012-03-14
  7. 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. 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. 9. © 2012 Tieto Corporation Overview 9 2012-03-14
  10. 10. © 2012 Tieto Corporation Demo 10 2012-03-14
  11. 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. 12. © 2012 Tieto Corporation Demo 12 2012-03-14
  13. 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. 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. 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. 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. 17. © 2012 Tieto Corporation Demo 17 2012-03-14
  18. 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. 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. 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. 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. 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. 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. 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. 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. 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. 27. © 2012 Tieto Corporation Q & A •? 27 2012-03-14
  28. 28. ©2012TietoCorporation 28 2012-03-14
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×