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

NAME

archiver.sh - StorageTek QFS or Oracle HSM archiver exception notification script

SYNOPSIS

∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh prg_name pid severity msg_no msg

AVAILABILITY

SUNWsamfs

DESCRIPTION

The archiver executes the ∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh script when it encounters abnormal or exceptional events. You can substitute a site-specific version of this script by using the archiver's notify directive in the archiver.cmd (4) file.

For all events, the ∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh script logs events to syslog using the ∕usr∕bin∕logger command. In addition, the emerg, alert, crit, and err keywords generate email to the root account, echoing the message string.

OPTIONS

The archiver executes ∕etc∕opt∕SUNWsamfs∕scripts∕archiver.sh and any scripts defined by the user through the notify directive with 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.

severity

A keyword that identifies the severity and the syslog level of the event. The keywords are as follows: emerg, alert, crit, err, warning, notice, info, and debug.

msg_no

The message number as found in the message catalog.

msg

The text of the translated message string.

SEE ALSO

archiver (1m), archiver.cmd (4)