Managing Objectstore (ceph)
We currently support only PVC resizing for Objectstore.
To view more information about Objectstore, run the following command:
sudo ./configureUiPathAS.sh objectstore --help
Output
************************************************************************************
Manage objectstore configuration
Usage:
configureUiPathAS.sh objectstore [command]
configureUiPathAS.sh objectstore [flags]
Available Commands:
resize-pvc Resize PVC
Flags:
-h|--help Display help
************************************************************************************
Resizing PVC
Note:
PVC resize can be dangerous and will result in downtime of entire or few of the effect components of cluster. So please, take caution before you are performing this operation.
To view more information about resizing Objectstore PVC, run the following command:
sudo ./configureUiPathAS.sh objectstore resize-pvc --help
The command returns the following output:
***************************************************************************************
Resize PVC provided by different CSI drivers
Arguments
-s|--size [Required] : Size of PVC. Allowed formats are
- Plain integer
- A fixed-point number using one of these suffixes: E, P, T, G, M, k
- A fixed-point number using one of power-of-two equivalents suffixes: Ei, Pi, Ti, Gi, Mi, Ki
-b|--sub-component [Required] : Sub-component to resize. Possible Values [mon|data]
-d|--debug Increase logging verbosity to show all debug logs
-h|--help Show this help message and exit
-f|--force Allow deletion of pods to resize the PVC. This may cause downtime
Examples
Update PVC size for objectstore mon to 105 Gi
configureUiPathAS.sh objectstore resize-pvc --size 105Gi --sub-component "mon"
***************************************************************************************
To resize the data storage of Ceph Objectstore, run the following command:
sudo ./configureUiPathAS.sh objectstore resize-pvc --size 1024Gi --sub-component data
The command resizes the data storage PVC to 1 TiB.
Before starting the PVC resize operation, tool warns you about the impact. You must accept and only then proceed. You can also use --force
flag to skip the warning.
Note:
If the attempt to resize the objstore pvc operation failed, see the Troubleshooting section for a fix.
Updated 3 months ago