5.3.1 Configuring Properties

  1. In each Execution Container, open the pcc.properties file, located in the MZ_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
  2. In the PCC Config Storage Properties group, ensure that the property mz.pcc.config.storage.class is set to com.digitalroute.pcc.storage.config.redis.RedisConfigStorage.

     

  3. In the PCC Bucket Storage Properties group, ensure that the property mz.pcc.bucket.storage.class is set to com.digitalroute.pcc.buckets.storage.redis.RedisBucketStorage.

     

  4. Save the pcc.properties file.
     

  5. 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:<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.

  6. Restart the EC/ECSAs.

For further information about the settings in the Redis profile, see  4.3 Redis Configuration in PCC System Administration.