IBM Support

How to create a Persistent Volume Claim (PVC) on Manage

How To


Summary

This technote describes step by step how to create a new Persistent Volume Claim. (PVC)

Steps

In the universe of containers, volumes refer to a way of managing persistent data in containers. Containers are lightweight and portable environments that can be used to run applications, but they are ephemeral, meaning that any data stored inside a container is typically lost when the container is stopped or deleted.
OpenShift works with volumes that use two types of objects persistent volume (PV) and persistent volume claims (PVCs).
You can find further details about both objects in the documentation:
OpenShift Persistent Storage
How to use and create a PVC on Manage?

You have access to PVC creation on “Update Manage workspace configuration” MAS console screen.

Go to MAS console => Workspace => Manage.

On the top-right section click on “Update Configuration”.
image 12923
Click on Persistent volume claims.
image 12925

By default, System managed check box is checked. Uncheck it for PVC creation.

Persistent volume claims (PVCs)

It is not required to create a PV, PVC creation handles PV creation automatically.
You must fill out all the fields as the screenshot.

PVC name: you can use any name to identify PVC.
Size: The size used by PVC must be a number followed by Gi.
Mount path: Path used by PVC inside the Liberty pod.
Storage class name: The value used here can be different depending on what storage class is created in Openshift.

In this example, I am using ocs-storagecluster-cephfs.
image 12927

After you fill out all fields click on Apply changes and wait for the environment to finish the reconciliation process, which might take some time.
After the reconciliation finishes, you can confirm if PVC was created correctly if the status is “Bound”.

image 12928

PVC is ready to be used by Manage application.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLPL8","label":"IBM Maximo Manage"},"ARM Category":[{"code":"a8m50000000CbFGAA0","label":"Integration"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
21 February 2024

UID

ibm16962427