Skip to content
Snippets Groups Projects
Commit fe4c99ce authored by John-Paul Robinson's avatar John-Paul Robinson
Browse files

Add project README to document operations

parent dc44739b
No related branches found
No related tags found
No related merge requests found
# Information Lifecycle Managment (ILM) via GPFS policy engine
The GPFS policy engine is well described in this [white paper](https://www.ibm.com/support/pages/system/files/inline-files/Spectrum%20Scale%20ILM%20Policies_v10.2.pdf).
A good presentation overview of the policy file is [here](https://www.spectrumscaleug.org/event/ssugdigital-spectrum-scale-ilm-policy-engine/).
The relavent [documentation is available from IBM](https://www.ibm.com/docs/en/spectrum-scale/4.2.0?topic=guide-information-lifecycle-management-spectrum-scale).
This project focuses on scheduled execution of lifecyle policies.
A policy is executed via the run_job
submit-pol-job <outdir> <policy> <nodecount> <corespernode> <ram> <partition>
Where:
outdir - the directory for the policy and job output, should be global to cluster
policy - path to the policy file
nodecount - number of nodes in the cluster that will run the policy
corespernode - number of cores on each node to reserve
partition - the partition used to submit the job
The policy run can be scheduled automatically with the cronwrapper script.
Simpley add append the above script and arguments to the crownwrapper in a crontab line.
For example to run it every morning at 4 am you would add:
0 4 * * * /path/to/cronwrapper submit-pol-job <outdir> <policy> <nodecount> <corespernode> <ram> <partition>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment