54591599-veritas-netbackup

93
Veritas Veritas Netbackup Netbackup 1. Introduction & Netbackup Architecture. 1. Introduction & Netbackup Architecture. 2. Installation of Master / Media / Clients 2. Installation of Master / Media / Clients software, software, type of backups and archives type of backups and archives 3. Demons and services 3. Demons and services 4. Backup Hard ware devices (Library and Tapes) 4. Backup Hard ware devices (Library and Tapes) 5. Configuration of Policies 5. Configuration of Policies 6. Configuration of Storage units / Volume pools 6. Configuration of Storage units / Volume pools 7. Netbackup Error Codes and Trouble shooting 7. Netbackup Error Codes and Trouble shooting 8. Important Netbackup commands 8. Important Netbackup commands 9. Restoration / Recovery 9. Restoration / Recovery 10. Health Check & Intializing scheduled backup 10. Health Check & Intializing scheduled backup & Daily job monitoring & Daily job monitoring

Upload: abhishek-srivastava

Post on 21-Feb-2015

992 views

Category:

Documents


138 download

TRANSCRIPT

Page 1: 54591599-Veritas-Netbackup

Veritas Veritas NetbackupNetbackup

1. Introduction & Netbackup Architecture.1. Introduction & Netbackup Architecture. 2. Installation of Master / Media / Clients software, 2. Installation of Master / Media / Clients software, type of backups and archivestype of backups and archives 3. Demons and services3. Demons and services 4. Backup Hard ware devices (Library and Tapes)4. Backup Hard ware devices (Library and Tapes) 5. Configuration of Policies 5. Configuration of Policies 6. Configuration of Storage units / Volume pools6. Configuration of Storage units / Volume pools 7. Netbackup Error Codes and Trouble shooting7. Netbackup Error Codes and Trouble shooting 8. Important Netbackup commands8. Important Netbackup commands 9. Restoration / Recovery9. Restoration / Recovery 10. Health Check & Intializing scheduled backup 10. Health Check & Intializing scheduled backup & Daily job monitoring& Daily job monitoring

Page 2: 54591599-Veritas-Netbackup

Information StorageInformation Storage• Importance of information• Data, information and storage• Categories of data• Storage architectures and their

evolution

Page 3: 54591599-Veritas-Netbackup

What is DataWhat is Data

• Data is converted into more convenient form i.e. Digital Data– Increase in data processing

capabilities– Lower cost of digital

storage– Affordable and faster

communication technology

• Who creates data?– Individuals– Businesses

“Collection of raw facts from which conclusions may be drawn”

01010101010

10101011010

00010101011

01010101010

10101010101

01010101010

Video

Photo

Book

LetterDigital Data

Page 4: 54591599-Veritas-Netbackup

Categories of DataCategories of Data• Data can be

categorized as either structured or unstructured data

• Over 80% of enterprise information is unstructured

Rows and Columns

Contracts

Images

Manuals

X-Rays

Instant Messages

Forms

E-Mail Attachments

Check

Documents

PDFs

Web Pages

Audio Video

Invoices

Rich Media

Structured (20%)

Unstructured (80%)

Page 5: 54591599-Veritas-Netbackup

Define Define Information Information

• What do individuals/businesses do with the data they collect?– They turn it into

“information”– “Information is the

intelligence and knowledge derived from data”

• Businesses analyze raw data in order to identify meaningful trends– For example:

• Buying habits and patterns of customers

• Health history of patients

Users of

Information

Centralized information

storage and processing

Uploading

information

Accessing

information

Wired Wireless WiredWireless

Network Network

Demand for more

Information

Creators of

information

Virtuous cycle of information

Page 6: 54591599-Veritas-Netbackup

StorageStorage

• Data created by individuals/businesses must be stored for further processing

• Type of storage used is based on the type of data and the rate at which it is created and used

• Examples:– Individuals: Digital camera, Cell phone, DVD’s,

Hard disk– Businesses: Hard disk, external disk arrays,

tape library• Storage model: An evolution

