Preparing a Pool for Removal
The proper tools for preparing a pool for removal have not yet been written. This page is a substitute for proper methods, and only applies to the Nebraska T2 site.
Temporary Removal
To remove a pool temporarily (will be back in a couple of hours), do the following:- Touch /etc/stop_replicas on the dcache-head.unl.edu. This is like /etc/nologin, except for the dCache PFM which controls the replication. This will avoid massive replication of the node's old files.
- Shut down dCache on the pool with /opt/d-cache/bin/dcache-pool stop.
- Turn off the pool.
Permanent Removal
This is an operation I'll eventually create a specialized tool for. Until then, do the following:- Look at the last entries for zero replica files in /home/brian/projects/dCacheNebraska/scripts/zerorep_logfile.
- Add the pool name to the blacklist in /home/brian/projects/dCacheNebraska/scripts/pfm_config.
- Run dcache_pfm.py manually or let it run automatically over the course of a couple hours.
- Repeat step (3) until the list of zero replicas that dcache_pfm.py outputs is the same as it was in (1).