Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2014-05-21T18:24:27Z by joe_usr
JohnKaufmann
JohnKaufmann
6 Posts
ACCEPTED ANSWER

Pinned topic AFM prefetch question

‏2013-12-11T15:42:14Z |

Is there a way to get our afm filesets to "prefech continuously" ? rather just keeping the metadata and pulling the data on demand.

We have afm between two sites, and when one side goes down, only the metadata for some files are there (they are 0 size)

thanks for any help you can give,

 

John

  • kalcig
    kalcig
    26 Posts
    ACCEPTED ANSWER

    Re: AFM prefetch question

    ‏2013-12-13T06:04:27Z  in response to JohnKaufmann

    John,

    There is a cmd mmafmctl --prefetch that will take a list of files as input and will keep prefetching in background. 

    Also, you can find the list of uncached files using mmapplypolicy with MISC_ATTRIBUTES LIKe %u%

    kalyan

  • TheLastWilson
    TheLastWilson
    6 Posts
    ACCEPTED ANSWER

    Re: AFM prefetch question

    ‏2014-01-06T14:33:32Z  in response to JohnKaufmann

    As Kalcig said mmafmctl --prefetch will take a list of files as input. In a proof of concept test I did I generated the file list using the policy engine and then fed it into the mmafmctl command.

     

    The other way to do this would be to reverse the AFM relationship so the live site is the "cache" and the 2nd site is the "home". You then write to the cache and any changes are synchronised back to home, just make sure expulsion/expiry is disabled.

    • joe_usr
      joe_usr
      7 Posts
      ACCEPTED ANSWER

      Re: AFM prefetch question

      ‏2014-05-21T18:24:27Z  in response to TheLastWilson

      Can you elaborate on that last paragraph?

      If the cache goes down, how do you reverse the relationship?

      How do you ensure expulsion is disabled?