NetScaler VPX

Support for increasing NetScaler VPX disk space

NetScaler VPX supports a default disk space of 20 GB. If you encounter disk size constraints for various reasons, the following options are available to increase VPX disk space:

  • Manually increase the primary disk size
  • Dynamically increase the primary disk size
  • Add a secondary disk

Note:

The ability to increase NetScaler VPX disk space is available for both VPX on-premises and VPX cloud deployments.

Manually increase the primary disk size on NetScaler VPX

Follow these steps to manually increase the VPX primary disk size using a Hypervisor or Cloud platform:

  1. Shut down the VM.
  2. Extend the default disk size from 20 GB to a higher value, such as 30 GB or 40 GB. For Azure, extend the default disk size from 32 GB to 64 GB.
  3. Power on the VM and enter the boot prompt.
  4. Log into single user mode using the boot -s command.
  5. Verify the disk space. You can check the newly allocated disk space using gpart show command.
  6. Note the partition name. In the following example, the VM partition is da0.
  7. Resize the disk partition using the gpart resize command.

    Example: Let’s resize the da0 MBR partition to include 10 GB free space by running the following command.

    gpart resize -i 1 da0

  8. Merge the free space to the last partition.

    Example:

    gpart resize -i 5 da0s1

  9. Extend the filesystem to include newly allocated free space using the growfs command.

    Example:

    growfs /dev/da0s1e

  10. Reboot the VM and verify the increased disk space using the df -h command on the shell prompt.

Dynamically increase the primary disk size on NetScaler VPX

Administrators can dynamically increase the primary disk size on NetScaler VPX from 20 GB up to 1 TB at a time. For each subsequent increase, you can again extend up to 1 TB. Ensure you shut down the VM each time you increase the primary disk size. This allows the system to properly recognize the new disk size, update the partition table, and maintain system stability. To increase the disk space, extend the primary disk size by at least 1 GB in the respective cloud or hypervisor UI.

Note:

You can only increase the size of the disks. Once the new size is allocated, you cannot decrease it later. Therefore, increase the disk size only if it is essential.

Add a secondary disk

You can increase disk space on the NetScaler VPX instance by adding a secondary disk. When you attach the secondary disk, the /var/crash directory is automatically mounted on this disk. The secondary disk is used for storing core files and logs. Existing directories for core files and log files continue to function as before.

Note:

Take an external backup before downgrading the NetScaler appliance to avoid loss of data.

For information on how to attach a new hard disk drive (HDD) to a NetScaler VPX instance on a cloud, see the following:

Warning:

After adding an HDD to VPX, some scripts that work on files moved to the new HDD might fail under the following condition:

  • If you use the link shell command to create hard links to the files that were moved to the new HDD.

Replace all such commands with ln -s to use a symbolic link. Also, update the failing scripts accordingly.

Support for increasing NetScaler VPX disk space