Cinetica  
chi siamo soluzioni e servizi successi blog  
Articoli con tag ‘SAN’
CINETICABLOG

How Compellent Storage Center works – Part 1

I’ve been very busy this week, didn’t get enough time for social activities (online and offline), while I was cutting my way through some weird Solaris issues I had a chance to think about how Compellent technology is understood in the storage tech community.

And my conclusion was: not enough :-)

So, recently I had a discussion over at RecoveryMonkey.net about how Compellent technology really works, and I tried to create a comprehensive post out of that discussion.

How Compellent Storage Center works

Dynamic Block Architecture

First of all, every chunk of data on a Storage Center system is stored in what’s called a PAGE, that’s referred in Compellent’s brochure as DBA (Dynamic Block Architecture).

The concept is pretty similar to virtual memory, basically you’re abstracting from the physical disk to an entity that can live on different medium, the single PAGE defaults to 2MB of size, but it’s tunable to 512k or 4MB, you can even have different PAGE sizes on the same Disk Folder (albeit not recommended).

Every PAGE comes with an attached Metadata, this metadata stores everything related to this PAGE like:

  • When it was created
  • When it was last accessed
  • What kind of RAID protection currently has (R10, R5, R6…)
  • What kind of tier it currently lives in (Tier 1, 2 or 3)
  • What kind of disk tracks it lives in (FAST or Standard)

With this kind of data available for every PAGE in the system, Storage Center start to collect statistics on how the PAGEs are accessed, and adjust accordingly moving the PAGEs between different Disk Tracks, RAIDs and Tiers during its scheduled Data Progression.

Storage Profiles

To control HOW the Volumes are written/progressed through the system there’s a functionality called “Storage Profiles”, these Storage Profiles define what Tiers and RAID level a volume can use for Active data and Snapshot data, there are four default Storage Profiles and then the End User can create a custom one on its own (it’s a matter of a few clicks), let’s see more in deep how they works:

Tiers are organized like that:

  • 1st Tier – Fastest disks
  • 2nd Tier – Medium disks
  • 3rd Tier – Slowest disks

and they’re dynamically chosen based on the available drives in the storage, every tier is subdivided in different RAID Levels and different Tracks.

To clear things up, let’s imagine that we have a system configured with:

15 active drives FC 450GB 15K

15 active drives SATA 1TB 7.2K

With this kind of system we would have:

Tier 1 – 15K drives

  • RAID 10 Fast Tracks
  • RAID 5-9 Fast Tracks
  • RAID 10 Standard Tracks
  • RAID 5-9 Standard Tracks

Tier 3 – 7.2K drives

  • RAID 10 Fast Tracks
  • RAID 5-9 Fast Tracks
  • RAID 10 Standard Tracks
  • RAID 5-9 Standard Tracks

I’m using an “old” example since right now you can also have RAID 6 in the mix but let’s leave that alone for now, also RAID 5-9 means that it’s a RAID stripe made of 8 Data blocks and 1 Parity block (You can also have RAID 5-5 if you want)

So in this system my data can live on those 8 “tiers”, right now when I create a new Volume (LUN) I can choose where to put my active data and my snapshot data by selecting a “Storage Profile”, for example let’s use a best practice for that:

The “Recommended (All Tiers)” default profile is the most used and it’s configured with:

  • Write data on Tier1:RAID 10 and Tier2:RAID 10
  • Snapshot data on Tier1:RAID 5-9, Tier2:RAID 5-9, Tier3:RAID 5-9

I usually create another custom Storage Profile called “Archival Data (R5-9)” that’s configured with:

  • Write data on Tier3:RAID 5-9
  • Snapshot Data on Tier3:RAID 5-9

To accommodate the need for low impact stuff.

How data flows to Storage Center

Considering that let’s see how the data flow is for those two profiles:

— Profile “Recommended (All Tiers)

  • Data flow from the server HBAs to Compellent front-end ports
  • the Data stage to write cache (512MB per controller) and it’s replicated to the other controller.
  • The data is written to disk on the Tier1, Fast Tracks in RAID 10.

The data is now on stable storage.

— Profile “Archival Data (R5-9)

  • Data flow from the server HBAs to Compellent front-end ports
  • The Data stage to write cache (512MB per controller) and it’s replicated to the other controller.
  • The data is cached until a full stripe write is possible.
  • The data is written to disk on the Tier3, Fast Tracks in RAID 5-9.

The data is now on stable storage.

Data Progression

After the data is on disk there are several ways to progress to the lower tiers, if you just leave the Volume (LUN) alone, the system will continue to keep statistic for every PAGE written, and then progress it slowly (the algorithm is based on access threshold on a 14-day basis) to the lower tiers.

Instead, if you take a Replay (the terminology used by Compellent for Snapshots), either using scheduled snapshot or manually, the data progress quicker, just for example, let’s imagine we have a 100GB volume (LUN):

— it’s 12.00 pm

  • We write 10GB of data (let’s call it Data Blob 1), it’s in Raid 10 on Tier 1, Fast Tracks, and it’s consuming 20GB of raw space (100% raid overhead due to Raid10).
  • take a Replay of the volume.

— It’s 3.00 pm

  • We write another 5GB of data (call it Data Blob 2), that’s also in Raid 10 on Tier 1, Fast Tracks, 10GB of Raw Space (grand total of 30GB).

