Configuring Properties
In each Execution Container, open the
pcc.properties
file, located in theMZ_HOME/etc
directory, and enter the names of your newly created profiles in the following properties:mz.pcc.storage.redis.config.profile= mz.pcc.storage.redis.buckets.profile=
Example - mz.pcc.properties
mz.pcc.storage.redis.config.profile=MyFolder.config mz.pcc.storage.redis.buckets.profile=MyFolder.bucket
In the
PCC Config Storage Properties
group, ensure that the propertymz.pcc.config.storage.class
is set tocom.digitalroute.pcc.storage.config.redis.RedisConfigStorage
.In the
PCC Bucket Storage Properties
group, ensure that the propertymz.pcc.bucket.storage.class
is set tocom.digitalroute.pcc.buckets.storage.redis.RedisBucketStorage.
Save the
pcc.properties
file.
In order for the ECs to be able to locate the
pcc.properties
file, you must set the Execution Context propertymz.pcc.properties
.$ mzsh topo set topo://container:<container>/pico:<pico>/val:config.properties.mz.pcc.properties <path>
Example - Setting mz.pcc.properties
$ mzsh topo set topo://container:exec1/pico:ec1/val:config.properties.mz.pcc.properties '${mz.home}/"etc/pcc.properties"' $ mzsh topo set topo://container:exec1/pico:ec2/val:config.properties.mz.pcc.properties '${mz.home}/"etc/pcc.properties"'
Note!
It is important that the
pcc.properties
property file is located in the stated directory in all Execution Containers.Restart the ECs.
For further information about the settings in the Redis profile, see Redis Configuration in PCC System Administration.