Professional Documents
Culture Documents
23 January 2008
Steve Burr Solution Architect, Global Solution Services Hitachi Data Systems
Presentation Goal
Discuss best ways of using Hitachi Dynamic Provisioning software with an emphasis on real applications
Microsoft Exchange 2003, Microsoft Exchange 2007 SQL Server 2005 Oracle 10g, Oracle 11g RAC
LDEVs (Pool-VOLs)
Actual storage capacity in Dynamic Provisioning pool is assigned when host writes data to new area of LUN
N V V V P
1500GB Used
N N N
1500GB Free
V ?
2000GB Used
But
Find that some groups give hotspots so redesign
Then
Decide to roll out BlackBerrys New IOPS = 3 IOPS/mailbox But 2TB is unchanged?
Over Provisioning
Allocating more storage space to users than theyll initially need No over provisioning (rightsizing) No growth benefit but performance and management benefits still apply Mild over provisioning Giving headroom for expansion Aggressive over-provisioning Greatest benefits More than youd want to buy, Every LUN is 2TB Needs care and safeguards Aggressive but risk averse, over provisioning Over provision aggressively but Combine storage, application and OS techniques to remove risk Great benefits with safeguards Particularly good for early deployments, uncontrolled environments and test environments
How Dynamic Provisioning will perform with applications: Will depend on platform factors (particularly file system) application factors (particularly storage configuration) how it is managed
Space is not wasted, just prematurely allocated Still have management benefits and performance benefits
Metadata Rounded to page size
Top only Write by 10MB Top only Top only Write by 2GB (2%) With Max AU Write every 128MB (30%) At 4K page Write by 52MB Top only Under examination Write every 64MB (65%) Top only Top only With Max AU
Examples
11
600 500
pre-allocate
MRU reclaim
UFS
ASM
Used
MRU
600 500
LRU reclaim
400 300 200 100 0
LRU
Used
NTFS
Leaky
OCFS2
Used
Allocated
12
13
Controlling space
Dynamic Partition Expansion:
1.Create and map over-provisioned volume 2.But dont allocate all to partition 3.When top of partition is reached OS is forced to reclaim 4.If total space gets low 5.Use OS to expand partition 6.Can be scripted 7.Generally easier than hardware add, lun resize etc. 8.Recommended disk 51 > diskpart.scr guidelines echo select if you have no detailed echo select partition reclaim issues 9.Helps with metadata and 1 >> diskpart.scr echo extend size=600 >> diskpart.scr echo detail disk >> diskpart.scr diskpart /s diskpart.scr
ALTER DISKGROUP VS1DG RESIZE DISK DISKVS1 SIZE 738M;
14
Application testing
Construct lab with: application, test tools and Hitachi Dynamic Provisioning software Test: volume manager, file system then application Monitor allocated pool versus used space whilst performing typical actions:
Initial Creation and Configuration Addition, Append, Modify, Deletion Force Fragmentation Backup and manage
15
16
Exchange tests
Exchange Data Use with Dynamic Provisioning
11400 11200 11000 10800 10600 10400 10200 9:36
After days of 14:24 testing. 19:12 Gap normal. No increase over time.
14:24
19:12
0:00
4:48
daily 0200 mdb space reclaim
9:36
17
Exchange tests
Dont defragment mdb! Exchange Data Use with Dynamic Provisioning
35000 30000 25000 20000 15000 10000 5000 0 18/05 20/05 22/05 24/05 26/05 28/05 30/05 01/06
18
Exchange tests
90,000 80,000 70,000 60,000 50,000 40,000 30,000 20,000 10,000 0 18/05
20/05
22/05
24/05
26/05
28/05
30/05
01/06
19
Online Backup with truncate using Hitachi Protection Manager with VSS
Do not defragment
20
No equivalent to Loadsim; used simple sql scripts Create database, table, insert and drop rows: 7M records added/updated, 8M deleted, 3/4GB. Investigate initial allocation and growth Three data areas:
Database (.mdf) Online Log (.ldf) Full and Log backups (.bak .trn)
21
22
MB
2000
23
24
Remains parallel
HDP
WIN
MODEL
MB
WIN
MODEL
27
Oracle Tests
Ported SQL Server scripts; added Oracle Physical Schemae Automatic Storage Management (ASM) ASM is both a volume manager and a specialized file system. Can dynamically add/remove/expand storage objects. ASM does not conflict with: Hitachi storage, virtualization or Hitachi Dynamic Provisioning. They complement. Some overlap which gives more options. Hitachi/Oracle ASM recommendations for layout OCFS2 Oracle Cluster File System version 2 Shared file system for RAC
28
Tablespace configuration
CREATE TABLESPACE "VS1; DEFAULT: SIZE 100M AUTOEXTEND ON MAXSIZE UNLIMITED CREATE SMALLFILE TABLESPACE "VS1" DATAFILE '+VS1DG' SIZE 42M AUTOEXTEND ON NEXT 42M MAXSIZE 1G EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO LOGGING DEFAULT NOCOMPRESS; CREATE TABLE TESTVS1 (COL1 number(10) NOT NULL, COL3 number(10) NOT NULL) TABLESPACE VS1" STORAGE (INITIAL 1M);
29
ASM: Tablespaces
900 800 700 600
MB
30
ASM: Tablespaces
Multiple Tables per TableSpace
500 450 400 350 300 MB 250 200 150 100 50 0 DG Pool Table DG Multiple TableSpaces
500 450 400 350 300 250 200 150 100 50 0 DG Pool Table DG
31
32
A A
CFS
FS
VM FS ASM LV LV
VM
VM
DG
DP-Volumes
GB
34
Oracle guidelines
External redundancy only Create tablespace
minimize initial allocation
Create table
minimize initial allocation
35
Replication products
ShadowImage and Volume Migrator today. Internal and external storage. Copy-On-Write, TrueCopy and Universal Replicator in development. Works well with Hitachi Dynamic Provisioning. Some rules, but theyre obvious. Useful configuration: HDP to HDP. Tested with Hitachi Protection Manager and it works well
36
General recommendations
Avoid tools which write all the disk:
low level unix media format or check volume level copy tools (dd)
Dont software RAID-1 mirror or RAID-5 Use file level copy Defragmentation not recommended
37
Pool 9
Pool Threshold
39
Thank you
Call to action:
Hitachi Dynamic Provisioning is easy to understand and use. If you have a Universal Storage Platform V or Universal Storage Platform VM, evaluate it Have a go at quantifying the cost savings
More information:
Guidelines for the Use of Hitachi Dynamic Provisioning Software with the Microsoft Windows Operating System and Microsoft SQL Server 2005, Microsoft Exchange 2003 and Microsoft Exchange 2007 Guidelines for the use of Hitachi Dynamic Provisioning Software with Oracle Databases and Automatic Storage Management Oracle Database 10g Automatic Storage Management Best Practices with Hitachi Replication Software on the Hitachi Universal Storage Platform Family of Products, co-authored by Oracle and Hitachi Data Systems
40
Please go to www.hds.com/webtech next week for the a link to the recording, presentation, and Q & A in addition to registering for upcoming WebTechs.
41
Questions/Discussion
42
Thank You
43