Usually at 7.00 pm (that’s the default but it’s configurable) the Data Progression Job kicks in, due to the fact that Compellent snapshots are pointer based (more on that in another post) what we’ve called “Data Blob 1 becomes a Read-Only Blob of data and it progress immediately to Raid 5-9 to get some free space back.

So the next morning we find the system in this situation:

Blob Data 1 which is now part of the Snapshot Data is written in Raid 5-9 on Tier 1, Fast Tracks, consuming almost 12 GB of Raw Disk Space

Blob Data 2 which is part of the Active Data is still written in Raid 10 on Tier 1, Fast Tracks, still consuming 10 GB of Raw Disk Space

We just got 8GB of Raw Disk Space back, without sacrificing performances, because “Blob Data 1″ is considered “Read Only” thus we don’t have to write Raid 5 but just read from it, eliminating the raid penalty.

If we’re going to write data on that volume we’ll still write to “Blob Data 2” that’s still active data, still in Raid 10.

Now, that’s all for today, in the next posts I will outline how pointer-based snapshots works on Storage Center, how Replication works and other nifty features.

Fabio Rapposelli

This post originally appeared on my blog: http://p2v.it

Related Posts:

Boot From SAN

Intendiamoci, non è l’ultima briciola tecnologica caduta da un banchetto alla NASA, è una idea che già ad inizio anni 2000 riempiva pagine sul web, ma ora è sufficientemente matura/riproducibile/accessibile/gestibile per finire anche nel piatto del più tranquillo dei CED. Stiamo parlando del Boot from SAN.

E’ la possibilità di fare il boot (Solaris, Windows 2003/2008, Hyper-V, Linux vari e, ovviamente, VMware ESX) non più da dischi locali, inseriti nel server, bensì da volumi (LUN) nella storage area network.

In una Storage Area Network -FC o iSCSI- correttamente ridondata, l’affidabilità e la velocità saranno al servizio anche del boot e dell’installazione del sistema operativo.

Velocità ed affidabilità sono solo il primo elemento positivo di una soluzione boot from SAN.

Non serve più avere dischi locali negli host.

Diciamocelo, cosa ce ne facevamo di 3 HD da 146/300 GB (2 in mirror e magari 1 di spare), quando comunque il s.o. non occupava mai piu’ di una ventina di GB?

Bene, ci siamo risparmiati 3 dischi ed il relativo controller RAID, una bella sgomitata al TCO, oltre che al minor costo iniziale di acquisto, considerando la razionalizzazione dello spazio disco utilizzato, ed i minori consumi elettrici diretti ed indiretti.

Ma è solo l’inizio.

C’e’ da tener conto che la semplificazione dell’hardware conduce ad una riduzione dei disservizi per rotture di componenti.

Se la S di SAN è uno storage moderno, le sue funzionalità saranno ancora più di ausilio nella gestione della infrastruttura.

Debbo installare una patch critica al s.o.?

Una bella snapshot del volume contenente il s.o. e passa la paura: se la patch si rivela più un problema che un rimedio si può tornare al sistema operativo fotografato appena prima della applicazione della patch.

Posso utilizzare le snapshot come primo livello di backup dei miei server e costruire soluzioni di Disaster Recovery ‘spedendole’ ad uno storage nel sito remoto.

Debbo installare un nuovo server con un sistema operativo già presente nella mia server farm?

Se lo storage mi permette di clonare i volumi, ed il mio nuovo server non è troppo diverso da quello che ospita il s.o. già presente, in pochi click sarò pronto per avere una copia del S.O. da un template.

Così facile che sembra di parlare di virtualizzazione, ;-)

Già, svincolando l’hardware dal sistema operativo,  in caso di rottura irreparabile di un server potrò sostituirlo in pochi minuti senza richiedere re-installazione.

Non dimentichiamo che altre funzionalità garantite da ogni storage moderno quali il thin provisioning e la deduplica concorrono al risparmio di risorse, ai minori consumi ed ad una semplificazione della gestione.

Ci sarà qualche punto negativo?

No.

C’è solo da ricordare che per fare boot from SAN iSCSI serve una scheda ethernet appropriata, mentre via FC ogni HBA già in uso andrà bene.

Concludendo, non una medicina nuovissima, ma una soluzione finalmente utilizzabile grazie anche alle capacita’ software degli storage moderni.

Giancarlo

Related Posts:

     
Latestnews

Related Posts:

  • No Related Posts
 
Perchè rivolgersi a noi
Soluzioni hardware/software complete e pienamente integrate.
Progettazione realizzazione di infrastrutture Virtualizzate.

Consulenze specializzate per l'implementazione e il mantenimeto di infrastrutture HW e SW in ambiente enterprise.

Qualità e innovazione nelle soluzioni offerte, allineate con le esigenze dei clienti.
 
Blog
Uno dei fattori di successo di cinetica è l'entusiasmo per quello che facciamo, è per questo che abbiamo deciso di pubblicare un Blog dove condividere le nostre idee e le esperienze con chi lo desidera...CONTINUA
     
         
 
CONTACT
World Trade Center (Torre B)
via Consiglio dei sessanta, 99 Dogana
47891 Repubblica di San Marino (RSM)
  +39 0549 908 096  |  +39 0549 908 054
 
 
RSS Articoli | RSS Commenti
Copyright © 2009 Cinetica. All Rights Reserved.

site design: openspace soluzioni creative
powered by WordPress