HP StorageWorks File System Extender Software V3.4 CLI reference (T3648-96013, October 2006)

2.1 NAME 6
POST–START AND PRE–STOP SCRIPTS FSE administrator can set up two
helper scripts which perform arbitrary automated tasks at the FSE implementation
(FSE server, FSE client) startup and shut–down time. They are executed by the
fse command.
Both helper scripts have to be placed in the /opt/fse/sbin (on Linux systems) or
%InstallPath%\bin directory (on Windows systems) on a local machine, and have
to be named as specified below:
post_start.sh (on Linux systems) or post_start.cmd (on Windows systems)
... this is the post–start helper script. It is executed after all FSE processes
have been started up and all existing HSM file systems with an entry in the
/etc/fstab file (on Linux systems) or all existing HSM file systems with a
defined mount point (on Windows systems) have been mounted, i.e. right
after the FSE implementation is put into its fully operational state;
pre_stop.sh (on Linux systems) or pre_stop.cmd (on Windows systems) .....
this is the pre–stop helper script. It is executed before all mounted HSM file
systems are unmounted and all running FSE processes are shut down, i.e.
right before the FSE implementation is pulled out of its fully operational
state.
If any of these scripts does not exist, it is simply ignored.
IMPORTANT: The commands that you specify in the post–start and pre–stop
scripts should not block the execution of the fse command. Thus, they have to
conform to the following rules:
They must not require interactive input.
They must finish in a reasonable time and afterwards return the control to
the script afterwards.
VOLUME STATES ON WINDOWS SYSTEMS On Windows systems, the
fse –list–volumes [ –detail] command enumerates volumes on the local system
and reports their states from the FSE viewpoint. Possible values of the reported
parameter Status and their explanations are:
HP StorageWorks File System Extender Software CLI reference