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 6 Next »

Usage Engine Private Edition can be configured to use a persistent volume as illustrated in the following diagram:

pe-with-persistent-volume.drawio.svg

As can be seen in the diagram above, the same persistent volume (pv) is shared across the desktop-online, platform and EC pod(s). This is achieved by referencing a persistent volume claim (pvc).

Hint!

If you are unfamiliar with how persistent volumes work in Kubernetes, please check out the official Kubernetes documentation on this topic.

The following table describes what gets stored where on the persistent volume:

Path within pod

Description

/opt/mz/persistent/3pp

This is where additional 3pp jar files needed for Usage Engine are stored.

/opt/mz/persistent/jni

This is where jni files are stored. Example: SAP RFC native library will be stored here.

/opt/mz/persistent/log

This is where the desktop-online, platform and EC pod logs are stored.

Note!

You will need to periodically archive EC logs manually as the log4j mechanism to help automatically archive the files does not work for these two particular logs.

/opt/mz/persistent/backup

This is where the backup of your configurations will be stored in zip format.

/opt/mz/persistent/keys

Disk based keystore is a deprecated feature. Please refer to the TLS preparationsfor information about how to do this in the preferred way.

/opt/mz/persistent/storage

This is where the database file gets stored when using Derby as system database.

You are free to create whatever additional files/directories under /opt/mz/persistent that your use case may require.
If you, for for example, need to share data between the platform and EC pod(s), you can create a directory /opt/mz/persistent/data and use that to exchange information. 

Configuration

Usage Engine Private Edition can be configured to reference an arbitrary persistent volume claim by setting the following helm values:

persistence:
  enabled: true
  existingClaim: my-pvc

In this example, my-pvc is an arbitrary persistent volume claim that you have created beforehand.

  • No labels