– Centralized: mainframe computers– Decentralized: Client –server model– Centralized: Storage Networking

Page 7: 54591599-Veritas-Netbackup

Need for Storage & Growth of Need for Storage & Growth of DataData

• The Sarbanes-Oxley Act states that all business records, including electronic records and electronic messages, must be saved for "not less than five years." The consequences for non-compliance are fines, imprisonment, or both. IT departments are increasingly faced with the challenge of creating and maintaining a corporate records archive in a cost-effective fashion that satisfies the requirements put forth by the legislation.

Page 8: 54591599-Veritas-Netbackup

Introduction to NetbackupIntroduction to Netbackup• Veritas Product• Symantec took over veritas• 70 to 80% of companies world wide

use• Versions->5.1 to 6.5.3…7,7.01• GUI and CLI

Page 9: 54591599-Veritas-Netbackup

4 Tier Architecture of 4 Tier Architecture of NetbackupNetbackup

• 1st tier – Netbackup Client(MLAs)• 2nd tier – Media Server(Cabinet Ministers)• 3rd tier – Master Server(CM)• 4th tier – Global Data Manager(PM)

• Hardware compatibility list:-• http://seer.entsupport.symantec.com/

docs/336875.htm

Page 10: 54591599-Veritas-Netbackup

Netbackup ClientNetbackup Client• During the backup or archive,the

client system generates the backup as a data stream and sends it across the network to the media server.

• Therefore, our target is the client whose data needs to be backed up or restored

• MS SQL Agent comes free with Netbackup client

Page 11: 54591599-Veritas-Netbackup

Media ServerMedia Server• To increase performance by

providing additional processing ability and better distribution of workload (Load balancing).

• Note: Tape libraries are always attached to the media server only

Page 12: 54591599-Veritas-Netbackup

Master ServerMaster Server• Master Server is netbackup’s central

brain, providing centralised operations and management to any media server and clients

Page 13: 54591599-Veritas-Netbackup

Global Data ManagerGlobal Data Manager

• GDM organises the span geographics and provides the ability to perform backup and recovery operations from various locations.

Page 14: 54591599-Veritas-Netbackup

ARCHIVE BITARCHIVE BIT• The archive bit is a binary bit. As

such, it is either 1 or 0, also frequently called set (1) and clear or reset (0). It represents whether the file has (1) or has not (0) changed since the last backup.

Page 15: 54591599-Veritas-Netbackup

Types of BackupTypes of Backup• Full (Archive bit is reset)• Differential Incremental (Changes since the

latest backup, archive bit is reset) [Incremental]

• Cumulative Incremental(Changes since the last full backup)

• Archive Backup (Delete data from source after backup leaving behind the metadata ,eg:Oracle archive log backup)

• User Initiated Backup (Backup window is 24x7)

Page 16: 54591599-Veritas-Netbackup

VaultVault• Vault job initiates duplicate backup jobs.• One for onsite and another for offsite• Ejects the filled tapes from the tape

library• Automatically sends email to Iron mount

and backup admins stating the scratch set tape details and tapes which need to be reloaded

• License is very costly.

Page 17: 54591599-Veritas-Netbackup

NetBackup CatalogNetBackup Catalog• NetBackup catalogs are internal databases that

contain information about NetBackup backups and configuration. Backup information includes records of the files that have been backed up and the media on which the files are stored. The catalogs also contain information about the media and storage devices.

• NetBackup requires the catalog information in order to restore backups so it is extremely important to configure a catalog backup before using NetBackup for regular client backups, and to schedule the catalog backups to occur on a regular basis thereafter. Without regular catalog backups, you risk losing your regular backups if there is a problem with the disk that contains the catalogs.

Page 18: 54591599-Veritas-Netbackup

Parts of the CatalogParts of the Catalog

• The NetBackup catalog resides on the disk of the NetBackup master server. The catalog consists of the following parts:

• Image Database: The image database contains information about what has been backed up. It is by far the largest part of the catalog. [c:\prog files\veritas\netbackup\db\]

