Automation Suite
2023.10
False
横幅背景图像
EKS/AKS 上的 Automation Suite 安装指南
上次更新日期 2024年4月19日

配置备份存储

提供备份存储配置

要备份和还原集群,您必须通过 input.json将集群快照的位置提供给 Automation Suite 集群。
在启用计划备份或按需备份之前,对 input.json 进行以下更改。 如果适用,请遵循以下部分中描述的 EKS 或 AKS 配置。

您可以在安装 Automation Suite 集群期间或之后(作为安装后操作)提供此信息,同时启用或执行集群的备份。

EKS

input.json 示例
"snapshot": {
    "enabled": true,
    "external_object_storage": {
      "bucket_name": "<s3_bucket_used_for_backup>",
      "storage_type": "s3",
      "region": "<s3_bucket_region>"
    }
}"snapshot": {
    "enabled": true,
    "external_object_storage": {
      "bucket_name": "<s3_bucket_used_for_backup>",
      "storage_type": "s3",
      "region": "<s3_bucket_region>"
    }
}
input.json 参数

密钥

bucket_name

用于存储快照的 S3 存储桶的名称

arn

用于连接 S3 的 ARN。

如果节点具有连接到备份对象存储的必要权限,则不需要 ARN。 否则,请确保创建具有必要权限的 IAM 角色并添加 ARN。

region

S3 所在的区域。

AKS

input.json 示例
"snapshot" : {
  "external_object_storage": {
    "client_secret": "<azure_service_principal_client_secret>", 
    "resource_group": "<azure_resource_group_with_storage_account>", 
    "auth_mode": "ServicePrincipal", 
    "account_name": "<azure_account_name>", 
    "bucket_name": "<azure_container_name>",
    "client_id": "<azure_service_principal_id>",
    "subscription_id": "<azure_subscription_id>",
    "cloud_name": "AzurePublicCloud"
  },
  "aks_infra_resource_group":"<azure_infra_resource_group>"
}"snapshot" : {
  "external_object_storage": {
    "client_secret": "<azure_service_principal_client_secret>", 
    "resource_group": "<azure_resource_group_with_storage_account>", 
    "auth_mode": "ServicePrincipal", 
    "account_name": "<azure_account_name>", 
    "bucket_name": "<azure_container_name>",
    "client_id": "<azure_service_principal_id>",
    "subscription_id": "<azure_subscription_id>",
    "cloud_name": "AzurePublicCloud"
  },
  "aks_infra_resource_group":"<azure_infra_resource_group>"
}
input.json 参数

密钥

bucket_name

Azure 存储帐户中用于存储快照的容器名称

resource_group

存在用于存储快照的目标 Azure 存储帐户的资源组。

auth_mode

必须设置为 ServicePrincipal

client_id

用于服务主体身份验证的客户端 ID

client_secret

用于基于服务主体的身份验证的客户端密码

account_name

备份快照的 Azure 存储帐户的名称

cloud_name

默认值 AzurePublicCloud
如果适用,请更改为以下其中一项: AzureUSGovernmentCloudAzureChinaCloudAzureGermanCloud

subscription_id

用于存储备份的 Azure 存储帐户的订阅 ID。

aks_infra_resource_group

在其中创建 AKS 集群的计算机和其他资源的资源组。这通常由 Azure 创建和管理,并且开头为 MC_

虽然其他值可以在备份和还原期间保持不变,但此值将在还原期间更改。 这必须是配置新 AKS 集群的 Kubernetes 资源的新资源组。

注意:要在 Azure 中创建用于身份验证的服务主体,请参阅 Microsoft 文档

应用备份存储配置

如上一节所述,对 input.json进行更改后,运行以下命令以应用配置:
./uipathctl  manifest apply input.json --only velero --versions versions.json./uipathctl  manifest apply input.json --only velero --versions versions.json
  • 提供备份存储配置
  • EKS
  • AKS
  • 应用备份存储配置

此页面是否有帮助?

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