Skip to content
Snippets Groups Projects
Commit 649578c5 authored by Steven Murray's avatar Steven Murray
Browse files

README gives example "eos attr set" workflow configuration commands

parent cdfc32ed
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,12 @@ For example the following script is executed when a tape server triggers
an archived.default workflow event:
/var/eos/wfe/bash/create_tape_drop_disk_replicas
The following eos attr set commands can be used to build the workflow
actions that call the EOS workflow engine scripts in this directory.
Please remember to replace /eos/dev/proc/cta/workflow with the path
specific to you're EOS instance.
eos attr set sys.workflow.archived.default="bash:create_tape_drop_disk_replicas:cta <eos::wfe::path> <eos::wfe::cxattr:CTA_TapeFsId>" /eos/dev/proc/cta/workflow
eos attr set sys.workflow.sync::delete.default="bash:delete_archive_file:cta <eos::wfe::rusername> <eos::wfe::rgroupname> <eos::wfe::fxattr:sys.archiveFileId> <eos::wfe::path>" /eos/dev/proc/cta/workflow
eos attr set sys.workflow.sync::prepare.default="bash:retrieve_archive_file:cta <eos::wfe::rusername> <eos::wfe::rgroupname> <eos::wfe::fxattr:sys.archiveFileId> <eos::wfe::turl> <eos::wfe::username> <eos::wfe::groupname> <eos::wfe::base64:metadata> <eos::wfe::path>" /eos/dev/proc/cta/workflow
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment