<HTML>
<HEAD>
<TITLE>Simplified HSM for Lustre?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>In the discussions Rick and I had we identified a simpler approach for HSM in Lustre which doesn&#8217;t have all the niceties that the Lustre team planned, but might be achievable in short order.<BR>
<BR>
Nathan Rutman has implemented an event log for the purpose of replication. &nbsp;Nathan can add &#8220;close&#8221; events to this, which are written when a file closes (or when the size on MDS system recovers file sizes from the OSS&#8217;s). &nbsp;This is a sufficient indicator that a file that was opened for write should be archived. &nbsp;It is not necessary &#8211; we might occasionally re-archive a file that was not written to while open.<BR>
<BR>
Nathan also has a tool that retrieves the event log from the kernel for consumption by other agents &#8211; replication and HSM event managers could both use this.<BR>
<BR>
The second thing we need is restore on demand. &nbsp;This can be done when opening a file, instead of doing it when I/O is done to the file. &nbsp;This centralizes these events on the MDS and makes the architecture of this a little simpler for that reason (no initiator to coordinator communication needed). &nbsp;Of course the MDS should track if an open file has already been requested from the HSM to filter events, and it should manage adaptive timeouts for the opening clients.<BR>
<BR>
e2scan can be used to generate lists of files to be purged. &nbsp;This is essentially un-changed from the existing architecture.<BR>
<BR>
Finally we need a mover (possibly HSM specific &#8211; e.g. for ADM we would want to move from a Lustre client on Linux to an ADM mover node running Solaris). &nbsp;The mover needs to open files by FID (something that Nathan has implemented for his replication project) and the mover needs to manage EA&#8217;s in the file system, both when archiving and when restoring files. &nbsp;&nbsp;This EA management is also needed when files are migrated or replicated within one file system.<BR>
<BR>
The easiest way is for Lustre to feed events to ADM&#8217;s policy manager, since that is know to do most of the right things already. &nbsp;To combine Lustre with other HSM&#8217;s this requires some glue. &nbsp;Yet this glue is not essentially different from what future initiator / coordinator / agent / space manager systems would do, and might be a valuable interim deliverable.<BR>
<BR>
We concluded that making this an interim focus for HSM could give Lustre basic HSM functionality long before the full project is complete, and perhaps nicely aligned with ADM&#8217;s planned release(s) during the coming year. &nbsp;Our team&#8217;s project managers will discuss this.<BR>
<BR>
Peter</SPAN></FONT>
</BODY>
</HTML>