Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Deploying a Junos Space Virtual Appliance on a KVM Server

The Junos Space Virtual Appliance Release 16.1R1 and later can be deployed on qemu-kvm (KVM) Release 1.5.3 or later.

Note:

Juniper Networks does not provide any support for installing and configuring the KVM server. You must install the virtual appliance image and configure it as per the recommended specifications for the virtual appliance. Juniper Networks will provide support only after the Junos Space Virtual Appliance has booted successfully.

The prerequisites to deploy a Junos Space Virtual Appliance on a KVM server are as follows:

  • Knowledge about configuring and installing a KVM server.

  • KVM server and supported packages must be installed on your Linux-based system. Contact your Linux vendor or documentation for information about installing KVM.

  • An application or method to view the remote system virtual monitor, such as Virtual Machine Manager (VMM), Virtual Network Computing (VNC) Viewer, or any other application.

  • Bridge Interface configured according to your environment and at least two free static IP addresses.

For information about the minimum hardware requirements for deploying a Junos Space Virtual Appliance, see Junos Space Virtual Appliance Deployment Overview.

The deployment of a Junos Space Virtual Appliance on a KVM server by using VMM includes the following tasks:

Note:

Though deploying the Junos Space Virtual Appliance on the KVM server by using virtual machine clients other than VMM is possible, Juniper Networks does not provide support for installing the Junos Space Virtual Appliance using clients other than VMM.

Installing a Junos Space Virtual Appliance on the KVM Server by Using VMM

Use the VMM virtual machine client to install the Junos Space Virtual Appliance on a KVM server.

To install the Junos Space Virtual Appliance on a KVM server by using VMM:

  1. Download the Junos Space Virtual Appliance image from https://www.juniper.net/support/downloads/?p=space#sw to your local system.
    Note:

    Do not change the name of the Junos Space Virtual Appliance image file that you download from the Juniper Networks support site. If you change the name of the image file, the creation of the Junos Space Virtual Appliance can fail.

  2. Launch the VMM client.
  3. Select File > New Virtual Machine on the menu bar of VMM to install a new virtual machine on a KVM server.

    The New VM dialog box appears and displays Step 1 of 4 of the New VM installation.

  4. Under Choose how you would like to install the operating system, click Import existing disk image.
  5. Click Forward to go to the next step.

    Step 2 of 4 is displayed.

  6. Under Provide the existing storage path, click Browse.
  7. Under Choose storage volume , click Browse Local at the bottom of the dialog box to locate and select the Junos Space Virtual Appliance image file (.qcow2) saved on your system.
  8. Under Choose an operating system type and version, select Linux for OS type and Red Hat Enterprise Linux version number for Version.
    Note:

    We recommend to use the same Linux version as Junos Space Platform is using.

  9. Click Forward to go to the next step.

    Step 3 of 4 is displayed.

  10. Under Choose Memory and CPU settings, ensure that 4 is set for CPUs and select or enter the following value for Memory (RAM):
    • 32768 MB–For the Junos Space Virtual Appliance to be deployed as a Junos Space node or as an FMPM node

  11. Click Forward to go to the next step.

    Step 4 of 4 is displayed.

  12. Under Ready to begin the installation, in the Name field, enter a name for the Junos Space Virtual Appliance.
  13. Under Network selection, select the options based on how you want to configure network communication on the Junos Space Platform setup.
  14. Click Finish.

    The New VM dialog box closes. The Junos Space Virtual Appliance is started and the console is displayed.

    The Junos Space Virtual Appliance is created and listed with the name that you entered in the VMM.

Modifying the Type of Virtual Disk Interface

After the Junos Space Virtual Appliance is created, you must change the hard disk interface type to Integrated Drive Electronics (IDE) to avoid any issues with the booting up of the Junos Space Virtual Appliance due to kernel panic.

Note:

If you are using CLI of VMM to set up KVM, you set the type of virtual disk interface to IDE at the start of the set up. You do not have to reset the type of interface again.

To change the hard disk interface type to IDE:

  1. Select the Junos Space Virtual Appliance just created and select Edit > Virtual Machine Details on the menu bar of VMM to edit the hardware settings.
  2. Click the Show virtual hardware details icon in the Virtual Machine Details dialog box.
  3. Click VirtIO Disk1 (Virtual Disk) on the left of the dialog box to change the type of the disk interface to IDE.

    The details of the Virtual disk is displayed on the right of the dialog box.

  4. Under Advanced Options, select IDE for Disk Bus and qcow2 for Storage format.
  5. Click Apply.
  6. (Optional) To apply the changes immediately, shut down and restart the virtual appliance if the Junos Space Virtual Appliance is already powered on.

    To restart the Junos Space Virtual Appliance:

    1. Right-click the Junos Space Virtual Appliance icon and select Shutdown > Power Off, to shut down the Junos Space Virtual Appliance.
    2. Select the Junos Space Virtual Appliance icon and click the Power on the virtual machine icon to start the Junos Space Virtual Appliance. Alternatively, you can right-click the Junos Space Virtual Appliance icon and select Run.

Modifying RAM for a Junos Space Virtual Appliance

The Junos Space Virtual Appliance file is distributed with 8 GB of RAM and four virtual CPUs. You need 32-GB RAM to configure the Junos Space Virtual Appliance as a Junos Space node or as an FMPM node.

To modify RAM for the Junos Space Virtual Appliance:

  1. Launch VMM and select the Junos Space Virtual Appliance for which you want to modify RAM.
  2. (Optional) If the Junos Space Virtual Appliance is running, you must shut down the appliance to modify RAM.

    To shut down the Junos Space Virtual Appliance, right-click the Junos Space Virtual Appliance icon and select Shutdown > Power Off.

  3. To view and change RAM allocated to the Junos Space Virtual Appliance, select Edit > Virtual Machine Details on the menu bar of VMM to edit the hardware settings.
  4. Click the Show virtual hardware details icon in the Virtual Machine Details dialog box.
  5. Click Memory on the left side of the dialog box.

    The RAM details of the virtual machine is displayed on the right of the dialog box.

  6. Enter the required memory in the Current allocation and Maximum allocation fields.
  7. Click Apply to modify the RAM allocation.

Adding Disk Resources for a Junos Space Virtual Appliance

For information about adding disk resources for Junos Space Virtual Appliance, see Adding Disk Resources for a Junos Space Virtual Appliance.

Enabling Multicast on Bridged Interfaces of a KVM-Host Machine

For creating Junos Space clusters, multicast must be enabled on the bridged interface of a KVM-host machine on which Junos Space node is deployed to allow multicast traffic to flow between the nodes of the cluster.. If Junos Space nodes in a cluster are deployed on different host machines, multicast must be enabled on the bridged interface of each host machine.

To configure multicast on a bridged interface of a KVM-host machine, log in to the KVM-host machine after the UI of the Junos Space node is up and execute the ifconfig InterfaceName allmulti command, where InterfaceName is the name of the interface.

Example:

Note:

Configure multicast on all the KVM-host machines before adding a Junos Space node to a cluster.