Chapter 7 HPSS User Interface Configuration460 September 2002 HPSS Installation GuideRelease 4.5, Revision 2The file consists of a number of sections, where each section defines a migration or purge policy.Each section begins with a line that identifies the type of policy being defined (a migration or purgepolicy) and gives it a name. Comments can appear in the file, starting with a ‘#’ character andcontinuing to the end of the line. Following is an example policy file that will be used in the rest ofthe discussion:################################################################### policy.dat: sample migration and purge policy definition file# Migration policiesMigratePolicy waitMigrationDelayTime 0LastAccessTimeBeforeMigration 3000MigratePolicy runMigrationDelayTime 86400LastAccessTimeBeforeMigration 3000# Purge policiesPurgePolicy waitPurgeDelayTime 0LastAccessTimeBeforePurge 4000UpperBound 80LowerBound 60PurgePolicy runPurgeDelayTime 300LastAccessTimeBeforePurge 4000UpperBound 80LowerBound 60##################################################################A migration policy is specified by a line that begins with MigratePolicy, and a purge policy isspecified by a line that begins with PurgePolicy. The keyword is followed by the name of the policybeing defined, such as, wait and run, in the example. The choice of policy names has no significanceto HDM. If desired, the same name could be used to describe a migrate and a purge policy; HDMdoes not assume these policies are related. The configuration parameters that define a policyimmediately follow the line that names the policy. The parameters can be in any order, as long asthey 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 isaccessed before the file becomes eligible for migration.MigrationDelayTime specifies the time, in seconds, that the migration process waits betweenpasses in which it looks for files to migrate. If the time is set to zero, HDM waits an infinite amountof 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: