Impact of RAMDisk when ESXi host goes down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Impact of RAMDisk when ESXi host goes down

Post by WillemDH »

Hello,

What would be the impact on Nagios XI if we would use a RAMDisk following http://assets.nagios.com/downloads/nagi ... giosXI.pdf and the ESXi host goes down (no power)?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Impact of RAMDisk when ESXi host goes down

Post by ssax »

You will lose all the data in the RAMDisk when you power it off/on but it will be rebuilt.

Edit: If you were trying to store things that don't get rebuilt like say your nagios.cfg file then that would not be recoverable.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Impact of RAMDisk when ESXi host goes down

Post by WillemDH »

So no perfdata or any Nagios config would be lost?
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Impact of RAMDisk when ESXi host goes down

Post by ssax »

At most it will lose 15 seconds of perfdata depending on how you have it configured.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Impact of RAMDisk when ESXi host goes down

Post by ssax »

No Nagios config would be lost if you followed the guide.

You could technically store anything you wanted on there but because it is volatile it will be lost on a reboot, that's why the guide shows the files that will get rebuilt.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Impact of RAMDisk when ESXi host goes down

Post by WillemDH »

Thanks, I will try the procedure begining next week. Please leave this thread open for a week or so.
Nagios XI 5.8.1
https://outsideit.net
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Impact of RAMDisk when ESXi host goes down

Post by jdalrymple »

Be aware that in a VMware environment you may have to do some tuning to guarantee that your RAMDISK is indeed on physical memory. In a memory constrained host your guest's memory could end up being placed in the vswp file, which to your guest still appears to be physical memory but in reality it's physical disk. VMware does a very good job of placing most frequently used data where it should be and least recently used data where it should be, however on a deeply overcommitted host there is only so much it can do.

For tuning information review this dated but still very applicable white paper:

http://www.vmware.com/files/pdf/perf-vs ... gement.pdf
Locked