Release:
Symantec VERITAS Netbackup 6.5 for
Windows
Problem:
This document guides you through the scenarios where you
can use a physical Inventory and how it can accomplish your requirement.
Solution:
Let us considering the following
situations:
Ø For
the robots without bar code readers
Ø For
the robots that contain media without bar codes
Generally the Netbackup administrative
console will report the presence of the media in the above cases whereas more
detailed information is required to perform automated media management. In this
scenario we need to go for vmphyinv or what we call as a physical inventory
utility.
Features of Vmphyinv
Ø Can
be run from any master server, media server, or SAN media server.
Ø Can
be used with bar coded tape libraries because it verifies the contents of the
media.
Ø Recognizes
the NetBackup and the Backup Exec tape formats.
Ø Supports
the remote administration. You do not need to run vmphyinv from the host to
which the drives are attached.
Ø Tries
to use multiple drives in a robot even if the drives are attached to different
hosts.
Ø Works
with shared drives (NetBackup Shared Storage Option).
Ø Supports
all supported SCSI-based robot types.
Ø Can
be used to inventory a single media in a standalone drive. Use the -u option or
the -n option to specify the drive; the drive must contain media and it must be
ready.
Applications Of vmphyinv
ü You
may use the vmphyinv to update the EMM server in the following cases:
ü If
you want to run an inventory on a robot that does not have a bar code reader or
that contains nonbar coded media.
ü If
you have inserted a new media into a robotic library and no NetBackup volume
records correspond to the media. Use the slot range or list option of vmphyinv
to perform the inventory operation. You do not need to add volume records to
the EMM database.
ü You
insert some media that have unknown media IDs or globally unique identifiers
(GUIDs) into a robot. For example, you insert 10 media from a different tape
library in slots 11 to 20. You do not know the IDs on the tapes. Use the slot
range or list option of vmphyinv to perform the inventory operation. The
vmphyinv utility mounts the media, reads the tape header, determines the media
ID, and adds media records to the EMM database.
ü In
cases where some of the media are misplaced and the EMM database does not
reflect the correct physical location of these media. Inventory the robot or
inventory a subset of media in the robot by using options in vmphyinv.
In all the above scenarios vmphyinv
will be executing the below operations:
ü Mounts
each tape
ü Reads
the tape header
ü Identifies
the tape in each slot
ü Updates
the NetBackup volume configuration
For initiating a physical inventory you
need use the below command syntax in command prompt:
C:\> C:\Program Files\Veritas\Volmgr\bin\vmphyinv -rn
<robot_number> -slot_range <from to> -d <density>
Please find an example below. Here we
are having 23 slots starting from 1 to 23, there is a single robot with robot
number “0” and the density for the tape is hcart in the media server iffco_bkp:
C:\> C:\Program Files\Veritas\Volmgr\bin\vmphyinv -rn 0
-slot_range 1 23 –hcart
----------------------Sample Output----Media
Server:iffco_bkp---------------------
Waiting for mount
of media ID A00139 on host iffco_bkp
Mounted media ID
A00139 on host iffco_bkp
Waiting for mount
of media ID A00140 on host iffco_bkp
Mounted media ID
A00140 on host iffco_bkp
Waiting for mount
of media ID A00141 on host iffco_bkp
Mounted media ID
A00141 on host iffco_bkp
Waiting for mount
of media ID A00142 on host iffco_bkp
Mounted media ID
A00142 on host iffco_bkp
Waiting for mount
of media ID A00143 on host iffco_bkp
Mounted media ID
A00143 on host iffco_bkp
Waiting for mount
of media ID A00144 on host iffco_bkp
Mounted media ID A00144
on host iffco_bkp
Waiting for mount
of media ID A00145 on host iffco_bkp
Mounted media ID
A00145 on host iffco_bkp
Waiting for mount
of media ID A00146 on host iffco_bkp
Mounted media ID
A00146 on host iffco_bkp
Waiting for mount
of media ID A00147 on host iffco_bkp
Mounted media ID
A00147 on host iffco_bkp
Waiting for mount
of media ID A00148 on host iffco_bkp
Mounted media ID
A00148 on host iffco_bkp
----------------------Sample Output----Media
Server:iffco_bkp---------------------
Waiting for mount
of media ID A00161 on host iffco_bkp
Mounted media ID
A00161 on host iffco_bkp
Waiting for mount
of media ID A00150 on host iffco_bkp
Mounted media ID
A00150 on host iffco_bkp
Waiting for mount
of media ID A00151 on host iffco_bkp
Mounted media ID
A00151 on host iffco_bkp
Waiting for mount
of media ID A00152 on host iffco_bkp
Mounted media ID
A00152 on host iffco_bkp
Waiting for mount
of media ID A00153 on host iffco_bkp
Mounted media ID
A00153 on host iffco_bkp
Waiting for mount
of media ID A00154 on host iffco_bkp
Mounted media ID
A00154 on host iffco_bkp
Waiting for mount
of media ID A00155 on host iffco_bkp
Mounted media ID
A00155 on host iffco_bkp
Waiting for mount
of media ID A00156 on host iffco_bkp
Mounted media ID
A00156 on host iffco_bkp
Waiting for mount
of media ID A00157 on host iffco_bkp
Mounted media ID
A00157 on host iffco_bkp
Waiting for mount
of media ID A00158 on host iffco_bkp
Mounted media ID
A00158 on host iffco_bkp
Waiting for mount
of media ID A00159 on host iffco_bkp
Mounted media ID
A00159 on host iffco_bkp
Waiting for mount
of media ID A00160 on host iffco_bkp
Mounted media ID
A00160 on host iffco_bkp
Waiting for mount
of media ID A00162 on host iffco_bkp
Mounted media ID
A00162 on host iffco_bkp
Proposed
Change(s) to Update the Volume Configuration
=====================================================
Logically move
media ID A00141 from slot 3 to standalone
Logically add new
media A00040 to robot slot 3.
Logically move
media ID A00144 from slot 6 to standalone
Logically add new
media A00068 to robot slot 6.
Logically move
media ID A00146 from slot 8 to standalone
Logically add new
media A00041 to robot slot 8.
Logically move
media ID A00147 from slot 9 to standalone
Logically add new
media A00062 to robot slot 9.
Logically move media
ID A00148 from slot 10 to standalone
Logically move
media ID A00063 to slot 10.
Logically move
media ID A00161 from slot 11 to standalone
Logically add new
media A00048 to robot slot 11.
Logically move
media ID A00150 from slot 12 to standalone
Logically move
media ID A00057 to slot 12.
Logically move
media ID A00151 from slot 13 to standalone
Logically move
media ID A00050 to slot 13.
Logically move
media ID A00152 from slot 14 to standalone
Logically add new
media A00064 to robot slot 14.
Logically move
media ID A00153 from slot 15 to standalone
Logically move
media ID A00060 to slot 15.
Logically move
media ID A00154 from slot 16 to standalone
Logically move
media ID A00053 to slot 16.
Logically move
media ID A00155 from slot 17 to standalone
Logically move
media ID A00054 to slot 17.
Logically move
media ID A00156 from slot 18 to standalone
Logically move
media ID A00055 to slot 18.
Logically move
media ID A00157 from slot 19 to standalone
Logically add new
media A00056 to robot slot 19.
----------------------Sample Output----Media
Server:iffco_bkp---------------------
Logically move
media ID A00158 from slot 20 to standalone
Logically add new
media A00043 to robot slot 20.
Logically move
media ID A00159 from slot 21 to standalone
Logically add new
media A00058 to robot slot 21.
Logically move
media ID A00160 from slot 22 to standalone
Logically move
media ID A00059 to slot 22.
Logically move
media ID A00162 from slot 23 to standalone
Logically move
media ID A00052 to slot 23.
Update volume configuration? (y/n) n: y
Moved media ID
A00141 from slot 3 to standalone residence
Added new media
A00040 to slot 3 on host iffco_bkp.
Moved media ID
A00144 from slot 6 to standalone residence
Added new media
A00068 to slot 6 on host iffco_bkp.
Moved media ID
A00146 from slot 8 to standalone residence
Added new media
A00041 to slot 8 on host iffco_bkp.
Moved media ID
A00147 from slot 9 to standalone residence
Added new media
A00062 to slot 9 on host iffco_bkp.
Moved media ID
A00148 from slot 10 to standalone residence
Moved media ID
A00063 to slot 10.
Moved media ID
A00161 from slot 11 to standalone residence
Added new media
A00048 to slot 11 on host iffco_bkp.
Moved media ID
A00150 from slot 12 to standalone residence
Moved media ID
A00057 to slot 12.
Moved media ID
A00151 from slot 13 to standalone residence
Moved media ID
A00050 to slot 13.
Moved media ID
A00152 from slot 14 to standalone residence
Added new media
A00064 to slot 14 on host iffco_bkp.
Moved media ID
A00153 from slot 15 to standalone residence
Moved media ID
A00060 to slot 15.
Moved media ID
A00154 from slot 16 to standalone residence
Moved media ID
A00053 to slot 16.
Moved media ID
A00155 from slot 17 to standalone residence
Moved media ID
A00054 to slot 17.
Moved media ID
A00156 from slot 18 to standalone residence
Moved media ID
A00055 to slot 18.
Moved media ID
A00157 from slot 19 to standalone residence
Added new media
A00056 to slot 19 on host iffco_bkp.
Moved media ID
A00158 from slot 20 to standalone residence
Added new media
A00043 to slot 20 on host iffco_bkp.
Moved media ID
A00159 from slot 21 to standalone residence
Added new media
A00058 to slot 21 on host iffco_bkp.
Moved media ID
A00160 from slot 22 to standalone residence
Moved media ID
A00059 to slot 22.
Moved media ID
A00162 from slot 23 to standalone residence
Moved media ID
A00052 to slot 23.
For
further customization and running the vmphyinv to suit your scenario and
further examples on the same you may use the below link:
****************
No comments:
Post a Comment