working with volumes session5
TRANSCRIPT
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 1/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 1
Volume
Working With Volumes
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 2/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 2
Volume Catalog
The volume catalog is one of the internal catalogs where mediamanager stores information about it
Volume : Individual Pieces of media.
Volume Pools : Media used for common purpose.
Scratch Volume Pools : the volume pools that enable to media
manager to logically tapes move in volume pools that do not havemedia available to use.
Volume Group : A group used by administrator and media managerfor tracking the physical location of volumes.
Volume catalog is located on master server in following location:/usr/openv/volmgr/database ---- volDB,poolDB
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 3/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 3
Volumes
Volumes are media (tapes or optical disks) that have been assignedmedia ID and labels.
Volumes are owned and managed by media manager until they are
assigned. Each volume has unique volume serial number:
EVSN (External Volume Serial Number) - bar code label affixed tovolume
RVSN (Recorded volume serial Number) - media header physicallywritten by NetBackup to volume
Media ID is limited to six characters
MEDIA_ID_BARCODE_CHARS entry in /usr/openv/volmgr/vm.conf can be used to specify which 6 out of 13 char. in bar code to beused for mediaID
If you prefer to assign specific media IDs, label them by using the
NetBackup bplabel command
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 4/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 4
Volume Overview
Volumes are units of data storage or cleaning capability on removable
media. NetBackup assigns IDs and other attributes to the media. NetBackup
uses the attributes to track and manage the media. Attributes include themedia ID, robot host, robot type, robot number, and slot location. Volumeinformation is stored in the EMM database.
Robotic Volumes
Robotic Volumes are volumes located in robot.
Standalone Volumes
Stand-alone volumes are volumes located in a drive that is not in a robot.
Through Configuration netbackup assigns media ID and labels volumeautomatically.
The DISABLE_STANDALONE_DRIVE_EXTENSIONS option of thenbemmcmd command can turn off NetBackup’s automatic use of stand-
alone volumes. Use the NetBackup bplabelcommand to label the volume and assign a
media ID
Netbackup Catalog Backup Volumes
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 5/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 5
About Label Volume
When NetBackup labels media, it writes a record on the media; the record (or
label ) includes the NetBackup media ID.
If a volume in a robot has not been labeled, NetBackup labels it the first timeit is used for a backup.
NetBackup uses a default prefix of the letter A when it assigns media IDs tovolumes without barcodes (for example, A00001). To change this default, use
the MEDIA_ID_PREFIX configuration option in the vm.conf file.
If the robot supports barcodes, by default NetBackup generates media IDsfor new volumes. The last six characters of the barcode are used for the ID.
If you prefer to assign specific media IDs, label them by using the NetBackupbplabel command
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 6/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 6
Adding Volumes
Adding volume using Volume Configuration Wizard
Inventory robots. An inventory operation:
Identifes media in a robot (including new media in an existing robot)
Adds that media to the NetBackup configuration
Add volumes for stand-alone drives.
Update the Enterprise Media Manager (EMM) database.
To start the Volume Configuration Wizard
In the NetBackup Administration Console, select Media and DeviceManagement > Configure Volumes.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 7/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 7
NBU GUI Wizards
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 8/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 8
Using Robot Inventory
Adding Volume Using Robot Inventory Update
A robot inventory update generates media IDs for new volumes as follows:
If the robot supports barcodes and the new volumes have readable barcodelabels, NetBackup generates media IDs based on one of the following:
The last six characters of the barcodes ( the default method). New volumesare assigned a media type, volume pool, maximum number of mounts (or
maximum cleanings), and description.
1. Insert the volume into Robotic Library.
2. Select Media and Device Management Media Robots
3. Select the robotic library where you inserted the volumes.
4. Select Action
Inventory Robots. 5.Select update configuration volume.
6. Start Update.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 9/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 9
NBU GUI
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 10/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 10
NBU GUI
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 11/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 11
NBU GUI
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 12/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 12
Volume Configuration -
Robot inventory to configure Robotic media:
To configure robotic media by using Robotic Inventory:
Show contents: This procedure initiates a physical inventory of aselected robot and generates a report showing which volume is ineach slot.
Compare contents with volume configuration: Media managerrequests an inventory from selected robot and compares withvolume catalog contents.
Perform volume configuration update: This option is used forupdating volume catalog after removing existing volumes or
inserting new volumes into a robot.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 13/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 13
Adding Volume Using Action
1. For new volumes in a robotic library, insert them into the proper slots.
2 .In the NetBackup Administration Console, select Media and DeviceManagement > Media.
3. Select Actions > New > Volumes.
4.In the Add Volumes dialog, specify the attributes for the volumes.
If the robot has a barcode reader, NetBackup does the following:
Adds the volume to the EMM database using the specified media ID.
Reads the barcode of each new volume.
Adds the barcodes as attributes in the EMM database.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 14/378/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 14
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 15/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 15
Volume Properties
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 16/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 16
Changing Volume Properties
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 17/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 17
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 18/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 18
Change Media Owner
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 19/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 19
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 20/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 20
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 21/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 21
Freeze and Unfreeze
Frozen volume available for future backup.
Frozen Volume never expires even after retention period.
Media ID is never deleted from Netbackup catalog.
Frozen volume available for restores if backups have expired.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 22/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 22
Suspending and Unsuspending
Cannot use suspended volume for backup until retention period forall backups on it have expired.
Netbackup deletes the suspended volume from netbackup catalog
and unassigns it from Netbackup. Suspended volume is available for restores.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 23/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 23
Label Volume (Media)
When Netbackup lable media it writes a record on the media therecord include netbackup media ID.
Media are not labelled automatically if: They were last used for NetBackup catalog backups.
They contain data from a recognized non-NetBackup application and
NetBackup is configured to prohibit media overwrite for that media type. Youcan label these media manually as follows:
If NetBackup has not assigned them
If they contain no valid NetBackup images
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 24/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 24
Rescan/Barcode Update
Use rescan and Barcode update when volume media informationnot available in EMM database.
Do not use rescan and Barcode update to correct the reports
That shows media ID in wrong slots.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 25/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 25
Move Volume
When To Move Volume
A volume is full in robotic library and no slots are available for new volume inrobotic library.
Moving volumes from a robotic library to an off-site location or from an off-site location into a robotic library.
Moving volumes from one robotic library to another (for example, if a libraryis down).
Changing the volume group for a volume or volumes.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 26/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 26
Drive Cleaning
It is important to clean tape drives on periodic basis but avoidundercleaning and overcleaning.
Various Drive cleaning method can be used
Hardware based cleaning – based on drive tape alerts feature isrecommended for SAN environment.
Frequency based cleaning – media manager keeps track of drivemount time and carry out cleaning based on cleaning frequency.Butthis is not supported for shared drives.
Manual drive cleaning- tpclean is command is used to manuallyclean the drive and reset the accumulated mount time to zero after
cleaning the drive.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 27/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 27
Cleaning Tape
Functions
• Cleaning the tape heads within a tape drive
• They are often easily identifiable by their different color or othermarkings
• The tape drive will automatically know that a cleaning tape has
been inserted and perform a cleaning 2/3 min and ejectautomatically.
• A common practice is to use special barcode labels that identify the
cleaning tape, such as "CLN001," "CLN002
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 28/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 28
Barcode Rules
If you are able to use barcodes ,the simplest method to automatethe cleaning is to create a barcode rule that recognizes the cleaning
tape barcode and assigns it to the proper type of tape. The"CLN001" designation allows you to create a barcode rule for all
tape barcodes that start with the sequence "CLN."
In Netbacup puts a tape into a tape drive of differing density. Forexample, if your media tapes are set to type DLT, and the tape drive
is set to type DLT2, the DLT tape will never be loaded into the DLT2tape drive. Similarly, cleaning tapes have "densities" that associatethemselves with a type of tape drive. For the previous example, thecleaning tape would be DLT2_CLEAN for use in DLT2 tape drives.
Cleaning tapes also must be in the special volume pool "None”
vmrule -add CLN dlt2_clean None 25 "Cleaning tape"
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 29/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 29
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 30/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 30
Volume Pools
Volume pools identifies the logical set of volume.
Volume pools can be used to reserve media for specific netbackup jobs.
Volume pools enables us to protect from being accessed byunauthorised users,groups or applications.
Volume pool must be exit before volumes may be assigned to it.
Volume must be registered in volume pool in order to requested byan application.
You also can configure a scratch pool from which NetBackup can
transfer volumes when a volume pool has no volumes available Following are the default volume pools:
Netbackup – For backups of netbackup catalog.
None - For other than netbackup jobs,Cleaning tapes also part of it.
DataStore : - Reserved for veritas and it’s partners for agentintegration.
The vmpool command can be used to display, add, modify or deletevolume pools available within NetBackup
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 31/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 31
Adding Volume Pool
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 32/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 32
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 33/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 33
Command Line
Add Volume Pool Through Command Line:
vmpool - manage volume pools
/usr/openv/volmgr/bin/vmpool
The following command adds a new pool named MyPool on the hostthat is named llama. It has the default host, user ID, and group ID
permissions:
vmpool -create -pn MyPool -description "description with
spaces" -mpf 17
The following command lists all pools that are configured on thehost where the command is executed:
vmpool -list_all -b
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 34/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 34
vmpool
sd729a@hsprod12: vmpool -list_all -bpool max partially full description--------------------------------------------------------------------------------
None the None poolNetBackup 0 the NetBackup poolDataStore 0 the DataStore poolCatalogBackup 0 NetBackup Catalog Backup pooScratch 0 The Scratch poolProduction 0 Production poolArchivelog 0 Archivelog poolArchivelog_onsite 0 Archivlelog onsite poolCleaning_Tape 0 Cleaning tape poolDatabase 0 Database poolDatabase_onsite 0 Database onsite poolProduction_onsite 0 Production onsite poolTapes_To_Label 0 Tapes to labelTapes_To_Check 0 Tapes to checkTest_Tape 0 Test tapes
Offsite_NBUDB 0 Offsite pool - catalog backu
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 35/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 35
Scratch Pool
A scratch volume pool is an optional volume pool.
A volume is moved by Media Manager from scratch volume pool toanother pool that does not have a volume available.
A volume moved from scratch volume pool becomes member of thenew volume pool.
Media manager will not assign volumes while they are in a scratchpool. If a NetBackup policy or schedule specifies the scratch pool,all requests for those volumes are denied.
Select the scratch pool check box in the “Add a New Volume Pool”dialog to create a scratch volume pool.
Symantec recommends that you add the most commonly used
media to the scratch pool.
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 36/37
8/30/2013 CONFIDENTIAL© Copyright 2007 Tech Mahindra Limited 36
Command Line Add Scratch
Adding scratch pool via command line:
Vmpool –set_scratch Pool Name
Lists all configured scratch pools and the pool index number.
sd729a@hsprod12: vmpool -list_scratch
Scratch Pools
=============
Scratch
-unset_scratch pool_nameUndefines pool_name as the scratch pool and defines it as aregular volume pool.
l
7/30/2019 Working With Volumes Session5
http://slidepdf.com/reader/full/working-with-volumes-session5 37/37
Volume Groups
Volume Groups assemble media in a common location.
Volume groups record the movement of a set of tapes as a unit.
Volume groups manage groups of tapes together for the purpose of administrative action – allows movement, modification, anddeletion of tapes in a group.
All volumes in a volume group must be of the same media type.However media type and it’s cleaning media can be in same volumegroup.
Only way to delete volume group is to move all volumes from thatgroup to different group.
More than one volume group can share same location/same robot.
All members of a volume group must be in same robot or bestandalone.