Configure the iSCSI initiator in Windows Server Core or Hyper-V Server - TechRepublic

Configure the iSCSI initiator in Windows Server Core or Hyper-V Server

Provisioning storage to the Windows Server Core can be a challenge. Rick Vanover describes how to configure iSCSI storage on Windows Server Core or Hyper-V Server.

Écrit par
Rick Vanover
Rick Vanover
Apr 4, 2011
We may earn from vendors via affiliate links or sponsorships. This might affect product placement on our site, but not the content of our reviews. See our Terms of Use for details.

In the course of provisioning Microsoft Hyper-V Server 2008 R2 in my home virtualization lab, I decided to leverage the Hyper-V Server standalone installation, which closely resembles Windows Server Core.

If you need to provision iSCSI storage to Windows Server Core or Hyper-V Server, it may not be immediately obvious how to do it. The solution is to create a GPO that makes the Microsoft iSCSI initiator service start automatically; you’ll configure this in the Computer Configuration | Policies | Windows Settings | Security Settings | System Services within Group Policy. You should also define the Microsoft iSCSI Initiator Service to be automatic on startup (this service is a manual startup by default). Figure A shows this configuration.
Figure A

Click the image to enlarge.

Once the servers have booted back up with the GPO having taken effect, log on to the console and run the iscsicpl utility; this is the iSCSI Initiator configuration that is used in the full installation of Windows, and it’s rather straightforward to configure. Figure B shows the iSCSI configuration made on a Hyper-V Server.
Figure B

Click the image to enlarge.

The final step in provisioning storage to the server is remotely performed using Server Manager. For Windows Server Core installations, the recommended approach is to enable remote administration, so the rich tools on another system can be used to administer the Windows Server Core. For the Hyper-V Server shown above, the storage configuration panel is used to add the new storage remotely (Figure C).
Figure C

Click the image to enlarge.

Now the iSCSI resource can be accessed via the Windows Server Core without much difficulty.

There are other tricks out there on configuring iSCSI, including this PowerShell mechanism. I’m a little bit old-school, and I still feel most comfortable provisioning storage directly on the server from the SAN resource.

How have you provisioned iSCSI storage to Windows Server Core? Share your comments on the process in the discussion.

Rick Vanover

Rick Vanover is an IT Infrastructure Manager for Alliance Data in Columbus, Ohio. Rick's IT certifications include VMware VCP, Microsoft Windows Server 2008 MCITP, Windows Server 2003 MCSA and others. \ \ Previous experiences included working for Dematic Corp (formerly Siemens L&A, Siemens Dematic, Rapistan)in Grand Rapids, MI in various capacities deploying custom software solutions to the material handling industry using a mix of current hardware and software products. You can reach Rick at b4real@usa.net. Follow rick on Twitter at @RickVanover