...
- Create a file, <file-list>, with filenames that need to be remigrated (/glast/....)
- Mark file on server as migratable (Linux):
Code Block |
---|
frm_admin mark -m /glast/Data/..... |
- Run migration
Code Block |
---|
SrvMigrateFiles.sh <file-list>
|
Migration commands
Show the current migration status
ssh to all data server and tail the last few lines of the most recent migrate log file. Count the number of migrated files.
Code Block |
---|
ScaRunOnHosts -f glast -e -r -- SrvMigrStat.sh |
Stop migration using semaphore file
The migration tools check for a semaphore file (/var/adm/frm/STOP_MIGR or /var/adm/mps/STOP_MIGR) and will exit if it exists. To set remove or list the semaphore files on all servers run:
Code Block |
---|
ScaRunOnHosts -f glast -e -r --SrvMigrateFlags.sh [list | rm | set] |