平台: 所有平台 适用于: COMSOL Multiphysics®, COMSOL Server™ 版本: 所有版本

问题描述

我想要从同一个许可证管理器运行 COMSOL Multiphysics 许可证 (FNL) 和 COMSOL Server 许可证 (CSL)。该如何操作?

解决方法

请注意,此解决方法说明如何合并 FNL 许可证文件与 CSL 许可证文件。有关如何合并两个 FNL 许可证文件的信息,请参见:解决方法 1058

此解决方法也是对许可证管理教学视频的补充,其中演示了如何在合并 FNL 与 CSL 许可证之后启动许可证管理器。

我们想要合并的许可证文件如下

  1. COMSOL Server 许可证 (CSL) 编号 12345678,具有 1 个支持 COMSOL Multiphysics 基本模块和“结构力学模块”的并发席位。
  2. 网络浮动许可证 (FNL) 编号 1234567,具有 2 个支持 COMSOL Multiphysics 基本模块和“结构力学模块”的并发席位。

这两个许可证将由服务器 licserver.company.com 进行管理。

您从 COMSOL 销售代表处获取的 CSL license.dat 文件(许可证 12345678)如下所示:

#------------------------------------------------------------------  
# COMSOL Server 6.0 License No: 12345678   
# Visit www.comsol.com/install for latest installation instructions  
#------------------------------------------------------------------  
SERVER licserver 123456789012 1718  
USE_SERVER  
VENDOR LMCOMSOL port=1719  
FEATURE SERIAL LMCOMSOL 6.0 permanent uncounted \  
    VENDOR_STRING=C,52000000000A0 HOSTID=ANY sort=100 SN=12345678 \`  
    TS_OK SIGN=381534A6DFE0  
INCREMENT COMSOLCSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=E6CAC4565FB8  
INCREMENT COMSOLBACSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=E18B85006AA4  
INCREMENT STRUCTURALMECHANICSCSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=D2CF1F489168  
INCREMENT STRUCTURALMECHANICSBACSL LMCOMSOL 6.0 permanent 4 \  
    SUPERSEDE DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 \  
    SIGN=7E30946C600A  
INCREMENT COMSOLGUICSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=3A9CA556AE94  
INCREMENT CLIENTSERVERCSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=995C5546F944  
INCREMENT CLUSTERNODECSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    DUP_GROUP=U ISSUED=30-NOV-2018 SN=12345678 SIGN=47EEAF30477C  
INCREMENT COMSOLSERVER LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=145F1784612C  
INCREMENT COMSOLUSERCSL LMCOMSOL 6.0 permanent 1 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=31A6FBA6A732  

FNL license.dat(许可证 1234567)如下所示:

#------------------------------------------------------------------  
# COMSOL 6.0 FNL License No: 1234567   
# Visit www.comsol.com/install for latest installation instructions  
#------------------------------------------------------------------  
SERVER licserver 123456789012 1718  
USE_SERVER  
VENDOR LMCOMSOL port=1719  
FEATURE SERIAL LMCOMSOL 6.0 permanent uncounted \  
    VENDOR_STRING=C,5200000000000 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \  
    SIGN=AD9753BE1F54`  
INCREMENT COMSOL LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=1E7CBFAC1394   
INCREMENT COMSOLBATCH LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=4569FP789S76  
INCREMENT COMSOLGUI LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=850405640240  
INCREMENT STRUCTURALMECHANICS LMCOMSOL 6.0 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=423417E46C62  
INCREMENT STRUCTURALMECHANICSBATCH LMCOMSOL 6.0 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=654KF75U6127  
INCREMENT CLIENTSERVER LMCOMSOL 6.0 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=EB1D0E36ADD2  
INCREMENT CLUSTERNODE LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=U \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=C3D87DD042DD  
INCREMENT COMSOLUSER LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=U \
    ISSUED=30-NOV-2018 BORROW=720 SN=2234567 SIGN=DFB4AB06C20A 

1 合并文件

  • 请确保两个许可证文件中的第一行相同(以 # 开头的注释行除外)。如果不同,则不能合并文件。
  • 合并这两个文件时,只需复制第二个许可证文件中的 FEATURE 和 INCREMENT 行,并将其粘贴到第一个许可证文件底部即可。您可以随意添加以 # 开头的注释行。结果如下所示。
  • 实现合并的一种方式是打开您的 CSL 许可证管理器的现有 license.dat 文件,并将 FNL 许可证中的 FEATURE 和 INCREMENT 行粘贴到其中。

得到的文件应如下所示:

#------------------------------------------------------------------  
# COMSOL 6.0 Combined license file for   
# FNL License No: 1234567 and Server License No: 12345678   
# Visit www.comsol.com/install for latest installation instructions   
#------------------------------------------------------------------  
SERVER licserver 123456789012 1718  
USE_SERVER  
VENDOR LMCOMSOL port=1719  
FEATURE SERIAL LMCOMSOL 6.0 permanent uncounted \  
    VENDOR_STRING=C,52000000000A0 HOSTID=ANY sort=100 SN=12345678 \  
    TS_OK SIGN=381534A6DFE0  
INCREMENT COMSOLCSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=E6CAC4565FB8  
INCREMENT COMSOLBACSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=E18B85006AA4  
INCREMENT STRUCTURALMECHANICSCSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=D2CF1F489168  
INCREMENT STRUCTURALMECHANICSBACSL LMCOMSOL 6.0 permanent 4 \  
    SUPERSEDE DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 \  
    SIGN=7E30946C600A  
INCREMENT COMSOLGUICSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=3A9CA556AE94  
INCREMENT CLIENTSERVERCSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=995C5546F944  
INCREMENT CLUSTERNODECSL LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    DUP_GROUP=U ISSUED=30-NOV-2018 SN=12345678 SIGN=47EEAF30477C  
INCREMENT COMSOLSERVER LMCOMSOL 6.0 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=145F1784612C  
INCREMENT COMSOLUSERCSL LMCOMSOL 6.0 permanent 1 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=31A6FBA6A732  
#Lines below are for the FNL  
FEATURE SERIAL LMCOMSOL 6.0 permanent uncounted \  
    VENDOR_STRING=C,5200000000000 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \  
    SIGN=AD9753BE1F54`  
INCREMENT COMSOL LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=1E7CBFAC1394   
INCREMENT COMSOLBATCH LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=4569FP789S76  
INCREMENT COMSOLGUI LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=850405640240  
INCREMENT STRUCTURALMECHANICS LMCOMSOL 6.0 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=423417E46C62  
INCREMENT STRUCTURALMECHANICSBATCH LMCOMSOL 6.0 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=654KF75U6127  
INCREMENT CLIENTSERVER LMCOMSOL 6.0 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=EB1D0E36ADD2  
INCREMENT CLUSTERNODE LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=U \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=C3D87DD042DD  
INCREMENT COMSOLUSER LMCOMSOL 6.0 permanent 2 SUPERSEDE DUP_GROUP=U \
    ISSUED=30-NOV-2018 BORROW=720 SN=2234567 SIGN=DFB4AB06C20A 

2 重新启动许可证管理器

重新启动许可证管理器,使其读取合并的新许可证文件。