Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

For testing purposes, you can store the data repository locally on the Execution Zone. If you use this setup, you can only have one Execution Zone since the data is not shared.

To use DirectoryStorage, you must edit the pcc.properties file.

  1. Select a directory where DirectoryStorage will store its data by editing the following:

    mz.pcc.directorystorage.directory=${mz.home}/tmp/pcc


  2. Configure the properties mz.pcc.config.storage.class and mz.pcc.bucket.storage.class:

    config.storage.class=com.digitalroute.pcc.storage.config.directory.DirectoryStorage
    bucket.storage.class=com.digitalroute.pcc.buckets.storage.memory.MemoryBucketStorage
  3. Save the pcc.properties file.
     

  4. In order for the EC/ECSAs to be able to locate the pcc.properties file, you must set the Execution Context property mz.pcc.properties.

    mzsh topo set topo://container:main1/pico:ec1/obj:config.properties.mz.pcc '{ properties=<path> }'

    Example - Setting mz.pcc.properties

    mzsh topo set topo://container:main1/pico:ec1/obj:config.properties.mz.pcc '{ properties=${mz.home}"/etc/pcc.properties" }'

Since buckets are stored in memory with this setup, the bucket data will be lost if EC/ECSAs are restarted.

This setup must not be used in production.

  • No labels