UiPath Documentation
orchestrator
2020.10
false
Orchestrator 用户指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

关于许可

在 Orchestrator 的“许可证”页面上,在主机和租户级别都可以使用机器人许可证。这使您可以快速跟踪部署时间,并轻松地从集中位置管理激活。单击按钮即可激活、续订、删除和分配许可证。

您可以为一个租户获取单个许可证,也可以为多个租户获取汇总许可证:

每个租户一个许可证

In this scenario, you have a single license file for each tenant. This type of license can only be added at the tenant level on the License page. For more details, see the Managing Your Licenses page.

备注:

如果许可证文件包含所有类型机器人的许可证,则并发许可证的优先级高于已命名用户许可证。例如,如果许可证文件同时包含有人值守并发许可证和有人值守许可证,则有人值守并发许可证在 Orchestrator 中显示为可用。

多个租户一个许可证

这使您能够使用单个许可证来许可 Orchestrator 实例中的多个租户。该许可证可聚合多个许可证,非常适合在 Orchestrator 实例中的租户之间分发。

A System Administrator can only manage this type of license at the host level. It can be added on the License page while license allocation can be done both on the Tenants and License pages.

Keep in mind when doing the distribution that you must fit within limits imposed by the license. Additionally, to a tenant using a Named User license, you must allocate a number of licenses which is at least equal to the number of users defined within the tenant.

备注:

如果许可证文件包含所有类型机器人的许可证,则并发许可证的优先级高于已命名用户许可证。例如,如果许可证文件同时包含有人值守并发许可证和有人值守许可证,则有人值守并发许可证在 Orchestrator 中显示为可用。

许可步骤

A licensing process most commonly begins with activating your Orchestrator license as explained here. If you want to manage your licenses at the host level, activate your Orchestrator license and allocate them as explained here.

Afterward, all you need to do to activate a Robot license is to connect it to Orchestrator.

For Studio, there are two possibilities:

  • 您可以直接从 Orchestrator 激活其许可证。 这是推荐的方法。
  • You can activate it locally and then connect Studio to Orchestrator through its Robot. Remember to select the Stand-alone License checkbox when creating your Robot, to prevent Orchestrator from allocating Studio a license from its pool of licenses.

许可证使用情况

如果您想评估是否有空间最大化许可效率,则可以在“许可”页面(即“许可证使用情况”部分)上查询历史许可数据。在这里,您可以查看每种类型的机器人同时使用的最大许可证数量,通过划掉类型来筛选数据或根据需要调整时间间隔。

请注意,该图表仅针对使用的许可证(由机器人执行的作业)进行填充,并且需要一天的时间才能在此处显示机器人使用情况信息。即使您续订或删除许可证,也会在此处保留并显示数据。

许可权限

要执行各种与许可证相关的操作,您需要几个权限:

  • 对许可证的“编辑”或“创建”权限 - 使您能够上传许可证。
  • 查看许可证 - 启用“许可”页面上的“查看更多”按钮,您可以在相应的页面上查看有关拥有许可证的机器人的详细信息:有人值守/Studio/StudioX 或无人值守/非生产。请记住,这些页面中均未启用“查看机器人”按钮,除非您也对机器人具有查看权限。
  • 对许可证的“删除”权限 - 使您能够删除许可证。

许可概念

命名用户

此类许可证适用于有人值守的机器人和 Studio/StudioX 机器人。

一种向用户授权的许可证。此类许可证可用于在任何计算机上注册任意数量的机器人,前提是这些机器人均使用相同的 Active Directory 用户名。此类用户不能同时使用多个机器人。

并发用户

此类许可证适用于有人值守的机器人和 Studio/StudioX 机器人。

鉴于您在实际使用机器人时才会使用此类许可证,因此可利用该许可证帮助用户轮班作业。

以下情况中,机器人会在 Orchestrator 中依据类型使用并发许可证:

  • 机器人已连接到 Orchestrator
  • UiPath 机器人托盘正在运行(且不仅是在执行流程期间)
  • Studio/StudioX 正在运行

因此,您可以在多台计算机上定义数百个机器人,但在某个特定时刻仅使用 50 个许可证(举例而言),而此数字正是能同时将机器人连接到 Orchestrator 的用户数上限。

并发运行时

这种类型的许可证仅适用于无人值守/非生产/用于测试目的的计算机。

当处于在线状态且连接到 Orchestrator 时,计算机使用的许可证数与其将其连接到 Orchestrator 时所用的计算机模型的运行时容量相等。运行时表示可同时在特定机器上运行的机器人数量上限,并且支持手动自定义。

Windows 工作站一次只能运行一个后台流程,因此建议只为其分配一个运行时。

Windows Server 计算机支持更多机器人同时执行多个流程,因此您可为其分配更多运行时。

备注:

请注意,计算机上定义的机器人数量可大于为该计算机分配的运行时数量。

机器人许可证类型

有人值守

Attended Named User - 无论定义用户的计算机数量如何,在 Orchestrator 中定义用户时均需使用许可证。不过,此类用户一次无法通过多计算机进行连接。请注意,此情况仅适用于 Active Directory 用户。如果您有本地用户,则每个本地用户均参与计数并使用许可证。

