Automation Suite
2022.4
False
横幅背景图像
Automation Suite 安装指南
上次更新日期 2024年4月24日

调整 PVC 大小

调整对象存储 PVC 的大小

运行以下命令以查看有关对象存储的更多信息。

sudo ./configureUiPathAS.sh objectstore --helpsudo ./configureUiPathAS.sh objectstore --help

输出

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

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

************************************************************************************
注意:调整 PVC 大小可能很危险,并且会导致整个集群或少数效果组件停机。因此,在执行此操作之前,请务必小心。

运行以下命令,查看有关调整对象存储 PVC 大小的更多信息。

sudo ./configureUiPathAS.sh objectstore resize-pvc --helpsudo ./configureUiPathAS.sh objectstore resize-pvc --help

输出

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

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"

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

要调整 ceph 对象存储的数据存储大小,请执行以下命令。

sudo ./configureUiPathAS.sh objectstore resize-pvc --size 1024Gi --sub-component datasudo ./configureUiPathAS.sh objectstore resize-pvc --size 1024Gi --sub-component data

上面的命令会将数据存储 PVC 的大小调整为 1 TiB。

在开始 PVC 大小的调整操作之前,工具会警告您相关影响。您必须接受,然后才能继续。您也可以使用 --force 标志跳过警告。
注意:如果尝试调整对象存储 pvc 大小的操作失败,请参阅故障排除部分以获取修复方法。

调整 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

该命令返回以下输出:

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

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"

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

要调整 RabbitMQ PVC 的大小,请运行以下命令:

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

调整 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

该命令返回以下输出:

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

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"
该命令可调整 MongoDB 的数据 PVC 的大小。 如果要调整logs pvc 的大小,则必须使用--sub-component "logs"

调整监控 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

该命令返回以下输出:

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

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"
您可以通过将值prometheus传递给--sub-component参数来调整prometheus PVC 的大小。

调整注册表 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

该命令返回以下输出:

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

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"

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.