Fortinet white logo
Fortinet white logo

Configuring the number of virtual CPUs (vCPUs)

Configuring the number of virtual CPUs (vCPUs)

By default, the virtual appliance is configured to use 1 vCPU. Depending on the FortiWeb-VM license that you purchased, you can allocate up to 1, 2, 4, or 8 vCPUs.

If you need to increase or decrease the vCPUs after the initial boot, power off FortiWeb-VM, adjust the number of vCPUs, then see Updating the license for more vCPUs.

For FortiWeb-VM deployed on an ESXi hypervisor, when you set the number of vCPUs to 8, you also change the default CPU affinity settings (which restrict the virtual machines to a subset of the available processors). This additional configuration can help prevent performance problems.

For more information on vCPUs, see the VMware vSphere documentation:

http://www.vmware.com/products/vsphere-hypervisor/index.html

To change the number of vCPUs
While resizing the vCPU, the FortiWeb-VM must be powered off.
  1. On your management computer, start VMware vSphere Client.
  2. In IP address / Name, type the IP address or FQDN of the VMware vSphere server.
  3. In User name, type the name of your account on that server.
  4. In Password, type the password for your account on that server.
  5. Click Login.
  6. In the pane on the left side, right-click the name of the virtual appliance, such as FortiWeb-VM, then select Edit Settings.
  7. The virtual appliance’s properties dialog appears.

  8. In the list of virtual hardware on the left side of the dialog, click CPUs.
  9. In Number of virtual processors, type the maximum number of vCPUs to allocate. Valid values range from 1 to 8.

  10. Click OK.
  11. Do one of the following:
To configure vCPUs for FortiWeb-VM08 on ESXi
  1. On VMware vSphere Client, ensure you are logged in to the VMware vSphere server.
  2. Right-click the name of the virtual appliance, such as FortiWeb-VM, then select Edit Settings.
  3. The virtual appliance’s properties dialog appears.

  4. On the Resources tab, click Advanced CPU.
  5. Under Hyperthreaded Core Sharing, for Mode, select Any.
  6. Under Scheduling Affinity, to set the logical processor affinity to the required range, enter 0-7.


  7. If you do not need to change the other resources, continue with Powering on and shutting down the virtual appliance. Otherwise continue with Configuring the virtual RAM (vRAM) limit

Configuring the number of virtual CPUs (vCPUs)

Configuring the number of virtual CPUs (vCPUs)

By default, the virtual appliance is configured to use 1 vCPU. Depending on the FortiWeb-VM license that you purchased, you can allocate up to 1, 2, 4, or 8 vCPUs.

If you need to increase or decrease the vCPUs after the initial boot, power off FortiWeb-VM, adjust the number of vCPUs, then see Updating the license for more vCPUs.

For FortiWeb-VM deployed on an ESXi hypervisor, when you set the number of vCPUs to 8, you also change the default CPU affinity settings (which restrict the virtual machines to a subset of the available processors). This additional configuration can help prevent performance problems.

For more information on vCPUs, see the VMware vSphere documentation:

http://www.vmware.com/products/vsphere-hypervisor/index.html

To change the number of vCPUs
While resizing the vCPU, the FortiWeb-VM must be powered off.
  1. On your management computer, start VMware vSphere Client.
  2. In IP address / Name, type the IP address or FQDN of the VMware vSphere server.
  3. In User name, type the name of your account on that server.
  4. In Password, type the password for your account on that server.
  5. Click Login.
  6. In the pane on the left side, right-click the name of the virtual appliance, such as FortiWeb-VM, then select Edit Settings.
  7. The virtual appliance’s properties dialog appears.

  8. In the list of virtual hardware on the left side of the dialog, click CPUs.
  9. In Number of virtual processors, type the maximum number of vCPUs to allocate. Valid values range from 1 to 8.

  10. Click OK.
  11. Do one of the following:
To configure vCPUs for FortiWeb-VM08 on ESXi
  1. On VMware vSphere Client, ensure you are logged in to the VMware vSphere server.
  2. Right-click the name of the virtual appliance, such as FortiWeb-VM, then select Edit Settings.
  3. The virtual appliance’s properties dialog appears.

  4. On the Resources tab, click Advanced CPU.
  5. Under Hyperthreaded Core Sharing, for Mode, select Any.
  6. Under Scheduling Affinity, to set the logical processor affinity to the required range, enter 0-7.


  7. If you do not need to change the other resources, continue with Powering on and shutting down the virtual appliance. Otherwise continue with Configuring the virtual RAM (vRAM) limit