Applies to: ZWCAD, ZWCAD+, ZWCAD Classic, ZWCAD Architecture and Mechanical.
Licenses on the server:
22 network node ZWCAD Std 2020  
5 Network node ZWCAD Std 2021
Objective: 
create 2 groups ( "HOSTGROUP A"  & "HOSTGROUP B" ) and RESERVE 2020 licenses for each of the group (hostgroup A 14 seats, and 8 seats for hostgroup B, no free seats for others). The 2021 license is still open to all workstations


Steps to set OPT file to achieve the goal.

1) Find zwflex.opt file as below figure shown in the NLM(Network License Manager) installation directory.


2) For example, you can set HOST_GROUP for computers, or GROUP for users, here we set HOST_GROUP for the computers. Before that, you can turn on the group case insensitive as below.

#Define the host group "A" & "B"

GROUPCASEINSENSITIVE ON

HOST_GROUP A CSL-0065 CSL-0043 CSL-0048 CSL-0061 CSL-0075 CSL-0081 CSL-0083 CSL-0116 CSL-0119 CSL-0143 CSL-0152 CSL-0162 CSL-0178 CSL-0198 CSL-0208 CSL-0216 CSL-0223 CSL-0226 CSL-0245 CSL-0247 06-0369

HOST_GROUP B CSL-0231 CSL-0065 CSD-0150 06-0408 CSD-0043 CSD-0153 CSD-0008 CSD-0089 CSD-0140 CSL-0111 CSD-0168 CSD-0130 CSL-0250 CSL-0179 CSD-0142 CSD-0139 CSD-0042 CSD-0056 CSD-0109 CSD-0146 CSD-0150 CSD-0082 CSD-0084 CSD-0163 CSD-0165 06-0408 CSD-0172 CSD-0087 CSD-0174 CSD-0151 CSD-0154 CSD-0171 


3) Then RESERVE the license including the version (if you do not specify the version, then it will reserve all the versions that has this feature, for example, if you RESERVE 5 ZW2D_STD HOST_GROUP A, then it will reserve 5 2020 and 5 2021 licenses for this host group.)

 # Reserve number of license for each group 

RESERVE 14 ZW2D_STD:version=20.0 HOST_GROUP A

RESERVE 8 ZW2D_STD:version=20.0 HOST_GROUP B 


4) Reread license file in LMTools, if there is any problem, you can just go to window services console to restart the service. Then check the license status, you can see the info that there are reservation info lines. You can also test the workstation that in or out of the defined group to check out.


As below shown the info for reservation(just an example).

Users of ZW2D_STD:  (Total of 10 licenses issued;  Total of 10 licenses in use)

"ZW2D_STD" v21.0, vendor: zwflex, expiry: 1-jul-2021 floating license

    10 RESERVATIONs for HOST_GROUP A (WIN-50UVD62SPMO/27001) 


More information FYI.

  1. Above is to make limit setting for host group, you can also create user group by keyword GROUP instead of HOSTGROUP.
  2. RESERVE: make sure the group can get no less than the set seats.
  3. Max: make sure the group can get no more than the set seats.
  4. INCLUDE: make sure only the specified can get license
  5. EXCLUDE: make sure the specified cannot get license, when there are both INCLUDE and EXCLUDE, EXCLUDE is higher than INCLUDE.
  6. If you want to set only the specified can borrow license, floating license is open for all workstations or users, then you need to use  INCLUDE_ENTITLEMENT XXXX-XXXX-XXXX-XXXX-XXXX-XXXX HOST_GROUP A, you can use EXCLUDE_ENTITLEMENT to add the black list. The borrow setting is related with the license code.
  7. If you want the floating license be withdrawn when the workstation is inactive for some time. You can set TIMEOUT. TIMEOUT ZW2D_STD 3600, which means if the workstation inactive for 3600S(1hour), the floating license will be checked in to the server. To make it simpler, we suggest the customer to set for all features, so TIMOUTALL 3600 can be used directly, no need to check the feature names.
  8. All the feature name you need to check from LMTOOLS, as below line shown.                                                                Users of ZW2D_STD:  (Total of 10 licenses issued;  Total of 10 licenses in use)
    "ZW2D_STD" v21.0, vendor: zwflex, expiry: 1-jul-2021 floating license
  9. You can also set the IP (but it is recommended to use a host name) in the HOST_GROUP, as this shown                         HOST_GROUP A 192.168.80.* 192.168.70.*
    HOST_GROUP A 192.168.80.1 192.168.70.2
  10. If you want to turn off (default is on) the CASE SENSETIVITY for user name or host name, please use the following line before define the group.                                                                                                                                               GROUPCASEINSENSITIVE ON