Fortinet black logo

Adding a disk to the FortiAnalyzer-VM for logging

6.2.0
Copy Link
Copy Doc ID 8ce474d5-5630-11e9-81a4-00505692583a:286474

Adding a disk to the FortiAnalyzer-VM for logging

You are required to add another disk to store logs.

  1. Log into the GCP Compute Engine.
  2. Go to the Disks page.
  3. Create a blank disk in the same zone where the FortiAnalyzer-VM resides. Disk size varies depending on the license.

  4. Click Create. Ensure the disk appears in the Disks list.
  5. You must attach the disk to the FortiAnalyzer-VM instance. Navigate to the FortiAnalyzer-VM instance and start the gcloud command.

  6. Click RUN IN CLOUD SHELL.

  7. Delete the lines that appear in the command line.

  8. Enter the following command:

    gcloud compute instances attach-disk [INSTANCE_NAME] --disk [DISK_NAME]

    For example, the above instance has the instance name “jkato-faz564-test002” and disk name “jkato-faz-564-test005". In this case, the command is as follows:

    gcloud compute instances attach-disk jkato-faz564-test002 --disk jkato-faz-564-test005

  9. After attaching the disk, log into the FortiAnalyzer-VM management GUI.
  10. Click System Settings. Invoke the command line by clicking the icon in the CLI Console widget.

  11. In the command line window, enter exec lvm info. The recently added disk is shown as Unused.

  12. Enter exec lvm start to start LVM disk management. Enter y to continue. The system reboots.

  13. Rebooting causes the connection to the CLI console and the management GUI to be lost. Repeat steps 9 to 11. The disk now appears as Used.

  14. Run exec lvm extend. This incorporates the disk into the FortiAnalyzer system.

  15. To add more disks later, follow steps 4 to 6 in Technical Note: Extending disk space in FortiAnalyzer VM / FortiManager VM.
  16. Go to the Dashboard. You will now have sufficient disk space.

Adding a disk to the FortiAnalyzer-VM for logging

You are required to add another disk to store logs.

  1. Log into the GCP Compute Engine.
  2. Go to the Disks page.
  3. Create a blank disk in the same zone where the FortiAnalyzer-VM resides. Disk size varies depending on the license.

  4. Click Create. Ensure the disk appears in the Disks list.
  5. You must attach the disk to the FortiAnalyzer-VM instance. Navigate to the FortiAnalyzer-VM instance and start the gcloud command.

  6. Click RUN IN CLOUD SHELL.

  7. Delete the lines that appear in the command line.

  8. Enter the following command:

    gcloud compute instances attach-disk [INSTANCE_NAME] --disk [DISK_NAME]

    For example, the above instance has the instance name “jkato-faz564-test002” and disk name “jkato-faz-564-test005". In this case, the command is as follows:

    gcloud compute instances attach-disk jkato-faz564-test002 --disk jkato-faz-564-test005

  9. After attaching the disk, log into the FortiAnalyzer-VM management GUI.
  10. Click System Settings. Invoke the command line by clicking the icon in the CLI Console widget.

  11. In the command line window, enter exec lvm info. The recently added disk is shown as Unused.

  12. Enter exec lvm start to start LVM disk management. Enter y to continue. The system reboots.

  13. Rebooting causes the connection to the CLI console and the management GUI to be lost. Repeat steps 9 to 11. The disk now appears as Used.

  14. Run exec lvm extend. This incorporates the disk into the FortiAnalyzer system.

  15. To add more disks later, follow steps 4 to 6 in Technical Note: Extending disk space in FortiAnalyzer VM / FortiManager VM.
  16. Go to the Dashboard. You will now have sufficient disk space.