automation-suite
2024.10
true
UiPath logo, featuring letters U and I in white
EKS/AKS 上的 Automation Suite 安装指南
Last updated 2024年11月11日

覆盖集群级别存储配置

Orchestrator 支持以下存储配置:

  • Cluster-level storage configuration
  • Orchestrator-level storage configuration

我们建议使用与外部存储配对的集群级别配置。这使 Orchestrator 可以自动检测和使用这些设置,而无需其他配置。

配置 Azure/Amazon S3 存储桶

要配置 Orchestrator 级别存储提供程序,请通过以下步骤更新 Orchestrator 参数。有关更多详细信息,请参阅配置 Orchestrator 参数
  1. 在配置文件的 orchestrator 下,添加包含存储类型和连接字符串的 legacy_storage_provider 部分,如以下示例所示:
    "orchestrator": {
      "enabled": true,
      "legacy_object_storage": {
        "type": "Azure",
        "connection_string": "DefaultEndpointsProtocol=https;AccountName=usr;AccountKey=...;EndpointSuffix=core.windows.net"
      }
    }"orchestrator": {
      "enabled": true,
      "legacy_object_storage": {
        "type": "Azure",
        "connection_string": "DefaultEndpointsProtocol=https;AccountName=usr;AccountKey=...;EndpointSuffix=core.windows.net"
      }
    }
  2. 使用 type 参数设置所需的提供程序。可能的值为:AzureAWSMinio。一些注意事项:
    • The storage.type parameter values are case-sensitive.
    • FileSystem storage configuration is not supported.
  3. 使用 connection_string 参数添加存储提供程序的连接字符串。有关连接字符串格式的详细信息,请参阅 UiPath.Orchestrator.dll.configStorage.Location 部分。
备注:

由于提供程序端的同源策略,Orchestrator 网页浏览器对 Amazon 和 Azure 存储桶的访问可能会受到限制。要成功访问此类存储桶的内容,您必须配置相应的提供程序以允许来自 Orchestrator 的跨域请求。有关说明,请参阅 CORP/CSP 配置

将文件上传到存储

Files can be uploaded to the storage using the uipathctl command line tool. To do that, use the following command:
uipathctl config orchestrator upload [parameters]uipathctl config orchestrator upload [parameters]
参数描述
--storage-directory <string>Location of the storage directory on the local disk.
--nlog-extensions-directory <string>Location of the NLog extensions on the local disk.
--securestore-plugins-directory <string>Location of the secure store plugins on the local disk.
--is-external-storageIndicates whether the storage is external or not.
--namespace <string>The namespace where Automation Suite is deployed. The default value is uipath.
-h--help Provides help for the upload command.
If you use an external storage configuration at the cluster level, you must indicate this by including the --is-external-storage parameter while using the command.

Storage upload considerations

The directory specified using the --storage-directory parameter must contain at least one subdirectory. All subdirectories are copied over to storage.
Files that are uploaded to the root folder using --storage-directory are ignored.

Internal storage

Subdirectories are copied directly to the bucket using the subdirectory name as the path.

External storage

  • If the subdirectory is named orchestrator-host, its contents are be copied over to the Orchestrator-Host path.
  • If the subdirectory is named orchestrator-<name>, its contents are copied over to the O<name> path.
  • In all other cases, the contents of the subdirectory are copied over to the <name> path.

Usage examples

将文件上传到存储

uipathctl config orchestrator upload --storage-directory /path/to/storage/directoryuipathctl config orchestrator upload --storage-directory /path/to/storage/directory

Uploading NLog extensions to storage

uipathctl config orchestrator upload --nlog-extensions-directory /path/to/nlog/extensions/directoryuipathctl config orchestrator upload --nlog-extensions-directory /path/to/nlog/extensions/directory

Uploading secure store plugins to storage

uipathctl config orchestrator upload --securestore-plugins-directory /path/to/securestore/plugins/directoryuipathctl config orchestrator upload --securestore-plugins-directory /path/to/securestore/plugins/directory

Uploading files to external storage

uipathctl config orchestrator upload --is-external-storage --storage-directory /path/to/storage/directoryuipathctl config orchestrator upload --is-external-storage --storage-directory /path/to/storage/directory

Uploading nlog extensions to external storage

uipathctl config orchestrator upload --is-external-storage --nlog-extensions-directory /path/to/nlog/extensions/directoryuipathctl config orchestrator upload --is-external-storage --nlog-extensions-directory /path/to/nlog/extensions/directory

Uploading secure store plugins to external storage

uipathctl config orchestrator upload --is-external-storage --securestore-plugins-directory /path/to/securestore/plugins/directoryuipathctl config orchestrator upload --is-external-storage --securestore-plugins-directory /path/to/securestore/plugins/directory
  • 配置 Azure/Amazon S3 存储桶
  • 将文件上传到存储
  • Storage upload considerations

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。