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:Code Block mz.pcc.storage.redis.config.profile= mz.pcc.storage.redis.buckets.profile=
Info title Example - mz.pcc.properties Code Block 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 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:<container>/pico:<pico>/val:config.properties.mz.pcc.properties <path>
Info title Example - Setting mz.pcc.properties Code Block $ 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 title 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 /wiki/spaces/MD82/pages/3780755 in /wiki/spaces/MD82/pages/3780586 Redis Configuration in PCC System Administration.