We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Set the OMS Version to a Specific Version in Azure

  • Last updated on

In certain cases it may be necessary to set the OMS version of your NextGen Firewall in Azure to a specific version. Follow the steps in this article to pin your OMS version.

If you disconnect and reconnect the Log Analytics workspace through the Azure portal after pinning the OMS version, your changes will be lost. In this case, please repeat the steps in this article to pin the version again if you still need this feature.

Before You Begin

Step 1. (optional) Disconnect the Log Analytics Workspace from Your NextGen Firewall

This step is necessary only if your Log Analytics workspace is already connected to your NextGen Firewall.

  1. Log into the Azure portal: https://portal.azure.com
  2. In the left menu, click All Services and go to Log Analytics workspaces.
    all_services_log.png
  3. In the search bar, enter the name of the Log Analytics workspace where your NextGen Firewall is connected to.
    workspace.png
  4. To open the workspace, click on the entry of the Log Analytics workspace where your NextGen Firewall is connected to.
  5. Click on Virtual machines in the workspace.
    workspace_vm.png
  6. In the search bar, enter the name of your virtual machine to filter the results.
    vm.png
  7. Click on the entry of the virtual machine of the NextGen Firewall you want to pin the OMS version for.
  8. Click the Disconnect button to disconnect your NextGen Firewall from the Log Analytics workspace.
    disconnect_vm.png
  9. To confirm that you want to disconnect the virtual machine, click the Yes button.
    confirmation_disconnect.png
  10. Wait until you are informed that it is successfully disconnected.

Step 2. Set the OMS Version

  1. Log into the Azure portal: https://portal.azure.com
  2. To open the Cloud Shell, click on the shell icon in the upper-right corner.
    cloud_shell.png
  3. Select Bash in the Cloud Shell menu.
    cloud_shell_bash.png
  4. Enter the following command in the shell and press enter to run it:
    az vm extension set --name OmsAgentForLinux --publisher Microsoft.EnterpriseCloud.Monitoring --version <version_number> --no-auto-upgrade --no-wait --force-update --protected-settings '{"workspaceKey": "<workspace_key>"}' --settings '{"workspaceId": "<workspace_id>"}' --resource-group "<rg_name>" --vm-name "<vm_name>"
  5. The OMS version of your NextGen Firewall is now set to the specified version.

Last updated on