Monday, June 11, 2012

1 Configure Hyper-V with StarWind

StarWind provide the Fee version of ISCSI software. I am going to use to service my SAN environment for Hyper-V.

The interface is relative easy to create the san disk.

image

image

image

image

image

image

image

image

image

image

Now, Let try to attached the SAN to the Windows Host.

1. Make sure iSCSI service is running and started automatically

SC QC MSiSCSI

image

2. First, we need to make the Windows server find the SAN.

You can use iscsicpl

image

Or Powershell or even iSCSIcli

iSCSIcli QAddTargetPortal <Storage Server>
iSCSIcli ListTargets 
-- You should see the iQN of the target server 
iSCSIcli QloginTarget <Target IQN> 
-- You should see a connection and session id 
iSCSIcli PersistentLoginTarget <target_iqn> T * * * * * * * * * * * * * * * 0 
-- There are 15 “space” + “*” 
-- You do this so you can survive a reboot 
iSCSIcli ListPersistentTargets 
-- You should see a target 
-- Check iSCSI status 
iSCSIcli ReportTargetMappings 

image

3. Use diskpart to create the partition, mount the disk

select disk 1 
attribute disk clear readonly 
online disk 
create part primary 
select part 1 
assign letter=Q 

Other useful command to check the disk status

  • LIST Disk
    LIST Partition
    LIST Volume
  • SELECT Disk n
    SELECT Volume n
    SELECT Partition n
  • DETAIL Disk
    DETAIL Partition
    DETAIL volume
    ASSIGN (allocate the next free drive letter)
    ASSIGN LETTER=l (Choose a free letter)
  • CREATE PARTITION Primary Size=50000 (50 GB)
    CREATE PARTITION Extended Size=25000
    CREATE PARTITION logical Size=25000
  • DELETE Partition

image

Reference

http://blogs.technet.com/b/aralves/archive/2008/03/31/building-a-failover-cluster-with-server-core-part-2.aspx 

http://www.thomasmaurer.ch/2010/02/cheatsheet-using-diskpart-on-a-server-core-installation-4/

1 comments:

  1. Are you trying to earn money from your websites or blogs by using popunder ads?
    If so, have you ever consider using PopAds?

    ReplyDelete

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates