Where should the iSCSI Initiator run in a Windows Server Hyper-V environment?
In a Hyper-V environment it is possible to run the iSCSI initiator in two places: within the parent operating system or inside the virtual machine. Either option will work. The trick is to decide what you want the iSCSI initiator to do for you before choosing an option.
The only situation that does force you to use one option or the other is guest clustering. If you are building a guest cluster and are connecting to a guest Cluster Shared Volume through iSCSI, then you really have no choice but to run the iSCSI initiator inside of the virtual machine (VM). Otherwise, the guest cluster won't use its shared storage properly.
In most other situations, it's better to run the iSCSI initiator inside of the parent operating system (OS). There are several good reasons for doing so.
For starters, if the iSCSI initiator is running inside of the parent OS, then it will be able to take advantage of your physical network adapter's native capabilities (such as TCP/IP offloading). These types of native hardware features are simply not exposed to VMs.
Running the iSCSI initiator inside of a VM also has a slight impact on performance. The iSCSI initiator consumes more CPU resources when it runs inside a VM than it does when it runs within the host OS. Granted, the required extra CPU cycles probably aren't enough to be problematic, but it is always a good idea to make efficient use of your hardware.
In certain situations the iSCSI initiator can impact your backup as well. Some host-level backups are unable to back up iSCSI storage that is connected from inside of a VM.
As a best practice, you should run the iSCSI initiator inside the parent OS unless you are using iSCSI for a guest cluster.
Dig deeper on Data Storage Solutions for a Virtual Environment
Related Q&A from Brien Posey
Independent backup expert Brien Posey discusses what the term 'copy data management' means and how it differs from traditional backup.continue reading
Independent backup expert Brien Posey discusses the difference between file sync and share and laptop backups in this Expert Answer.continue reading
Independent backup expert Brien Posey compares in-house, DIY disaster recovery cost to a cloud DR service.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.