Virtual TapeServer 8.4 Configuration Guide

Creating and Managing Virtual Media | 115
3. Select a pool to migrate by clicking on the name of a pool in the pool column. Or, expand a
pool and select a virtual tape in the cartridge column.
Note VTS locks all virtual tapes that are selected for migration, until the operation is
complete. If you select a pool to migrate, all virtual tapes in the pool are locked. Thus,
to migrate a pool, there must be no locks on the pool or any of its virtual tapes.
4. Click the Migrate button at the top of the page.
5. When prompted, confirm the action.
Automatically migrating virtual tapes to physical tapes using VTSPolicy
You can also use migration to automatically export tapes, through the use of VTSPolicy. If migration
is not enabled and configured, contact HP Global NonStop Solution Center (GNSC) for support.
After BMA integration is configured, which enables a backup management application server to read
and write files to and from VTS, you can use VTSPolicy to initiate migration by having the NonStop
server send an EMS message to the VTS server. The VTS server then uses the VTSPolicy command to
invoke the backup management application to complete the desired operation. VTS waits for the
return code from the backup management application. If a successful return code is received, VTS
marks the virtual tape as migrated to physical tape. If the return code indicates a failure, VTS does
not mark the virtual tape as migrated and notes this in the log file.
If the NonStop server requests a virtual tape that was migrated, VTS checks the size of the requested
virtual tape. If using IBM Tivoli Storage Manager and the size is 0, the virtual tape was erased and
VTS attempts to retrieve the data and recreate the virtual tape from physical tape. To accomplish
this, VTS references the metadata within the virtual tape and generates a request to the backup
management application to restore the data. After the data is restored, the virtual tape is mounted.
The NonStop server can then recognize the virtual tape online and begin to restore it.
You can automate migration by issuing the VTSPolicy command using the FUP utility or by adding the
command to a TACL script.
Note Memory issues may occur when too many concurrent VTSPolicy migrations are attempted. At
most, one migrate per physical tape drive should occur at any one time.
Before beginning
l Verify that BMA integration is enabled and configured. If necessary, contact HP Global NonStop
Solution Center (GNSC) for support.
To configure the VTSPolicy command for IBM Tivoli Storage Manager
Here is the syntax of the VTSPolicy command for use with IBM Tivoli Storage Manager. Note that all
parameters specified for the command are case-sensitive.
VTSPolicy TSM 'backup_type /VAULTxx/pool/cartridge [keyword=value ...]'
where
backup_type Specifies the type of backup. You can specify one of the following values: archive or
selective. The most commonly used type is archive, though you may want to contact your Tivoli
administrator for more information.