2012 Tieto Corporation Oracle Cloud Storage and File system Andrejs Karpovs Oracle Apps DBA Tieto, andrejs.karpovs@tieto.com
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_ andrejs.karpovs@gmail.com 2012 Tieto Corporation
Agenda Cloud Storage Cloud file system (focus) Features Benefits Use cases Demos Tips 2012 Tieto Corporation
Questions Who has heard of Oracle Cloud Storage? Who has heard of ACFS? Who uses ACFS? 4 2012 Tieto Corporation
Oracle Cloud Storage Big movement in IT towards Consolidation, Grid and Cloud Computing ASM appeared in 10gR1 ACFS extension introduced in 11gR2 5 2012 Tieto Corporation
Cloud Storage - architecture Picture with all components 6 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 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 7 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 8 2012 Tieto Corporation
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) Easy to manage using asmcmd, asmca, EM and SQL 9 2012 Tieto Corporation
Overview 10 2012 Tieto Corporation
Demo 11 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 12 2012 Tieto Corporation
Demo 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 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 > descrease size Mount / umount (also via NFS protocol) Register Delete 15 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 16 2012 Tieto Corporation
Demo 17 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 18 2012 Tieto Corporation
ACFS Tagging Common naming attribute to a group of files Select files with tag for replication Avoid entire file system replication Requires some additional rpms and configuration 19 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 20 2012 Tieto Corporation
Benefits One software for everything 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! 21 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 22 2012 Tieto Corporation
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 23 2012 Tieto Corporation
Q & A 24 2012 Tieto Corporation
2012 Tieto Corporation 25