HP 12000 HP VLS Solutions Guide Design Guidelines for Virtual Library Systems - Page 125
ISV Import Email Format, Email Processing Example Script, Create a user account on the client.
View all HP 12000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 125 highlights
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~~~ 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