联系我们:186 6505 3298
需将获取的服务器版许可证文件重命名为 altair_lic.dat,并放置于 License 管理器主路径(记为<license manger dir>,默认/usr/local/altair/licensing14.5)下。
1) 使用 root 账户,切换路径:
执行 su - root,并输入管理员密码;
执行 cd 命令,切换到安装包目录(例:/mnt);
2) 复制并重命名许可证文件
执行 cp 命令,将 license 文件移动并重命名为 altair_lic.dat(确保全部为小写字母)
cp ALUS_ALCH_xxxxxxxx_xxxxxx.dat <license manager dir>/altair_lic.dat
此时会提示是否覆盖,输入 y 后,<回车>完成。
图 33 复制并重命名 License 文件
5.2.3 重启 Altair License 服务
初次配置许可证文件或者后续更替许可证时,都需要重新启动 Altair License 服务,以使新的License 文件生效。可尝试执行以下几种命令来重启 Altair License 服务。
/etc/init.d/altairlmxd restart
service altairlmxd restart
systemctl restart altairlmxd.service
图 34 重启 License 服务
开放服务器 6200 端口
如果服务器的 6200 端口没有开放,将会导致客户端无法获取 license。此处可能需要网络管理员协助开放服务器的 6200 端口规则。
对于使用 iptables 管理防火墙的 Linux 操作系统,可以使用以下命令完成操作:
1) iptables -A INPUT -p tcp –-dport 6200 -j ACCEPT
2) iptables -A INPUT -p udp –-dport 6200 -j ACCEPT
3) /etc/init.d/iptables save
4) service iptables restart
对于使用 firewall 管理防火墙的 Linux 操作系统,可以使用以下命令完成操作:
1) firewall-cmd –-add-port=6200/tcp –permanent
2) firewall-cmd –-add-port=6200/udp -–permanent
3) firewall-cmd –reload
5.2.5 查看 Altair License 服务状态
可以使用 Altair License 工具,查看端口的服务状态。执行
<license manager dir>/bin/almutil -licstat -host <HostIP> -port 6200 |less
图 35 查看 License 服务状态
若能看到授权 Feature 及生效/失效日期等信息,则表明 License 服务器成功启动,服务器端配置完毕。
电话:186 6505 3298 邮箱:gaolu@icae.com.cn 地址:广东省-广州市-天河区 天河北路663号机械研究所8栋9层
关注我们