Versions this guide is based on:
|EVE Image Name||Downloaded Filename||Version||vCPUs||vRAM||Console||HDD|
ISE is SUPER heavy node !
Initial base/default image will be approx 16Gb
After you will setup it in the lab, it will take approx 80Gb extra HDD space. It will be for any new lab where you will setup ISE node. Another 8Gb. Plan your EVE HDD and be sure you have plenty of space on it.
Other versions should also be supported following bellow’s procedure.
KVM Supported versions and per this How To: 2.4, 2.6, 2.7, 3.0
Download installation ise-188.8.131.526.SPA.x86_64.iso image, use your cisco.com CCO account.
1. Connect to your EVE via SSH and Create ISE image folder in the EVE.
2. Using WinSCP or FileZilla via SCP or SSH connect to your EVE and upload ise-184.108.40.2066.SPA.x86_64.iso file to this directory.
3. From EVE CLI go to your newly created ISE folder and renam uploaded ISO file to cdrom.iso.
mv ise-220.127.116.116.SPA.x86_64.iso cdrom.iso
4. Create virtio HDD for your ISE
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 200G
5. Create new LAB in the EVE and add new ISE node, connect it to you Home Management cloud (Cloud0). Settings for ISE node are: CPU x4, RAM x16384M, 1 xEthernet. Console VNC, during install first time.
Qemu line in Imge edit:
-machine type=pc,accel=kvm -smbios type=1,product=KVM -serial mon:stdio -nographic -no-user-config -nodefaults -display none -vga std -rtc base=utc
6. Start ISE node and when setup prompt appears, shutdown ISE node.
Commit created image for further use
7. Check lab ID number on EVE side bar “Lab details”, Example:
8. EVE CLI: Convert image from lab tmp folder to defaults image location. In the command below is used lab ID (above) and as we added on lab single node, node ID is 1. ISE image foldername match what we created before. Number 0 in the line below is user POD number. Admin pod is 0.
cd /opt/unetlab/tmp/0/72b1903b-4885-4a1c-b9e2-aed46032583a/1/ qemu-img commit virtioa.qcow2
9. Remove install CD ISO from image folder:
rm -f /opt/unetlab/addons/qemu/ise-18.104.22.1686/cdrom.iso
10. Fix permissions:
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Advanced instructions on how to make your image smaller in size (sparsify&compress). RECOMMENDED !
IMPORTANT: for compressing an image you must have sufficient free space on your EVE host, the free space must exceed the total space (200GB in this example, We created 200Gb virtio HDD for ISE) of the HDD you plan to shrink. The space needed can vary but will be the total space of the disk to be shrunk plus the size of the final sparsified and compressed image. To be safe you should have double the size of the HDD you want to shrink as free space on your EVE host. In our example we needed 200GB +GB of free HDD space. Once this process is done, the temporary file(s) will be deleted and free space reclaimed.
and perform the sparsify command:
virt-sparsify --compress virtioa.qcow2 compressedvirtioa.qcow2
mv virtioa.qcow2 orig.qcow2
mv compressedvirtioa.qcow2 virtioa.qcow2