Technical Tip: Adding new disks on FortiManager and FortiAnalyzer instances in Microsoft Azure
Description
Â
This article explains how to add new disks on FortiManager or FortiAnalyzer instances in Microsoft Azure.
Â
Scope
Â
FortiAnalyzer and FortiManager, Microsoft Azure.
Solution
Â
The steps are identical for both FortiManager and FortiAnalyzer. This article will explain the process with a FortiAnalyzer instance.
Â
Note: If the user is using BYOL ('Bring Your Own License'), disk storage size is based on the license purchased. If the license is On-Demand, disks can be added as required.
Â
The default disk size is 1072 GB:
Â

Â
Safety and cautions:
Back up first. Recommend an Azure disk snapshot or VM backup, and a FortiAnalyzer config backup (execute backup all-settings), before making changes.
Reboot warning. execute lvm extend triggers a reboot, so schedule a maintenance window. Logs from devices may be briefly delayed or buffered on the device, depending on its logging setup.
Disks can't be shrunk or removed. Once a disk is added to the LVM, you can't take it back out. Verify this against the docs before stating it. If true, it's an important warning in the "choose the right size" section.
Don't resize the original disk. The Xen guide says the default disk shouldn't be modified to increase capacity, and that only increasing Disk1 or adding extra disks extends the LVM. Check whether the Azure guide says the same.
Follow the steps below to add a disk.
Â
Verify the instance status under the Overview panel of the FortiAnalyzer instance.
Â

Â
Shut down the instance with the Stop button.
Â

Â
Navigate to the Disks tab under the Settings section to view FortiAnalyzer instance disks. Here, the existing instance disk will be shown (2GB), along with the data disk (1TB):
Â

Â
Select 'Add data disk' and 'Create disk':
Â

Â
Enter the disk details:
Name of the disk: Disk-2-500GB.
Resource group: (Use the same resource group where the FortiAnalyzer instance is deployed).
Account type: Standard HDD.
Source type: None (empty disk).
Size (GiB): 500.
Â
Select 'Create' to create the disk.
Â

Â
Wait for validation to complete:
Â

Â
After the new disk is added, select Save to save the changes on the disk level:
Â

Â
At this stage, the new disk has been created and added to the FortiAnalyzer instance.
Â
Power on the FortiAnalyzer instance.
Â

Verify the disk details are correct in the CLI after the FortiAnalyzer instance starts:
Â
execute lvm infoThe disk has been added successfully but is unused:
Â

Â
Extend the added disk. Run the following command in the CLI:
Â
execute lvm extend 
Â
Enter 'y' to reboot the FortiAnalyzer instance.
Â
Once again, verify the disk status:
Â
execute lvm infoÂ

Â
The disk will display as 'Used' and will be used by the FortiAnalyzer instance.
Â
Watch the Adding new disk video here:
Adding Disk Space to FortiAnalyzer instance in AWS
Â
Â
Related article:
Technical Tip: FortiAnalyzer swap size dependency on RAM and storage disk
