⊹ Eveng ⊹

EVENG login issue

root@eve-ng-pro:~# systemctl restart apache2
root@eve-ng-pro:~# systemctl status apache2

next post


ssh not enabled in EVENG-PRO

ssh was not working on the eveng-pro server

so I went to server screen directly and
ssh root@192.168.0.219

above ssh connection attempt gave error:
failed to restart ssh.service: unit ssh.service is masked

This means that ssh service is masked

systemctl status ssh

to fix it:

systemctl unmask ssh
systemctl enable ssh
systemctl restart ssh

next post


ISE EVENG deployment

mkdir /opt/unetlab/addons/qemu/ise-3.3.0-430.SPA/
cd /opt/unetlab/addons/qemu/ise-3.3.0-430.SPA/
mv Cisco-ISE-3.3.0.430.SPA.x86_64.iso cdrom.iso
/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 200G


Create new LAB in the EVE and add new ISE node, Connect it to management switch. Settings for ISE node are: CPU x4, RAM x16384M, 1 xEthernet. Console VNC, during install first time.
-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
Start ISE node and when setup prompt appears, shutdown ISE node.

Commit created image for further use

Get lab id from Lab details 

! 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/74b3a1cc-bfd0-4a29-8d28-941daa450499/1/
qemu-img commit virtioa.qcow2

rm -f /opt/unetlab/addons/qemu/ise-3.3.0-430.SPA/cdrom.iso

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions 

! Advanced instructions on how to make your image smaller in size (sparsify&compress). RECOMMENDED !

cd /opt/unetlab/addons/qemu/ise-3.3.0-430.SPA/
virt-sparsify  --compress virtioa.qcow2 compressedvirtioa.qcow2
mv virtioa.qcow2 orig.qcow2
mv compressedvirtioa.qcow2 virtioa.qcow2
! if everything looks good then delete the original qcow2 image 
rm orig.qcow2

next post