FortiOS 5.6 Online Help Link FortiOS 5.4 Online Help Link FortiOS 5.2 Online Help Link FortiOS 5.0 Online Help Link
> Chapter 32 - VM Installation > Deployment example: OpenXen > vm-openxen-create-vmm

Home > Online Help

Create the FortiGate VM virtual machine (VMM)

To create the FortiGate VM virtual machine:
  1. Launch Virtual Machine Manager (virt-manager) on your OpenXen host server.

    The Virtual Machine Manager home page opens.
  2. In the toolbar, select Create a new virtual machine.
  3. Enter a Name for the VM, FGT-VM for example.
  4. Ensure that Connection is localhost. (This is the default.)
  5. Select Import existing disk image.
  6. Select Forward.
  7. In OS Type select Linux.
  8. In Version, select Generic 2.4.x.kernel.
  9. Select Browse.

    The Locate or create storage volume window opens.
  10. Select Browse Local, find the fortios.qcow2 disk image file.
  11. Select fortios.qcow2 and select Choose Volume.
  12. Select Forward.
  13. Specify the amount of memory and number of CPUs to allocate to this virtual machine. The amounts must not exceed your license limits.
  14. Select Forward.
  15. Select Customize configuration before install. This enables you to make some hardware configuration changes before VM creation is started.
  16. Expand Advanced options. A new virtual machine includes one network adapter by default. Select Specify shared device name and enter the name of the bridge interface on the OpenXen host. Optionally, set a specific MAC address for the virtual network interface. Virt Type and Architecture are set by default and should be correct.
  17. Select Finish.

    The virtual machine hardware configuration window opens.


    You can use this window to add hardware such as network interfaces and disk drives.
  18. Select Add Hardware. In the Add Hardware window select Storage.
  19. Select Create a disk image on the computer’s harddrive and set the size to 30GB.
note icon If you know your environment will expand in the future, it is recommended to increase the hard disk size beyond 30GB. The VM license limit is 2TB.
  1. Enter:
Device type Virtio disk
Cache mode Default
Storage format raw
  1. Select Network to configure add more the network interfaces. The Device type must be Virtio.

    A new virtual machine includes one network adapter by default. You can add more through the Add Hardware window. FortiGate VM requires four network adapters. You can configure network adapters to connect to a virtual switch or to network adapters on the host computer.
  2. Select Finish.
  3. Select Begin Installation. After the installation completes successfully, the VM starts and the console window opens.