• NetBackup Relational Database: This includes the media and volume data describing media usage and volume information which is used during the backups. [c:\prog files\veritas\volmgr\database]

• NetBackup configuration files: Policy, schedule and other flat files used by NetBackup.[ c:\prog files\veritas\netbackup\var\]

Page 19: 54591599-Veritas-Netbackup

Netbackup ManagementNetbackup Management• Host Properties• Master Server• Media Server• Clients ->Double click to check

network connectivity

Page 20: 54591599-Veritas-Netbackup

Media and Device Media and Device ManagementManagement

• Device Monitor -> Lists Tape drives and Robots

• Media->Robot Type->TLD (In tape lib) or none (Offsite)

• Media->Volume Pools->Default 4 Pools

Page 21: 54591599-Veritas-Netbackup
Page 22: 54591599-Veritas-Netbackup

NOTENOTE

• Media ID:- is a 6 digit alphanumeric & usually a media has a barcode.

• Media>Robots (RC)>Robot Inventory>Update Volume config->Start

Page 23: 54591599-Veritas-Netbackup

Frozen,Suspend,Import,DuplicateFrozen,Suspend,Import,Duplicate• Frozen tape:-Media Manager will auto freeze a

media if the backup can’t use it after 3 attempts. Incase of media errors 83,84,86,we freeze the media. Unfreeze later.

• Suspend:-It means that Netbackup won't write any new data to that tape, until all data on it expires. It will then be available for re-use.

• Expire:-Data on media will be removed but the image (index) will remain until the tape is overwritten

• Duplicate:-Medias sent offsite.Backup done using either vault/duplicate backup option.

• Import:-catalog db(index/image) from tape when server crashes and needs restoration

Page 24: 54591599-Veritas-Netbackup

Volume PoolVolume Pool• Definition:-Volume Pool is a set of volumes from which netbackup

can draw or take volumes when performing backup• Group of tapes -Volume/Cartridge/media/tape• A volume pool identifies a logical set of volumes by type of

usage. Associating volumes with a volume pool protects them from access by unauthorized users, groups, or applications.

• With the exception of the volume pools that are automatically created by NetBackup, you must create a volume pool before you can add volumes to a volume pool. The following volume pools are automatically created (see Volume Pools List):

• NetBackup, created by Media Manager, for NetBackup use. • DataStore, created by NetBackup, for DataStore use. • CatalogBackup, created by NetBackup, for NetBackup catalog

backups. • During initial configuration, it is easiest to create all of your

volume pools first. Then as you add volumes, you can assign them to volume pools.

• It is also possible to configure a scratch pool from which Media Manager can transfer volumes, when a volume pool has no volumes available.

• If the volume pool will contain WORM media, see Using WORM Volume Pools to Manage WORM Media for more information.

Page 25: 54591599-Veritas-Netbackup

Default Volume PoolsDefault Volume Pools• None -> Cleaning Tapes are present • Netbackup ->Brand new tapes go to

netbackup volume pool after inventory• DataStore• Catalog BackupVolume Pool which need to be created

• Scratch Pool :-Needs to be created so that expired tape medias which can be reused come to the scratch pool.

Page 26: 54591599-Veritas-Netbackup

Volume GroupsVolume Groups• Volume Groups is a physical location for a media.• It manages a group of tapes for purpose of admin actions that

allows movement of tapes from slots to drive and vice versa.• Rules for Assigning Volume Groups • The following are the rules for assigning volume groups: • All volumes in a group must be the same media type. However, a

media type and its corresponding cleaning media type are allowed in the same volume group (for example, DLT and DLT_CLN).

• All volumes in a robotic library must belong to a volume group. You cannot add volumes to a robotic library without specifying a group or having Media Manager generate a name for the group.

• The only way to clear a volume group name is to move the volume to standalone and not specify a volume group.

• More than one volume group can share the same location. For example, a robotic library can contain volumes from more than one volume group and you can have more than one standalone volume group.

