Fortinet black logo

Configuring resources

Copy Link
Copy Doc ID d8128d8d-a933-11ec-9fd1-fa163e15d75b:543688
Download PDF

Configuring resources

Before you start the FortiGate-VM for the first time, ensure that you have configured the following resources as the FortiGate-VM license specifies:

  • Disk sizes
  • CPUs
  • RAM
  • Network settings
To configure settings through Hyper-V Manager:
  1. In the Hyper-V Manager, locate the VM name, right-click the entry, and select Settings from the menu. Optionally, you can select the VM and select Settings in the Actions menu.

    The Settings page is displayed.

  2. Configure virtual processors, network adapters, and virtual hard drive settings.
  3. Select Apply to save the settings, then select OK to close the settings page.

FortiGate-VM virtual processors

You must configure FortiGate-VM virtual processors. The number of processors is dependent on your server environment.

To configure FortiGate-VM virtual processors:
  1. In the Settings page, select Processor from the Hardware menu. The Processor page is displayed.

  2. Configure the number of virtual processors for the FortiGate-VM. Optionally, you can use resource controls to balance resources among VMs.
  3. Select Apply to save the settings.

FortiGate-VM network adapters

You must configure FortiGate-VM network adapters. FortiGate-VM supports four network adapters.

To configure FortiGate-VM network adapters:
  1. In the Settings page, select Add Hardware from the Hardware menu, select Network Adapter in the device list, and select the Add button. The Network Adapter page is displayed.

  2. In the settings page manually configure four network adapters for FortiGate-VM. For each network adapter, select the virtual switch from the drop-down list.
  3. Select Apply to save the settings.

FortiGate-VM virtual hard disk

You can use the DATADRIVE.vhd file in the *-FORTINET.out.hyperv.zip file as the log/data disk. See Deployment package contents. Alternatively, you can create a new virtual hard drive to use as a log/data disk using the following instructions.

Note

If you know your environment will expand in the future, it is recommended to increase the hard disk size beyond 30 GB. The VM license limit is 2 TB.

To configure a FortiGate-VM virtual hard drive:
  1. In the Settings page, select IDE Controller 0 > Hard Drive from the Hardware menu. The Hard Drive page displays.

  2. Select New to create a new virtual hard disk. The New Virtual Hard Disk Wizard opens.

  3. This wizard helps you to create a new virtual hard disk. Select Next to continue. The Choose Disk Format page opens.

  4. Select to use VHDX format virtual hard disks. This format supports virtual disks up to 64TB and is resilient to consistency issues that might occur from power failures. This format is not supported in operating systems earlier than Windows Server 2012. Note that FortiGate-VM does not support hard disks larger than 2TB.
  5. Select Next to continue. The Choose Disk Type page opens.

  6. Select the type of virtual disk that you want to use. Select one of the following disk types:
    • Fixed size: This type of disk provides better performance and is recommended for servers running applications with high levels of disk activity. The virtual hard disk file that is created initially uses the size of the virtual hard disk and does not change when data is deleted or added.
    • Dynamic expanding: This type of disk provides better use of physical storage space and is recommended for servers running applications that are not disk intensive. The virtual disk file that is created is small initially and changes as data is added.
    • Differencing: This type of disk is associated in a parent-child relationship with another disk that you want to leave intact. You can make changes to the data or operating system without affecting the parent disk, so that you can revert the changes easily. All children must have the same virtual hard disk format as the parent (VHD or VHDX).
  7. Select Next to continue. The Specify Name and Location page opens.

  8. Specify the name and location of the virtual hard disk file. Use the Browse button to select a specific file folder on your server.
  9. Select Next to continue. The Configure Disk page opens.

  10. Select to Create a new blank virtual hard disk and enter the size of the disk in GB. The maximum size is dependent on your server environment.
  11. Select Next to continue. The Summary page opens.

  12. The summary page provides details of the virtual hard disk. Select Finish to create the virtual hard disk.
  13. Select Apply to save the settings and select OK to exit the settings page.

