安装 Workflow Manager Server

ArcGIS Workflow Manager Server 可以安装在自己的计算机上,也可以安装在托管服务器计算机上。 对于生产部署,建议您在自己的计算机上安装 ArcGIS Workflow Manager Server。 要在自己的计算机上安装 ArcGIS Workflow Manager ServerArcGIS Server 必须安装在同一台计算机上,但不需要获得 GIS 服务器的许可。 ArcGIS Workflow Manager Server 许可仅提供对计算机上 ArcGIS Workflow Manager Server 功能的访问。

当从 ArcGIS Workflow Manager (Classic) Server 扩展模块迁移到基于 Workflow Manager 服务的架构时,必须安装 Workflow Manager Server 角色并获得许可,并且必须为您的组织成员分配 ArcGIS Workflow Manager 用户类型扩展模块

  1. 以具有管理权限的用户身份登录。
  2. 为要安装 ArcGIS Workflow Manager Server 的计算机获取授权文件
  3. 登录到 My Esri
  4. 单击我的组织选项卡。
  5. 单击下载选项卡。

    将显示产品页面。

  6. 查找 ArcGIS Enterprise (Linux),然后单击查看下载

    随即显示下载组件选项卡。

  7. 展开产品组件部分。
  8. 单击 ArcGIS Workflow Manager Server 安装包的下载
  9. 浏览到包含安装包的位置并将其解压缩。
    For example: $ tar -zxvf ArcGIS_WorkflowManager.tar.gz
  10. 浏览到包含所提取安装文件的位置并运行 Setup.sh 以开始安装。
  11. 通过运行 ArcGIS Server 软件授权对 ArcGIS Workflow Manager Server 授予许可:
    $ <arcgis-server-install-location>/tools/authorizeSoftware

    了解有关授权工具的详细信息

  12. 按照以下相应的说明将 ArcGIS Workflow Manager Server 配置为与操作系统一起启动:
    注:

    引用 sudo 时,您能够以根用户的身份进行登录来运行此命令:

    $ sudo su root
    OR 
    $ su root
    OR
    $ su
    • RHEL 7.x 及更高版本
    1. 安装 Linux 后台程序:
       <arcgis-server-install-location>/WorkflowManager/bin/workflowmanager.service /etc/systemd/system
      For example: $ sudo cp ~/arcgis/server/WorkflowManager/bin/workflowmanager.service /etc/systemd/system
    2. 重新启动计算机时将自动启动 ArcGIS Workflow Manager Server 服务:
      $ sudo systemctl enable workflowmanager.service
    3. 启动 ArcGIS Workflow Manager Server 服务:
      $ sudo systemctl start workflowmanager.service
    4. (可选)停止 ArcGIS Workflow Manager Server 服务:
      $ sudo systemctl stop workflowmanager.service
    5. (可选)检查 ArcGIS Workflow Manager Server 服务的状态:
      $ sudo systemctl status workflowmanager.service
    • RHEL 6.x
    1. 安装 Linux 后台程序:
      $ cd <arcgis-server-install-location>/WorkflowManager/bin
      For example: $ cd ~/arcgis/server/WorkflowManager/bin
      
      $ sudo ln -s <arcgis-server-install-location>/WorkflowManager/bin/
      ArcGISWorkflowManager-service /etc/init.d/
      For example: $ sudo ln -s ~/arcgis/server/WorkflowManager/bin/ArcGISWorkflowManager-service /etc/init.d/
      $ sudo chkconfig --add ArcGISWorkflowManager-service
    2. 重新启动计算机时将自动启动 ArcGIS Workflow Manager Server 服务:
      $ sudo chkconfig ArcGISWorkflowManager-service on
    3. 启动 ArcGIS Workflow Manager Server 服务:
      $ service ArcGISWorkflowManager-service start
    4. (可选)停止 ArcGIS Workflow Manager Server 服务:
      $ service ArcGISWorkflowManager-service stop
    5. (可选)检查 ArcGIS Workflow Manager Server 服务的状态:
      $ service ArcGISWorkflowManager-service status
    • SUSE
    1. 安装 Linux 后台程序:
      $ cd <arcgis-server-install-location>/WorkflowManager/bin
      For example: $ cd ~/arcgis/server/WorkflowManager/bin
      Switch to root user:
      $ su
      $ ln -s <arcgis-server-install-location>/WorkflowManager/bin/ArcGISWorkflowManager-service /etc/init.d/
      For example: $ ln -s ~/arcgis/server/WorkflowManager/bin/ArcGISWorkflowManager-service /etc/init.d/
      $ insserv ArcGISWorkflowManager-service
      $ chkconfig ArcGISWorkflowManager-service
    2. 重新启动计算机时将自动启动 ArcGIS Workflow Manager Server 服务:

      仍然以根用户身份:

      
      $ chkconfig ArcGISWorkflowManager-service on
      End the root user session
    3. 启动 ArcGIS Workflow Manager Server 服务:
      $ /etc/init.d/ArcGISWorkflowManager-service start
    4. (可选)停止 ArcGIS Workflow Manager Server 服务:
      $ /etc/init.d/ArcGISWorkflowManager-service stop
    5. (可选)检查 ArcGIS Workflow Manager Server 服务的状态:
      $ /etc/init.d/ArcGISWorkflowManager-service status
    • Ubuntu Server 16.04.x LTS 及更高版本
    1. 安装 Linux 后台程序:
      $ sudo cp <arcgis-server-install-location>/WorkflowManager/bin/
      workflowmanager.service /etc/systemd/system
      For example: $ sudo cp ~/arcgis/server/WorkflowManager/bin/
      workflowmanager.service /etc/systemd/system
    2. 重新启动计算机时将自动启动 ArcGIS Workflow Manager Server 服务:
      $ sudo systemctl enable workflowmanager.service
    3. 启动 ArcGIS Workflow Manager Server 服务:
      $ sudo systemctl start workflowmanager.service
    4. (可选)停止 ArcGIS Workflow Manager Server 服务:
      $ sudo systemctl stop workflowmanager.service
    5. (可选)检查 ArcGIS Workflow Manager Server 服务的状态:
      $ systemctl status workflowmanager.service
    • Ubuntu Server 12.04.x LTS
    1. 安装 Linux 后台程序:
      $ cd <arcgis-server-install-location>/WorkflowManager/bin
      For example: $ cd /arcgis/server/WorkflowManager/bin
      $ sudo ln -s <arcgis-server-install-location>/WorkflowManager/bin/ArcGISWorkflowManager-service /etc/init.d/
      For example: $ sudo ln -s /arcgis/server/WorkflowManager/bin/ArcGISWorkflowManager-service
      /etc/init.d/
    2. 重新启动计算机时将自动启动 ArcGIS Workflow Manager Server 服务:
      $ sudo update-rc.d ArcGISWorkflowManager-service defaults
    3. 启动 ArcGIS Workflow Manager Server 服务:
      $ service ArcGISWorkflowManager-service start
    4. (可选)停止 ArcGIS Workflow Manager Server 服务:
      $ service ArcGISWorkflowManager-service stop
    5. (可选)检查 ArcGIS Workflow Manager Server 服务的状态:
      $ service ArcGISWorkflowManager-service status