Skip to main content
otsaggos
Staff
Staff
October 26, 2022

Technical Tip: Adding CPU to VM setting

  • October 26, 2022
  • 0 replies
  • 1787 views
Description This article describes how to check and add/remove CPU in a virtual setting.
Scope FortiGate.
Solution

Sometimes, there is a mismatch between the CPUs showing in the system and those appearing in the license.

 

With the below commands, one can check and adjust accordingly.

 

To check how many CPUs are used:


execute cpu show

 

To add a CPU:


execute cpu add 1

 

Before adding a CPU, it is first necessary to check how many cores the license has. For that, execute this command in the firewall CLI:

 

diagnose debug vm-print-license

Key: yes
Cert: yes
Key2: yes
Cert2: yes
Model: 01 (5)
CPU: 1 -> Number of CPU.
MEM: —
VDOM license:
permanent: 10
subscription: 0

 

In this device license, there is only one CPU, so it is not possible to add one more CPU.

 

To check the license:


diagnose debug vm-print-license


Related article:

Technical Tip: How to add CPU core in FortiGate firewall VM