Fortinet black logo

Deploying FortiMail VM in OpenStack

6.4.0
Copy Link
Copy Doc ID c16b6224-d72f-11ea-96b9-00505692583a:910485
Download PDF

Deploying FortiMail VM in OpenStack

The VMware management software, in this case OpenStack Horizon, is installed on a computer with network access to the OpenStack server.

Once you have access to the OpenStack dashboard, configure the following steps to launch a FortiMail VM instance.

Note

An Internet connection is required for the FortiMail VM to contact FortiGuard to validate its license. If the FortiMail VM is in a closed environment, it must be able to connect to a FortiManager to validate the FortiMail VM license.

Creating the flavor

  1. In the OpenStack dashboard, go to Admin > Compute > Flavors and click Create Flavor.
  2. Under Flavor Information, define the parameters for FortiMail VM instance deployments.
    Make sure to set the following minimum requirements:
    • VCPUs: 1
    • RAM: 1024MB
    • Root Disk: 2GB
    • Ephemeral Disk: 55GB
  3. Click Flavor Access, and add the projects you wish to have access to this flavor. In this case, the current project is selected (admin).
  4. Click Create Flavor.

Creating the image

  1. Go to Admin > Compute > Images and click Create Image.
  2. From the Image Details tab, under Image Source > File, click Browse.
  3. Select the image file downloaded from the Fortinet Customer Service & Support portal.
  4. The image file name is:

    fortimail-kvm.qcow2

  5. Set Format to QCOW2 - QEMU Emulator.
  6. Optionally, click the Metadata tab and assign any necessary metadata definitions.
  7. Selecting each option opens a dropdown menu showing what is included for each metadata resource and their descriptions below.

  8. When finished, click Create Image.

Launching the instance

  1. Go to Project > Compute > Instances and click Launch Instance.
  2. Under the Details tab, enter an Instance Name and an optional Description, define the Availability Zone where the instance will be deployed, and the instance Count, in cases where you require multiple instances with the same settings.
  3. Click Next.
  4. Under the Source tab, set Select Boot Source to Image. By default, Create New Volume is set to Yes. Increase the Volume Size as required.
  5. Upload the image created earlier from under the Available list by clicking the icon.
  6. The image is moved to the Allocated list as shown in the following example:

  7. Click Next.
  8. Under the Flavor tab, select the Flavor created earlier by moving it from the Available list to the Allocated list.
  9. Click Next.
  10. Under the Networks tab, define whether the instance should be located on a public, private, or shared network.
  11. Optionally, continue configuring the remaining tabs. When finished, click Launch Instance.

The newly created FortiMail VM instance is launched.

Accessing instance console

You can access your list of instances from under Project > Compute > Instances.

  1. If you haven't already, launch an instance by selecting Start Instance from the Actions column.
  2. The Power State column will show that the instance is powering on.

    After a few seconds, the instance will show a Power State of Running.

  3. To access the instance's console, click the Actions drop-down menu and select Console.
  4. You are redirected to the Instance Console.

    If you just started the instance, you may need to wait a few minutes for the instance initialization to complete.

  5. Once it is complete, you can login to the FortiMail VM.

Deploying FortiMail VM in OpenStack

The VMware management software, in this case OpenStack Horizon, is installed on a computer with network access to the OpenStack server.

Once you have access to the OpenStack dashboard, configure the following steps to launch a FortiMail VM instance.

Note

An Internet connection is required for the FortiMail VM to contact FortiGuard to validate its license. If the FortiMail VM is in a closed environment, it must be able to connect to a FortiManager to validate the FortiMail VM license.

Creating the flavor

  1. In the OpenStack dashboard, go to Admin > Compute > Flavors and click Create Flavor.
  2. Under Flavor Information, define the parameters for FortiMail VM instance deployments.
    Make sure to set the following minimum requirements:
    • VCPUs: 1
    • RAM: 1024MB
    • Root Disk: 2GB
    • Ephemeral Disk: 55GB
  3. Click Flavor Access, and add the projects you wish to have access to this flavor. In this case, the current project is selected (admin).
  4. Click Create Flavor.

Creating the image

  1. Go to Admin > Compute > Images and click Create Image.
  2. From the Image Details tab, under Image Source > File, click Browse.
  3. Select the image file downloaded from the Fortinet Customer Service & Support portal.
  4. The image file name is:

    fortimail-kvm.qcow2

  5. Set Format to QCOW2 - QEMU Emulator.
  6. Optionally, click the Metadata tab and assign any necessary metadata definitions.
  7. Selecting each option opens a dropdown menu showing what is included for each metadata resource and their descriptions below.

  8. When finished, click Create Image.

Launching the instance

  1. Go to Project > Compute > Instances and click Launch Instance.
  2. Under the Details tab, enter an Instance Name and an optional Description, define the Availability Zone where the instance will be deployed, and the instance Count, in cases where you require multiple instances with the same settings.
  3. Click Next.
  4. Under the Source tab, set Select Boot Source to Image. By default, Create New Volume is set to Yes. Increase the Volume Size as required.
  5. Upload the image created earlier from under the Available list by clicking the icon.
  6. The image is moved to the Allocated list as shown in the following example:

  7. Click Next.
  8. Under the Flavor tab, select the Flavor created earlier by moving it from the Available list to the Allocated list.
  9. Click Next.
  10. Under the Networks tab, define whether the instance should be located on a public, private, or shared network.
  11. Optionally, continue configuring the remaining tabs. When finished, click Launch Instance.

The newly created FortiMail VM instance is launched.

Accessing instance console

You can access your list of instances from under Project > Compute > Instances.

  1. If you haven't already, launch an instance by selecting Start Instance from the Actions column.
  2. The Power State column will show that the instance is powering on.

    After a few seconds, the instance will show a Power State of Running.

  3. To access the instance's console, click the Actions drop-down menu and select Console.
  4. You are redirected to the Instance Console.

    If you just started the instance, you may need to wait a few minutes for the instance initialization to complete.

  5. Once it is complete, you can login to the FortiMail VM.