simplify your job – automatic storage management
Post on 07-Jan-2016
34 Views
Preview:
DESCRIPTION
TRANSCRIPT
Simplify your Job – Automatic Storage Management
Angelo
Session id: 40140
Storage Management Gap
0
10
20
30
40
50
60
Strategic Research Corporation
Capacity in Terabytes
DiskCapacity
Capacity/DB Adm
Avg. Managed Capacity per AdministratorIn Database Sites with >100 GB Capacity
Mgmt Gap
DBA Storage Challenges Databases are rapidly growing in size
– DBAs have to manage thousands of data files Decreasing windows of scheduled downtime Storage resources involve many organizations
– Database Admin– Systems Admin– Storage Admin– Network Admin
Management of database storage is increasing in complexity and cost
Automatic Storage Management (ASM)
Portable, high performance cluster file system
Data is spread across disks to balance load
Integrated mirroring across disks
Removes need for third-party volume manager and file system
Automatic StorageManagement
Oracle
ASM
The Operational Stack
Disks
Logical Vol
File System
0010 0010 0010 0010 00100010 0010 0010 0010 0010Files
Tablespace
Tables
Disk Group
Logical Vol
File System
Files
Tablespace
Tables
TODAY ASM
“The best way to lower mgmt costs is to remove complexity”
Data Mirroring with ASM
ASM can mirror data across storage arrays
No additional logging or expensive NVRAM to recover mirrors
– Database logging recovers mirrors
Designed to tolerate component failures
Disk Groups & Failure Groups
Failure Group 1 Failure Group 2
Controller 1 Controller 2
Disk Group
Storage resources organized into Disk Groups and Failure Groups
A Disk Group is a collection of disks managed as a logical unit in which ASM files are stored
Disk Groups assigned by DBAs A Failure Group is a set of disks
sharing a common resource whose failure needs to be tolerated
– Redundant copies of an extent are stored in separate Failure Groups
Failure Groups assigned by DBAs or automatically by ASM
Traditional vs ASM - Setup
1. Determine required storage capacity
2. Install Volume Manager, File System
3. Architect data layout to avoid hot spot
4. Create logical volumes
5. Create file systems
6. Install database
7. Create database
1. Determine required storage capacity
2. Install ASM
3. Create Disk Groups
4. Install database
5. Create database
Traditional vs ASM – Add Disk
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
1. Add Disk to OS
2. Issue the Add Disk command
Traditional vs ASM – Remove Disk
1. List all data that is on disk
2. Choose existing filesystem to hold data from dropped disk
3. Move data to new files
4. Rename files in database
5. Remove disk from OS
6. Re-tune I/O
1. Issue drop disk command
2. Remove the disk from OS when Oracle says it is done
Traditional vs ASM – Migrate Data
1. Add new disks to OS
2. Figure out new location on other disks
3. Create volume(s) with Volume Manager
4. Create new FS
5. Move data to new files
6. Rename files in database
7. Remove old disks from OS
8. Re-tune I/O
1. Add new disks to OS
2. Issue Add disk command for new disks
3. Issue Drop Disk command for old disks
4. Remove old disks from OS when Oracle says it is done
Traditional vs ASM – Tune I/O
1. Daily monitor I/O performance
2. Discover hot spots
3. Figure out how to remove hot spots
4. Move data to new files
5. Rename files in database
6. Verify that hot spot is gone
This space intentionally left blank
Traditional vs ASM – Manage Space
1. Daily monitor storage utilization
2. Discover fragmentation
3. Figure out how to remove fragmentation
4. Move data to new files
5. Rename files in database
6. Verify that fragmentation is gone
This space intentionally left blank
ASM Lowers Management Costs
0
1
2
3
4
5
6
7
8
Nb
r S
tep
s
Install Add Storage RemoveStorage
MigrateStorage
Tune I/O ManageSpace
ASM
Traditional
7 76
8
6 6
5
2 2
4
0 0
“Best way to save costs is to remove complexity”
ASM Enables Consolidated Clustered Storage
ASM – Clustered Pool of Storage
Oracle
DB Instance
Oracle
DB Instance
Oracle
DB Instance
Oracle
DB Instance
Clustered Servers
Non – RACDatabases
Oracle
DB Instance
ASM Instance ASM Instance ASM Instance ASM InstanceASM Instance
ASM Improves Performance
0
4000
8000
12000
16000
20000
24000
Tp
mC
ASM (24 Disks) VxVM (24 Disks, 12 s)
22,648
20,418
ASM - Integrated with Key Storage Hardware
ASM-Lib is an Open Interface extending ASM Vendor library for disk discovery and I/O Efficient I/O interface Data description allows end-to-end validation
(HARD Initiative) Several participating storage vendors and
others are in the process of joining
ASM - SummaryNew capability in Oracle 10g Database Provides a vertical integration of the file system
and volume manager for Oracle database files
Spreads database files across all available storage for optimal performance and resource utilization
Enables simple and non-intrusive resource allocation and provides automatic rebalancing
ASM Benefits
Increases the productivity of the DBA Simplified management interface for storage resources
Eliminates manual I/O performance tuning tasks
Virtualizes the storage to a set of disk groups
Provides mainframe class performance at lower cost
Next Steps….
Automatic Storage Management Demo in the Oracle DEMOgrounds
– Pod 5DD– Pod 5QQ
Technical Paper on ASM – The New Best Practice (room 103 at 1:00 today)
– Steve Adams – IXORA – Rich Long – Oracle
Watch OTN for more details on ASM
Reminder – please complete the OracleWorld online session survey
Thank you.
Q&Q U E S T I O N SQ U E S T I O N SA N S W E R SA N S W E R S
top related