Manual recall with the mmapplypolicy command

You can manually start file recall for a IBM Storage Scale file system that is managed by IBM Storage Archive Enterprise Edition by using the mmapplypolicy command.

Used with a policy rule for recall, this command executes a policy that selects files according to certain criteria, and then passes these files to IBM Storage Archive Enterprise Edition for recall.

For details about the mmapplypolicy command and other information about IBM Storage Scale, consult your IBM Storage Scale documentation. Information, and examples of, IBM Storage Scale policies that are used with IBM Storage Archive EE can be found in the white paper IBM Storage Scale Information Lifecycle Management Policies - Practical guide, https://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP102642.

The following example shows an mmapplypolicy command that applies the policy according to the recall policy file recall_policyfile.txt. A recall policy file example is shown in section Example recall policy.

        mmapplypolicy <Storage Scale file system> -P recall_policyfile.txt

You can apply a manually created policy by manually running the mmapplypolicy command.

Example recall policy

For the purposes of this example, assume that a file named recall_policyfile.txt contains the following manually created recall policy. The policy is configured to select all files for recall that are under /ibm/gpfs0/data1 directory.
/* recall all files under /ibm/gpfs0/data1 directory */

     RULE EXTERNAL POOL 'ltfsee'
     EXEC '/opt/ibm/ltfsee/bin/eeadm' 

     RULE 'ee_recall' MIGRATE FROM POOL 'ltfsee' TO POOL 'system' WHERE
     (
       LOWER(PATH_NAME) LIKE '/ibm/gpfs0/data1/%' 
     )