Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 1m: Maintenance Commands
Release 6.1.1
E70305-03

NAME

load_notify.sh - Sends email when a volume needs to be imported or loaded

SYNOPSIS

∕opt∕SUNWsamfs∕examples∕load_notify.sh prg_name pid log_level msg_no vsn

AVAILABILITY

SUNWsamfs

DESCRIPTION

The ∕etc∕opt∕SUNWsamfs∕scripts∕load_notify.sh script is called by the appropriate media-changer daemon when a requested volume is not in a library, is not marked unavailable, and the attended state is set to yes. Appropriate media-changer daemons include sam-genericd, sam-stkd, sam-cloudd, and so on. For more information on the media-changer daemons, see the sam-robotsd (1m) man page.

By default, this script sends email to root with the following message:

Oracle HSM needs VSN vsnxxx manually loaded or imported.  
Check preview display.

To enable this feature, copy ∕opt∕SUNWsamfs∕examples∕load_notify.sh to ∕etc∕opt∕SUNWsamfs∕scripts∕load_notify.sh and modify it to take the desired action for your installation.

OPTIONS

This script accepts the following arguments:

prg_name

The name of the program that is calling this script.

pid

The process ID of the program that is calling this script.

log_level

Log priority level. An integer number such that 0 ≤ log_level ≤ 7. 0 is highest priority, and 7 is lowest priority.

msg_no

The message number as found in the message catalog.

vsn

The volume serial name (VSN) identifier of the volume that needs to be imported or loaded.

FILES

∕opt∕SUNWsamfs∕examples∕load_notify.sh

SEE ALSO

sam-fsd (1m), sam-robotsd (1m), samset (1m).