Innova&ve IT Solu&ons
Ma#hias Pölzinger
Senior Consultant
Oracle ACFS / Cloud File System –
Unleash your Business-‐criAcal ApplicaAons
Innova&ve IT Solu&ons
Speaker
Ma#hias Pölzinger ma#[email protected]
h#p://kb.initso.at
Senior Consultant
Database High Availability and High Performance Systems
© 2011, InnovaAve IT SoluAons 2
Innova&ve IT Solu&ons
Contents
! Availablity requirements
! ASM Cluster File System Overview
! Fields of applicaAon ! New Features 11.2.0.2 /11.2.0.3 ! Licensing ! Summary
© 2011, InnovaAve IT SoluAons 3
Innova&ve IT Solu&ons
Availability requirements
! Permanently increasing requirements on availability
! DownAme of business-‐criAcal applicaAons unimaginable
! Data loss can jeopardize existence
! As well with limited budget
© 2011, InnovaAve IT SoluAons 4
Innova&ve IT Solu&ons
Availability requirements
! On occurence, downAmes have to be resolved immediately
© 2011, InnovaAve IT SoluAons 5
Innova&ve IT Solu&ons
Review High Availability
! Basic system
© 2011, InnovaAve IT SoluAons 6
Innova&ve IT Solu&ons
Review High Availability
! Failover cluster
© 2011, InnovaAve IT SoluAons 7
Innova&ve IT Solu&ons
Review High Availability
! Real ApplicaAon Cluster
© 2011, InnovaAve IT SoluAons 8
Innova&ve IT Solu&ons
Review High Availability
! (Extended) Distance Real ApplicaAon Cluster
© 2011, InnovaAve IT SoluAons 9
Innova&ve IT Solu&ons
Review High Availability
! Standby
© 2011, InnovaAve IT SoluAons 10
Innova&ve IT Solu&ons
Review High Availability
! Oracle technologies focused on Oracle Databases ! External data not considered ! ProblemaAc with: – BFILEs – SQL*Loader – External Tables – etc.
© 2011, InnovaAve IT SoluAons 11
Innova&ve IT Solu&ons
Review High Availability
! Local File Systems
© 2011, InnovaAve IT SoluAons 12
Innova&ve IT Solu&ons
Review High Availability
! 3rd Party Cluster File System / OCFS
© 2011, InnovaAve IT SoluAons 13
Innova&ve IT Solu&ons
Review High Availability
! NFS / CIFS / Samba
© 2011, InnovaAve IT SoluAons 14
Innova&ve IT Solu&ons
Review High Availability
! Failover File System
© 2011, InnovaAve IT SoluAons 15
Innova&ve IT Solu&ons
Review High Availability
! Local High Availability
! ReplicaAon to second locaAon sAll requires addiAonal soluAons
! High maintenance effort
! Interference in mulAple areas with high complexity
© 2011, InnovaAve IT SoluAons 16
Innova&ve IT Solu&ons
Review High Availability
! Important limitaAon on Standard EdiAon RAC
© 2011, InnovaAve IT SoluAons 17
Oracle Database Licensing Informa4on / Special-‐Use Licensing:
No other cluster so,ware can be installed on the system, including OCFS, OCFS2, third-‐party clusterware, third-‐party cluster volume managers, and third-‐party cluster file systems.
Innova&ve IT Solu&ons
Oracle ACFS
! Enhances ASM by storing all „none-‐database files“:
– Oracle Homes und Logfiles
– ApplicaAon data
! POSIX/X-‐OPEN compliant file system mainly for cluster environments
© 2011, InnovaAve IT SoluAons 18
Innova&ve IT Solu&ons
Oracle ACFS
! Enables sharing data via: – NFS – CIFS
! Rounds out ASM as a complete storage soluAon
! Based on the exisAng management features
© 2011, InnovaAve IT SoluAons 19
Innova&ve IT Solu&ons
Structure of Oracle ACFS
© 2011, InnovaAve IT SoluAons 20
Innova&ve IT Solu&ons
Structure of Oracle ACFS
© 2011, InnovaAve IT SoluAons 21
Innova&ve IT Solu&ons
Structure of Oracle ACFS
© 2011, InnovaAve IT SoluAons 22
Innova&ve IT Solu&ons
Structure of Oracle ACFS
© 2011, InnovaAve IT SoluAons 23
Innova&ve IT Solu&ons
ACFS Features
! MulAplakorm cluster file system
! Unified mulAplakorm soluAon
! UAlizaAon of all ASM disk group management features:
– Add / Remove disks – Rebalancing – Mirroring
© 2011, InnovaAve IT SoluAons 24
Innova&ve IT Solu&ons
ACFS Features
! Online size adjustments:
– Expansion
– ReducAon (limited)
! Customizable mirror protecAon
! Snapshots
© 2011, InnovaAve IT SoluAons 25
Innova&ve IT Solu&ons
Fields of ApplicaAon
! No longer limited on NAS / 3rd Party CFS
© 2011, InnovaAve IT SoluAons 26
Lokales FS NAS Cluster FS Lokales FS
proddb1 proddb2
Innova&ve IT Solu&ons
Fields of ApplicaAon
! External data in Real ApplicaAon Clusters
© 2011, InnovaAve IT SoluAons 27
ASM ACFS
proddb1 proddb2
Database files External applicaAon data
Innova&ve IT Solu&ons
Fields of ApplicaAon
! CIFS / NFS Sharing
© 2011, InnovaAve IT SoluAons 28
ACFS
proddb1 proddb2
BFILEs, External Tables, File creaAon / processing
CIFS / NFS Server 1 CIFS / NFS Server 2
Client
Innova&ve IT Solu&ons
Fields of ApplicaAon
! Storage Mirroring
© 2011, InnovaAve IT SoluAons 29
Innova&ve IT Solu&ons
Fields of ApplicaAon
! (Extended) Distance RAC
© 2011, InnovaAve IT SoluAons 30
Innova&ve IT Solu&ons
Benefits
! Unified mulAplakorm soluAon
! No longer limited to NAS or Cluster FS soluAons
! Make use of synergies
! Less management effort
! Reduced costs (in terms of storage replicaAon, mirroring, etc.)
© 2011, InnovaAve IT SoluAons 31
Innova&ve IT Solu&ons
Availablity
© 2011, InnovaAve IT SoluAons 32
Version Linux Windows Solaris IBM AIX
11.2.0.1
11.2.0.2
11.2.0.3
1) RHEL 5 and OEL 5 (OEK excluded) 2) SLES 10 3) Windows Server 2003 x64 R1/R2 4) Windows Server 2008 5) Limited features
1)
2) 5) / 6) 5) / 7)
5) / 7) 5) / 6)
3)
6) Oracle Solaris 10 Update 6 or higher 7) AIX 6.1
4) / 5)
Innova&ve IT Solu&ons
New Features 11.2.0.2
! ACFS ReplicaAon – Enables replicaAon of Oracle ACFS – Disaster recovery – Supports one standby FS – Primary / Standby plakorm must be equal
– Can be narrowed down to folders or files
© 2011, InnovaAve IT SoluAons 33
Innova&ve IT Solu&ons
New Features 11.2.0.2
! ACFS ReplicaAon
© 2011, InnovaAve IT SoluAons 34
Innova&ve IT Solu&ons
New Features 11.2.0.2
! ACFS Tagging – Assignment of a#ributes to files / folders
– Based on extended a#ributes
– Support by applicaAons must exist
– Used to establish parAal ACFS ReplicaAon
© 2011, InnovaAve IT SoluAons 35
Innova&ve IT Solu&ons
New Features 11.2.0.2
! ACFS Security – Realm Based Security
– Realm equals a group of files / folders
– Access to Realm limited by Rules / Rule Sets
! Can not be used with ACFS ReplicaAon
© 2011, InnovaAve IT SoluAons 36
Innova&ve IT Solu&ons
New Features 11.2.0.2
! ACFS Security acts as an addiAonal security layer
© 2011, InnovaAve IT SoluAons 37
Innova&ve IT Solu&ons
New Features 11.2.0.2
! ACFS EncrypAon – Enables encrypted storage on disks – Prevent unauthorized use of data in case of data loss / then
– Coexistence of encrypted und decrypted data in one file system
! Can not be used with ACFS ReplicaAon
© 2011, InnovaAve IT SoluAons 38
Innova&ve IT Solu&ons
New Features 11.2.0.3
! Read / Write Snapshots
! Support for:
– RMAN Backup Sets
– Archive Logs – Data Pump Dump Sets
© 2011, InnovaAve IT SoluAons 39
Innova&ve IT Solu&ons
Availability New Features
© 2011, InnovaAve IT SoluAons 40
Feature Linux Windows Solaris IBM AIX
ReplicaAon
Tagging
Security
EncrypAon
1) 11.2.0.2 2) 11.2.0.3
2)
2)
2)
2)
1)
1)
1)
1)
Innova&ve IT Solu&ons
Oracle Cloud File System
! So what about Cloud File System now? :-‐)
© 2011, InnovaAve IT SoluAons 41
Innova&ve IT Solu&ons
Oracle Cloud File System
© 2011, InnovaAve IT SoluAons 42
proddb1 proddb2
CIFS / NFS Server 1 CIFS / NFS Server 2
Client
ACFS
Innova&ve IT Solu&ons
Oracle Cloud File System 1/2
! AutomaAc Storage Management (ASM)
! ASM Dynamic Volume Manager (ADVM)
! ASM Cluster File System (ACFS)
! ACFS File tagging for aggregate operaAons
! ACFS Read-‐only snapshots
© 2011, InnovaAve IT SoluAons 43
Innova&ve IT Solu&ons
Oracle Cloud File System 2/2
! ACFS ConAnuous replicaAon
! ACFS EncrypAon
! ACFS Role-‐based security
! Oracle Clusterware (in support of ASM and ACFS)
© 2011, InnovaAve IT SoluAons 44
Innova&ve IT Solu&ons
Licensing
! Oracle Clusterware can be used when – one or all cluster nodes are part of a valid Unbreakable Linux support contract
– at least one node is licensed for Oracle EE or SE
! In addiAon if – the sonware protected is an Oracle product – the sonware protected stores its data in an Oracle database
© 2011, InnovaAve IT SoluAons 45
Innova&ve IT Solu&ons
Licensing
© 2011, InnovaAve IT SoluAons 46
Innova&ve IT Solu&ons
Licensing
! Restricted Use License Oracle Cloud FS
© 2011, InnovaAve IT SoluAons 47
Oracle Database Licensing Informa4on / Special-‐Use Licensing:
A restricted use license to use Oracle Cloud File System is included with all ediBons of the database specifically for storing Oracle Database-‐related configuraBon files, including Oracle Database so,ware binaries and homes, Oracle Database so,ware administraBve files, and Oracle Database so,ware diagnosBc files. Customers wishing to store their own data files, or non-‐Oracle Database so,ware files including data files, binaries, administraBve files, and diagnosBc files, in Oracle Cloud File System must separately license Oracle Cloud File System.
Innova&ve IT Solu&ons
Licensing
© 2011, InnovaAve IT SoluAons 48
Version Oracle Homes Administra&ve
Files Diagnos&c
Applica&on-‐ Data
11.2.0.1
ab 11.2.0.2
No addiAonal costs
Licenses required
Innova&ve IT Solu&ons
Summary
! Simple mechanism to cluster external applicaAon data
! Based on ASM disk group management
! Eliminates 3rd party soluAons
! Provides a complete / unified soluAon for disaster recovery (parAcularly with regard to replicaAon)
© 2011, InnovaAve IT SoluAons 49
Innova&ve IT Solu&ons
Q & A
© 2011, InnovaAve IT SoluAons 50
h#p://kb.initso.at