Configuring resources

Before you start the FortiGate-VM for the first time, ensure that you have configured the following resources as the FortiGate-VM license specifies:

  • Disk sizes
  • CPUs
  • RAM
  • Network settings
To configure settings through Hyper-V Manager:
  1. In the Hyper-V Manager, locate the VM name, right-click the entry, and select Settings from the menu. Optionally, you can select the VM and select Settings in the Actions menu.

    The Settings page is displayed.

  2. Configure virtual processors, network adapters, and virtual hard drive settings.
  3. Select Apply to save the settings, then select OK to close the settings page.

FortiGate-VM virtual processors

You must configure FortiGate-VM virtual processors. The number of processors is dependent on your server environment.

To configure FortiGate-VM virtual processors:
  1. In the Settings page, select Processor from the Hardware menu. The Processor page is displayed.

  2. Configure the number of virtual processors for the FortiGate-VM. Optionally, you can use resource controls to balance resources among VMs.
  3. Select Apply to save the settings.

FortiGate-VM network adapters

You must configure FortiGate-VM network adapters. FortiGate-VM supports four network adapters.

To configure FortiGate-VM network adapters:
  1. In the Settings page, select Add Hardware from the Hardware menu, select Network Adapter in the device list, and select the Add button. The Network Adapter page is displayed.

  2. In the settings page manually configure four network adapters for FortiGate-VM. For each network adapter, select the virtual switch from the drop-down list.
  3. Select Apply to save the settings.

FortiGate-VM virtual hard disk

You can use the DATADRIVE.vhd file in the *-FORTINET.out.hyperv.zip file as the log/data disk. See Deployment package contents. Alternatively, you can create a new virtual hard drive to use as a log/data disk using the following instructions.

Note

If you know your environment will expand in the future, it is recommended to increase the hard disk size beyond 30 GB. The VM license limit is 2 TB.

To configure a FortiGate-VM virtual hard drive:
  1. In the Settings page, select IDE Controller 0 > Hard Drive from the Hardware menu. The Hard Drive page displays.

  2. Select New to create a new virtual hard disk. The New Virtual Hard Disk Wizard opens.

  3. This wizard helps you to create a new virtual hard disk. Select Next to continue. The Choose Disk Format page opens.

  4. Select to use VHDX format virtual hard disks. This format supports virtual disks up to 64TB and is resilient to consistency issues that might occur from power failures. This format is not supported in operating systems earlier than Windows Server 2012. Note that FortiGate-VM does not support hard disks larger than 2TB.
  5. Select Next to continue. The Choose Disk Type page opens.

  6. Select the type of virtual disk that you want to use. Select one of the following disk types:
    • Fixed size: This type of disk provides better performance and is recommended for servers running applications with high levels of disk activity. The virtual hard disk file that is created initially uses the size of the virtual hard disk and does not change when data is deleted or added.
    • Dynamic expanding: This type of disk provides better use of physical storage space and is recommended for servers running applications that are not disk intensive. The virtual disk file that is created is small initially and changes as data is added.
    • Differencing: This type of disk is associated in a parent-child relationship with another disk that you want to leave intact. You can make changes to the data or operating system without affecting the parent disk, so that you can revert the changes easily. All children must have the same virtual hard disk format as the parent (VHD or VHDX).
  7. Select Next to continue. The Specify Name and Location page opens.

  8. Specify the name and location of the virtual hard disk file. Use the Browse button to select a specific file folder on your server.
  9. Select Next to continue. The Configure Disk page opens.

  10. Select to Create a new blank virtual hard disk and enter the size of the disk in GB. The maximum size is dependent on your server environment.
  11. Select Next to continue. The Summary page opens.

  12. The summary page provides details of the virtual hard disk. Select Finish to create the virtual hard disk.
  13. Select Apply to save the settings and select OK to exit the settings page.