Install and Deploy the Virtual Appliance Image - Proxmox VE Procedure

About this task

Create a virtual machine and configure the virtual machine settings. To install the Virtual Appliance image using the Proxmox VE procedure:

Procedure

  1. Log into the Proxmox GUI.
  2. In the left pane, select the KVM server host name.
  3. Select Create VM.
  4. Select Advanced.
  5. Set the desired VM ID and select Next.
    Click to expand in new window
    General configuration options.
  6. Set the following OS configuration and select Next:
    1. Select Do not use any media.
    2. Set the Guest OS type to Linux.
    3. Set the Guest OS version to 5.x-2.6 Kernel.
    Click to expand in new window
    OS configuration options.
  7. Set the following System configuration and select Next:
    1. Set the Graphic card option to none.
    2. Set the SCSI Controller to VirtIO SCSI.
    3. For Machine, select Default (i440fx).
    Click to expand in new window
    System configuration options.
  8. Select the appropriate storage available on the server.
  9. Set the following Hard Disk configuration and select Next:
    1. Set the Disk size (GB) value to 80 for VE6120K and 250 for VE6125K.
    2. Set the disk image format to raw.
    3. Select Write back for Cache.
    4. Select SSD emulation if the corresponding storage on the server is SSD based.
    Click to expand in new window
    Hard Disk configuration options.
  10. Set the following CPU configuration and select Next:
    1. Set the CPU type to host.
    2. Set the Cores to 4 for VE6120K Small, 6 for VE6120K Medium, 8 for VE6120K Large, and 20 for VE6125K XLarge (see Deployment Requirements for reference).
    Click to expand in new window
    CPU configuration options.
  11. Clear Ballooning Device. Set the following Memory configuration and select Next:

    Set the Memory (MiB) to 8192 for VE6120K Small, 16384 for VE6120K Medium, 24576 for VE6120K Large, and 32768 for VE6125K XLarge.

    Click to expand in new window
    Memory configuration options.
  12. Set the following Network configuration and select Next:
    1. Select the Bridge for the Admin port.
    2. Set the Model as Intel E1000.
    3. Clear Firewall.
    Click to expand in new window
    Network configuration options.
  13. Review the parameters and select Finish.
    Click to expand in new window
    Virtual Machine confirmation screen.

Configure the Network Device

About this task

After you create and configure the virtual machine initial setup, add and configure the network device. To configure a network device:

Procedure

  1. Select the virtual machine that you created from the KVM server host name.
  2. Select Hardware.
  3. Select CD/DVD Drive > Remove.
  4. Select Yes to confirm removing the CD/DVD Drive entry.
    Click to expand in new window
    CD/DVD drive remove entry confirmation window.
  5. Select Add > Network Device to add data port interfaces.
    Click to expand in new window
    Add network device.
  6. Configure the following Add: Network Device settings:
    1. Set the Bridge for the first data port interface.
    2. Set the model to VirtIO (paravirtualized).
    3. Clear Firewall.
    4. Set Multiqueue to 2 for VE6120K and to 4 for VE6125K.
      Click to expand in new window
      Add network device options.
    5. Select Add.
  7. Select Bridge for the second data port interface and configure the other values as described in the previous step.
    Click to expand in new window
    Bridge information for second data port.
  8. Select Options.
    Click to expand in new window
    Data interface options.
  9. Select Boot Order > Edit.
  10. Clear all the edit options except scsi0, and select OK.
    Click to expand in new window
    Edit boot order options.
  11. Select Hotplug > Edit.
  12. Clear all the edit options except USB, and select OK.
    Click to expand in new window
    Edit hotplug options.

Launch the Virtual Machine

About this task

Perform the following steps to successfully launch a virtual machine. To launch a VM:

