Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  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:

    Code Block
    mz.pcc.storage.redis.config.profile=
    mz.pcc.storage.redis.buckets.profile=


    Info
    titleExample - mz.pcc.properties


    Code Block
    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 ECs to be able to locate the pcc.properties file, you must set the Execution Context property mz.pcc.properties.

    Code Block
    $ mzsh topo set topo://container:<container>/pico:<pico>/val:config.properties.mz.pcc.properties <path>


    Info
    titleExample - 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
    titleNote!

    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 Redis Configuration in PCC System Administration.