SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

28
SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services

description

Who Am I NetBackup administrator for the last 5 years 3+ years with current environment Began using SLPs in 2009 with NBU 6.5.3

Transcript of SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Page 1: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

SLPs, Almost a Beginner’s Guide

Scott HolowinskiSenior Backup AdministratorOneNeck IT Services

Page 2: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

SLPs, Almost a Beginner’s GuideWho Am IMy EnvironmentWhat is a SLPCreating SLPsDeleting SLPsBest PracticesQuestions?

Page 3: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Who Am INetBackup administrator for the

last 5 years3+ years with current

environmentBegan using SLPs in 2009 with

NBU 6.5.3

Page 4: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

My EnvironmentWindows Master Server8 Windows Media Servers900 Hosts1700 Backup Policies150 SLPs15000 jobs a day15-25TB of backups a day

Page 5: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

What is a SLPStorage Lifecycle Policy

◦A plan or map of where backup data will be stored and for how long.

◦Focuses management on individual images

◦Very flexible when making multiple copies and using multiple retentions

Page 6: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Creating a SLPArticle: HOWTO34771Administrator’s Guide 1, Chapter

14

Page 7: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Creating a SLP

Page 8: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Adding Storage Destinations

Page 9: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

How My Data Flows

Page 10: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

A Basic SLP

Page 11: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Hierarchical SLP

Page 12: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Give Me More SLPWhy so many SLPs?

◦Retention◦Backup destination◦Duplicate destination(s)

Hurts batching and SLP processing takes longer

Page 13: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Removing a SLPRemove from all backup policiesAll active jobs completed – wait

or cancelCancel any pending duplications

◦nbstlutil cancel –lifecycle <name>Delete SLP

◦May need to wait several minutes after last job completes

Page 14: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Removing a SLP◦click on desised SLP◦Right-Click and select Delete and

confirm

Page 15: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Doing it CLI StyleNBSTL

◦add/modify◦remove◦list

Example of an addnbstl TEST-PRD-UNX-STD -add -dp

70000 -uf 0,1,1 -residence DSSU_UNX,DD-UNX,TAPE-TEST -pool __NA__,__NA__,TEST-Offsite -source 0,0,0 -managed 2,0,0 -rl 0,4,1

Page 16: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesTECH153154 – 7.1and later NetBackup 7.1 Best Practice

Using Storage Lifecycle Policies and Auto Image Replication

TECH75047 – 7.0.1 or earlierBest practices for configuring

NetBackup with Storage Lifecycle Policies

Page 17: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesPlan for duplication time

◦Duplication may take as long as original backup or longer

◦Duplication requires twice the hardware (Reading and Writing)

◦NBRB gets hit twice as hard as well

Page 18: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesIntroduce SLPs into the

environment gradually ◦Don’t switch everything to SLPs at once

◦Do limit duplications initially◦SLP duplications require bandwidth and hardware

◦You may need to re-evaluate hardware requirements

Page 19: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesBe conservative when using

storage unit groups with Media Server Load Balancing ◦Negative impact on NBRB◦Every queued job gets evaluated◦More servers = slower resource allocations

Page 20: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesBe conservative when using

storage unit groups with Inline Copy◦More load on NBRB

Evaluates possible server and space every evaluation cycle for queued jobs

◦Monitor closely when adding servers or storage units

Page 21: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesUse Duplication Job Priority

to give backups priority over duplications ◦or the inverse, depends on your situation

◦Or just don’t share resources if possible

Page 22: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesAvoid increasing backlog

◦Oldest files get duplication jobs first

◦Have to duplicate faster than backups to catch up “the behinder you get the more you

get behind” Could be over 1 day, 3 days, a week,

you decide.

Page 23: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Best PracticesBacklog Questions

◦How soon should duplications be completed? SLAs?

◦How will you measure the backlog?

◦What about downtime?◦How will you recover from a backlog?

Page 24: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

My Backlog

Page 25: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Tuning FilesThe LIFECYCLE_PARAMETERS

file◦/usr/openv/netbackup/db/config -unix

◦netbackup\db\config\ -windows

Page 26: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Tuning Files

◦LIFECYCLE_PARAMETERS Values

MIN_GB_SIZE_PER_DUPLICATION_JOB 8 MAX_GB_SIZE_PER_DUPLICATION_JOB 25 MAX_MINUTES_TIL_FORCE_SMALL_DUPLICATI

ON_JOB 30 DUPLICATION_SESSION_INTERVAL_MINUTES 5 IMAGE_EXTENDED_RETRY_PERIOD_IN_HOURS

2DUPLICATION_GROUP_CRITERIA 1TAPE_RESOURCE_MULTIPLIER 2

Page 27: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Tuning FilesNBRB.conf

◦TECH57942EMM.conf

◦TECH137761server.conf

◦HOWTO34665 or HOWTO33625

May need to contact support for help with these

Page 28: SLPs, Almost a Beginner’s Guide Scott Holowinski Senior Backup Administrator OneNeck IT Services.

Any questions?

[email protected]