2009年9月20日 星期日

How to connect Windows Server 2008 and Windows Vista to an iSCSI Server

若想測試一下iSCSI可用此方法建置

[iSCSI Server]
1.可下載使用OpenFiler這個軟體建置iSCSI Server
下載為ISO檔,燒錄光碟後為可開機進行系統安裝
http://www.openfiler.com/community/download/

圖形介面安裝說明,安裝過程就像Linux的安裝
http://www.openfiler.com/learn/how-to/graphical-installation
PS.安裝在第一顆硬碟,保留第二顆不使用,之後可做為shared disk Volumn用

2.可使用Web管理介面設定IP與通訊埠
https://安裝時設定的iSCSI Server IP:446/

* The default username is openfiler, password password
* Go to services & enable the iSCSI Target service.
* Go to Volumes, then Physical Storage Management,
and click on the name of the disk where you want to create a new volume (I do this by having a second disk in the server besides the boot disk). In my case, I clicked on /dev/sdb
* Create a partition on that disk.
* Now go to Volume Group Management,
give the new VG a name, click the Select checkbox,
and click Add volume group.
* Now click on Create new Volume.
Create an iSCSI file system volume in the VG,
of whatever size you want.
* Now, go to the General tab and add your local network to the networks tab.
This should be the same network that the Win 2008 Server or Vista hosts are located on.
* Go back to the Volume properties, edit the volume,
and change that local network to Allow instead of the default of block.
Click Update.
* Now disable and enable the iSCSI service.

PS.版本不同設定位置會不一樣,
例如: Local network設定需在System->Network Access Configuration
先新增完成,然後設定Volumne完成時,點右邊的iSCSI Targets,
進行Target IQN新增與mapping,再設定Network ACL時指定Local Network

[iSCSI Client]
1.Windows Server 2008, Windows Vista內建Initiator
2.Windows Server 2003, Windows XP需額外下載安裝
Microsoft iSCSI Software Initiator Version 2.08
http://www.microsoft.com/downloads/details.aspx?familyid=12cb3c1a-15d6-4585-b385-befd1319f825&displaylang=en#filelist
3.設定連線到iSCSI Server
(1)控制台->iSCSI Initiator(iSCSI啟動器)
(2)電腦管理->存放->磁碟管理->會偵測到新磁碟->進行設定
依照下面的reference設定即可完成

[reference]
How to connect Windows Server 2008 and Windows Vista to an iSCSI Server
http://www.windowsnetworking.com/articles_tutorials/Connect-Windows-Server-2008-Windows-Vista-iSCSI-Server.html

沒有留言: