simplify your job – automatic storage management

23
Simplify your Job Automatic Storage Management Angelo Session id: 40140

Upload: dale

Post on 07-Jan-2016

34 views

Category:

Documents


0 download

DESCRIPTION

Session id: 40140. Simplify your Job – Automatic Storage Management. Angelo. Mgmt Gap. Storage Management Gap. Avg. Managed Capacity per Administrator In Database Sites with >100 GB Capacity. DBA Storage Challenges. Databases are rapidly growing in size - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Simplify your Job  –  Automatic Storage Management

Simplify your Job – Automatic Storage Management

Angelo

Session id: 40140

Page 2: Simplify your Job  –  Automatic Storage Management

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

Page 3: Simplify your Job  –  Automatic Storage Management

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

Page 4: Simplify your Job  –  Automatic Storage Management

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

Page 5: Simplify your Job  –  Automatic Storage Management

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”

Page 6: Simplify your Job  –  Automatic Storage Management

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

Page 7: Simplify your Job  –  Automatic Storage Management

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

Page 8: Simplify your Job  –  Automatic Storage Management

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

Page 9: Simplify your Job  –  Automatic Storage Management

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

Page 10: Simplify your Job  –  Automatic Storage Management

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

Page 11: Simplify your Job  –  Automatic Storage Management

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

Page 12: Simplify your Job  –  Automatic Storage Management

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

Page 13: Simplify your Job  –  Automatic Storage Management

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

Page 14: Simplify your Job  –  Automatic Storage Management

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”

Page 15: Simplify your Job  –  Automatic Storage Management

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

Page 16: Simplify your Job  –  Automatic Storage Management

ASM Improves Performance

0

4000

8000

12000

16000

20000

24000

Tp

mC

ASM (24 Disks) VxVM (24 Disks, 12 s)

22,648

20,418

Page 17: Simplify your Job  –  Automatic Storage Management

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

Page 18: Simplify your Job  –  Automatic Storage Management

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

Page 19: Simplify your Job  –  Automatic Storage Management

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

Page 20: Simplify your Job  –  Automatic Storage Management

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

Page 21: Simplify your Job  –  Automatic Storage Management

Reminder – please complete the OracleWorld online session survey

Thank you.

Page 22: Simplify your Job  –  Automatic Storage Management

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

Page 23: Simplify your Job  –  Automatic Storage Management