Isv Import Email Format; Email Processing Example Script - HP 12000 Design Manual

Hp vls solutions guide design guidelines for virtual library systems with deduplication and replication (ag306-96032, july 2011)
Hide thumbs Also See for 12000:
Table of Contents

Advertisement

VLS that sends an hourly email report listing which virtual cartridges have been successfully replicated
in the last hour, and this cartridge list can then be fed into a script that automatically triggers tape
import jobs in the backup application (which read the new cartridge data and import this content
into the media database). The target backup application can then restore from the imported virtual
cartridges or copy them to physical tape, etc.

ISV Import Email Format

The following shows the format of the ISV Import email from the VLS, which lists the virtual cartridges
that were successfully replicated into replication targets since the last report. The attachment format
is:
ISV~<virtual cartridge barcode>~<virtual library serial number>~<virtual library slot number>
Email body example:
Email attachment example:

Email Processing Example Script

The following section details an example script to process the "ISV Import" email report from the
VLS and convert it into a list of cartridges to be imported. The following steps show how this might
be done in the target site (this example uses a Linux server client):
You will need an SMTP gateway server in the network (needed for the VLS SMTP emails).
Allocate a client server to use for the import script (could be a separate server or the actual
master/cell server itself).
Ensure the selected client is running an email messaging system (e.g,. sendmail).
Create a user account on the client.
Ensure the selected client has CLI access to the backup application.
In the user account, create a filter that sequentially processes the incoming emails, and for the
ISV import emails it should send the message body (containing the list of replicated cartridges)
to the script that actually performs the tape import. One way of doing this is to create a
.forward that sends your incoming emails to procmail. For
example:|/usr/bin/procmailand then add the following lines to the .procmailrc that
copy an ISV import email (containing the list of tapes to import) to another script that runs the
ISV-specific import commands:
:0 bc: # send VLS DP import files for processing* ^Subject:.*ISV|
/home/importuser1/isv_import/dpimport.sh
VLS Replication Data Recovery Options 125

Advertisement

Table of Contents
loading

Table of Contents