发表于 2015-5-2 14:19:24

[转]Installing and Configuring target iSCSI server on Windows Server 2012

  最近研究Windows Server 2012,准备搭建一个高可用集群平台,想用windows iscsi target来模拟一个iSCSI SAN环境,原来现在的iSCSI Target不能安装了,看了一下windows server 2012里面已经预先集成了,安装就好,具体位置在 File Storage Role -> iSCSI Target Service,然后配置就可以了。
  =====================================================
  源地址:http://blogs.technet.com/b/meamcs/archive/2012/03/30/installing-and-configuring-target-iscsi-server-on-windows-server-8-beta.aspx
  Installing and Configuring target iSCSI server on Windows Server 2012

  iSCSI Software Target is now part of windows Server 8 Beta Roles and features, In this post i will walkthrough installing and configuring iSCSI software target.
  Important Notes:
  - iSCSI Target server now is integrated with Windows Failover clustering to provide HA for iSCSI target server, however in this post we will beconfiguring a stand-alone iSCSI target server.
  - Windows PowerShell can be used to install and configure iSCSI target server.
  Environment details:
  - Single iSCSI server IP address: 192.168.0.217
  - File server “ServerA” IP address: 192.168.0.215
  - File server “ServerB” IP address: 192.168.0.216
  1. To install Windows server 8 iSCSI target open Server Manager and click Add Roles and Features then walkthrough the installation as per the below screenshots
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/5516.clip_5F00_image002_5F00_thumb_5F00_60821B73.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/0830.clip_5F00_image004_5F00_thumb_5F00_40B2F611.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/0451.clip_5F00_image006_5F00_thumb_5F00_2CE5C0E3.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/1638.clip_5F00_image008_5F00_thumb_5F00_755F641A.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/0601.clip_5F00_image010_5F00_thumb_5F00_014108B5.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/0724.clip_5F00_image012_5F00_thumb_5F00_5B973FB9.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/2061.clip_5F00_image014_5F00_thumb_5F00_6778E453.png
  
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/3603.clip_5F00_image016_5F00_thumb_5F00_4F352E5E.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/6036.clip_5F00_image018_5F00_thumb_5F00_3AFBC63B.png
  2. After installation is complete successfully we will now configure the iSCSI target server as per the following
  - We will have single VHD of 5 VHDs
  - Access is allowed to two file server nodes
  o 192.168.0.215
  o 192.168.0.216
  - Storage target name is File Server
  To complete iSCSI target server the configuration go to Server Manager , click File and Storage Services then follow the screenshots below;
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/2766.clip_5F00_image020_5F00_thumb_5F00_0DC68DD3.png
  Go to iSCSI Virtual disks and click “Launch the New Virtual Disk wizard to create a virtual disk” and walk through the Virtual Disks and targets creation
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/5428.clip_5F00_image022_5F00_thumb_5F00_4E488EA8.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/4062.clip_5F00_image024_5F00_thumb_5F00_0D666CAC.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/3108.clip_5F00_image026_5F00_thumb_5F00_21ABE69D.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/2148.clip_5F00_image028_5F00_thumb_5F00_0B18FC7C.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/8032.clip_5F00_image030_5F00_thumb_5F00_515616F7.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/7103.clip_5F00_image032_5F00_thumb_5F00_7A8D135B.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/1030.clip_5F00_image034_5F00_thumb_5F00_016C7A47.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/7318.clip_5F00_image036_5F00_thumb_5F00_7CB623F2.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/0083.clip_5F00_image038_5F00_thumb_5F00_42870B79.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/2678.clip_5F00_image040_5F00_thumb_5F00_0B6CE1A6.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/8750.clip_5F00_image042_5F00_thumb_5F00_38AE2BDC.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/7268.clip_5F00_image044_5F00_thumb_5F00_137095D6.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/8372.clip_5F00_image046_5F00_thumb_5F00_007BC692.png
  3. To connect File Server nodes to iSCSI target open Server Manager click Tools and select iSCSI Initiator then proceed with the configuration as per the below screenshots
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/6011.clip_5F00_image0024_5F00_thumb_5F00_39DE8AEF.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/3365.clip_5F00_image0044_5F00_thumb_5F00_2BEBF95A.png
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/6663.clip_5F00_image0064_5F00_thumb_5F00_4BE6BA7D.png
  Now we open disk management to make sure that the disk is presented correctly
http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-79-57-metablogapi/5282.clip_5F00_image0084_5F00_thumb_5F00_67F42710.png
  Repeat step 3 for the second file server node.


  Windows Server 8, iSCSI target, Windows Server 2012
页: [1]
查看完整版本: [转]Installing and Configuring target iSCSI server on Windows Server 2012