To install a FortiOS-VM in a hypervisor platform a FortiCare account is required to download the FortiOS image and apply a license that will be attached to this account.
From the support portal select Support -> VM Images, select Product FortiGate, select Platform Hyper-V and download the ZIP file:
Extract ZIP content to a directory where Virtual Machine will be stored and check to make sure it has 3 folders that are standard to Hyper-V implementation:
- Snapshots.
- Virtual Hard Disks.
- Virtual Machine.
The snapshots folder does not have any content, while 2 other folders have Virtual Hard disks and XML configuration files. There are multiple ways to import VMs using xml files but in this document, another way is used.
- Create a new VM on the Hyper-V management console and select Virtual Machine:
- Select Next and move to the Virtual Machine Name window and store location. Select a name for this Virtual Machine and select the folder where you have stored extracted ZIP content.
- Specify Generation 1.
- Assign some memory amount and remove the 'Use Dynamic Memory' allocation so that this guest does not occupy needed RAM.
- To have internet access that is needed for license activation select Default Switch under the Networking section.
This network has DHCP enabled and with proper interface configuration, FortiOS will get a DHCP IP address with access to the internet.
- Use the option to Attach a virtual hard disk later and select Finish.
After this step, a new Virtual Machine is created but it needs virtual hard disks to boot up.
- The most important part is the hard drive assignment. Downloaded existing Virtual Hard Disks will be used and attached to the Virtual Machine. 'Right-click' on the new VM under Settings -> IDE Controller 0, select Hard Drive, and select 'Add'.
- Browse for the first virtual hard drive which should be in the downloaded and extracted folder. As the system will start from the first partition, it is important to import the first fortios.vhd contacting FortiOS system, and then DATADRIVE.vhd.
Repeat the same procedure for both drives and the final result will be similar to.
Power up the machine by 'right-clicking' in the VM select Start and again right-click and select connect. FortiOS will do a reboot after recognizing Hard Drives and prompt for login. Use 'admin' and hit enter. Put a new password and repeat the password for confirmation.
FortiGate Section: Check the IP address assignment and port settings:
Test external connectivity to FortiGuard servers which are used also for licensing purposes:
More info can be found: Permanent trial mode for FortiGate-VM | FortiGate / FortiOS 7.4.4 | Fortinet Document Library
Execute 'get system status' to check licensing information.
To activate trial license support portal account and password are required.
exe vm-license-options account-id xxxx@domain.com exe vm-license-options account-password xxxxxxx
exe vm-license
Accept the reboot requirement and recheck the licensing status:
Note:
The trial license has many limitations which include:
- Maximum of one free evaluation copy per FortiCare account.
- Support for low encryption operations only (except for GUI management and FortiManager communications).
- Maximum of 1 CPU and 2 GB RAM.
- Limits on the number of interfaces, firewall policies, and routes.
- No FortiCare/FortiGuard support.
- Limited number of VDOMs.
Related documents:
Permanent trial mode for FortiGate-VM | FortiGate / FortiOS 7.4.4 | Fortinet Document Library
FortiGate-VM evaluation license | FortiGate Private Cloud 7.4.0 | Fortinet Document Library
Deploying the FortiGate-VM | FortiGate Private Cloud 7.6.0 | Fortinet Document Library
|