Table of Contents

History

DateChanges
2024/09/09Initial publication
2024/09/12Added informational message about memory requirements. (thanks Morten Kallesøe)
2024/09/12Added information message about cpu requirements.

Introduction

There is a lot of information available in the official NetScaler VPX deployment documentation. However, one hypervisor in specific is missing: Proxmox.

This guide aims to give you an overview on how to deploy a NetScaler VPX instance on your favourite hypervisor.

Back to top

Deployment

When creating your virtual machine, choose an appropriate virtual machine id according to your numbering convention if you want to convert the virtual machine to a template after deployment. You cannot change the id later (without much of a fuss)…

Create an “empty” virtual machine

Start creating a new virtual machine by following the steps below.

  1. General

    • Fill out the VM ID and Name Image alt
    • Click next
  2. OS

    • Select “Do not use any media”
    • Set the guest OS to “Other” Image alt
    • Click next
  3. System

    • Set graphics card to “VirtIO-GPU”
    • Set machine to “q35”
    • Set SCSI controller to “VirtIO SCSI single” Image alt
    • Click next
  4. Disks

    • Remove disk “ide0” by clicking the recycle bin icon Image alt
    • Click next Image alt
  5. CPU

    • Increase “cores” to 2
      The minimum amount of vCPU is 2, increase when necessary for your deployment.

    Image alt

    • Click next
  6. Memory

    • Set memory to “4096” MiB
      The minimally required memory is 2048MB per vCPU.
      For optimal performance, it is advised to configure at least 4096MB of memory for each vCPU.

    Image alt

    • Click next
  7. Network

    • Select the bridge on which you want to configure the NSIP address.
      It’s best practice to not have any data traffic run over NetScaler interface 0/1.
      You can always add another network interface later is required. Image alt
  8. Confirm

    • Leave the “Start after created” checkbox unchecked
    • Click next Image alt

Back to top

Modify hardware

Now that the virtual machine has been created, it’s time to modify some parameters.
NetScaler VPX requires a serial port to boot, and of course we still need to add the virtual disk to the machine.

  1. Serial port

    • Go to the hardware tab of the virtual machine Image alt

    • Click the “add” button and select “Serial port” Image alt

    • Leave the value for the serial port ID at the default value and click OK. Image alt

  2. Hard disk

    • Open a shell to the Proxmox host, either through a terminal or via the GUI.

    • Navigate to the folder where you uploaded the disk image for NetScaler VPX.

    • Run the following command:
      qm disk import <vm id> <filename> <storage name> --format qcow2 Image alt

    • The command will copy the disk to the storage selected. Image alt

    • When completed, the disk will show up as unused in the hardware details of the virtual machine. Image alt

    • Double-click on the unused disk
      Make sure the “bus/device” is set to “VirtIO Block”
      Image alt Click “add”

Result:
Image alt

Back to top

Increase hard disk size

NetScaler VPX ships with a default disk of 20GB. This often leads to the annoying situation of limited disk space when updating the appliance to a later build, requiring (extensive) cleanup. We’ve all been in the situation where we have to remove all previous builds or even cleanup logging in /var/nslog to free up enough disk space.

As of NetScaler releae 14.1 build 21.x. you can dynamically increase the size of your hard disk to accomodate more data.

  1. Go to the hardware tab of the virtual machine:
    • Select the current hard disk Image alt

    • Click on “Disk Action”, then “Resize” Image alt

    • Enter the value for the increment size
      (For example, enter 30 to increase the disk size from 20GiB to 50GiB) Image alt

Result: Image alt

Back to top

Add a secondary hard disk

To further optimise NetScaler VPX storage, it is also possible to add a secondary hard disk, which will be used to store core files and logging.

  1. Go to the hardware tab of the virtual machine:

    • Click “Add”, then “Hard disk” Image alt

    • Configure new hard disk

      • Set “Bus/Device” to “VirtIO Block”
      • Set “Storage” to the same storage location as the primary hard disk
      • Set “Disk Size” to 50GiB
      • Set “Format” to “qcow2”

    Image alt

    • Click “Add”

Result: Image alt

Back to top

Modify options

  1. Boot order
    • Go to virtual machine options
      Select “Boot order” Image alt
      Click edit

    • Enable virtio0 Image alt

    • Drag virtio0 to the top Image alt
      Click ok

Result:
Image alt

NetScaler VPX on Proxmox does not support the QEMU guest agent, so do not enable this option!

Back to top

Convert to template

If you expect needing multiple instances of NetScaler VPX on Proxmox, now is the time to convert the virtual machine to a template!

Back to top

Startup

If you are happy with the current settings, it’s time to boot the virtual machine.

Image alt

Image alt

Image alt

Image alt

Image alt

Image alt

Back to top