In an earlier article, I suggested some space management techniques that need to be foremost in the minds of any deduplication user. Now, more broadly, I want to mention the top 7 things you need to avoid with deduplication:
1 – Watch your multiplexing
Make sure you take note of what sort of multiplexing you can get away with for deduplication. For instance, when using NetWorker with a deduplication VTL, you must use maximum on-tape multiplexing settings of 1; if you don’t, the deduplication system won’t be able to properly process the incoming data. It’ll get stored, but the deduplication ratios will fall through the floor.
A common problem I’ve encountered is a well running deduplication VTL system which over time ‘suddenly’ stops getting any good deduplication ratio at all. Nine times out of ten the cause was a situation (usually weeks before) where for one reason or another the VTL had to be dropped and recreated in NetWorker – but, the target and max sessions values were not readjusted for each of the virtual drives.
2 – Get profiled
Sure you could just sign a purchase order for a very spiffy looking piece of deduplication equipment. Everyone’s raving about deduplication. It must be good, right? It must work everywhere, right?
Well, not exactly. Deduplication can make a big impact in the at-rest data footprint of a lot of backup environments, but it can also be a terrible failure if your data doesn’t lend itself well to deduplication. For instance, if your multimedia content is growing, then your deduplication ratios are likely shrinking as well.
So before you rush out and buy a deduplication system, make sure you have some preliminary assessment done of your data. The better the analysis of your data, the better the understanding you’ll have of what sort of benefit deduplication will bring your environment.
Or to say it another way – people who go into a situation with starry eyes can sometimes be blinded.
3 – Assume lower dedupe ratios
A fact sheet has been thrust in front of you! A vendor fact sheet! It says that you’ll achieve a deduplication ratio of 30:1! It says that some customers have been known to see deduplication ratios of 200:1! It says …
Well, vendor fact sheets say a lot of things, and there’s always some level of truth in them.
But, step back a moment and consider compression ratios stated for tapes. Almost all tape vendors give a 2:1 compression ratio – some actually higher. This is all well and good – but now go and run ‘mminfo -mv’ in your environment, and calculate the sorts of compression ratios you’re really getting.
Compression ratios don’t really equal deduplication ratios of course – there’s a chunk more complexity in deduplication ratios. However, anyone who has been in backup for a while will know that you’ll occasionally get backup tapes with insanely high compression ratios – say, 10:1 or more, but an average for many sites is probably closer to the 1.4:1 mark.
My general rule of thumb these days is to assume a 7:1 compression ratio for an ‘average’ site where a comprehensive data analysis has not been done. Anything more than that is cream on top.
4 – Don’t be miserly
Deduplication is not to be treated as a ‘temporary staging area’. Otherwise you’ll have just bought yourself the most expensive backup to disk solution on the market. You don’t start getting any tangible benefit from deduplication until you’ve been backing up for several weeks. If you scope and buy a system that can only hold say, 1-2 weeks worth of data, you may as well just spend the money on regular disk.
I’m starting to come to the conclusion that your deduplication capacity should be able to hold at least 4x your standard full cycle. So if you do full backups once a week and incrementals all other days, you need 4 weeks worth of storage. If you do full backups once a month with incrementals/differentials the rest of the time, you need 4 months worth of storage.
5 – Have a good cloning strategy
You’ve got deduplication.
You may even have replication between two deduplication units.
But at some point, unless you’re throwing massive amounts of budgets at this and have minimal retention times, the chances are that you’re going to have to start writing data out to tape to clear off older content.
Your cloning strategy has to be blazingly fast and damn efficient. A site with 20TB of deduplicated storage should be able to keep at least 4 x LTO-5 drives running at a decent streaming speed in order to push out the data as its required. Why? Because it’s rehydrating the data as it streams back out to tape. Oh, I know some backup products offer to write the data out to tape in deduplicated format, but that usually turns out to be bat-shit crazy. Sure, it gets the data out to tape quicker, but once data is on tape you have to start thinking about the amount of time it takes to recover it.
6 – Know your trends
Any deduplication system should support you getting to see what sort of deduplication ratios you’re getting. If it’s got a reporting mechanism, all the better, but in a worst case scenario, be prepared to log in every single day for your backup cycles and see:
-a- What your current global deduplication ratio is
-b- What deduplication ratio you achieved over the past 24 hours
Use that information – store it, map it, and learn from it. When do you get your best deduplication ratios? What backups do they correlate to? More importantly, when do you get your worst deduplication ratios, and what backups do they correlate to?
(The recent addition of DD Boost functionality in NetWorker can make this trivially easy, by the way.)
If you’ve got this information at hand, you can use it to trend and map capacity utilisation within your deduplication system. If you don’t, you’re flying blind with one hand tied behind your back.
7 – Know your space reclamation process and speeds
It’s rare for space reclamation to happen immediately in a deduplication system. It may happen daily, or weekly, but it’s unlikely to be instantaneous. (See here for more details.)
Have a strong, clear understanding of:
-a- When your space reclamation runs (obviously, this should be tweaked to your environment)
-b- How long space reclamation typically takes to complete
-c- The impact that space reclamation operation has on performance of your deduplication environment
-d- An average understanding of how much capacity you’re likely to reclaim
-e- What factors may block reclamation. (E.g., hung replication, etc.)
If you don’t understand this, you’re flying blind and have the other hand tied behind your back, too.
You may add:
If you have more than one deduplication device and no global dedupe you have to avoid spreading all backup data to every device.
“when using NetWorker with a deduplication VTL, you must use maximum on-tape multiplexing settings of 1; if you don’t, the deduplication system won’t be able to properly process the incoming data. It’ll get stored, but the deduplication ratios will fall through the floor.”
Is this equally true for ADV_FILE configured devices, for instance with our Datadomains (not using Boost) and Quantum? I’ve had the default settings usually, target sessions at 1 and max sessions are way over 1.
Preston, one on the non-obvious consequences of the target session issue with dedupe-enabled VTL’s are the implications on your device licensing. In some cases there may be additional costs associated with moving to a dedupe appliance
Consider that if one is using a traditional VTL with multiplexing allowed, the quantity of target devices licensed may have factored in the fact that multiplexing was turned on. In our case, our “max backup load” was 16 sessions per storage node, each of which was configured to use 4 VTL devices for backups. That works out to 4 sessions per VTL device. Each of our storage nodes has an additional 4 devices that are config’d for cloning for a total of 8 assigned per storage node. In a dedupe VTL, where target sessions are maxed at 1 per device, that means that we need to have 16 devices in order to achieve the same number of concurrent backup sessions as we have now with multiplexing enabled. There are 16 device licenses per storage node license, and if they are all assigned to backup duty, we have no device license available for cloning. This means we either need more storage node/device licenses, or we have to reduce the number of active backup targets/sessions to something like 12 per storage node.
In our case, we had enough storage node licenses with unused capacity that we were covered, but I can easily envision a scenario where it wouldn’t be discovered until after the fact.
HTH
–brerrabbit
@Joe
Have a look at the whitepaper:
http://www.emc.com/collateral/software/white-papers/h6984-data-domain-networker-wp.pdf
Afaik there is no need for limit seesion to 1 on aftd.
Kind regards, Otmanix