Veritas Netbackup
Veritas Netbackup
Veritas Netbackup
Netbackup
1. Introduction & Netbackup Architecture.
2. Installation of Master / Media / Clients software,
type of backups and archives
3. Demons and services
4. Backup Hard ware devices (Library and Tapes)
5. Configuration of Policies
6. Configuration of Storage units / Volume pools
7. Netbackup Error Codes and Trouble shooting
8. Important Netbackup commands
9. Restoration / Recovery
10. Health Check & Intializing scheduled backup
& Daily job monitoring
Information Storage
• Importance of information
• Data, information and storage
• Categories of data
• Storage architectures and their
evolution
What is Data
“Collection of raw facts from which conclusions may be drawn”
Data
– Increase in data processing
capabilities 01010101010
Book 10101010101
– Individuals Letter
Digital Data
– Businesses
Categories of Data
• Data can be
categorized as
either structured or
E-Mail Attachments PDFs
X-Rays
unstructured data Check Unstructured (80%)
enterprise Images
Documents
information is Forms
Web Pages
unstructured Contracts
Rich Media
Invoices
Audio Video
Structured (20%)
Rows and Columns
Define
Information
• What do individuals/businesses do Centralized information
storage and processing
– “Information is the
intelligence and knowledge Uploading
information
Accessing
information
meaningful trends
– For example:
• Buying habits and patterns of
customers
• Health history of patients
Demand for more
Information
• Mammoth
• VERITAS NetBackup software supports tape drives and libraries from a larger
number of vendors
• The URL for NetBackup Enterprise Server 5.x hardware compatibility matrices for
specific devices on specific OS platforms is:
• http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/
280666.pdf
• The URL for NetBackup Enterprise Server 6.0 hardware compatibility matrices for
specific devices on specific OS platforms is:
• http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/
278692.pdf
• The URL for NetBackup Enterprise Server 6.5 hardware compatibility matrices for
specific devices on specific OS platforms is:
• http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/
284599.pdf/
Must Watch Videos on
Youtube
• Sun StorageTek SL8500 Product Tour 1 of
2
• Sun StorageTek SL8500 Product Tour 2 of
2
• Tape Library / Autoloader
• Powering Up the SL8500 Tape Library
• Imp links:-
• http://www.quantum.com/Products/Tape
Drives/DLT/Index.aspx
SCSI
• Small Computer Systems Interface
• Support for many devices
• Single SCSI Channel – 7 Devices
• Bus mastering
• Access to multiple devices
• TCQ
• Intelligent BUS
• MTBF
SCSI
SCSI interface overview
Interface Bus Clock Max Max Max
Width Speed Through Cable Devices
put Length
SCSI 8-bit 5 MHz 5 MB/s 6m 7
Fast SCSI 8-bit 10 MHz 10 MB/s 1.5-3 m 7
Fast-Wide 16-bit 10 MHz 20 MB/s 1.5-3 m 15
SCSI
Ultra SCSI 8-bit 20 MHz 20 MB/s 1.5-3 m 7
Ultra Wide 16-bit 20 MHz 40 MB/s 1.5-3 m 15
SCSI
Ultra2 SCSI 8-bit 40 MHz 40 MB/s 12 m 7
Ultra2 Wide 16-bit 40 MHz 80 MB/s 12 m 15
SCSI
Ultra3 SCSI 16-bit 40 MHz DDR 160 MB/s 12 m 15
SCSI
• SCSI Connector – 50pins / 68pins
• 50 pins – 8 bit system
• Termination
SCSI – Termination/Cabling
• SE – Single Ended
Like HVD, Low Voltage Differential (LVD) SCSI also uses two wires for
each signal. This brings the differential bus advantage of reduced signal
corruption due to noise. Another advantage of LVD is that it uses lower
voltages than HVD, reducing cost and power consumption.
Bprd Bpcd
(13720) (13782) bpcd
bpsched
bpbrm
Bpbkar(32)-
Bpdbm
(13721) bptm
bpjobd
Tape Files
Catlog
List of Daemons
• Bpcd ->Client Daemon
• Bpbrm -> recover manager
• Bptm->Tape manager
• Bprd->request daemon
• Bpshed->schedule daemon
• Bpdbm-> database daemon
• Bpjob ->Netbackup job daemon
• Vmd->Volume Manager Daemon
• Bpbkar(32)
7 Steps
1.When the Daemon’s wake up interval
occurs,the bprd on master will wake
up and start the bpsched.
• Note: bprd is also activated on media
server but after checking the bp.conf
file(/usr/openv/netbackup/bp.conf)
and determining that it is not running
on master server, bprd becomes
inactive.
2. Bpsched calls bpdbm to check the
policy for auto backup schedules
• Bpsched calls the child process to
handle the backup
• Bpdbm calls bpjobd to communicate
with job catalog
• Activity Monitor->RC->Fliter:-
Status>1=>Shows all failed jobs.
• Common Error Codes:-
• 0->Backup successful
• 1->Backup Incomplete
• 11-> System call failed
Rerun backup job after ensuring that
ping from master to media and client is
fine.Else raise a ticket and assign to
Intel team
• 12,13,14-> File
Open/Read/Write Failed
• 21,24->Socket open/write failed
->Restart Netbackup client services
•
•71->None of the files in
the file list exist
• 83,84,86->Media open,write,position error
->Freeze media
• 96->Unable to allocate new media
->Scratch pool needs medias
• 98->Error requesting media
• 150->Job terminated by admin
• 156->Snapshot error->Refire after
sometime
• 196->Backup window closed
• 213,219->Storage Unit down/unavailable
Imp Netbackup Commands
• Important 3 paths from where commands
can be executed:-
[ \usr\openv\veritas\netbackup or c:\prog
files\veritas\->Installation Path]
1.<Install Path>\netbackup\bin\admincmd
2. <Install Path>\ volmgr\bin
3.< Install Path>\netbackup\bin\goodies
usr\openv\veritas\netbacku
p\bin\admincmd
• Bpmedialist –m <Tape id> -h <Media server> {Status
of media}
• Bpmedialist –summary {All medias and related info like-
>expiration date}
• Bpmedia –freeze/unfreeze –m <media id> -h <media
server>
• Bpgetconfig –g <clientname> -L {Client details}
• Bperror –u <err code> {Lists jobs failed with error code..}
• Bpdbjobs –summary {activity monitor}
• Bpdbjobs –report {Number of jobs queued/running/failed}
• Bpimagelist –U <Client Name> -d <Start date> -d <End
Date> {Images of backup for the client}
usr\openv\veritas\volmgr\bin
• Vmoprcmd {To check if drives are up or down}
• Vmoprcmd –h <media server> -resubmit/reset <0/1 drive num>
• Vmquery –m <Tape id> {Status of the tape/media}
• Vmupdate –rt <TLD/ACS> -rn <0/1>
{To do robot inventory }
• Vmcheckxxx –rt <TLD/ACS> -rn <0/1>
{Lists all slots in the tape lib.
Can check slot availability}
• Robtest -> 1<yes> ->s d/s<show all drives/slots>
• ->m d 1 to s 6 <move media in drive 1 to slot 6>
• ->m s6 to d 1 <move media from slot 6 to drive 1>
• Note:-Robtest is done to check if a media is stuck in a drive
• To check if robot is working fine move tapes from drive to slot or
vice versa
• Vmchange –m <media id> -p <pool num> { To move a new
media from one vol pool to another }
usr\openv\veritas\netbacku
p\bin\goodies
• Available_media {Shows all available
medias in the environment}
• Available_media |grep –I Full |grep –I
TLD
{ To get the details of all the available
medias which are full in the tape library}
• Available_media | grep –I <Tape id>
{Check if media is present in the tape
library.If yes then the result is “TLD”
else the result is “none”}
Restore
• Info needed:-Source server,Dest
server,source file path,dest file path,date of
backup.
• Source client,Dest client,Policy type,Start
/End date and time,Preview and Restore Tabs
• Preview shows the medias needed.
• Check media robot type{TLD/none} for
availability of tape.
• If destination is not given then the root of
netbackup will get filled.So be careful.
Health Check
• Regular Admin Job to check the activity
monitor for errors
• Coordinate with other teams and get
issues resolved.
• Have the contact details of other teams
• Raise tickets when required.
• SEV 1/2/3/4->8hrs/16hrs/5days/10days
(varies according to SLA)
Health Check(Contd)
• If there is a ticket breach then call
for a meeting
• Put ticket on hold when other teams
are handling
• Check for failed jobs.Usually backup
tickets take time to resolve
• On Call Support ->24x7 support
Imp Questions
• How to duplicate tapes?
• What is a catalog? And wat care should be taken in managing catalogs?
• What is multiplexing and multistreaming with examples?
• What is high and low water mark?
• How to restore backup media’s from one master to other master server?
• If a catalog is corruped? How to restore?
• How to archive catalog or how to reduce catalog if catalog sixe is
increased?
• How to use netbackup scripting for fine tuning?
• Basic parameters to create new policy?
• How is image stored in netbackup?
• If your last catalog backup was two days ago and the master server
crashed what would you have to do to bring your environment back up to
present time?
• There is a Tape library with 10 drives ...Can we able to create 2 Storage
units.....?