Alteryx License Server 故障转移配置
Alteryx License Server 提供故障转移系统,但您需要进行设置。本指南将引导您完成设置流程。
Alteryx License Server 需要 2 个本地许可证服务器 - 主许可证服务器和备份许可证服务器 - 它们协同工作以确保许可证在主许可证服务器出现故障时仍可用于客户端设备。
如需了解更多详情,请参阅 Reverera License Server 故障转移或 Reverera Configuring Server 故障转移。
要求
2 个相同版本的许可证服务器。
设置
在主许可证服务器 (MAIN) 或备份许可证服务器 (BAKP) 上按照以下步骤操作:
BAKP - 运行以下命令:
enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin Admin1234# -hostid
记录下 hostid。示例:02AECB34265F/Ethernet。
MAIN - 更改故障转移的设置:
enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.backup.uri=http://BAKP_IP:7070/fne/bin/capability enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.main.uri=http://MAIN_IP:7070/fne/bin/capability
MAIN - 编辑 flexnetls.settings,并将 BACKUP_SERVER_HOSTID=backup_hostid 行替换为记录的 hostid。示例:BACKUP_SERVER_HOSTID=02AECB34265F/Ethernet。
MAIN - 使用新设置重新启动服务器:
server/flexnetls -update server/flexnetls -start
BAKP - 更改故障转移的设置:
enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set fne.syncTo.enabled=true enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set fne.syncTo.mainUri=http://MAIN_IP:7070/fne/bin/capability enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.backup.uri=http://BAKP_IP:7070/fne/bin/capability enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -config -set licensing.main.uri=http://MAIN_IP:7070/fne/bin/capability
BAKP - 重新启动服务器:
server/flexnetls -stop server/flexnetls -start
BAKP - 检查 BAKP 是否具有与 MAIN 相同的许可证(如果适用):
enterprise/flexnetlsadmin -server http://localhost:7070/api/1.0/instances/~ -authorize admin PWD -licenses
重要
对于客户端,MAIN 和 BAKP 均应通过代理或路由服务器访问,该服务器会在 MAIN 可用时将请求转发到 MAIN,若 MAIN 不可用,则转发到 BAKP。Designer 和其他产品应该指向桥接器。