Question about reboot all VM on a topologie via script

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Carole
Posts: 10
Joined: Wed Nov 20, 2019 10:40 am

Question about reboot all VM on a topologie via script

Post by Carole » Thu Dec 12, 2019 3:26 pm

Hi
I am running EVE-NG with 50 VM (25 VM for control plan and 25 for data plan), so totally I have 25 virtual routers Nokia and Juniper MX.
below the characteristics of my platform:
Serveur Dell PowerEdge R640
CPU: Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHZ
CPUs/Thread: 24/48
RAM: 192Go
OS Ubuntu LTS 16.04 Server
EVE-NG version : 2.0.3-95
QEMU version: 2.4.0

My question: we need our topologie to be always turn on, and we notice the some vM have sometimes interface lag go down and so protocols, and never go up until we reboot VM.
So we are thinking about a periodical reboot of all VM of the topologie (I dont know on which periodicity).
There is a solution to reboot all VM via cron script via linux/eve-ng? or the only way is to do that via the graphical interface?
Thank you in advance,
Regards,

Carole Abboud

ecze
Posts: 533
Joined: Wed Mar 15, 2017 1:54 pm

Re: Question about reboot all VM on a topologie via script

Post by ecze » Thu Dec 12, 2019 3:32 pm

try using from command line:

unl_wrapper -a stop -F <fullpath to lab> -T <podID> -D <deviceID>
unl_wrapper -a start -F <fullpath to lab> -T <podID> -D <deviceID>


E.

Post Reply