Procedure

  1. Log into the Proxmox server using secure shell (SSH).
  2. Edit the virtual machine configuration file using the following details:

    The virtual machine configuration file is located under /etc/pve/nodes/<KVM_hostname>/qemu-server/<VM_ID>.conf, where KVM_hostname is the name of the server and VM_ID is the virtual machine ID number configured in Step 4.

    Edit the VM configuration file to add the following two lines to add serial port and watchdog functionality:
    args: -chardev socket,id=serial0,port=<console_port_number>,host=0.0.0.0,server,nowait,telnet -device isa-serial,chardev=serial0
    watchdog: i6300esb

    The serial port is added and configured for network access on a network port specified in the <console_port_number>.

    VE6120K Small Proxmox VM configuration file (e.g. <VM_ID>.conf) sample:
    # cat /etc/pve/nodes/KVMSERVER/qemu-server/102.conf
    args: -chardev socket,id=serial0,port=56028,host=0.0.0.0,server,nowait,telnet -device isa-serial,chardev=serial0
    balloon: 0
    boot: order=scsi0
    cores: 4
    cpu: host
    hotplug: usb
    memory: 8192
    name: VE6120K
    net0: e1000=BA:44:BE:F7:AA:08,bridge=vmbr0
    net1: virtio=E2:55:A7:86:0D:FF,bridge=vmbr1,queues=2
    net2: virtio=52:AA:44:EB:DC:A0,bridge=vmbr2,queues=2
    numa: 0
    ostype: l26
    scsi0: plain-storage:102/vm-102-disk-0.raw,cache=writeback,size=80G,ssd=1
    scsihw: virtio-scsi-pci
    smbios1: uuid=7a25ec0b-0d9f-4fde-9fe4-821afa5f396f
    sockets: 1
    vga: none
    vmgenid: 8013433b-e9ed-4249-9604-2c5ebf0a4b74
    vmstatestorage: data2
    watchdog: i6300esb
    
    VE6125K XLarge Proxmox VM configuration file sample:
    # cat /etc/pve/nodes/KVMSERVER/qemu-server/100.conf
    args: -chardev socket,id=serial0,port=56030,host=0.0.0.0,server,nowait,telnet -device isa-serial,chardev=serial0
    balloon: 0
    boot: order=scsi0
    cores: 20
    cpu: host
    hotplug: usb
    memory: 32768
    name: VE6125K
    net0: e1000=4E:FD:02:4C:C5:19,bridge=vmbr0
    net1: virtio=2A:39:7A:E0:8E:92,bridge=vmbr1,queues=4
    net2: virtio=56:5D:4A:16:63:AF,bridge=vmbr2,queues=4
    numa: 0
    ostype: l26
    scsi0: data2:vm-100-disk-0,cache=writeback,size=250G,ssd=1
    scsihw: virtio-scsi-pci
    smbios1: uuid=07cd719c-fc03-4d3d-ae36-4a612ebf21cf
    sockets: 1
    vga: none
    vmgenid: 42f181ea-8ffe-4d9b-ac0b-1f45ddb07698
    vmstatestorage: data2
    watchdog: i6300esb
    
  3. Upload the obtained deployment image (VE6120K-*.raw.xz or VE6125K-*.raw.xz) to the KVM server.
  4. Uncompress the deployment image over the VM disk image.
    Depending on the selected or configured storage type, it could be a plain disk image file, a LVM storage, or a similar storage option.

    Use the following example to find the image location:

    qm showcmd <VM_ID> --pretty | grep \\-drive
    # qm showcmd 105 --pretty | grep \\-drive
      -drive 'file=/dev/data2/vm-105-disk-0,if=none,id=drive-scsi0,cache=writeback,format=raw,aio=threads,detect-zeroes=on' \
    
    # qm showcmd 102 --pretty | grep \\-drive
      -drive 'file=/storage/images/102/vm-102-disk-0.raw,if=none,id=drive-scsi0,cache=writeback,format=raw,aio=threads,detect-zeroe\
    
    Use the following commands to populate the disk locations from the previously mentioned examples:
    xz -dc VE6125K-06.01.01.0001.raw.xz | dd of=/dev/data2/vm-100-disk-0 bs=1M status=progress
    xz -dc VE6120K-06.01.01.0001.raw.xz > /storage/images/102/vm-102-disk-0.raw

    The VM is ready to launch.

  5. On the Proxmox UI, select VM > Start to launch the VM.