主要是MAC地址设定,因为申请的license文件根据MAC生成。
简单直接的方式,修改虚拟机MAC
复杂方式:在云端的机器无法无法再在上面创建虚拟机。
用的Hyper-V搭建license服务器
进入Switch Manager
设定好MAC范围
打开PowerShell输入命令
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
New-VMSwitch -Name "InternalNAT" -SwitchType Internal
Get-NetAdapter ##然后能看到新创建的虚拟网卡
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex 13
New-NetNat -Name "InternalNat" -InternalIPInterfaceAddressPrefix 192.168.0.0/24
这样就把虚拟网卡创建好了。
接着要把Windows防火墙关闭,或者开放给lmgrd.exe端口27000和27011
参考:https://support.minitab.com/zh-cn/installation/frequently-asked-questions/minitab-license-manager/how-to-specify-change-network-port-number-for-license-manager/
外部硬件防火墙也要开放对应端口27000和27011
参考:https://support.minitab.com/zh-cn/installation/frequently-asked-questions/minitab-license-manager/set-minitab-exe-to-use-static-port-number/
原文:https://blog.51cto.com/helpdesk/2538964