Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Launching a vRR VM Using the Unified Image

date_range 17-Aug-21
Note:

For Junos Releases prior to 16.1, a unified image in generic vmdk format must be used for vRR.

For Junos Release 16.1 and beyond, vRR KVM bundle can be used, which already includes platform specific vRR qcow2 image: junos-x86-64-*.img. There is no need to convert the *.vmdk to *.img - as explained in this section).

The libvirt driver in the KVM/QEMU hypervisor supports qcow2-formatted images. You must convert the vmdk image downloaded from Juniper Networks to qcow2 format before you can launch the vRR VM.

To launch the vRR VM:

  1. Convert the vmdk image to qcow2 format.
    content_copy zoom_out_map
    qemu-img convert -f vmdk -O qcow2 vmdk-filename qcow2-filename
    

    For example:

    content_copy zoom_out_map
    qemu-img convert -f vmdk -O qcow2 junos-x86-64-15.1R1.9.vmdk junos-x86-64-15.1R1.9.qcow2
    
  2. (For Junos OS Release 14.2 or earlier) The Routing Engine type is passed to the guest VM as an SMBIOS Type 1 argument (product). The libvirt versions that do not honor SMBIOS XML elements must pass this information as command line arguments. The XML configuration file used with legacy images (for Release 14.2 or earlier) must be updated with these XML elements based on the libvirt version installed on the host. Use the libvirtd --version command to determine the libvirt version.

    For libvirt 0.10.2 and libvirt 1.2.8, you pass the product argument as these command line arguments:

    content_copy zoom_out_map
    <qemu:commandline>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=1,product=VRR'/>
    </qemu:commandline>

    For libvirt 1.2.6, you pass the product argument as these XML elements:

    content_copy zoom_out_map
    <sysinfo type='smbios'>
        <system>
            <entry name='product'>VRR</entry>
        </system>
    </sysinfo>
  3. Launch the VM using the virsh create vrr-configuration-file command. For example:
    content_copy zoom_out_map
    virsh create vrr.xml
footer-navigation