更换License后无法增加CPU

问题现象

  1. 某用户将运行在云上的FortiGate HA两台虚机的License由评估License更换为正式License,如FortiGate-VM04替换为FortiGate-VM04-S。

  2. 更换后,备机VM的CPU变为1个。

    FGT-VM64-KVM-1502 # get system status
    ......
    Serial-Number: FGVMSLTM23007738
    License Status: Valid
    VM Resources: 1 CPU/1 allowed, 7735 MB RAM
    ......
    
    FGT-VM64-KVM-1502 # diagnose debug vm-print-license
    SerialNumber: FGVMSLTM23007738
    CreateDate: Thu Dec 21 03:23:20 2023
    Key: yes
    Cert: yes
    Key2: yes
    Cert2: yes
    Model: SL (18)
    CPU: 1 (subscription:0)
    MEM: 2147483647
    VDOM license:
      permanent: 1
      subscription: 0
    
    FGT-VM64-KVM-1502 # diagnose hardware sysinfo vm full
    UUID:     95790208a255482da2b95a817a2ffdd3
    valid:    1
    status:   1
    code:     200
    warn:     0
    copy:     0
    received: 4294939474
    warning:  4294939474
    recv:     202312260754
    dup:
    
  3. 无法通过exe cpu add添加CPU。

    FGT-VM64-KVM-1502 # exe cpu add 3
    CPU number exceeds license limit.
    Command fail. Return code -61
    

解决办法

  1. 将FortiGate HA主备切换后,在新主机(原备机)执行execute update-now手动触发更新,之后可以正常添加CPU Core。

    FGT-VM64-KVM-1502 # exe update-now
    ......
    FGT-VM64-KVM-1502 # exe cpu add 3
    Active CPU number: 4
    Total CPU number: 4
    
    FGT-VM64-KVM-1502 # exe cpu show
    Active CPU number: 4
    Total CPU number: 4
    
  2. 查看该VM相关参数均显示为新License的CPU信息。

    FGT-VM64-KVM-1502 # get system status
    ......
    Serial-Number: FGVMSLTM23007738
    License Status: Valid
    VM Resources: 4 CPU/4 allowed, 7735 MB RAM
    ......
    
    FGT-VM64-KVM-1502 # diagnose debug vm-print-license
    SerialNumber: FGVMSLTM23007738
    CreateDate: Thu Dec 21 03:23:20 2023
    License expires: Wed Feb 21 08:00:00 2024
    Key: yes
    Cert: yes
    Key2: yes
    Cert2: yes
    Model: SL (18)
    CPU: 4 (subscription:4)
    MEM: 2147483647
    VDOM license:
      permanent: 1
      subscription: 0
    
    FGT-VM64-KVM-1502 # diagnose hardware sysinfo vm full
    UUID:     95790208a255482da2b95a817a2ffdd3
    valid:    1
    status:   1
    code:     200
    warn:     0
    copy:     0
    received: 4294939353
    warning:  4294986323
    recv:     202312260824
    dup:
    

Copyright © 2024 Fortinet Inc. All rights reserved. Powered by Fortinet TAC Team.
📲扫描下方二维码分享此页面👇
该页面修订于: 2024-01-15 16:21:43

results matching ""

    No results matching ""