例如,如果您在一台计算机上有 10 位用户,且已在 Orchestrator 中将其定义为有人值守机器人,则需使用 10 个有人值守许可证。如果您在 10 台不同的计算机上定义同一用户,则只需使用 1 个许可证。

“有人值守”页面显示已在 Orchestrator 中定义为机器人的所有用户名,以及最后一次登录时间、分配到的计算机数量和用户当前的连接状态。最后,通过单击“查看机器人”按钮,即可显示基于特定用户名定义的所有机器人的列表。

Studio / StudioX / StudioPro

Studio/StudioX/StudioPro 许可证的工作方式与有人值守许可证类似;但是,它仅授予您将 Studio、StudioX 或 StudioPro 连接到 Orchestrator 的权限。 Studio (X/Pro) 的使用权由本地许可证授予,或通过将其连接到 Orchestrator 来授予。

如果 Studio/StudioX/StudioPro 已拥有本地许可证,则无需使用 Orchestrator 许可证池中的其他许可证,前提是您在 Orchestrator 创建机器人时已选中独立许可证复选框。

请注意,将 Studio/StudioX/StudioPro 连接到 Orchestrator 的做法仅适用于 Active Directory 用户。如果您有本地用户,则每个本地用户均参与计数并使用许可证。

备注:

如果 Studio 机器人或 StudioX 机器人使用相同的 Active Directory 用户名但位于不同的计算机上,则不能开始多个作业。如果这样做,则只有一个机器人可执行指定的作业。

无人值守或非生产

In this licensing model, we count the maximum number of Unattended/NonProduction Robots that can execute processes simultaneously. This number is given by the total number of runtimes allocated to all the online machines. You can distribute the licenses across all your machines.

测试

The Testing license works similar to the Unattended license, where we count the maximum number of Testing robots that can execute tests simultaneously. This number is given by the total number of runtimes allocated to all the online machines. You can distribute the licenses across all your machines.

请注意,分配的运行时数量无法超过可用运行时的数量。例如,如果您在向一台计算机分配 2 个运行时后还剩 4 个可用运行时,则表示最多只能为此计算机分配 6 个运行时。

On the License page, the total number of runtimes available on all online machines is displayed. Remember that a machine consumes the licenses as soon as the Robot Service is started. To prevent instant license consumption, disable the machine from the corresponding License page. Please note that you cannot use either Studio or the Robot on a disabled machine.

您可以为计算机分配自定义的运行时数量,确定当 UiPath 机器人服务在该计算机上运行时需占用的无人值守/非生产许可证数量。而计算机上定义的机器人数量完全不受运行时数量限制。

备注:

当从旧版本更新到 v2018.2 时,若设置高密度机器人,则系统会将每台计算机的运行时数量自动设为 1,而非该计算机上的机器人总数。

例如,若为拥有 5 个机器人的计算机分配 3 个运行时,则一共只会占用 3 个许可证。如果执行 5 个作业或调度该计算机上的所有机器人,则会发生以下事件:

  1. 在前 3 个拥有许可证的机器人上执行 3 个作业;
  2. 剩余 2 个无许可证的权机器人将处于挂起状态;
  3. 前 3 个机器人释放许可证;
  4. 剩余 2 个机器人获得许可证,并执行分配的作业。

如果您在一台计算机上只有一个无人值守/非生产机器人,且已为该计算机分配 30 个运行时,则当其处于在线状态时,需使用 30 个许可证。

如果您在一台 Windows 7 计算机上有 10 个用户(机器人),则您每次只能执行一个流程,并且必须将运行时数量保留为默认值 1。如果您将多个运行时分配给 Windows 工作站计算机并尝试同时执行多个作业,则系统会抛出错误。

如果 UiPath 机器人服务正在给定计算机上运行,则其会显示为已获得许可。如果没有更多可用的许可证,则计算机将无法获得许可。

“无人值守”或“非生产”页面列有所有将机器人定义为“无人值守”的计算机,并且还会显示分配的运行时数量、已定义和正在运行的机器人数量以及计算机的许可证状态。此外,您可以编辑向计算机分配的运行时数量,并显示在该计算机上定义的机器人列表。

备注:

如果处于在线状态但未获得许可证,则计算机每秒都会尝试获取运行时。

许可证过期

过期警示

By default, you are notified 180, 90, 30, 14, 7, and 1 day before the license expiry date. You can configure these values using the SystemJobs.LicenseExpirationAlert.DaysBefore parameter.

At host level, for single licenses distributed across multiple tenants, only the system administrator receives these email alerts. At tenant level, all the active users with View permissions on License receive them. The emails are localized per user.

宽限期

许可证到期后,有一段许可的宽限期,您可以在该宽限期内续订许可证,而不会遇到任何操作中断的情况。登录时,将显示一条通知,通知您许可证已过期以及宽限期的持续时间:

您可以单击“确定”关闭通知,然后继续照常工作。在规定的宽限期结束后,您的 Orchestrator 将不再获得许可,并且无法再运行。

重要提示:

If, after an upgrade or migration from a version older than 2019.10, you did not update your licensing information as described in Activating Your License, you do not benefit from the grace period.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新