ara shakian principal product manager oracle server technologies thinking out of the box re-defining...
TRANSCRIPT
Ara ShakianPrincipal Product ManagerOracle Server Technologies
Thinking Out of the BoxRe-defining Database Storage Management
Agenda
<Insert Picture Here>• What is Automatic Storage Management (ASM)• Functionality and architecture
• Admin roles and responsibilities• Managing ASM is simple
• Three flexible management interfaces
• ASM utilities• Oracle Database11g ASM beta features• Customer proof points• Summary
Automatic Storage Management A storage manager designed to manage
Oracle Database files
• Cluster support with Oracle Clusterware
• Volume Manager• 1MB/128KB striping• Flexible mirroring• Online disk reconfigurations and automatic rebalancing
• File System• Even data distribution with optimal performance• Automatic file management using Oracle Managed Files (OMF)
ASM DiskASM Disk
ASM DiskASM Disk
ASM Disk
ASMDisk Group
+DATA datafiles file1… filen controlfile redolog1
ASM High Level Architecture
Database Instance ASM
DB Processes
ASM
- File layout info- Update statistics- Health info
ASM file extents
ServiceRequests
• An Integrated Solution
• ASM manages meta-data• NOT in IO path• Optimal Performance
LUNDB I/O
SGA
Predictable Performance &
Availability
Increases Storage Utilization
Uptime & Agility
Simplifies and Automates
Reduce Cost and Complexity Without Compromising
Performance or Availability
No addition cost!
ASM Key Values
Storage ManagementRoles & Responsibilities
<Insert Picture Here>
ASM Admin Role
Pre-Installation
• Create LUNs• Set ownership &
permissions to ‘Oracle User’
Normal Operation
• Monitor capacity & availability
• Provision capacity
Installation
• Oracle Universal Installer (OUI)
• Conf Assistants
• Create disk
groups
SYS Admin Role
Storage and ASM Administration
ASM Reduces Management Complexity
Eliminate
• LVM mgt for Oracle DB• File system mgt for Oracle DB• 3rd party clustering software• File name management• Reshuffling, reallocating,
moving datafiles • I/O performance tuning
Reduce significantly
• LUN mgt (larger LUNs)• Less frequent DBA & sys
admin interaction• Manual error prone tasks• Troubleshooting• Expanding Capacity
Traditional LVM/FS vs ASM Add Capacity
LVM/FS
1. Add Disk to OS
2. Create volume(s) with Volume Manager
3. Create File System over volume
4. Figure out data to move to new disk
5. Move data to new files
6. Rename files in database
7. Re-tune I/O
ASM
1. Add Disk to OS
2. Add disk to a disk group!
Managing ASM is Simple
1. EM Database Control or Grid Control
2. SQL*Plus interface
3. ASMCMD tool
<Insert Picture Here>Three Flexible Management Interfaces
ASM Home Page
ASM Performance Page
ASM Administration Page
ASM Configuration Page
Three Flexible Management Interfaces
1. EM Database Control or Grid Control
2. SQL*Plus interface
3. ASMCMD tool
<Insert Picture Here>
ASM SQL*PLUS Command Structure
• Create Disk Group• SQL> create diskgroup DataDG normal redundancy
2 failgroup controller1 disk
3 ‘/devices/diska1, ‘/devices/diska2’
4 failgroup controller2 disk
5 ‘/devices/diskb1, ‘/devices/diskb2’;
• Delete a Disk Group• SQL> drop diskgroup DataDG;
1
2
Alter diskgroup SQL*Plus Command Structure
• alter diskgroup DataDG ADD/DROP/RESIZE disk …• alter diskgroup … MOUNT/DISMOUNT …• alter diskgroup … ADD/ALTER/DROP TEMPLATE …• alter diskgroup … ADD/DROP DIRECTORY/ALIAS/FILE …• Select all V$ASM_* views
3 Alter Disk Group
ASM Views - ExamplesView Description
V$ASM_DISKGROUP Describes a disk group (number, name, size related info, state, and redundancy type)
V$ASM_DISK Contains one row for every disk discovered by the ASM instance, including disks that are not part of any disk group.
V$ASM_DISKGROUP_STAT Has the same columns as V$ASM_DISKGROUP, but to reduce overhead, does not perform a discovery when it is queried.
V$ASM_DISK_STAT Has the same columns as V$ASM_DISK, but to reduce overhead, does not perform a discovery when it is queried.
V$ASM_FILE Contains one row for every ASM file in every disk group mounted by the ASM instance.
V$ASM_TEMPLATE Contains one row for every template present in every disk group mounted by the ASM
V$ASM_ALIAS Contains one row for every alias present in every disk group mounted by the ASM
V$ASM_OPERATION Contains one row for every active ASM long running operation executing in the ASM
V$ASM_CLIENT identifies databases using disk groups managed by the ASM instance
Empower the Sys Admin and DBA
Three Flexible Management Interfaces
1. EM Database Control or Grid Control
2. SQL*Plus interface
3. ASMCMD tool
<Insert Picture Here>
ASM Command Line Interface (CLI)
ASM File Management
• Interactive Unix shell-like CLI for ASM file administration• ASMCMD> ls
• Non-interactive CLI mode for scripting and batch processing• ASMCMD ls –lH
+DATAFILE/ORCL/CONTROLFILE
ASM Utilities
Simplify Data Transfer and Migration
<Insert Picture Here>
ASM Migration Utility with EM Grid Control
• Database migration• Migrate DB files and recovery area to ASM
using RMAN
• Wizard walk-through • Create migration requests
• Schedule migration requests
• Report/monitor status of migration
ASM and XML DB Interface
• ASM files can be accessed from XML DB virtual folders /sys/asm
• ASM files can be manipulated
• HTTP/WebDAV• FTP• DBMS_XDB API
Enhanced Migration OptionsDBMS_FILE_TRANSFER Utility
• ASM to ASM • ASM to O/S file (new)• O/S file to ASM (new)• O/S file to O/S file
Oracle Database 11g ASM Beta Features
<Insert Picture Here>
ASM 11g Beta Features
RACASM
LUN LUN
RAC/ASM 11gR1
LUN LUN
NetworkPreferred
Mirror Read
ManageabilityEnhancements
- Disk Group Attributes - ASMCMD lsdisk- Metadata backup/restore- Off-line faster rebalance- Disk Group Attributes
Fast VLDBStart
- Variable File Extents- Larger AUs
XXTransientFailures
Fast Disk Resync
- Incremental Repair
SYSASM Role
- CONNECT / AS SYSASMRolling
Migration
ASM11gR2
Hundreds of ASM Customers In Production
What Talk America is Saying
“ASM is the best thing that has happened to databases since SQL.”
“ASM alone makes 10g worth while.”
“Storage has become a commodity, I only need to present it to 10g and ASM does the rest.”
Laurence Grant, Dir. of Enterprise Computing SystemsTalk America Holdings, Inc.
What Burlington Coat Factory is Saying
“Oracle Database 10g, RAC, ASM and RMAN empower an investment payback in 12 months, 50% improved storage utilization, 100% improved CPU utilization and much faster to backup and recovery”
Michael PrinceChief Technology Officer
Conclusion
FS
Mgt
Overhead
Time
RAW
Which management style would you prefer?
ASM
* Not based on real statistics
ASM Featured in OOW 2006
ID Time Room Title
S281246 Wed 2:30 PM
303 – South ASM Architecture
S281247 Wed 4:00 PM
303 – South Dell IT: User proven ASM deployments
S281258 Thurs
8:00 AM
303 – South Fidelity National Financials: Migrating and consolidating DB2 and SQL Server onto RAC/ASM 10g
AQ&