• All volumes in a group must be in the same robotic library or be standalone. That is, Media Manager will not let you add a group (or part of a group) to a robotic library, if it already exists in another robotic library.

Page 27: 54591599-Veritas-Netbackup

• Types of Tape Drives

Page 28: 54591599-Veritas-Netbackup

What is a Tape? What is a Tape? • Tape began as the primary storage medium for computers

in the 1950s. At that time, large mainframe computers dominated the information systems industry.

• Data storage and backup for these mainframes was on expensive, reel-to-reel tape systems using half-inch magnetic tape.

• Data was recorded in parallel tracks using a linear serpentine recording technology in which the data tracks were written in alternating bands from the beginning of the tape to the end and back again.

• Throughout the 60s and 70s these open-reel systems evolved by increasing the number of tracks, increasing bit density, and increasing tape speed.

Page 29: 54591599-Veritas-Netbackup

Types Of Tape DrivesTypes Of Tape Drives• Digital Linear Tape (DLT)

• Super Digital Linear Tape (SDLT)

• Linear Tape Open (LTO)

Page 30: 54591599-Veritas-Netbackup

Digital Linear Tape (DLT) – Digital Linear Tape (DLT) – Quantum Quantum

• DLT drives use half-inch wide metal particle tapes - 60% wider than 8mm tape and the widest tape available - onto which data is recorded in a serpentine pattern on parallel tracks grouped into pairs.

• Each data track goes the entire length of the tape. When data is recorded, the first set of tracks is recorded on the whole length of the tape. When the end of the tape is reached, the heads are repositioned to record a new set of tracks, and the tape is again recorded on its whole length, this time in the opposite direction.

• The process continues, back and forth, until the tape is full. Current drives record either 128 or 208 tracks.

• The higher density is achieved by angling the data pattern on adjacent tracks using a technique called Symmetric Phase Recording (SPR).

• SPR's herringbone pattern eliminates the need for guard bands, thereby allowing greater track density.

Page 31: 54591599-Veritas-Netbackup

Digital Linear Tape (DLT)Digital Linear Tape (DLT)

Page 32: 54591599-Veritas-Netbackup

SDLT SDLT • Super DLT tape technology is the next generation DLT tape

technology platform, the current industry standard for data storage

• Super DLT tape technology is based on Laser Guided Magnetic Recording (LGMR) technology, which uses a unique combination of the best optical and magnetic technologies to dramatically increase the number of recording tracks on the data-bearing surface of the media

• The storage capacity of a SDLT-220 drive is 110GB Native and

220GB Compressed. The storage capacity of a SDLT-320 drive is 160GB Native and 320GB Compressed.

Page 33: 54591599-Veritas-Netbackup

LTO Tape – HP IBM SEAGATELTO Tape – HP IBM SEAGATE• LTO Technology, or Linear Tape-Open Technology,

combines the advantages of linear multi-channel bi-directional tape formats in common usage today with enhancements in the areas of timing based servo, hardware data compression, optimized track layouts and high efficiency error correction code to maximize capacity and performance.

• HP, IBM and Seagate each provided expert knowledge of customer needs and complementary technology that provided for delivery of a best-of-breed technology and promotes a strong foundation for data interchange. It is their intent that other companies can participate in this tape industry opportunity through the open licensing process

Page 34: 54591599-Veritas-Netbackup

LTO TapeLTO Tape• Speed and capacity is expected to double with each

generation of the LTO format. The LTO format Generation 1 allows for up to 100GB capacity (uncompressed) in a single cartridge, while LTO format Generation 2 doubles the capacity up to 200GB (uncompressed) using Generation 2 data cartridges. The data transfer peak performance speed doubles from up to 20MB/second native in the LTO format Generation 1 up to 40MB/second native in Generation 2.

• Users will benefit from a greater than 30 percent increase in the number of tracks and average tape speed, as well as an improved recording method. The LTO format Generation 2 provides users with outstanding data and investment protection because of its capability to read-and-write Generation 1 cartridges in the LTO Generation 1 format.

