Change disk caching to writethrough for TIMOS VMs

Features you'd like to see in the upcoming version of EVE-NG

Moderator: mike

Post Reply
steve71
Posts: 5
Joined: Wed Aug 08, 2018 1:02 pm

Change disk caching to writethrough for TIMOS VMs

Post by steve71 » Tue Oct 29, 2019 4:55 pm

We had a system crash of EVE-NG PRO last night after 10 months of uptime (don't know the cause but it appears to have been at the Ubuntu Kernel level so not EVE-NG itself) and discovered that a lot of recent disk changes made within TIMOS vRouters (SROS 15.0 vSIM) were lost. We didn't see the same problem with any of the Cisco or other vendor VMs. We discussed this with Nokia and they pointed out that EVE-NG PRO doesn't set up the emulated disk in the way that they require. In particular, the cache=writethrough is missing. This appear to result in some changes not necessarily being committed to permanent storage in EVE-NG until the node is stopped.

Would it be possible to modify the KVM/QEMU options for TIMOS to reflect Nokia's recommendations and include cache=writethrough to avoid data loss in the event of host failure?

Steven Clarke
Vodafone

Uldis (UD)
Posts: 2654
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Change disk caching to writethrough for TIMOS VMs

Post by Uldis (UD) » Wed Oct 30, 2019 8:21 am

Hi,
yes, we have a bit changed code to support this writethrough.
BUT, you will require to use new format for Nokia images.
virtide([a-z].qcow2

like virtidea.qcow2

Next release will be soon, I hope within couple of weeks.
You will need just rename your images inside folders from hda.qcow2 to virtidea.qcow2

Uldis

steve71
Posts: 5
Joined: Wed Aug 08, 2018 1:02 pm

Re: Change disk caching to writethrough for TIMOS VMs

Post by steve71 » Fri Nov 08, 2019 11:54 am

Thanks. Will keep an eye out for the update.

Post Reply