On 07/14/15 18:57, Colin Faber wrote:
Hi All,
To expand on this question, what I'm wondering is:
After the policy engine takes action on a given file, say, archive it,
and the archive request has been made, how does the policy engine know
that this request was successful, that the copytool completed it task
without error?
Hi Colin,
When an archive request completes, an "HSM" changelog record is
triggered that indicates the status of the request (success or failure,
and also if the file has been dirty'ed during the copy).
This record is documented in section 22.7 of Lustre manual:
https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#lustrehsm
Is it polling the hsm action / state on the file that's being migrated?
If it doesn't get a HSM changelog record after a while, robinhood also
tests the status of current archive requests (configurable delay).
This can be driven by the following migration_parameters:
* check_check_copy_status_on_startup
whether robinhood checks status of pending archive requests when it
starts (default "yes")
* check_copy_status_delay
delay for checking the status of pending archive requests (default
30 min)
Is there any documentation available describing how rbh handles hsm
events?
When Robinhood gets a HSM record about a successful action, it updates
its DB accordingly:
file created / no HSM flags: status = new
after starting an HSM archive: status=archiving
HSM archive successful => status=synchro
(unless dirty flag as been set during the copy, or if the archive
failed => status = modified)
HSM dirty bit set => status = modified
HSM release successful => status = released
If it gets a record about about any other HSM action failure, robinhood
queries Lustre about current file status
and updated its DB accordingly.
HTH
Thomas
-cf
On Mon, Jul 13, 2015 at 9:45 AM, Colin Faber <[email protected]
<mailto:[email protected]>> wrote:
Hi Folks,
I'm wondering if anyone could explain (or has documentation on) a
detailed breakdown of the HSM flow, from file identification to
copytool interaction, to verification/realisation that copytool
made changes to the file system.
-cf
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support