Monday, April 16, 2012

Presenting iSCSI (in a VM) to Windows Server 8 (Physical Host)

I’m going to share with you today on how I present iSCSI LUN (running as a VM Server 2008 R2) to a physical Host that is running Windows Server 8 (Running Hyper-V).  This Windows Server 8 is also running as Hyper-V role and hosting the VM that earlier I mentioned running

In summary is as below :

image

image

Host : From Windows 8 Server  (Part 1)

Hyper-v-1

  • Create a folder and label it as VHDs

Hyper-v-3

  • Launch the Hyper-V.
  • Maneuver to the SC-Fileserver-iSCSI settings
  • Click on the SCSI Controller and add Hard Drive.

Hyper-v-5

  • Click New.

Hyper-v-6

  • Click Next >

image

  • Select VHDX and click Next

 

Hyper-v-8

  • Click Next >

Hyper-v-10

  • After creating the file, it should end with vhdx extension.  The location of the folder is the same as created in Windows Explorer.

 

Hyper-v-11

  • Put in the size of the virtual hard disk and click Next.

Hyper-v-12

  • Review and click Finish.

Hyper-v-13

  • Click apply and then OK.

Hyper-v-15

  • In the Windows Server 8, launch the iSCSI Initiator.

image

  • If the iSCSI server is not running, click Yes to start it.

Hyper-v-17

  • Key in the IP address of the iSCSI IP address of the server.  In my case is 10.52.52.16.
  • Click Quick Connect.

Hyper-v-18

  • Click Done.
  • Now we switch on to the server that is the iSCSI target.

 

iSCSI Target : SC-FILESERVER-iSCSI (Part 2)

 

SC-Fileserver-2

  • Launch the Server Manager in the SC-FILESERVER-ISCSI
  • Then scroll down to the Disk Managert
  • Initialize the disk (that was just presented)

SC-Fileserver-1

  • Launch the Microsoft iSCSI Software Target.

SC-Fileserver-3

  • Right-Click New Simple Volume and then quick format it.
  • Once it’s done click Finish.

SC-Fileserver-10

  • Launch the iSCSI Target in the VM
  • Scroll to the iSCSI Targets.
  • Right-click on the right panel and then select Create iSCSI Target.

SC-Fileserver-12

  • Key in a meaningful name and click Next.

SC-Fileserver-13

  • Click Browse.

SC-Fileserver-14

  • The step performed earlier, from the host has triggered an entry into the iSCSI initiators listing
  • Select it (in  my case is C02), then click OK.

SC-Fileserver-15

  • Click Next then click Finish.

SC-Fileserver-17

  • Click on Devices on the left panel
  • Then Right-Click on the right panel and select Create Virtual Disk.

SC-Fileserver-18 SC-Fileserver-19

  • Click Next.
  • Then click Browse.

SC-Fileserver-21

  • Key in the File with .vhd extension

 

image

  • Key in the Size of the VHD and then click Next.
  • Then click until Finish.

SC-Fileserver-31

  • In the iSCSI Target, select Devices
  • Select the Disk that was just recently presented, right-click and Assign/Remote Target.

 

SC-Fileserver-32     SC-Fileserver-33

  • Click Add
  • Select the Target that was created.
  • In my example is Hyper-V-DPM.  After selecting click OK.
  • Now it’s back to the Host (physical).

 

Windows Server 8 Host Server (Part 3).

Hyper-v-21

  • In the iSCSI inititor, click on Refresh.

Hyper-v-22

  • Then click Connect.

Hyper-v-24

  • Click OK.

image

  • Now it’s ready for DPM usage.

image

  • Now the storage is ready for Hyper-V Host to use.  In my case, this LUN has been dedicated for DPM only.

Hope the above helps you for your testing or Lab environment.

      note : Hyper-V Windows 8 DPM storage, DPM 2012 storage provision from internal iSCSI or storage.

      No comments:

      Post a Comment