o rp o ra tion
Oracle Cloud
Storage and File
system
© 2012 Tieto Corporation
Few notes about me
•I
• Am a DBA • Work in Tieto
• Have 4 years exprerience working with Oracle products • Am 10g/11g OCP certified
• Am mainly working with Oracle Apps
• Sometimes blog at: adbaday.wordpress.com
• More often tweet as @akarpov_ • [email protected]
Agenda
• Cloud Storage
• Cloud file system (focus) • Features
• Benefits • Use cases • Demos
© 2012 Tieto Corporation
Questions
• Who has heard of Oracle Cloud Storage? • Who has heard of ACFS?
• Who uses ACFS?
Oracle Cloud Storage
• Big movement in IT towards Consolidation, Grid and Cloud Computing
• ASM appeared in 10gR1
© 2012 Tieto Corporation
Cloud Storage - architecture
• Picture with all components
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
• Requires ASM Dynamic volume
• Disk creation for ACFS is performed with a typical workflow process
• Supported on RH/EL 5.x ACFS Supported On OS Platforms. [ID 1369107.1]
• In January 2011 ACFS has been rebranded to Oracle Cloud file system
© 2012 Tieto Corporation
ASM Dynamic Volumes
• Similar as other logical volumes (for example, LVD in Linux) • All volume IO is processed through the ADVM driver
• Special file type asmvol used for creating ADVM Dynamic volumes
ASM Dynamic Volume manager (ADVM)
• Designed for cluster and single host volumes
• Loadable kernel driver
• ASM features
• Dynamic storage provisioning
• Cross platform (Linux, Windows, Unix)
© 2012 Tieto Corporation
Overview
© 2012 Tieto Corporation
ACFS deployment
• Two types of ACFS file systems:
• CRS Managed ACFS (for example, ORACLE_HOME) • 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
© 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
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 > descrease size
• Mount / umount (also via NFS protocol) • Register
© 2012 Tieto Corporation
ACFS Snapshots
• Read / write snapshots from 11.2.0.3
• First Copy-on-Write (FCOW) methodology • Available under .ACFS
• Accessing the snapshot will always provide a point-in-time view of a file
• ACFS snapshots can be very useful for file-based recovery or for filesystem backups
© 2012 Tieto Corporation
ACFS Replication
• Enabled replication of ACFS file systems across the network to a remote site
• Replication logs are used to replicate from primary to standby asynchronously
• Data Guard for FS => Complete DR solution
• Supports ACFS Tagging
ACFS Tagging
• Common naming attribute to a group of files • Select files with tag for replication
• Avoid entire file system replication
© 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 filesystem
• Do not partition (fdisk) ADVM volume devices
Benefits
• One software for everything • Dynamic management
• No need to separate storage administrators and ASM administrators
• Mount it anywhere with NFS • Features
• Performance
© 2012 Tieto Corporation
Oracle Apps considerations
• eBusiness Suite application stack on ACFS
• Not specially certified • Not Unsupported
• Ideal for placing shared log files, output files, etc
Licencing
• Comes free out-of-the box with Grid Infrastructure installation
• Unless you want to store your personal files on ACFS • No limitations in feature usage
© 2012 Tieto Corporation
Q & A
o
rp
o
ra