Versions this guide is based on:
EVE Image Foldername | Downloaded Filename | Version | vCPUs | vRAM |
---|---|---|---|---|
xrv9k-fullk9-6.3.3 | fullk9-R-XRV9000-633.tar | fullk9-R-XRV9000-633 | 4 | 16384 |
xrv9k-fullk9-6.5.1 | fullk9-R-XRV9000-651.tar | fullk9-R-XRV9000-651 | 4 | 16384 |
xrv9k-fullk9-7.2.2 | fullk9-R-XRV9000-722-RR.tar | xrv9k-fullk9-7.2.2 | 4 | 16384 |
Instructions |
---|
Other versions should also be supported following bellow’s procedure.
Option 1: Using ready to use original KVM image This option is suitable for newest XRv9000v versions 7.2.1, 7.2.2 Steps below are based on fullk9-R-XRV9000-722-RR creation, for other image deployment, use proper names respectively. Using any suitable archive program, unzip original fullk9-R-XRV9000-722-RR.tar to obtain KVM or ISO image. 1. SSH to EVE and login as root, from cli and create image directory on the EVE: mkdir /opt/unetlab/addons/qemu/xrv9k-fullk9-2.2.2
2. Upload the xrv9k-fullk9-x.vrr-7.2.2.qcow2 image to the EVE /opt/unetlab/addons/qemu/xrv9k-fullk9-7.2.2/ using, for example, FileZilla or WinSCP. 3. From cli go to created directory and rename original filename xrv9k-fullk9-x.vrr-7.2.2.qcow2 to the virtioa.qcow2: cd /opt/unetlab/addons/qemu/xrv9k-fullk9-7.2.2/
mv xrv9k-fullk9-x.vrr-7.2.2.qcow2 virtioa.qcow2
4. Fix permissions /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Option 2: Using ISO install media Steps below are based on xrv9k-R-XRV9000-633 creation, for other image deployment, use proper names respectively. Using any suitable archive program, unzip original xrv9k-R-XRV9000-633.tar to obtain KVM or ISO image. 1. SSH to EVE and login as root, from cli and create temporary working directory on the EVE’s root: mkdir /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3
2. Upload the xrv9k-fullk9-x-6.3.3.iso image to the EVE /opt/unetlab/addons/qemu/xrv9k-fullk9-6.2.3/ using, for example, FileZilla or WinSCP. 3. From cli go to created directory: cd /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3/
4. Create new hdd disk for your your image: /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 45G
5. Start XRv9k installation (10-20 mins), one line CLI command: NOTE: If you are installing other version of XRv9k please change ISO image name accordingly your ISO filename /opt/qemu-2.2.0/bin/qemu-system-x86_64 -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom xrv9k-fullk9-x-6.3.3.iso -boot order=dc -m 16384
6. After installation is completed, on your screen will appear: Eject CDROM and reboot…… 7. Now Stop XRv9k booting and get to qemu prompt using key combo ctrl+a and then press key c, once appears (qemu) type quit. (qemu) quit
root@eve-ng-master:/opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3#
8. Remove cdrom.iso from /opt/unetlab/addons/xrv9k-fullk9-6.3.3/ cd /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3/
rm -f xrv9k-fullk9-x-6.3.3.iso
9. Fix permissions /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
DONE XRv9000 Node is very heavy and suitable for servers EVEs only. Boot time takes time, patience, just wait till in show run appears GE interfaces. Node is ready.
|