Difference between revisions of "HowTo: Permanent Migration to dCache Read Only Pools"

From Public PIC Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
:* If you want permanent changes, remember to run '''save''' at the end only when executing these commands from the pool admin console. This way is equivalent to write the below information in the '''${pool.path}/setup''' file.
 
:* If you want permanent changes, remember to run '''save''' at the end only when executing these commands from the pool admin console. This way is equivalent to write the below information in the '''${pool.path}/setup''' file.
  
  migration cache -permanent -pins=keep -concurrency=2 -atime -accessed=0..600 -select=random -include=dc052_1,dc053_1 -target=pgroup -exclude=dc021*,dc022*,dc029*,dc031*,dc037*,dc040*,dc044* -id=caching_recently_accessed_files -verify -size=1070000.. -- pgroup-cms-ro
+
  migration cache -permanent -pins=keep -concurrency=2 -atime -accessed=0..600 -select=random -include=dc052_1,dc053_1 -target=pgroup  
 +
  -exclude=dc021*,dc022*,dc029*,dc031*,dc037*,dc040*,dc044* -id=caching_recently_accessed_files -verify -size=1070000.. -- pgroup-cms-ro

Revision as of 10:49, 25 May 2017

Source pools

  • Add the following lines to your ${pool.path}/setup file, or alternatively execute these commands from the pool admin console.
  • If you want permanent changes, remember to run save at the end only when executing these commands from the pool admin console. This way is equivalent to write the below information in the ${pool.path}/setup file.
migration cache -permanent -pins=keep -concurrency=2 -atime -accessed=0..600 -select=random -include=dc052_1,dc053_1 -target=pgroup 
  -exclude=dc021*,dc022*,dc029*,dc031*,dc037*,dc040*,dc044* -id=caching_recently_accessed_files -verify -size=1070000.. -- pgroup-cms-ro