• LTO format come in 2 flavours : 1) Single reel catridge optimized for greater storage capacity called “ULTRIUM” and 2) Dual reel cartridge designed for faster access called “ ACCELIS”

Page 35: 54591599-Veritas-Netbackup

LTO TapeLTO Tape• The LTO compatibility is defined with two

concepts demonstrating investment protection:1) An LTO drive is expected to read data from a cartridge in its own generation and at least the two prior generations.2) An LTO drive is expected to write data to a cartridge in its own generation and to a cartridge from the immediate prior generation in the prior generation format

Page 36: 54591599-Veritas-Netbackup

LTO-5LTO-5

• The current draft has the following specifications:[14][15]

• Capacity of 1.5 TB (1500 GB)• Uncompressed data transfer rate of

140 MB/s• Specifications announced January 19,

2010• The first LTO-5 drives appeared on

the market in Q2, 2010 [16]

Page 37: 54591599-Veritas-Netbackup

Other Types of TapeOther Types of Tape

• Mammoth

• AIT – Advanced Intelligent Tape

Page 38: 54591599-Veritas-Netbackup

EXABYTE - MammothEXABYTE - Mammoth• Exabyte introduced the 8mm helical scan tape drive in

1985. At that time, the 8mm drive mechanical sub-assembly was designed and manufactured by Sony. Exabyte supplied the electronics, firmware, and cosmetics for the final product. Two generations of full high

• and one generation of half high tape drives were developed under the Sony/Exabytepartnership. Exabyte chose to develop and manufacture their own scanner for the Mammoth product and terminated their relationship with Sony for any future drivetechnology. Exabyte continues to rely on Sony for its Mammoth Advanced Metal

• Evaporative (AME) media. Exabyte also uses mechanical sub-assemblies from Hitachi for its value-line 8mm products.

Page 39: 54591599-Veritas-Netbackup

Sony – AIT (Advanced Sony – AIT (Advanced Intelligent Tape)Intelligent Tape)

• Sony, continuing its role as a leading innovator in tape technology, began producing the AIT (Advance Intelligent Tape) drive in 1996. The AIT drive is designed and

• manufactured entirely by Sony. Although the 8mm helical scan recording method is used, the AIT recording format is unique and incompatible with 8mm drives from

• Exabyte. The AIT drive is the first generation of a technology family positioned to double capacity and transfer rates every two years.

Page 40: 54591599-Veritas-Netbackup

SDLT vs LTO vs AITSDLT vs LTO vs AIT

Page 41: 54591599-Veritas-Netbackup

Optical DiskOptical Disk• Electronic data storage medium that

can be written to and read.• CD – R – 650MB – 700 MB – Write

once Read Many Format• CD – RW – Rewritable 650MB -

700MB• Rewritten as many as 1000 times

Page 42: 54591599-Veritas-Netbackup

DVDDVD - Digital Versatile Disc- Digital Versatile Disc• DVD – 4.8 GB (Regular DVD)• Dual Layer DVD – (8.84 GB)• Write once Read Many CD format

• Blue Ray DVD (BD/DVD)• Using a blue violet laser (450nm) which is

shorter wavelength than a red laser (600nm)

• This allows data to be packed more tightly and stored in less space – 25GB/50GB

Page 43: 54591599-Veritas-Netbackup

Backup Hardware DevicesBackup Hardware Devices• Tape Drives and Disk Drives Tape Drive Technology• DAT->Digital Audio Tape-Single tape

drive• DLT->Digital Linear Tape->5MB/s• SDLT->Super DLT->10MB/s• LTO ->Linear Tape Open• VTL ->Virtual Tape Library

Page 44: 54591599-Veritas-Netbackup

Linear Tape OpenLinear Tape Open• LTO 1(100/200) [1:1.5 is achievable]• 100 Gb is the Normal Capacity and

200Gb is the capacity when compressed.

• LTO2 ->200/400• LTO3 ->400/800• LTO4 ->800/1600• LTO5 ->1.5TB native capacity

Page 45: 54591599-Veritas-Netbackup

