管理 PolyspaceAccess 的指定用户
Polyspace® Access 许可证是一个网络指定用户 (NNU) 许可证。您将在一个通常名为 MLM.opt 的文本文件中指定您要向其授予使用权的用户。请参阅配置 Polyspace Access 许可证。要从与 PolyspaceAccess™ 许可证关联的指定用户列表中添加或删除用户,请在 MLM.opt 文件的 GROUP 和 INCLUDE 条目中编辑指定用户列表。
Define a group of users GROUP ACCESS_users user1 user2 user3 # Grant right-to-use privileges to individual users INCLUDE Polyspace_BF_Access USER user1 INCLUDE Polyspace_BF_Access USER user2 INCLUDE Polyspace_BF_Access USER admin # Grant right-to-use privileges to group of users INCLUDE Polyspace_BF_Access GROUP ACCESS_users
对于每个用户,请输入该用户指定的用于登录 Polyspace Access 的用户名。用户名对应于您的公司 LDAP 服务器或 User Manager 内部目录中的用户名条目。请参阅配置 User Manager。
对于 Polyspace as You Code 用户,用户名还必须与登录到用户安装和运行 Polyspace as You Code 的计算机时使用的用户名一致。
然后,在命令提示窗口中,导航到安装了许可证管理器的文件夹。停止并重新启动许可证管理器。
注意
这些说明不适用于企业许可证客户。
| Windows® |
cd LM_Folder\etc\win64 lmutil lmdown lmgrd.exe -c pathToLicense -l lm_log.log 在 Windows 上,您还可以使用 lmtool.exe 并转至 Stop/Start/Reread 选项卡来停止并重新启动许可证管理器。 |
| Linux® | cd LM_Folder/etc/glnx64 ./lmutil lmdown ./lmgrd -c pathToLicense -l lm_log.log |
LM_Folder 是您安装许可证管理器的文件夹。
pathToLicense 是 PolyspaceAccess 许可证文件的路径。
对选项文件的更改可能会延迟 15 分钟才会生效。
要查看许可证管理器的状态以及当前签出许可证的数量,请使用 lmstat 命令。
| Windows |
cd LM_Folder\etc\win64 lmutil.exe lmstat -c pathToLicense -a 在 Windows 上,您还可以使用 lmtool.exe 并转至服务器状态选项卡来停止并重新启动许可证管理器。 |
| Linux | cd LM_Folder/etc/glnx64 ./lmutil lmdown ./lmutil lmstat -c pathToLicense -a |
LM_Folder 是您安装许可证管理器的文件夹。pathToLicense 是 PolyspaceAccess 许可证文件的路径。