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:
- 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.
- Configure virtual processors, network adapters, and virtual hard drive settings.
- 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:
- In the Settings page, select Processor from the Hardware menu. The Processor page is displayed.
- Configure the number of virtual processors for the FortiGate-VM. Optionally, you can use resource controls to balance resources among VMs.
- 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:
- 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.
- 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.
- 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.
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:
- In the Settings page, select IDE Controller 0 > Hard Drive from the Hardware menu. The Hard Drive page displays.
- Select New to create a new virtual hard disk. The New Virtual Hard Disk Wizard opens.
- This wizard helps you to create a new virtual hard disk. Select Next to continue. The Choose Disk Format page opens.
- 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.
- Select Next to continue. The Choose Disk Type page opens.
- 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).
- Select Next to continue. The Specify Name and Location page opens.
- Specify the name and location of the virtual hard disk file. Use the Browse button to select a specific file folder on your server.
- Select Next to continue. The Configure Disk page opens.
- 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.
- Select Next to continue. The Summary page opens.
- The summary page provides details of the virtual hard disk. Select Finish to create the virtual hard disk.
- Select Apply to save the settings and select OK to exit the settings page.