Fortinet black logo

EMS Administration Guide

Fabric connection setup using traffic manager

Fabric connection setup using traffic manager

The FortiGate to EMS Fortinet Security Fabric connection in a high availability (HA) environment has the following limitations:

  • If round robin is enabled on the DNS server, FortiOS may reach a secondary EMS node during Fabric connection, resulting in Fabric connection failing.
  • If there is a Fabric connection that is already configured, after EMS failover, the connector disconnects, since DNS still resolves to the primary EMS node.

For EMS HA failover to function correctly with FortiOS Fabric connectors, you can use traffic manager in your topology. This effectively brokers the data routing to the correct EMS based on availability.

To demonstrate this configuration, the example EMS HA environment is configured in Azure Cloud. This deployment uses the following components in Azure:

  • Two EMS nodes
  • SQL Server
  • Traffic manager

You should use FortiOS 7.2.1 or 7.0.7 and later versions for this setup.

To configure traffic manager:
  1. Log in to the Azure portal.
  2. Select the desired resource group.
  3. Search for traffic manager, and create the profile. The traffic manager profile overview displays the DNS name, which you use to set up the Fabric connection and register FortiClient endpoints.
  4. You must add traffic manager profile endpoints. In this example, the endpoints are EMS nodes. On the Endpoints tab, select Add.
  5. For Target Resource type, select Public IP Address. emsnode1 and emsnode2 are added as endpoints in traffic manager. Due to the configuration, the nodes are monitored. emsnode1 is the primary node and emsnode2 is the secondary.

  6. Go to Settings > Configuration. Confirm that traffic manager is set to monitor TCP port 8013.

After failover when the EMS secondary node becomes responsive, meaning that all FCEMS services are on, the traffic manger status changes from degraded to online.

To configure the Fabric connection between FortiOS and EMS:
  1. In FortiOS, go to Security Fabric > Fabric Connectors.
  2. Double-click the FortiClient EMS card.
  3. Under FortiClient EMS Settings, in the IP/Domain name field, enter the traffic manager fully qualified domain name (FQDN). The FQDN resolves to the active EMS node's IP address. After EMS failover, the secondary EMS node status in traffic manager changes from degraded to online. The new EMS active node IP address is returned, and FortiOS continues to be connected and authorized. For earlier FortiOS versions, the FQDN is resolved only once, and the Fabric connector uses the same IP address failover, causing the WebSocket connection to disconnect. FortiOS 7.2.1 or 7.0.7 and later versions periodically checks if the FQDN has a new IP address and switches to it after EMS failover.

Fabric connection setup using traffic manager

The FortiGate to EMS Fortinet Security Fabric connection in a high availability (HA) environment has the following limitations:

  • If round robin is enabled on the DNS server, FortiOS may reach a secondary EMS node during Fabric connection, resulting in Fabric connection failing.
  • If there is a Fabric connection that is already configured, after EMS failover, the connector disconnects, since DNS still resolves to the primary EMS node.

For EMS HA failover to function correctly with FortiOS Fabric connectors, you can use traffic manager in your topology. This effectively brokers the data routing to the correct EMS based on availability.

To demonstrate this configuration, the example EMS HA environment is configured in Azure Cloud. This deployment uses the following components in Azure:

  • Two EMS nodes
  • SQL Server
  • Traffic manager

You should use FortiOS 7.2.1 or 7.0.7 and later versions for this setup.

To configure traffic manager:
  1. Log in to the Azure portal.
  2. Select the desired resource group.
  3. Search for traffic manager, and create the profile. The traffic manager profile overview displays the DNS name, which you use to set up the Fabric connection and register FortiClient endpoints.
  4. You must add traffic manager profile endpoints. In this example, the endpoints are EMS nodes. On the Endpoints tab, select Add.
  5. For Target Resource type, select Public IP Address. emsnode1 and emsnode2 are added as endpoints in traffic manager. Due to the configuration, the nodes are monitored. emsnode1 is the primary node and emsnode2 is the secondary.

  6. Go to Settings > Configuration. Confirm that traffic manager is set to monitor TCP port 8013.

After failover when the EMS secondary node becomes responsive, meaning that all FCEMS services are on, the traffic manger status changes from degraded to online.

To configure the Fabric connection between FortiOS and EMS:
  1. In FortiOS, go to Security Fabric > Fabric Connectors.
  2. Double-click the FortiClient EMS card.
  3. Under FortiClient EMS Settings, in the IP/Domain name field, enter the traffic manager fully qualified domain name (FQDN). The FQDN resolves to the active EMS node's IP address. After EMS failover, the secondary EMS node status in traffic manager changes from degraded to online. The new EMS active node IP address is returned, and FortiOS continues to be connected and authorized. For earlier FortiOS versions, the FQDN is resolved only once, and the Fabric connector uses the same IP address failover, causing the WebSocket connection to disconnect. FortiOS 7.2.1 or 7.0.7 and later versions periodically checks if the FQDN has a new IP address and switches to it after EMS failover.