Skip to content

vamseekrishna25/spectrum-scale-policy-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright 2020 Nils Haustein, released under the MIT license

This project includes scripts and policies for IBM Spectrum Scale ILM in combination with IBM Spectrum Archive Enterprise Edition and IBM Spectrum Protect for Space Management. For more inforemation refer to the IBM Spectrum Scale ILM policy whitepaper.

Folder immutable - Script to set files to immutable

This folder contains a script and policies to identify files that are not immutable in an immutable fileset and sets these identified files to immutable. The makeimmutable.sh script is an external pool script that receives the input from an EXTERNAL LIST policy and sets all files identified by the LIST policy to immutable using the mmchattr -i yes command. The retention period is defined in the policy itself and is applied to each file by setting the retention time to current date and time plus retention period


Folder list - List policy script

This folder contains a wrapper script for LIST policies. The main purpose is to list the numbers and optionally the file names of file in accordance to their migration state. This wrapper script can be dynamically extended to use other list policies.


Folder premigrate - Premigrate policies and scripts

This folder contains script and policies to perform premigrates using migrate policies. It provides an interface script that wraps perform pre-migration instead of migration. It contains an interface script for Spectrum Archive.


Folder quota-migration - migration when quota limits have reached

This folder contains a callback script and policies facilitating migration of files for filesets where the soft quota limit has been reached. The callback script (callback-quota.sh) is invoked when the event softQuotaExceeded is triggered for a fileset. This script invokes an EXTERNAL LIST policy to identify files in the fileset that qualify for migration based on the quota limits and a migration policy that migrates the files identified by the list policy to IBM Spectrum Archive EE.


Folder Recall - wrapper script for tape optimized recalls

This folder contains script and policies for tape optimized recalls with Spectrum Protect for Space Management and Spectrum Archive Enterprise Edition . The scripts are customized interface scripts that perform recall instead of migration.


Folder receiver - external script invoked by EXTERNAL LIST policy

This folder includes an interface script that receives file lists from an EXTERNAL LIST policies and processes the files contained in the file list. The processing in this script extracts the file names contained in the file list and writes these file names to an extra file. Of course you can add other operations for the files.


Folder runpolicy - wrapper for mmapplypolicy

This folder contains a wrapper script for the mmapplypolicy command. It is invoked in a simplified way and allows either pass further options for the mmapplypolicy commmand or encode these options in an internal variable.


Folder sample-policies - sample ILM policies

This folder includes sample policies for migration, recall and list.

About

Scripts that integrate with the Spectrum Scale policy engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%