Defining your internal storage space
If you don't want to use the shared storage that's configured by default for VMware,
update the analytics-extra-values.yaml
file for your IBM® API
Connect Analytics
deployment.
Before you begin
This task only applies to deployments that use internal storage or have a message queue enabled. If you disabled internal storage but did not enable the message queue, then skip this task.
Review Estimating internal storage space to make sure you know how much disk space to allocate for internal storage. If you disabled internal storage, skip this task.
About this task
For information about offloading data from your Analytics deployment, see Planning to offload data to a third-party system.
The steps that you complete to define your internal storage allocations depend on the deployment options that you configured.
- Data & Master storage
- Complete the following steps only if you did retain the default shared storage configuration
(described in Declaring your storage type).
- Open the
analytics-extra-values.yaml
file for editing.Remember: All additions to the file must appear after thespec:
statement. - In the file, add the
storage.data
section as shown in the following example:spec: storage: data: volumeClaimTemplate: storageClassName: ... volumeSize: $DATA_VOLUME_SIZE
Replace
$DATA_VOLUME_SIZE
with the value that you calculated forStorage per node
in Data storage: calculate how much data you want to store. - Next, add the
storage.master
section and add thevolumeSize
field as shown in the following example:spec: storage: master: volumeClaimTemplate: storageClassName: ... volumeSize: $VOLUME_SIZE
Replace
$VOLUME_SIZE
with the value that you calculated in Master storage: estimate disk space needs. - Save the file.
- Skip to the section for MQ storage.
- Open the
- Shared storage
- If you are using shared storage (the default setting), complete the following steps to allocate
disk space for the share storage.
- Open the
analytics-extra-values.yaml
file for editing.Remember: All additions to the file must appear after thespec:
statement. - In the file, add the
storage.shared
section as shown in the following example:spec: storage: shared: volumeClaimTemplate: storageClassName: ... volumeSize: $STORAGE_PER_NODE
Replace
$STORAGE_PER_NODE
with the value that you calculated forStorage per node
in Data storage: calculate how much data you want to store. - Save the file.
- Continue to the section for MQ storage.
- Open the
- MQ storage
- Complete this procedure only if you added a message queue to your Analytics topology by setting
mq.enabled: true
as explained in Adding a message queue.- In the file, add the
mq:
section. - Add the
mq.zk
section as shown in the following example:spec: mq: zk: volumeClaimTemplate: storageClassName: ... volumeSize: $VOLUME_SIZE
Replace
$VOLUME_SIZE
with the value that you calculated formq-zk
in MQ storage: estimate disk space needs. - Add the
mq.kafka
section as shown in the following example:spec: mq: kafka: volumeClaimTemplate: storageClassName: ... volumeSize: $VOLUME_SIZE
Replace
$VOLUME_SIZE
with the value that you calculated formq-kafka
in MQ storage: estimate disk space needs. - Save and close the file.
- In the file, add the
What to do next
Your Analytics configuration is complete. Proceed to Deploying the Analytics subsystem.