Question

How to fix GRUB parameters?


Solution

This article explains the method to fix GRUB parameters in Versa FlexVNF 16.1R1 S1/15.2R4 S6 and earlier releases. 

Fixing GRUB parameters is necessary for the proper functioning of Versa FlexVNF.


NOTE: Use the "vsh fixgrub" for Release 20.2.2 or below.


The Versa FlexVNF qcow2 and OVA images are generated with standard configuration of 4 CPUs and 4 GB RAM on the system, which supports 1G huge pages. You are allowed to deploy these images with different virtual hardware configurations. For example, qocw2/OVA is deployed with 8 vCPUs and 16 GB RAM. In this case, Versa FlexVNF will keep restarting.                                       


Follow these steps to fix GRUB parameters:

  1. Run the fixgrub.sh file using this script:
    sudo ./fixgrub.sh

    The script reboots the device after updating the GRUB parameters.

  2. Reboot the device.

Result: GRUB parameters are fixed and Versa FlexVNF starts successfully.


Configuration for Virtual Deployment

Follow these recommendations to configure the virtual deployment: 

  • Minimum number of NICs: 2
  • Socket: Single socket

NOTE: Avoid multiple sockets.

  • Supported NIC drivers: vmxnet3 and virtio 
  • Preferred NIC drivers: vmxnet3 for ESXi and virtio for KVM


Number of vCPUs
Memory
4
8 GB
8
16 GB
>12
32 GB


Reference

Refer to article for more information on hugepages.