硬件连接:DS300的管理端通过直连线和服务器相连,在命令行界面下使用ping能够ping通DS300的管理端口。

配置方法:

在任何时候使用?都可以查看该目录下可以的相关命令;使用 tab 键可以查看命令的相关参数;
配置步骤:
1、 打开命令提示符界面,输入 telnet 192.168.70.123 回车, 登陆到DS400: 
    DS300>administrator
    Administrator level password:×××××××× // PASSW0RD 
    DS300# //进入管理员级别的提示符 
2、 现有的磁盘情况:
DS300#device 回车
DS300<device>#list 回车
Selected attached devices :
65536 IBM-ESXS Disk <enclosure 1 slot 0 > SCSI Disk 33.90GB
65792 IBM-ESXS Disk <enclosure 1 slot 1 > SCSI Disk 33.90GB
显示了所有插在DS300上的硬盘,65536为硬盘的设备号(该信息要注意一下,接下来配置阵列是要使用硬盘的设备号作为参数),slot0和1是硬盘在DS300上占有的插槽,最后面是硬盘容量;
3、 使用create命令创建阵列: 
    DS300<device>#end 回车
    DS300#array 回车
    DS300<.array>#create TEST raid1 65536 65792 回车 //选择两块盘做raid1
    Array ‘TEST ‘ created with 2 devices:
    65536
    65792
DS300<.array>#list
List of arrays:
TEST RAID 1 33.86GB

4、 创建逻辑盘,进入logical 同样使用create创建: 
    DS300<array>#end 回车
    DS300#logical 回车
    DS300<logical>#create ldrive TEST size 33.86GB unrestricted /输入create命 
              //令,33全部建成一个逻辑盘
注:在size命令后输入tab键可以查看可以可用空间的大小,以及单位格式,必须用大写;
在33GB后再输tab会提示 restriced 和 unrestricted的参数,表示是否对逻辑盘的使用者做限制。
5、 添加可使用该存储设备的节点: 
    DS300#initiator
    DS300<iscsi-node>#create node1 iqn.1991-05.com.microsoft: ibmuser
    Initiator node1 created with IQN iqn.1991-05.com.microsoft: ibmuser 
    DS300< iscsi-node >#create node2 iqn.1992&?20.com.microsoft: ibmuser 
    Initiator node2 created with IQN iqn.1992&?20.com.microsoft: ibmuser
6、 把逻辑盘分配给节点,一个逻辑盘可分配给多个节点,在logical 目录中设置: 
    DS300<array>#end 回车
    DS300#logical 回车
DS300<logical>#list
Select logical drives:
ldrive Uses 33.86GB from array TEST
DS300<logical>#manage ldrive allow node1
New ACL:
Node1 iqn.1991-05.com.microsoft: ibmuser Read/Write
这时在DS300<logical>使用info命令,就能够查看刚才配置的情况,同时显示可访问该逻辑盘的ACL列表。 
然后可以到note1的机器上查看磁盘管理器,就会有新增加的未指派硬盘,大小应该是33 GB左右。