close

工作筆記:

iSCSI Service Setup under Windows Server

 

Requirement:

  1. Windows Server O.S.( Using Windows Server 2012 R2, IP:192.168.0.41 as example )
  2. Another Windows System. ( Using Windows 7, IP:192.168.0.xxx(DHCP))
  1. Setting Steps
    1. Launch ‘Server Manager’ Click ‘Manage’ on right-up cornerChoose ‘Add Roles and Features’.

開啟‘Server Manager’ →右上角點選’Manage’→選擇‘Add Roles and Features’

 

001.png

  1. At window of "Before You Begin","Installation Type", "Server Selection"

, just click "Next" to go next step.

視窗畫面中"Before You Begin","Installation Type", "Server Selection",此三個階段直接選下一步

002.png

 

  1. At "Server Roles", expand "File And Storage Services > File and iSCSI Services".

And check "iSCSI Target Server", then click "Next"

Server Roles這邊點開File And Storage Services 以及 File and iSCSI Services,選取iSCSI Target Server,接著點選下一步

 

003.png

 

  1. At window of "Features", just click "Next" to go next step.

Then click Install.

視窗中Features這邊直接按下一步,然後選Install

 

004.png

 

 

  1. After installation, back to ‘Server Manager’. And choose File and Storage Services -> iSCSI

安裝完成後,回到Server Manager。點選choose File and Storage Services -> iSCSI

 

005.png

 

 

  1. Click ‘Task’ ->’ New iSCSI Virtual Disk…’

點選‘Task’ ->’ New iSCSI Virtual Disk…’

 

006.png

 

 

  1. Choose the storage location then click next.

選擇存放位置後,下一步

 

007.png

  1. Typing the virtual disk name. Then click Next

輸入虛擬磁碟的名稱,下一步

 

008.png

 

  1. Typing the virtual disk volume size. Then click Next

輸入虛擬磁碟的容量大小,下一步

 

009.png

 

  1. Choose the ‘New iSCSI target’. Then click Next

輸入新建iSCSI目標,下一步

 

010.png

 

  1. Typing the Target Name. Then click Next

輸入目標名稱,下一步

 

0011.png

 

  1. Setting the Access Servers. Click ‘Add’ and choose ‘Enter a value for the selected type’, and fill in value as “*”. Then click OK, and Next.

點選新增→選擇Enter a value for the selected typeValue欄位內輸入*→選OK→下一步

(i).這邊跟網路上許多中文資料,皆未詳細解釋的部分,Access Servers這邊指的是允許哪些機器來使用這個iSCSI上的磁碟。因此這邊增加的過濾條件,會影響iSCSI能不能夠被存取

(ii).Windows上的功能,存取條件類型(type)有四種(IQN, DNS Name, IP Address, MAC Address);測試上實務運用LAN iSCSI Boot所使用的條件,可由其中三種(IQN, IP Address, MAC Address)進行權限設置。

 

0012.png

PS: 切勿設定成Local HostIP。這樣會造成只有本機端可以使用這個iSCSI Storage的愚蠢行為.

 

  1. At window of "Enable authentication", just click "Next" to go next step.

視窗畫面中"Enable authentication",直接選下一步

  1. At window of ”Confirmation”, click Create

視窗畫面中Confirmation,直接選Create

 

0013.png

  1. Verify the iSCSI (Use Windows 7 as example)
    1. Press Windows Key, typing iSCSI, and launch this program.

按鍵盤開始鍵,搜尋iSCSI,執行iSCSI啟動器

 

0014.png

 

  1. Typing the Target value as the IP, which system provide iSCSI Service. Then click ‘Quick Connect’.

輸入有提供iSCSI Service機器的IP,按下Quick Connect.

 

0015.png

  1. Go to Page of “Volumes and Devices”, click “Auto Configure” to mount the allowable devices.

切換到分頁:磁碟區和裝置,點選自動設定來直接掛載可用的裝置。

 

0016.png

 

 

  1. Go to Page of “Volumes and Devices”, click “Auto Configure” to mount the allowable devices.

切換到分頁:磁碟區和裝置,點選自動設定來直接掛載可用的裝置。

0017.png

 

後記:

純粹紀錄一下工作時所製作的文件

原先也沒想會做一份完整的紀錄,參考其他網站或前輩寫的設定過程,設定Access Servers過程中,因為吸收到錯誤觀念,設置了錯誤的設定,導致無法成功提供這個服務連線

arrow
arrow
    文章標籤
    2012 R2 iSCSI iscsiserver
    全站熱搜
    創作者介紹
    創作者 吾給力 的頭像
    吾給力

    吾給力的部落格

    吾給力 發表在 痞客邦 留言(0) 人氣()