Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Auto Archive

Functionality for archive and restore

  This will write potion of the definition to disk and restore on re-queue/begin

  This helps in coping with extra large suites.

   Archives suite or family nodes *IF* they have child nodes(otherwise does nothing).

   Saves the suite/family nodes to disk, and then removes the child nodes from the definition

    This saves memory in the server, when dealing with huge definitions that are not needed.

     It  It improves time taken to checkpoint and reduces network bandwidth

     If  If the node is re-queued or begun, the child nodes are automatically restored

      Use  ecflow_client --restore to reload the archived nodes manually

     Care must be taken if you have trigger reference to the archived nodes

      The nodes are saved to ECF_HOME/ECF_NAME.check, where '/' has been replace with ':' in ECF_NAME      

Usage

...

...

  • ecflow_client --archive=/

...

  • s1                           # archive suite s1

...

  • ecflow_client --archive=/s1/f1 /

...

  • s2            # archive family /s1/f1 and suite /s2

...

  • ecflow_client --archive=force /s1 /s2      # archive suites /s1,/s2 even if they have active tasks


Code Block
 suite s
  family f1
    autoarchive +01:00 # archive one hour after complete
  endfamily
  family f2
     autoarchive 01:00 # archive at 1 am in morning after complete
  endfamily
  family f3
    autoarchive 10     # archive 10 days after complete
  endfamily
  family f4
    autoarchive 0      # archive immediately after complete
  endfamily
endsuite

...