-
Notifications
You must be signed in to change notification settings - Fork 11
Instruction on backing up logs post campaign for production submitters #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
They are located in | ||
``` | ||
/w/eic-scshelf2104/EPIC/LOGS/LOG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please write:
/work/eic3/EPIC/LOGS/LOG
``` | ||
rucio rule add --rses JLAB-TAPE-SE --copies 1 <dataset_did> | ||
``` | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And then we need add lifetime to the dataset fro DISK replica. Let me check the command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before above steps
rucio rule list --did <dataset_did>
get the rule_id and then set lifetime of 6 months from end of campaign.
rucio rule update --lifetime <time_in_sec> <rule_id>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this lifetime be specified at rule add? I am assuming so
Compress the campaign directory to a zip folder | ||
``` | ||
cd /w/eic-scshelf2104/EPIC/LOGS/LOG | ||
tar YY.MM.P.tar.gz YY.MM.P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preferred tar options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When it done for previous campaign , Kurt ran:
tar -cjf my_log_directory.tar.bz2 /path/to/your/log/directory/
with the j
option , compression was done.
Compress the campaign directory to a zip folder | ||
``` | ||
cd /w/eic-scshelf2104/EPIC/LOGS/LOG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/work/eic3
export RUCIO_CONFIG=${SCRIPT_DIR}/rucio.cfg | ||
export X509_USER_PROXY=x509_user_proxy | ||
python ${SCRIPT_DIR}/register_to_rucio.py \ | ||
-f "/w/eic-scshelf2104/EPIC/LOGS/LOG/YY.MM.P.tar.gz" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/work/eic3
Briefly, what does this PR introduce?
Instruction on backing up logs post campaign for production submitters
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
Does this PR change default behavior?