UiPath Documentation
automation-suite
2023.4
false
EKS/AKS 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

配置备份存储

提供备份存储配置​

要备份和还原集群,您必须通过 input.json将集群快照的位置提供给 Automation Suite 集群。

在启用计划备份或按需备份之前,对 input.json 进行以下更改。 如果适用,请遵循以下部分中描述的 EKS 或 AKS 配置。

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

input.json 示例

"snapshot": {
  "external_object_storage": {
    "bucket_name": "<s3_bucket_used_for_backup>",
    "storage_type": "s3",
    "region": "<s3_bucket_region>"
  }
}
"snapshot": {
  "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。
regionS3 所在的区域。

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_nameAzure 存储帐户中用于存储快照的容器名称
resource_group存在用于存储快照的目标 Azure 存储帐户的资源组。
auth_mode必须设置为 ServicePrincipal
client_id用于服务主体身份验证的客户端 ID
client_secret用于基于服务主体的身份验证的客户端密码
account_name备份快照的 Azure 存储帐户的名称
cloud_name默认值 AzurePublicCloud

如果适用,请更改为以下其中一项: AzureUSGovernmentCloud、 AzureChinaCloud、 AzureGermanCloud
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​
  • 应用备份存储配置​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新