• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Does VMware log every VM setting change like Hyper-V event auditing?

#1
05-11-2020, 07:25 AM
VMware Logging Mechanisms
I’ve worked extensively with both VMware and Hyper-V, and I can tell you that VMware doesn’t log every VM setting change in the same way Hyper-V does. In Hyper-V, auditing is pretty detailed, allowing you to see specific events in the Windows Event Viewer, so you can pinpoint user actions like changes to VM configurations. This helps a lot when you need a forensics style trace of who did what and when. In VMware, they leverage different logging mechanisms that are not as granular as those in Hyper-V.

In VMware, you have the ability to view logs through vSphere Client and access them via Management Center or directly on the ESXi hosts. The logs you can access include vmkernel logs and vSphere logs, which provide insights into various activities occurring within the virtual environment. However, these logs tend to aggregate numerous types of events rather than focusing specifically on VM configuration changes. For instance, you might see logs related to VM power states, driver issues, and resource allocation problems but not every single individual configuration change like you would see in Hyper-V.

Event Logging in Hyper-V
One major difference I’ve noticed is the event logging in Hyper-V. In Hyper-V, every significant VM setting change gets recorded as an event. If you go to the Event Viewer and navigate to the “Applications and Services Logs” section, there’s a specific category for Hyper-V that allows you to filter events from the last hour, last day, or specify a date range. You’ve got a clear audit trail, for instance, if a user adjusts memory settings or changes network configurations.

I personally feel that this event auditing is invaluable for maintaining compliance and security standards in larger environments. The ability to assign user rights and track event logs gives you peace of mind since you can quickly review who made changes and when. This feature is particularly useful in troubleshooting scenarios or when you need to prove compliance with certain regulations.

VMware Configuration Change Management
VMware does provide some tools for configuration management, but they aren’t as straightforward as Hyper-V’s event logs. For example, vCenter Server has the capability to track changes through its “Tasks and Events” tab. If you go into a specific VM object, you can browse through the history of tasks and events, which can include things like VM snapshots and folder moves. However, if you’re looking specifically for each individual setting change, this can be lacking.

The events captured here tend to be higher level rather than drill-down specifics. For example, you might see that a VM was powered on or off, but not necessarily every click to change a setting like CPU allocation or disk size. While vCenter keeps a history of all operations, the actual granularity of VM setup changes isn’t nearly as exhaustive as what you find in Hyper-V.

Granularity of Auditing
In terms of granularity, Hyper-V is just better suited for detailed auditing of VM settings. I find this useful during post-mortem troubleshooting. You might be dealing with an issue where a VM isn't functioning as expected, and you can pull up a log of every time a setting was modified to see if something was accidentally changed. This level of detail allows for instant identification of potential misconfigurations instead of sifting through generalized log entries that leave you questioning which specific change could have contributed to the problem.

VMware accomplishes its objectives with performance logs and error reporting, but these don’t cut it for a granular audit trail. You might have event IDs for tasks like VM power cycling or snapshotting, but for someone who relies on knowing that VM settings are exactly as they should be, relying on these logs makes the effort more cumbersome.

Performance Impact of Logging
Another point worth considering is the performance impact. VMware logs a myriad of events which can have an accumulation effect. The logging level can be adjusted but by default, it captures a broad set of events which could lead to sizable log files due to frequent changes or operations taking place in your virtual environment. For long-term deployments, I think it’s essential to manage these logs actively; otherwise, the monitoring system can become unwieldy.

On the flip side, Hyper-V's specific event logging is designed to be lightweight, enabling more efficient management of system resources while offering easily writable logs that don't grow uncontrollably. You’re less likely to hit performance issues with event logging when it captures only the pertinent data you actually need for auditing purposes.

Retention Policies of Logs
VMware lacks the flexibility to set customized retention policies for event logs. In Hyper-V, admins have the ability to dictate how long logs are stored before they are cycled out. For a team that has strict compliance mandates or needs for historical data retention, this can be a game-changer. In environments with stringent retention requirements, being able to specify the duration that logs remain intact can allow you to decrease the risk of losing valuable information due to fills.

Conversely, VMware requires you to manage these logs externally if you want to archive or keep them for longer than the system’s default settings. You might leverage syslog servers or third-party tools for this, which can complicate things further if your organization doesn’t already have a logging solution in place.

Disaster Recovery and Configuration Backup
The VM settings and logs play a crucial role in disaster recovery where being able to restore a system to a previous state is key. In Hyper-V, since it retains meticulous logs of settings and events, it makes it significantly easier to restore a VM to a prior state. If there was an accidental change that brought a VM down, being able to refer back to the logs can tell you exactly what configuration state led to the failure and help you restore it.

VMware offers snapshots as a means of protecting VM states, but these won't capture every detail of every single setting change unless manually documented or monitored. Snapshots are useful, but can be a bit of a burden with multi-tiered operations where a plethora of settings need to be adjusted from one snapshot to another. If you do a lot of configuration changes, maintaining snapshots may eventually lead to storage issues or performance degradation over time.

Backup Solutions for VMware and Hyper-V
Having conducted numerous backups for both VMware and Hyper-V environments, I’ve found that you need a robust solution in place to ensure that both VM settings and data are safely captured. BackupChain VMware Backup is great for that, providing support for both Hyper-V and VMware backups. It ensures that when I create or modify a backup job, it takes the necessary steps to back up the VM settings accurately along with the virtual disks.

You’ll appreciate this when you’re under pressure to recover VMs quickly. Knowing that you’ve got a solution that supports full VM backups seamlessly enhances the confidence level. It complements the logging structures of both platforms, filling in the gaps left by lack of detailed change tracking, especially on VMware.

In the environment I work in, using BackupChain helps streamline the recovery process by ensuring my backup and logs work hand in hand, giving a holistic view when combined with the event log features, especially from Hyper-V.

Philip@BackupChain
Offline
Joined: Aug 2020
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education VMware General v
« Previous 1 2 3
Does VMware log every VM setting change like Hyper-V event auditing?

© by FastNeuron Inc.

Linear Mode
Threaded Mode