automation-suite
2023.4
false
Automation Suite on Linux Installation Guide
Last updated Oct 4, 2024

Resizing PVC

Resizing Objectstore PVC

Important: Resizing the objectstore PVC is not required if you use a raw disk for objectstore or migrated to an external objectstore
To view more information about Objectstore, run the following command:
sudo ./configureUiPathAS.sh objectstore --helpsudo ./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

************************************************************************************************************************************************************************

Manage objectstore configuration

Usage:
  configureUiPathAS.sh objectstore [command]
  configureUiPathAS.sh objectstore [flags]

Available Commands:
  resize-pvc                          Resize PVC

Flags:
  -h|--help                           Display help

************************************************************************************
Note: PVC resize can be dangerous and will result in downtime of entire or few of the effect components of cluster. Take caution before performing this operation.

To view more information about resizing Objectstore PVC, run the following command:

sudo ./configureUiPathAS.sh objectstore resize-pvc --helpsudo ./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"

******************************************************************************************************************************************************************************

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 datasudo ./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.

Resizing rabbitmq PVC

To view more information about resizing rabbitmq PVC, run the following command:

sudo ./configureUiPathAS.sh  rabbitmq resize-pvc --helpsudo ./configureUiPathAS.sh  rabbitmq 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 [server]
  -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 rabbitmq server to 105 Gi
  configureUiPathAS.sh rabbitmq resize-pvc --size 105Gi  --sub-component "server"

******************************************************************************************************************************************************************************

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 [server]
  -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 rabbitmq server to 105 Gi
  configureUiPathAS.sh rabbitmq resize-pvc --size 105Gi  --sub-component "server"

***************************************************************************************

To resize the rabbitmq PVC, run the following command:

sudo ./configureUiPathAS.sh rabbitmq resize-pvc --size 100Gi  --sub-component "server"sudo ./configureUiPathAS.sh rabbitmq resize-pvc --size 100Gi  --sub-component "server"

Resizing mongodb PVC

To view more information about resizing mongodb PVC, run the following command:

sudo ./configureUiPathAS.sh  mongodb resize-pvc --helpsudo ./configureUiPathAS.sh  mongodb 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 [data|logs]
  -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 mongodb data to 105 Gi
  configureUiPathAS.sh mongodb resize-pvc --size 105Gi  --sub-component "data"

******************************************************************************************************************************************************************************

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 [data|logs]
  -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 mongodb data to 105 Gi
  configureUiPathAS.sh mongodb resize-pvc --size 105Gi  --sub-component "data"

***************************************************************************************

To resize the mongodb PVC, run the following command:

sudo ./configureUiPathAS.sh mongodb resize-pvc --size 105Gi  --sub-component "data"sudo ./configureUiPathAS.sh mongodb resize-pvc --size 105Gi  --sub-component "data"
The command resizes the data PVC of mongodb. If you want to resize the logs pvc, you must use --sub-component "logs".

Resizing monitoring PVC

To view more information about resizing monitoring PVC, run the following command:

sudo ./configureUiPathAS.sh monitoring resize-pvc --helpsudo ./configureUiPathAS.sh monitoring 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 [alertmanager|prometheus]
  -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 monitoring alertmanager to 105 Gi
  configureUiPathAS.sh monitoring resize-pvc --size 105Gi  --sub-component "alertmanager"

******************************************************************************************************************************************************************************

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 [alertmanager|prometheus]
  -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 monitoring alertmanager to 105 Gi
  configureUiPathAS.sh monitoring resize-pvc --size 105Gi  --sub-component "alertmanager"

***************************************************************************************

To resize the monitoring PVC, run the following command:

sudo ./configureUiPathAS.sh monitoring resize-pvc --size 100Gi  --sub-component "alertmanager"sudo ./configureUiPathAS.sh monitoring resize-pvc --size 100Gi  --sub-component "alertmanager"
You can resize prometheus PVC by passing the value prometheus to the --sub-component argument.

Resizing registry PVC

To view more information about resizing registry PVC, run the following command:

sudo ./configureUiPathAS.sh registry resize-pvc --helpsudo ./configureUiPathAS.sh registry 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 [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 registry data to 105 Gi
  configureUiPathAS.sh registry resize-pvc --size 105Gi  --sub-component "data"

******************************************************************************************************************************************************************************

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 [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 registry data to 105 Gi
  configureUiPathAS.sh registry resize-pvc --size 105Gi  --sub-component "data"

***************************************************************************************

To resize the registry PVC, run the following command:

sudo ./configureUiPathAS.sh registry resize-pvc --size 100Gi  --sub-component "data"sudo ./configureUiPathAS.sh registry resize-pvc --size 100Gi  --sub-component "data"

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.