Tape Libraries supported by Tape Libraries supported by NetbackupNetbackup

• Tape Stakers (TS):- 8mm DAT Tapes, Tape Loaders, Tape Libraries, VTL• Models of Tape Library Eg:-Sun->SL8500

NetBackup Device Support

• 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/

Page 46: 54591599-Veritas-Netbackup

Must Watch Videos on Must Watch Videos on YoutubeYoutube

• 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/

TapeDrives/DLT/Index.aspx

Page 47: 54591599-Veritas-Netbackup

SCSI SCSI

• Small Computer Systems Interface• Support for many devices• Single SCSI Channel – 7 Devices• Bus mastering• Access to multiple devices• TCQ• Intelligent BUS• MTBF

Page 48: 54591599-Veritas-Netbackup

SCSISCSI

Page 49: 54591599-Veritas-Netbackup

SCSI interface overviewInterface Bus

WidthClock Speed

Max Through

put

Max Cable

Length

Max Devices

SCSI 8-bit 5 MHz 5 MB/s 6 m 7

Fast SCSI 8-bit 10 MHz 10 MB/s 1.5-3 m 7

Fast-Wide SCSI

16-bit 10 MHz 20 MB/s 1.5-3 m 15

Ultra SCSI 8-bit 20 MHz 20 MB/s 1.5-3 m 7

Ultra Wide SCSI

16-bit 20 MHz 40 MB/s 1.5-3 m 15

Ultra2 SCSI 8-bit 40 MHz 40 MB/s 12 m 7

Ultra2 Wide SCSI

16-bit 40 MHz 80 MB/s 12 m 15

Ultra3 SCSI 16-bit 40 MHz DDR 160 MB/s 12 m 15

Ultra-320 SCSI

16-bit 80 MHz DDR 320 MB/s 12 m 15

Page 50: 54591599-Veritas-Netbackup

SCSISCSI

• SCSI Connector – 50pins / 68pins• 50 pins – 8 bit system

• 68 pins – 16 bit system

Page 51: 54591599-Veritas-Netbackup

SCSISCSI• SCSI – I – 5Mb/sec

• SCSI – II – 10mb/ Sec (Fast SCSI / Wide SCSI)

Single Ended/Differential Versions

• SCSI – III – 40Mb/Sec Ultra / Ultra 2 / Ultra 3 / Ultra 320

• Termination

Page 52: 54591599-Veritas-Netbackup

SCSI – Termination/CablingSCSI – Termination/Cabling• SE – Single Ended

Single-ended SCSI uses half of the cable wires for carrying

data and control signals and the other half for ground. Because of this configuration, signals on a single-

ended bus are more susceptible to corruption due to noise, especially as bus speed is increased.

Cable Length – Max – 6m , Speed – 5Mhz

Page 53: 54591599-Veritas-Netbackup

SCSI – Termination/CablingSCSI – Termination/Cabling• HVDHigh Voltage Differential (HVD) SCSI uses a set of two wires for each data or control signal on the bus.Each signal is determined by the difference involtage between the line pair, resulting in highernoise tolerance. This allows for using longer cablesat faster bus speeds. However, HVD is more costlyto produce and uses more power than single-ended.

Cable Length – Max – 25m – Speed – 5Mhz

Page 54: 54591599-Veritas-Netbackup

SCSI – Termination/CablingSCSI – Termination/Cabling• LVD (Low Voltage Differential)

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.

Most LVD devices are "multimode", automatically detecting when they are attached to a single-ended bus, and operating in single-ended mode. This makes it possible to mix LVD and single-ended devices on the same bus. However, if only one single-ended device is connected

to a SCSI bus, all devices on that bus will operate in single-ended mode, and all of the single-ended limitations will apply: shorter cable lengths,

fewer devices, and slower bus speeds.

Page 55: 54591599-Veritas-Netbackup

SCSI - DrawbacksSCSI - Drawbacks

• Additional Hardware• Lower Volume• Cost

Page 56: 54591599-Veritas-Netbackup

