UiPath Documentation
automation-suite
2023.10
false
Linux 版 Automation Suite 安装指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

使用 Orchestrator 配置程序工具

介绍 Orchestrator 配置程序工具,这是一个 bash 脚本,用于管理 Automation Suite 中的存储文件、插件、NLog 扩展程序和应用程序设置。

Orchestrator 配置程序工具是一个 bash 脚本,旨在方便在 Automation Suite 的 Orchestrator 部署中放置文件和设置。该工具有助于添加存储文件、凭据存储插件、NLog 扩展程序、新的 NLog 配置和覆盖 appSettings。

使用此工具可以执行的操作示例包括:

使用 Orchestrator 配置程序工具的环境必须能够运行 bash 脚本,并且应具有以下工具:

  • kubectl 配置了与集群的连接
  • jq 1.6
  • rclone(安装步骤)
重要提示:

不要独立下载和使用 ArgoCD CLI 工具。为了保持兼容性并确保顺利运行,我们建议使用我们在 Automation Suite 工件中捆绑的 ArgoCD。为此,您必须通过运行以下命令将 ArgoCD 添加到最新安装程序的路径中:

export PATH="$PATH:/opt/UiPathAutomationSuite/<version>/installer/bin"
export PATH="$PATH:/opt/UiPathAutomationSuite/<version>/installer/bin"

为了能够从任何位置运行 Orchestrator 配置程序工具,请更新 PATH 变量以包括 <installer-dir>/Tools,如以下示例所示:

export PATH="$PATH:/opt/UiPathAutomationSuite/<version>/installer/Tools"
export PATH="$PATH:/opt/UiPathAutomationSuite/<version>/installer/Tools"

确保 jq 实用程序的版本为 1.6。如果不是,请使用以下选项之一进行更新:

  • 选项 1:
    yum install -y epel-release yum install -y jq
    yum install -y epel-release yum install -y jq
    
  • 选项 2:
    curl https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/j/jq-1.6-2.el7.x86_64.rpm --output /tmp/jq-1.6-2.el7.x86_64.rpm
    yum localinstall /tmp/jq-1.6-2.el7.x86_64.rpm
    jq --version
    curl https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/j/jq-1.6-2.el7.x86_64.rpm --output /tmp/jq-1.6-2.el7.x86_64.rpm
    yum localinstall /tmp/jq-1.6-2.el7.x86_64.rpm
    jq --version
    

用法示例​

Usage: ./orchestrator_configurator.sh \
  -s blobstoragefolder -p pluginsfolder -n nlogextensionsfolder \
  -c appsettings.json -l nlog.custom.config 

    -k|--encryption-key
        the value of the encryption key that will override the key generated at install

    -c|--app-settings
        application configuration file containing json with key-value structure
    -l|--nlog-config-file
        nlog config file, json

    -s|--storage-folder
        location of the storage folder on the local disk
    -n|--nlog-extensions-folder
        location of the nlog extensions on the local disk
    -p|--securestore-plugins-folder
        location of the securestore plugins on the local disk
    --use-external-storage
        use external storage instead of in cluster CEPH storage

    -d|--dry-run
        do not update the orchestrator app with the new values
    -y|--accept-all
        do not prompt for confirmation of actions and overwriting of files with kubectl cp.
Usage: ./orchestrator_configurator.sh \
  -s blobstoragefolder -p pluginsfolder -n nlogextensionsfolder \
  -c appsettings.json -l nlog.custom.config 

    -k|--encryption-key
        the value of the encryption key that will override the key generated at install

    -c|--app-settings
        application configuration file containing json with key-value structure
    -l|--nlog-config-file
        nlog config file, json

    -s|--storage-folder
        location of the storage folder on the local disk
    -n|--nlog-extensions-folder
        location of the nlog extensions on the local disk
    -p|--securestore-plugins-folder
        location of the securestore plugins on the local disk
    --use-external-storage
        use external storage instead of in cluster CEPH storage

    -d|--dry-run
        do not update the orchestrator app with the new values
    -y|--accept-all
        do not prompt for confirmation of actions and overwriting of files with kubectl cp.
  • 用法示例​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新