Fortinet white logo
Fortinet white logo

Deploying FortiWeb Manager-VM on KVM

Deploying FortiWeb Manager-VM on KVM

Deploying FortiWeb Manager-VM using VirtManager

The following steps introduce how to install FortiWeb Manager-VM using VirtManager, and the server is Ubuntu 16.04 LTS headless server.

  1. On your KVM host server, launch Virtual Machine Manager (virt-manager), and then select Create a new virtual machine.
  2. Ensure that Connection is localhost (the default value).
  3. Select Import existing disk image.
  4. Click Forward.
  5. Click Browse to navigate to boot.qcow2 and select it.
  6. Use the default values for OS Type and Version.
  7. Click Forward.
  8. To ensure high performance under heavy load, it's recommended to use at lease 8 GB of RAM and 2 CPUs.
  9. Click Forward.
  10. The installation wizard displays a summary of the configurations you have set. Select Customize configuration before install so that you can add more Network Interface Cards (NICs).
  11. During installation process, the system automatically creates a NIC. You need to create three more NICs because FortiManager supports four network interfaces. The Device model of these four NICs should be virtio.
    • For the NIC which is created by the system, change its Device model to virtio.

    • Create three more NICs.
      Click Add Hardware at the bottom left of the window. In the Network configuration, set the Network source as shown below or choose other options according to your network design, check the MAC address and specify it, and select virtio for Device model. Click Finish. Repeat this step three times to create three NICs.
  12. Click Begin Installation at the top left of the window.

Deploying FortiWeb Manager-VM using Linux bash

The following steps introduce how to install FortiWeb Manager-VM using Linux bash, and the server is Ubuntu 16.04 LTS headless server.

  1. Go to the path where you unzip the FortiWeb Manager-VM image file, such as /home/user/image-kvm-64/boot.qcow2 or /root/image-kvm-64/boot.qcow2.
  2. Install Fortiweb Manager-VM.
    virt-install \
    --connect qemu:///system \
    --virt-type kvm \
    --name <specify a name for FortiWeb Manager VM> \
    --memory 8192 \
    --vcpus 2 \
    --cpu host \
    --os-type=linux \
    --os-variant=generic \
    --import \
    --disk path=/home/user/image-kvm-64/boot.qcow2,format=qcow2 \
    --network network=default,model=virtio \
    --network network=default,model=virtio \
    --network network=default,model=virtio \
    --network network=default,model=virtio

Deploying FortiWeb Manager-VM on KVM

Deploying FortiWeb Manager-VM on KVM

Deploying FortiWeb Manager-VM using VirtManager

The following steps introduce how to install FortiWeb Manager-VM using VirtManager, and the server is Ubuntu 16.04 LTS headless server.

  1. On your KVM host server, launch Virtual Machine Manager (virt-manager), and then select Create a new virtual machine.
  2. Ensure that Connection is localhost (the default value).
  3. Select Import existing disk image.
  4. Click Forward.
  5. Click Browse to navigate to boot.qcow2 and select it.
  6. Use the default values for OS Type and Version.
  7. Click Forward.
  8. To ensure high performance under heavy load, it's recommended to use at lease 8 GB of RAM and 2 CPUs.
  9. Click Forward.
  10. The installation wizard displays a summary of the configurations you have set. Select Customize configuration before install so that you can add more Network Interface Cards (NICs).
  11. During installation process, the system automatically creates a NIC. You need to create three more NICs because FortiManager supports four network interfaces. The Device model of these four NICs should be virtio.
    • For the NIC which is created by the system, change its Device model to virtio.

    • Create three more NICs.
      Click Add Hardware at the bottom left of the window. In the Network configuration, set the Network source as shown below or choose other options according to your network design, check the MAC address and specify it, and select virtio for Device model. Click Finish. Repeat this step three times to create three NICs.
  12. Click Begin Installation at the top left of the window.

Deploying FortiWeb Manager-VM using Linux bash

The following steps introduce how to install FortiWeb Manager-VM using Linux bash, and the server is Ubuntu 16.04 LTS headless server.

  1. Go to the path where you unzip the FortiWeb Manager-VM image file, such as /home/user/image-kvm-64/boot.qcow2 or /root/image-kvm-64/boot.qcow2.
  2. Install Fortiweb Manager-VM.
    virt-install \
    --connect qemu:///system \
    --virt-type kvm \
    --name <specify a name for FortiWeb Manager VM> \
    --memory 8192 \
    --vcpus 2 \
    --cpu host \
    --os-type=linux \
    --os-variant=generic \
    --import \
    --disk path=/home/user/image-kvm-64/boot.qcow2,format=qcow2 \
    --network network=default,model=virtio \
    --network network=default,model=virtio \
    --network network=default,model=virtio \
    --network network=default,model=virtio