...
Select a directory where
DirectoryStorage
will store its data by editing the following:Code Block mz.pcc.directorystorage.directory=${mz.home}/tmp/pcc
Configure the properties
mz.pcc.config.storage.class
andmz.pcc.bucket.storage.class:
Code Block config.storage.class=com.digitalroute.pcc.storage.config.directory.DirectoryStorage bucket.storage.class=com.digitalroute.pcc.buckets.storage.memory.MemoryBucketStorage
Save the
pcc.properties
file.
In order for the EC/ECSAs to ECs to be able to locate the
pcc.properties
file, you must set the Execution Context propertymz.pcc.properties
.Code Block mzsh topo set topo://container:main1/pico:ec1/obj:config.properties.mz.pcc '{ properties=<path> }'
Info title Example - Setting mz.pcc.properties Code Block 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 ECs are restarted.
This setup must not be used in production.
Scroll pagebreak |
---|