veritas_netbackup

Upload: kumar-pallav

Post on 08-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 Veritas_Netbackup

    1/93

    VeritasVeritas

    NetbackupNetbackup1. Introduction &1. Introduction & NetbackupNetbackup Architecture.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 services4. Backup Hard ware devices (Library and Tapes)4. Backup Hard ware devices (Library and Tapes)5. Configuration of Policies5. Configuration of Policies6. Configuration of Storage units / Volume pools6. Configuration of Storage units / Volume pools7.7. NetbackupNetbackup Error Codes and Trouble shootingError Codes and Trouble shooting8. Important8. Important NetbackupNetbackup commandscommands9. Restoration / Recovery9. Restoration / Recovery

    10. Health Check &10. Health Check & IntializingIntializing scheduled backupscheduled backup& Daily job monitoring& Daily job monitoring

  • 8/7/2019 Veritas_Netbackup

    2/93

    Information StorageInformation Storage

    Importance of information

    Data, information and storage

    Categories of data Storage architectures and their

    evolution

  • 8/7/2019 Veritas_Netbackup

    3/93

  • 8/7/2019 Veritas_Netbackup

    4/93

    Categories of DataCategories of Data

    Data can becategorized aseither structured or

    unstructured data Over 80% of

    enterpriseinformation isunstructured

    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%)

  • 8/7/2019 Veritas_Netbackup

    5/93

    InformationInformation

    What do individuals/businesses dowith the data they collect?

    They turn it intoinformation

    Information is theintelligence and knowledgederived from data

    Businesses analyzeraw data in order to

    identify meaningfultrends

    For example:

    Buying habits andpatterns of customers

    Health history of

    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

  • 8/7/2019 Veritas_Netbackup

    6/93

    StorageStorage

    Data created by individuals/businesses must bestored for further processing

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

    Examples:

    Individuals: Digital camera, Cell phone, DVDs,Hard disk

    Businesses: Hard disk, external disk arrays,tape library

    Storage model: An evolution

    Centralized: mainframe computers

    Decentralized: Client server model

    Centralized: Storage Networking

  • 8/7/2019 Veritas_Netbackup

    7/93

    Need for Storage & Growth ofNeed for Storage & Growth ofDataData

    The Sarbanes-Oxley Act states that all businessrecords, including electronic records andelectronic messages, must be saved for "not lessthan five years." The consequences for non-

    compliance are fines, imprisonment, or both. ITdepartments are increasingly faced with thechallenge of creating and maintaining a corporaterecords archive in a cost-effective fashion thatsatisfies the requirements put forth by the

    legislation.

  • 8/7/2019 Veritas_Netbackup

    8/93

    Introduction toIntroduction to NetbackupNetbackup

    Veritas Product

    Symantec took over veritas

    70 to 80% of companies world wideuse

    Versions->5.1 to 6.5.37,7.01

    GUI and CLI

  • 8/7/2019 Veritas_Netbackup

    9/93

    4 Tier Architecture of4 Tier Architecture ofNetbackupNetbackup

    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.co

    m/docs/336875.htm

  • 8/7/2019 Veritas_Netbackup

    10/93

    Netbackup ClientNetbackup Client

    During the backup or archive,theclient system generates the backup

    as a data stream and sends it acrossthe network to the media server.

    Therefore, our target is the clientwhose data needs to be backed up or

    restored

    MS SQL Agent comes free withNetbackup client

  • 8/7/2019 Veritas_Netbackup

    11/93

    Media ServerMedia Server

    To increase performance byproviding additional processingability and better distribution ofworkload (Load balancing).

    Note: Tape libraries are alwaysattached to the media server only

  • 8/7/2019 Veritas_Netbackup

    12/93

    Master ServerMaster Server

    Master Server is netbackups centralbrain, providing centralisedoperations and management to anymedia server and clients

  • 8/7/2019 Veritas_Netbackup

    13/93

    Global Data ManagerGlobal Data Manager

    GDM organises the span geographicsand provides the ability to performbackup and recovery operations fromvarious locations.

  • 8/7/2019 Veritas_Netbackup

    14/93

    ARCHIVE BITARCHIVE BIT

    The archive bit is a binary bit. Assuch, it is either 1 or 0, alsofrequently called set(1) and clearorreset(0). It represents whether thefile has (1) or has not (0) changedsince the last backup.

  • 8/7/2019 Veritas_Netbackup

    15/93

    Types of BackupTypes of Backup

    Full (Archive bit is reset)

    Differential Incremental (Changes sincethe latest backup, archive bit is reset)

    [Incremental]

    Cumulative Incremental(Changes sincethe last full backup)

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

    User Initiated Backup (Backup window is

    24x7)

  • 8/7/2019 Veritas_Netbackup

    16/93

    VaultVault

    Vault job initiates duplicate backupjobs.

    One for onsite and another for offsite Ejects the filled tapes from the tape

    library

    Automatically sends email to Ironmount and backup admins statingthe scratch set tape details andtapes which need to be reloaded

    License is ver costl .

  • 8/7/2019 Veritas_Netbackup

    17/93

    NetBackup CatalogNetBackup Catalog NetBackup catalogs are internal databases that

    contain information about NetBackup backupsand configuration. Backup information includesrecords of the files that have been backed upand the media on which the files are stored. Thecatalogs also contain information about themedia and storage devices.

    NetBackup requires the catalog information inorder to restore backups so it is extremelyimportant to configure a catalog backup before

    using NetBackup for regular client backups, andto schedule the catalog backups to occur on aregular basis thereafter. Without regular catalogbackups, you risk losing your regular backups ifthere is a problem with the disk that contains thecatalogs.

  • 8/7/2019 Veritas_Netbackup

    18/93

    Parts of the CatalogParts of the Catalog

    The NetBackup catalog resides on the disk of theNetBackup master server. The catalog consists of thefollowing parts:

    Image Database: The image database contains information

    about what has been backed up. It is by far the largest partof the catalog. [c:\prog files\veritas\netbackup\db\] NetBackup Relational Database: This includes the media

    and volume data describing media usage and volumeinformation which is used during the backups. [c:\progfiles\veritas\volmgr\database]

    NetBackup configuration files: Policy, schedule and otherflat files used by NetBackup.[ c:\progfiles\veritas\netbackup\var\]

  • 8/7/2019 Veritas_Netbackup

    19/93

    Netbackup ManagementNetbackup Management

    Host Properties

    Master Server

    Media Server Clients ->Double click to check

    network connectivity

  • 8/7/2019 Veritas_Netbackup

    20/93

    Media and DeviceMedia and DeviceManagementManagement

    Device Monitor -> Lists Tape drivesand Robots

    Media->Robot Type->TLD (In tapelib) or none (Offsite)

    Media->Volume Pools->Default 4Pools

  • 8/7/2019 Veritas_Netbackup

    21/93

  • 8/7/2019 Veritas_Netbackup

    22/93

    NOTENOTE

    Media ID:- is a 6 digit alphanumeric

    & usually a media has a barcode. Media>Robots (RC)>Robot

    Inventory>Update Volume config->Start

  • 8/7/2019 Veritas_Netbackup

    23/93

    Frozen,Suspend,Import,DuplicateFrozen,Suspend,Import,Duplicate

    Frozen tape:-Media Manager will auto freeze amedia if the backup cant use it after 3 attempts.Incase of media errors 83,84,86,we freeze themedia. Unfreeze later.

    Suspend:-It means that Netbackup won't writeany new data to that tape, until all data on itexpires. It will then be available for re-use.

    Expire:-Data on media will be removed but theimage (index) will remain until the tape isoverwritten

    Duplicate:-Medias sent offsite.Backup done usingeither vault/duplicate backup option.

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

  • 8/7/2019 Veritas_Netbackup

    24/93

    Volume PoolVolume Pool

    Definition:-Volume Pool is a set of volumes from which netbackupcan 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 protectsthem from access by unauthorized users, groups, orapplications.

    With the exception of the volume pools that are automaticallycreated by NetBackup, you must create a volume pool before youcan add volumes to a volume pool. The following volume pools areautomatically 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 assignthem to volume pools.

    It is also possible to configure a scratch pool from which MediaManager can transfer volumes, when a volume pool has novolumes available.

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

  • 8/7/2019 Veritas_Netbackup

    25/93

    Default Volume PoolsDefault Volume Pools

    None -> Cleaning Tapes are present

    Netbackup ->Brand new tapes go tonetbackup volume pool after inventory

    DataStore Catalog Backup

    Volume Pool which need to be created

    Scratch Pool :-Needs to be created so thatexpired tape medias which can be reusedcome to the scratch pool.

  • 8/7/2019 Veritas_Netbackup

    26/93

    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 allowedin the same volume group (for example, DLT and DLT_CLN).

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

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

    More than one volume group can share the same location. Forexample, a robotic library can contain volumes from more than

    one volume group and you can have more than one standalonevolume 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 inanother robotic library.

  • 8/7/2019 Veritas_Netbackup

    27/93

    Types of Tape Drives

  • 8/7/2019 Veritas_Netbackup

    28/93

    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 computersdominated the information systems industry.

    Data storage and backup for these mainframes was onexpensive, reel-to-reel tape systems using half-inch

    magnetic tape. Data was recorded in parallel tracks using a linearserpentine recording technology in which the data trackswere written in alternating bands from the beginning of thetape to the end and back again.

    Throughout the 60s and 70s these open-reel systemsevolved by increasing the number of tracks, increasing bit

    density, and increasing tape speed.

  • 8/7/2019 Veritas_Netbackup

    29/93

    Types Of Tape DrivesTypes Of Tape Drives

    Digital Linear Tape (DLT)

    Super Digital Linear Tape (SDLT)

    Linear Tape Open (LTO)

  • 8/7/2019 Veritas_Netbackup

    30/93

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

    DLT drives use half-inch wide metal particle tapes - 60% widerthan 8mm tape and the widest tape available - onto which data isrecorded in a serpentine pattern on parallel tracks grouped intopairs.

    Each data track goes the entire length of the tape. When data isrecorded, the first set of tracks is recorded on the whole length of

    the tape. When the end of the tape is reached, the heads arerepositioned to record a new set of tracks, and the tape is againrecorded 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 onadjacent tracks using a technique called Symmetric Phase

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

  • 8/7/2019 Veritas_Netbackup

    31/93

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

  • 8/7/2019 Veritas_Netbackup

    32/93

    SDLTSDLT Super DLT tape technology is the next generation DLT tape

    technology platform, the current industry standard for datastorage

    Super DLT tape technology is based on Laser Guided Magnetic

    Recording (LGMR) technology, which uses a uniquecombination of the best optical and magnetic technologies todramatically increase the number of recording tracks on thedata-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 driveis 160GB Native and 320GB Compressed.

  • 8/7/2019 Veritas_Netbackup

    33/93

    LTO TapeLTO Tape HP IBMHP IBMSEAGATESEAGATE

    LTO Technology, or Linear Tape-OpenTechnology, combines the advantages of linearmulti-channel bi-directional tape formats incommon usage today with enhancements in theareas of timing based servo, hardware datacompression, optimized track layouts and highefficiency error correction code to maximizecapacity and performance.

    HP, IBM and Seagate each provided expertknowledge of customer needs and

    complementary technology that provided fordelivery of a best-of-breed technology andpromotes a strong foundation for datainterchange. It is their intent that othercompanies can participate in this tape industryopportunity through the open licensing process

  • 8/7/2019 Veritas_Netbackup

    34/93

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

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

    Users will benefit from a greater than 30 percent increasein the number of tracks and average tape speed, as well asan improved recording method. The LTO format Generation2 provides users with outstanding data and investment

    protection because of its capability to read-and-writeGeneration 1 cartridges in the LTO Generation 1 format. LTO format come in 2 flavours : 1) Single reel catridge

    optimized for greater storage capacity called ULTRIUMand 2) Dual reel cartridge designed for faster access called ACCELIS

  • 8/7/2019 Veritas_Netbackup

    35/93

    LTO TapeLTO Tape

    The LTO compatibility is defined with twoconcepts demonstrating investmentprotection:

    1) An LTO drive is expected to read datafrom a cartridge in its own generation andat least the two prior generations.2) An LTO drive is expected to write data

    to a cartridge in its own generation and toa cartridge from the immediate priorgeneration in the prior generation format

  • 8/7/2019 Veritas_Netbackup

    36/93

    LTOLTO--55

    The current draft has the followingspecifications:[14][15]

    Capacity of 1.5 TB (1500 GB)

    Uncompressed data transfer rate of140 MB/s

    Specifications announced January19, 2010

    The first LTO-5 drives appeared onthe market in Q2, 2010 [16]

  • 8/7/2019 Veritas_Netbackup

    37/93

    Other Types of TapeOther Types of Tape

    Mammoth

    AIT Advanced Intelligent Tape

  • 8/7/2019 Veritas_Netbackup

    38/93

    EXABYTEEXABYTE -- MammothMammoth 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 cosmeticsfor the final product. Two generations of full high

    and one generation of half high tape drives were developedunder the Sony/Exabytepartnership. Exabyte chose todevelop and manufacture their own scanner for theMammoth product and terminated their relationship withSony for any future drivetechnology. Exabyte continues torely on Sony for its Mammoth Advanced Metal

    Evaporative (AME) media. Exabyte also uses mechanicalsub-assemblies from Hitachi for its value-line 8mmproducts.

  • 8/7/2019 Veritas_Netbackup

    39/93

    SonySony AIT (AdvancedAIT (AdvancedIntelligent Tape)Intelligent Tape)

    Sony, continuing its role as a leading innovator intape technology, began producing the AIT (AdvanceIntelligent Tape) drive in 1996. The AIT drive isdesigned and

    manufactured entirely by Sony. Although the 8mmhelical scan recording method is used, the AITrecording format is unique and incompatible with8mm drives from

    Exabyte. The AIT drive is the first generation of a

    technology family positioned to double capacity andtransfer rates every two years.

  • 8/7/2019 Veritas_Netbackup

    40/93

    SDLT vs LTO vs AITSDLT vs LTO vs AIT

  • 8/7/2019 Veritas_Netbackup

    41/93

    Optical DiskOptical Disk

    Electronic data storage medium thatcan be written to and read.

    CD R 650MB 700 MB W

    riteonce Read Many Format

    CD RW Rewritable 650MB -700MB

    Rewritten as many as 1000 times

  • 8/7/2019 Veritas_Netbackup

    42/93

    DVDDVD -- Digital VersatileDigital VersatileDiscDisc

    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 isshorter wavelength than a red laser

    (600nm) This allows data to be packed more tightly

    and stored in less space 25GB/50GB

  • 8/7/2019 Veritas_Netbackup

    43/93

    Backup Hardware DevicesBackup Hardware Devices

    Tape Drives and Disk Drives

    Tape Drive Technology

    DAT->Digital Audio Tape-Single tapedrive

    DLT->Digital Linear Tape->5MB/s

    SDLT->Super DLT->10MB/s LTO ->Linear Tape Open

    VTL ->Virtual Tape Library

  • 8/7/2019 Veritas_Netbackup

    44/93

    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 whencompressed.

    LTO2 ->200/400

    LTO3 ->4

    00/800 LTO4 ->800/1600

    LTO5 ->1.5TB native capacity

  • 8/7/2019 Veritas_Netbackup

    45/93

    Tape Libraries supported byTape Libraries supported byNetbackupNetbackup

    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 numberof vendors

    The URL for NetBackup Enterprise Server 5.x hardware compatibility matrices forspecific devices on specific OS platforms is: http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/2

    80666.pdf

    The URL for NetBackup Enterprise Server 6.0 hardware compatibility matrices forspecific 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 forspecific devices on specific OS platforms is:

    http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/284599.pdf/

  • 8/7/2019 Veritas_Netbackup

    46/93

    Must Watch Videos onMust Watch Videos onYoutubeYoutube

    Sun StorageTek SL8500 ProductTour 1 of 2

    Sun StorageTek SL8500 ProductTour 2 of 2

    Tape Library / Autoloader

    Powering Up the SL8500 TapeLibrary

    Imp links:-

    http://www.quantum.com/Products/

  • 8/7/2019 Veritas_Netbackup

    47/93

    SCSISCSI

    Small Computer Systems Interface

    Support for many devices

    Single SCSI Channel 7 Devices Bus mastering

    Access to multiple devices

    TCQ Intelligent BUS

    MTBF

  • 8/7/2019 Veritas_Netbackup

    48/93

    SCSISCSI

  • 8/7/2019 Veritas_Netbackup

    49/93

    SCSI interface overviewInterface Bus

    WidthClockSpeed

    MaxThrough

    put

    MaxCable

    Length

    MaxDevices

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

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

    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 WideSCSI

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

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

    - -

  • 8/7/2019 Veritas_Netbackup

    50/93

    SCSISCSI

    SCSI Connector 50pins / 68pins

    50 pins 8 bit system

    68 pins 16 bit system

  • 8/7/2019 Veritas_Netbackup

    51/93

    SCSISCSI

    SCSI I 5Mb/sec

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

    Single Ended/Differential Versions

    SCSI III 40Mb/SecUltra / Ultra 2 / Ultra 3 / Ultra 320

    Termination

  • 8/7/2019 Veritas_Netbackup

    52/93

    SCSISCSI Termination/CablingTermination/Cabling

    SE Single Ended

    Single-ended SCSI uses half of thecable wires for carrying

    data and control signals and the otherhalf for ground.

    Because of this configuration, signalson a single-ended

    bus are more susceptible to

    corruption due to noise,

  • 8/7/2019 Veritas_Netbackup

    53/93

    SCSISCSI Termination/CablingTermination/Cabling

    HVD

    High Voltage Differential (HVD) SCSIuses a set of

    two wires for each data or controlsignal on the bus.

    Each signal is determined by the

    difference involtage between the line pair, resulting

    in higher

    noise tolerance. This allows for using

  • 8/7/2019 Veritas_Netbackup

    54/93

    SCSISCSI Termination/CablingTermination/Cabling LVD (Low Voltage Differential)

    Like HVD, Low Voltage Differential (LVD) SCSI also uses twowires for

    each signal. This brings the differential bus advantage ofreduced signal

    corruption due to noise. Another advantage of LVD is that ituses lower

    voltages than HVD, reducing cost and power consumption.

    Most LVD devices are "multimode", automatically detectingwhen they

    are attached to a single-ended bus, and operating in single-ended

    mode. This makes it possible to mix LVD and single-endeddevices on

    the same bus. However, if only one single-ended device isconnected to

  • 8/7/2019 Veritas_Netbackup

    55/93

    SCSISCSI -- DrawbacksDrawbacks

    Additional Hardware

    Lower Volume

    Cost

  • 8/7/2019 Veritas_Netbackup

    56/93

    Storage UnitStorage Unit

    Definition:- A Storage Unit is a groupof one or more storage devices ofspecific type and density that areattached to a netbackup server.

    It is the logical destination for clientdata

    Tapes,Tapedrives,Robots,Library->Target Library

    b i k ib i k i

  • 8/7/2019 Veritas_Netbackup

    57/93

    About Disk StagingAbout Disk Staging

    Disk staging provides a method for administrators to createimages on disk initially, then later copy the images toanother media type (as determined in the disk stagingschedule). The media type for the final destination is typicallytape, but could be disk.

    This two-stage process allows the NetBackup administrator

    to leverage the advantages of disk-based backups in the nearterm, while preserving the advantages of tape-based backupsfor 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.

    i k i i d d ii k i i d d i

  • 8/7/2019 Veritas_Netbackup

    58/93

    Disk staging is conducted inDisk staging is conducted intwo separate stagestwo separate stages

    A backup creates an image on the storage unit acting as the diskstaging storage unit.

    A relocation schedule determines when the image from the diskstaging storage unit should be relocated to the destination storageunit.

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

    The disk copy continues to exist on the disk staging storage unituntil 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, itpauses the backup, finds the oldest image that has beensuccessfully copied to the destination storage unit, and expiresthis image copy.

  • 8/7/2019 Veritas_Netbackup

    59/93

  • 8/7/2019 Veritas_Netbackup

    60/93

    Configuration of PoliciesConfiguration of Policies

    Policy Definition:- The set of rules thatnetbackup follows when backing up itsclients

    In Netbackup Administration Console:- How to create a new policy

    - Note: Policy name should not have anyspaces

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

    Backup

  • 8/7/2019 Veritas_Netbackup

    61/93

    Veritas Netbackup ClientVeritas Netbackup ClientSoftwareSoftware

    It runs on client.

    From Master Server and Mediaserver,ping the client using theclients ipaddress and host name andvice versa.

    The above 3 way communication

    should be there.

  • 8/7/2019 Veritas_Netbackup

    62/93

    PolicyPolicy

    Attributes

    Schedules

    Clients

    Backup Selections

    Note:-When seen from the activitymonitor,the parent backup jobs will

    have a under schedule but childjobs will have the description,foreg:firstbackup/daily/weekly/monthly.

  • 8/7/2019 Veritas_Netbackup

    63/93

  • 8/7/2019 Veritas_Netbackup

    64/93

  • 8/7/2019 Veritas_Netbackup

    65/93

    Take checkpoints every ---minutes ->If a backup job is

    suspended for some reason and thenresuming the job from the mostrecent time can be possible if the

    above option is set for example to 15mins.

    Limit jobs per policy->2

    Job priority ->9999 Eg: DB archive jobs have highest

    priority.,hence set it to 9999.

  • 8/7/2019 Veritas_Netbackup

    66/93

    Allow Multiple Data StreamsAllow Multiple Data Streams

    Multiplexing

    Hardware level

    Data streams from

    multiple sourcesuse the same tapedrive.

    Usually becausethe tape drivesspeed is high

    Multistreaming

    Software Leveloption

    C:\---ABC(File1) ---DEF(File2)

    ---GHI(File3)

    All the 3 files are

    backed up in 3separate streamson to the tapedrive.

    P f h t b k iP f h t b k i

  • 8/7/2019 Veritas_Netbackup

    67/93

    Perform snapshot backup isPerform snapshot backup isused to backup open filesused to backup open files

  • 8/7/2019 Veritas_Netbackup

    68/93

  • 8/7/2019 Veritas_Netbackup

    69/93

    Daemons and servicesDaemons and services

    bpcd

    Bpbkar(32)-

    ClientMedia Server

    Master server

    Bpcd

    (13782)

    bpbrm

    bptm

    Bprd

    (13720)

    bpsched

    Bpdbm

    (13721)

    bpjobd

    Tape FilesCatlog

  • 8/7/2019 Veritas_Netbackup

    70/93

  • 8/7/2019 Veritas_Netbackup

    71/93

    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)

  • 8/7/2019 Veritas_Netbackup

    72/93

    7 Steps7 Steps

    1.When the Daemons wake upinterval occurs,the bprd on masterwill wake up and start the bpsched.

    Note: bprd is also activated on mediaserver but after checking the bp.conffile(/usr/openv/netbackup/bp.conf)

    and determining that it is notrunning on master server, bprdbecomes inactive.

  • 8/7/2019 Veritas_Netbackup

    73/93

    2. Bpsched calls bpdbm to check thepolicy for auto backup schedules

    Bpsched calls the child process tohandle the backup

    Bpdbm calls bpjobd to communicate

    with job catalog

    3. Bpsched child contacts the media

    server to start the bpcd

    4 On media server the4 On media server the

  • 8/7/2019 Veritas_Netbackup

    74/93

    4.On media server the4.On media server thefollowing occurfollowing occur

    Bpcd invokes bpbrm.

    Bpbrm starts bptm which requests a tapemount and spans a child process to

    communicate with client. Vmd(Volume manager daemon)manages the volume catalog and handlesmedia requests through out the course ofthe backup job.

    Bpbrm contacts the client to start bpcd inclient.

    5.Clients bpcd starts the bpbkar(32)

  • 8/7/2019 Veritas_Netbackup

    75/93

    p p ( )

    6.Bpbkar(32) reads data from client

    Communicates directly with bpbrm tosend catalog meta data which isultimately written to images catalog

    Send the backup data stream to thechild bptm process

    7. The child bptm process passes the

    data to the parent bptm processwhich writes data directly to thedestination media.

  • 8/7/2019 Veritas_Netbackup

    76/93

    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 hostname and ipaddress of all the nodesinvolved in netbackup

  • 8/7/2019 Veritas_Netbackup

    77/93

    verbose flagverbose flag --LogsLogs

    \netbackup\logs\

    Configuration file entry that causes ahigher level of detail to be written inthe logs.

    5 stages of logs->5->highest

  • 8/7/2019 Veritas_Netbackup

    78/93

  • 8/7/2019 Veritas_Netbackup

    79/93

    7 Netbackup Error Codes and7 Netbackup Error Codes and

  • 8/7/2019 Veritas_Netbackup

    80/93

    7.Netbackup Error Codes and7.Netbackup Error Codes andTrouble shootingTrouble 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 thatping from master to media and clientis fine.Else raise a ticket and assign toIntel team

    12 13 14 Fil

  • 8/7/2019 Veritas_Netbackup

    81/93

    12,13,14-> FileOpen/Read/Write Failed

    21,24->Socket open/write failed

    ->Restart Netbackup clientservices

    41->Network connectivity timedout

    42->Network Read Failed-> If Client cant be pinged then

    raise a ticket.

  • 8/7/2019 Veritas_Netbackup

    82/93

    4646-->Server not accessible>Server not accessible

    48-> Client host name not found

    ->Check bp.conf file on masterserver,media server and client

    50-> Client process aborted 5-> Restore destination has no space.

    53->Restore error.Backup restoremanager failed to read the file list.

    54->Timed out connecting to client.->Host Properties->Client properties-

    >Increase Client Read Timeout value.

  • 8/7/2019 Veritas_Netbackup

    83/93

  • 8/7/2019 Veritas_Netbackup

    84/93

    $ more bp.confSERVER=nj2nbu1-hanSERVER=nj2nbu1

    SERVER=nj2nbu2CLIENT_NAME=uapkb2db.exnj2.MOMEN0265459

    $ pwd/usr/openv/netbackup

    7171-->None of the files in>None of the files in

  • 8/7/2019 Veritas_Netbackup

    85/93

    7171-->None of the files in>None of the files inthe 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

  • 8/7/2019 Veritas_Netbackup

    86/93

    Imp Netbackup CommandsImp Netbackup Commands

    Important 3 paths from where commandscan be executed:-

    [ \usr\openv\veritas\netbackup or c:\prog

    files\veritas\->Installation Path]1.\netbackup\bin\admincmd

    2. \ volmgr\bin

    3.< Install Path>\netbackup\bin\goodies

    usrusr\\openvopenv\\veritasveritas\\netbackunetbacku

  • 8/7/2019 Veritas_Netbackup

    87/93

    usrusr\\openvopenv\\veritasveritas\\netbackunetbackupp\\binbin\\admincmdadmincmd

    Bpmedialist m -h {Statusof media}

    Bpmedialist summary {All medias and related info like->expiration date}

    Bpmedia freeze/unfreeze m -h

    Bpgetconfig g -L {Client details} Bperror u {Lists jobs failed with error code..} Bpdbjobs summary {activity monitor} Bpdbjobs report {Number of jobs queued/running/failed} Bpimagelist U -d -d {Images of backup for the client}

    usrusr\\openvopenv\\veritasveritas\\volmgrvolmgr\\binbin

  • 8/7/2019 Veritas_Netbackup

    88/93

    \\ pp \\ \\ gg \\ Vmoprcmd {To check if drives are up or down} Vmoprcmd h -resubmit/reset

    Vmquery m {Status of the tape/media} Vmupdate rt -rn

    {To do robot inventory } Vmcheckxxx rt -rn

    {Lists all slots in the tape lib.Can check slot availability}

    Robtest -> 1 ->s d/s ->m d 1 to s 6 ->m s6 to d 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 -p { To move a newmedia from one vol pool to another }

    usrusr\\openvopenv\\veritasveritas\\netbackunetbacku

  • 8/7/2019 Veritas_Netbackup

    89/93

    usrusr\\openvopenv\\veritasveritas\\netbackunetbackupp\\binbin\\goodiesgoodies

    Available_media {Shows all availablemedias 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 tapelibrary}

    Available_media | grep I

    {Check if media is present in the tapelibrary.If yes then the result is TLD

    else the result is none}

  • 8/7/2019 Veritas_Netbackup

    90/93

    RestoreRestore

    Info needed:-Source server,Destserver,source file path,dest file path,dateof backup.

    Source client,Dest client,Policy type,Start/End date and time,Preview and RestoreTabs

    Preview shows the medias needed.

    Check media robot type{TLD/none} foravailability of tape.

    If destination is not given then the root of

    netbackup will get filled.So be careful.

  • 8/7/2019 Veritas_Netbackup

    91/93

    Health CheckHealth Check

    Regular Admin Job to check the activitymonitor 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)

  • 8/7/2019 Veritas_Netbackup

    92/93

    Health Check(Contd)Health Check(Contd)

    If there is a ticket breach then callfor a meeting

    Put ticket on hold when other teamsare handling

    Check for failed jobs.Usually backuptickets take time to resolve

    On Call Support ->24x7 support

  • 8/7/2019 Veritas_Netbackup

    93/93

    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 medias 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 isincreased? 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 topresent time?

    There is a Tape library with 10 drives ...Can we able to create 2 Storageunits.....?