HP (Hewlett-Packard) B6960-90078 Computer Drive User Manual


 
Managing Media
Ejecting a Medium from a Device
Chapter 4138
TIP Ejecting of media can be scheduled. Refer to “Scheduled Eject of Media”
on page 138 for details.
What’s Next? If you want to put media in a vault, see “Vaulting Media” on page 140 for
more information.
Scheduled Eject of Media
Data Protector allows you to schedule the ejection of specific media
through the reporting mechanism. The scheduled ejection of media is
linked to a specific report made using the external send method. This
method enables you to send the report to a user-definable external script,
which can then parse the report and execute the ejection of media (using
omnimm -eject command).
Prerequisite A program or script must be created on the Cell Manager to perform the
ejection, and any applicable interpreters must also be installed on the
Cell Manager. A Perl script is used in this example.
Overview You can set up and schedule a report group so that it creates a report and
sends it as an input to a script. Such a report group should be set up so
that it lists the media you want to eject (for example, the List of Media
Report) by specifying the report parameters, so that the report contains
only the media you want to eject. When the Report Group is started (as
the result of a schedule or as triggered by a notification, for example the
End of Session notification), Data Protector starts the script with the
report result as an input for the script. The script then parses the report
and performs the ejection of the specified media by using the Data
Protector omnimm CLI command.
Notification on
Mail Slots Full
By default, the Event Log Viewer will notify you if you need to remove
media from mail slots in order to continue the eject operation. This
situation will arise when there are more media to be ejected than there
are empty mail slots in a library. Refer to Chapter 7, “Monitoring,
Reporting, Notifications, and the Event Log,” on page 307 for more
information on Data Protector notifications.