I added support to mmapplypolicy &
co for HPSS (and TSM/HSM) years ago.
AFAIK, it works pretty well, and pretty
much works in a not-too-surprising way.
I believe that besides the Spectrum Scale Admin and Command docs there
are some "red book"s to help,
and some IBM support people know how
to use these features.
When using mmapplypolicy:
a) Migration and pre-migration to an
external pool requires at least two rules:
An EXTERNAL POOL
rule to define the external pool, say 'xpool' and a MIGRATE ... TO
POOL 'xpool' rule.
b) Migration between GPFS native pools
requires at least one MIGRATE ... FROM POOL 'apool' TO POOL 'bpool'
rule.
c) During any one execution of mmapplypolicy
any one particular file will be subject of at most one MIGRATE rule. In
other words
file x will be either (pre)MIGRATEd
to an external pool. OR MIGRATED between gpfs pools. BUT not
both.
(Hmm... well you could write a custom
migration script and name that script in your EXTERNAL POOL rule and do
anything you like
to each file x that is chosen for "external"
MIGRATion... But still just one MIGRATE rule governs file x.)