Storage UnitStorage Unit• Definition:- A Storage Unit is a group

of one or more storage devices of specific type and density that are attached to a netbackup server.

• It is the logical destination for client data

• Tapes,Tapedrives,Robots,Library->Target Library

Page 57: 54591599-Veritas-Netbackup

About Disk Staging About Disk Staging

• Disk staging provides a method for administrators to create images on disk initially, then later copy the images to another media type (as determined in the disk staging schedule). The media type for the final destination is typically tape, but could be disk.

• This two-stage process allows the NetBackup administrator to leverage the advantages of disk-based backups in the near term, while preserving the advantages of tape-based backups for long term.

• Disk staging meets the following objectives: • Allows backups when tape drives are scarce. • Allows for faster restores from disk. • Facilitates streaming to tape without image multiplexing.

Page 58: 54591599-Veritas-Netbackup

Disk staging is conducted in Disk staging is conducted in two separate stagestwo separate stages

• A backup creates an image on the storage unit acting as the disk staging storage unit.

• A relocation schedule determines when the image from the disk staging storage unit should be relocated to the destination storage unit.

• The image continues to exist on both the disk staging storage unit and the destination storage unit. File restores are done from the disk staging storage unit copy, while the destination storage unit copy can be considered the long term copy.

• The disk copy continues to exist on the disk staging storage unit until either the copy expires based on the copy's retention period, or until another Stage I process needs space on the disk storage unit.

• When a Stage I process detects a full disk staging storage unit, it pauses the backup, finds the oldest image that has been successfully copied to the destination storage unit, and expires this image copy.

Page 59: 54591599-Veritas-Netbackup
Page 60: 54591599-Veritas-Netbackup

Configuration of PoliciesConfiguration of Policies• Policy Definition:- The set of rules that

netbackup follows when backing up its clients

• In Netbackup Administration Console:-• How to create a new policy- Note: Policy name should not have any

spaces• What does a Policy define?- Which Client,When/What/Where/How to

Backup

Page 61: 54591599-Veritas-Netbackup

Veritas Netbackup Client Veritas Netbackup Client SoftwareSoftware

• It runs on client.• From Master Server and Media

server,ping the client using the client’s ipaddress and host name and vice versa.

• The above 3 way communication should be there.

Page 62: 54591599-Veritas-Netbackup

PolicyPolicy• Attributes• Schedules• Clients• Backup Selections• Note:-When seen from the activity

monitor,the parent backup jobs will have a – under schedule but child jobs will have the description,for eg:first backup/daily/weekly/monthly.

Page 63: 54591599-Veritas-Netbackup
Page 64: 54591599-Veritas-Netbackup
Page 65: 54591599-Veritas-Netbackup

• Take checkpoints every ---minutes ->If a backup job is suspended for some reason and then resuming the job from the most recent time can be possible if the above option is set for example to 15 mins.

• Limit jobs per policy->2• Job priority ->9999 • Eg: DB archive jobs have highest

priority.,hence set it to 9999.

Page 66: 54591599-Veritas-Netbackup

Allow Multiple Data StreamsAllow Multiple Data Streams• Multiplexing• Hardware level• Data streams from

multiple sources use the same tape drive.

• Usually because the tape drive’s speed is high

• Multistreaming• Software Level

option• C:\---ABC(File1)

• ---DEF(File2)• ---GHI(File3)

• All the 3 files are backed up in 3 separate streams on to the tape drive.

Page 67: 54591599-Veritas-Netbackup

Perform snapshot backup is Perform snapshot backup is used to backup open filesused to backup open files

Page 68: 54591599-Veritas-Netbackup
Page 69: 54591599-Veritas-Netbackup

Daemons and servicesDaemons and services

bpcd

Bpbkar(32)-

ClientMedia Server

Master server

Bpcd(13782)

bpbrm

bptm

Bprd(13720)

bpsched

Bpdbm(13721)

bpjobd

Tape FilesCatlog

Page 70: 54591599-Veritas-Netbackup
Page 71: 54591599-Veritas-Netbackup

List of DaemonsList 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)

Page 72: 54591599-Veritas-Netbackup

7 Steps7 Steps1.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.

Page 73: 54591599-Veritas-Netbackup

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

3. Bpsched child contacts the media server to start the bpcd

Page 74: 54591599-Veritas-Netbackup

4.On media server the 4.On media server the following occurfollowing occur

• Bpcd invokes bpbrm.• Bpbrm starts bptm which requests a tape

mount and spans a child process to communicate with client.

• Vmd(Volume manager daemon) manages the volume catalog and handles media requests through out the course of the backup job.

• Bpbrm contacts the client to start bpcd in client.

Page 75: 54591599-Veritas-Netbackup

5.Client’s bpcd starts the bpbkar(32)

6.Bpbkar(32) reads data from client• Communicates directly with bpbrm to

send catalog meta data which is ultimately written to images catalog

• Send the backup data stream to the child bptm process

7. The child bptm process passes the data to the parent bptm process which writes data directly to the destination media.

Page 76: 54591599-Veritas-Netbackup

Port numbersPort numbers• Bpcd - > 13782• Bprd -> 13720• Bpdbm -> 13721• “bp.conf” file is present in all

netbackup master/media/client (unix)servers.It contains the host name and ipaddress of all the nodes involved in netbackup

Page 77: 54591599-Veritas-Netbackup

verbose flag -verbose flag -LogsLogs• <Install path>\netbackup\logs\

<create a folder,eg:bpcd>• Configuration file entry that causes a

higher level of detail to be written in the logs.

• 5 stages of logs->5->highest

Page 78: 54591599-Veritas-Netbackup
Page 79: 54591599-Veritas-Netbackup
Page 80: 54591599-Veritas-Netbackup

7.Netbackup Error Codes and7.Netbackup Error Codes and Trouble shooting Trouble shooting

• 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

Page 81: 54591599-Veritas-Netbackup

• 12,13,14-> File Open/Read/Write Failed

• 21,24->Socket open/write failed->Restart Netbackup client

services

• 41->Network connectivity timed out

• 42->Network Read Failed-> If Client can’t be pinged then

raise a ticket.

Page 82: 54591599-Veritas-Netbackup

• 46->Server not accessible46->Server not accessible• 48-> Client host name not found->Check bp.conf file on master server,media

server and client• 50-> Client process aborted• 5-> Restore destination has no space.• 53->Restore error.Backup restore

manager failed to read the file list.• 54->Timed out connecting to client.->Host Properties->Client properties-

>Increase Client Read Timeout value.

Page 83: 54591599-Veritas-Netbackup
Page 84: 54591599-Veritas-Netbackup

• $ more bp.confSERVER=nj2nbu1-hanSERVER=nj2nbu1SERVER=nj2nbu2CLIENT_NAME=uapkb2db.exnj2.MOMEN0265459$ pwd/usr/openv/netbackup

Page 85: 54591599-Veritas-Netbackup

•71->None of the files in 71->None of the files in the file list existthe 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

Page 86: 54591599-Veritas-Netbackup

Imp Netbackup CommandsImp 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\admincmd2. <Install Path>\ volmgr\bin3.< Install Path>\netbackup\bin\goodies

Page 87: 54591599-Veritas-Netbackup

usr\openv\veritas\usr\openv\veritas\netbackup\bin\admincmdnetbackup\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}

Page 88: 54591599-Veritas-Netbackup

usr\openv\veritas\volmgr\binusr\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 }

Page 89: 54591599-Veritas-Netbackup

usr\openv\veritas\usr\openv\veritas\netbackup\bin\goodiesnetbackup\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”}

Page 90: 54591599-Veritas-Netbackup

RestoreRestore• 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.

Page 91: 54591599-Veritas-Netbackup

Health CheckHealth 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)

Page 92: 54591599-Veritas-Netbackup

Health Check(Contd)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

Page 93: 54591599-Veritas-Netbackup

Imp QuestionsImp 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.....?