Fortinet Document Library

Version:


Table of Contents

Azure Cookbook

Resources

Upgrade Path Tool

Azure Cookbook

6.2.0
Download PDF
Copy Link

Troubleshooting

Master election was not successful

If the FortiGate-VM master election is not successful, reset the master election. If the reset does not solve the problem, please contact support.

Reset the master election

To reset the master election, navigate to the CosmosDB FortiGateAutoscale and open the table FortiGateMasterElection and delete the master record (the only item in the table).

A new master FortiGate-VM will be elected and a new record will be created in the table as the result.

For details on locating the CosmosDB FortiGateAutoscale and the table FortiGateMasterElection, refer to the master election portion of the section Verifying the deployment.

Troubleshoot using Application Insights

Application Insights can help you troubleshoot the deployment. It is automatically enabled if your region supports it.

Troubleshoot using environment variables

Environment variables are available to assist in troubleshooting the current FortiGate Autoscale deployment. These variables and details on how to use them are listed in the section Troubleshooting environment variables

To locate environment variables after deployment:
  1. Load the Function App. For detailed steps, refer to the Function App portion of the section Verifying the deployment.
  2. Under Configured features, click Configuration .

    Function app settings

  3. Edit settings as needed.

    Settings

    Note

    Changing environment variables other than the troubleshooting ones can cause unexpected behavior. Modify them at your own risk.

Resources

Troubleshooting

Master election was not successful

If the FortiGate-VM master election is not successful, reset the master election. If the reset does not solve the problem, please contact support.

Reset the master election

To reset the master election, navigate to the CosmosDB FortiGateAutoscale and open the table FortiGateMasterElection and delete the master record (the only item in the table).

A new master FortiGate-VM will be elected and a new record will be created in the table as the result.

For details on locating the CosmosDB FortiGateAutoscale and the table FortiGateMasterElection, refer to the master election portion of the section Verifying the deployment.

Troubleshoot using Application Insights

Application Insights can help you troubleshoot the deployment. It is automatically enabled if your region supports it.

Troubleshoot using environment variables

Environment variables are available to assist in troubleshooting the current FortiGate Autoscale deployment. These variables and details on how to use them are listed in the section Troubleshooting environment variables

To locate environment variables after deployment:
  1. Load the Function App. For detailed steps, refer to the Function App portion of the section Verifying the deployment.
  2. Under Configured features, click Configuration .

    Function app settings

  3. Edit settings as needed.

    Settings

    Note

    Changing environment variables other than the troubleshooting ones can cause unexpected behavior. Modify them at your own risk.