Hub/Switch Installation Guide

Chapter 7 HPSS User Interface Configuration
460 September 2002 HPSS Installation Guide
Release 4.5, Revision 2
The file consists of a number of sections, where each section defines a migration or purge policy.
Eachsection beginswith aline thatidentifies thetype ofpolicy beingdefined (amigration orpurge
policy) and gives it a name. Comments can appear in the file, starting with a ‘#’ character and
continuing tothe end of the line. Following isan example policy file thatwill be used in therestof
the discussion:
##################################################################
# policy.dat: sample migration and purge policy definition file
# Migration policies
MigratePolicy wait
MigrationDelayTime 0
LastAccessTimeBeforeMigration 3000
MigratePolicy run
MigrationDelayTime 86400
LastAccessTimeBeforeMigration 3000
# Purge policies
PurgePolicy wait
PurgeDelayTime 0
LastAccessTimeBeforePurge 4000
UpperBound 80
LowerBound 60
PurgePolicy run
PurgeDelayTime 300
LastAccessTimeBeforePurge 4000
UpperBound 80
LowerBound 60
##################################################################
A migration policy is specified by a line that begins with MigratePolicy, and a purge policy is
specifiedby alinethatbeginswithPurgePolicy. Thekeywordis followedbythenameofthepolicy
beingdefined,suchas,wait andrun,intheexample.Thechoiceofpolicynameshasnosignificance
to HDM. If desired, the same name could be used to describe a migrate and a purge policy; HDM
does not assume these policies are related. The configuration parameters that define a policy
immediately follow the line that names the policy. The parameters can be in any order, as long as
they are all provided. Each parameter line contains a keyword, preceded by a TAB character.
After the MigratePolicy line, there must be two lines defining the following parameters:
LastAccessTimeBeforeMigration specifies the number of seconds that must elapse after a file is
accessed before the file becomes eligible for migration.
MigrationDelayTime specifies the time, in seconds, that the migration process waits between
passes in which it looks for files to migrate. If the time issettozero,HDM waitsan infiniteamount
of time, meaning the migration process waits for a signal before looking for files to migrate.
hdm_admin can be used to send the signal.
After the PurgePolicy line, there must be four lines defining the following parameters: