Page 1 of 1

Issue loading lab

Posted: Tue Aug 22, 2017 1:30 pm
by snurfit
Hi,

I have trouble when I want to load a lab with CSR1Kv's in it.

Fx. the current one consists of 3 CSR's (Running Everest). When I start the lab, 2 of them loads just fine, but the 3rd one just hangs and never starts the booting process.

I tried turning off CPU limiting and everything else I could think of as well as stopping the individual problem node and starting it again, but to no avail.

Any tips/suggestions for troubleshooting this phenomenon?

Thanks in advance!

Re: Issue loading lab

Posted: Tue Aug 22, 2017 3:20 pm
by Uldis (UD)
each CSR need at least 1 core from your CPU and ate least 3G ram..
So your eve VM must have x8 virt CPU and 16G ram to get this lab UP !!!!!!

UD

Re: Issue loading lab

Posted: Tue Aug 22, 2017 4:39 pm
by snurfit
Thanks for your reply.

My EVE VM has 100Gb of memory allocated to it, and its running on 8 cores in total, so it should be plenty to get these 3 up and running.
After I used the "wipe" function on the problem node, it started up just fine. So obviously something is up with it.

Can I provide any further information to troubleshoot this behaviour?

Re: Issue loading lab

Posted: Tue Aug 22, 2017 8:44 pm
by Uldis (UD)
post me all outputs of these CLI commands here:

uname -a

dpkg -l eve-ng

brctl show

df -h

kvm-ok

Re: Issue loading lab

Posted: Tue Aug 22, 2017 8:53 pm
by Uldis (UD)
and please show me how much you have RAM assigned for eve and HDD space

Re: Issue loading lab

Posted: Wed Aug 23, 2017 7:20 am
by snurfit
Thanks again for your time!

These are the outputs:

root@eve-ng:~# uname -a
Linux eve-ng 4.4.14-eve-ng-ukms+ #1 SMP Mon Dec 19 23:28:33 CET 2016 x86_64 x86_64 x86_64 GNU/Linux

root@eve-ng:~# dpkg -l eve-ng
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-==================-==================-==========================================================
ii eve-ng 2.0.3-71 amd64 A new generation software for networking labs.



root@eve-ng:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 50G 0 50G 0% /dev
tmpfs 9.9G 14M 9.9G 1% /run
/dev/mapper/eve--ng--vg-root 319G 90G 216G 30% /
tmpfs 50G 0 50G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 50G 0 50G 0% /sys/fs/cgroup
/dev/sda1 472M 144M 305M 32% /boot


root@eve-ng:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

root@eve-ng:~# free -m
total used free shared buff/cache available
Mem: 100718 710 99477 32 530 99759
Swap: 6143 0 6143

root@eve-ng:~# brctl show
bridge name bridge id STP enabled interfaces
pnet0 8000.000c296eff07 no eth0
pnet1 8000.000000000000 no
pnet2 8000.000000000000 no
pnet3 8000.000000000000 no
pnet4 8000.000000000000 no
pnet5 8000.000000000000 no
pnet6 8000.000000000000 no
pnet7 8000.000000000000 no
pnet8 8000.000000000000 no
pnet9 8000.000000000000 no
vnet0_1 8000.3e632e004729 no vunl0_1_0
vunl0_3_0
vnet0_2 8000.7664b4adb6e6 no vunl0_2_0
vunl0_5_0
vnet0_3 8000.6667b9f22609 no vunl0_3_1
vunl0_4_0
vnet0_4 8000.9e40073cc39d no vunl0_4_1
vunl0_5_1

Re: Issue loading lab

Posted: Wed Aug 23, 2017 8:01 am
by Uldis (UD)
then it is only your CPU weakness !!!
Above information is ok.
Your CPU simply cannot carry Everest more than 2 nodes..
How many Cores are assigned for EVE VM??
check your CPU
and what is your CPU model?
Like Intel Xeon 5680 or something...
UD

Re: Issue loading lab

Posted: Wed Aug 23, 2017 8:31 am
by snurfit
I have 2 CPU's in the box.
They are Intel X5570's.

I have 8 vCPU's assigned to the VM (its the only VM on the ESXi hypervisor).

Right now I have the lab started (after the wipe I mentioned) and its running the 3 Everest images just fine, with 38% CPU usage (using the Status page in EVE-NG) and without CPU limiting, so it certainly has the horsepower to run them stable enough. Its just the boot up process that doesn't work every now and again.

Thanks!

Re: Issue loading lab

Posted: Wed Aug 23, 2017 5:59 pm
by Uldis (UD)
everest is very heavy, try CSR 3.17 its the best for CPU as well