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 »

  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 ECs 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 ECs.

For further information about the settings in the Redis profile, see  /wiki/spaces/MD82/pages/3780755 in /wiki/spaces/MD82/pages/3780586.

  • No labels