IBM DS8000配置文档
- 格式:pdf
- 大小:823.27 KB
- 文档页数:23
DS8K逻辑配置文档 Step By Step目 录1.1 安装DSCLI (2)1.2 激活DS8000 license (3)1.3 DS8000逻辑配置 (5)1.3.1 列出arraysite (6)1.3.2 创建Array (6)1.3.3 创建RANK (9)1.3.4 创建Extend Pool (9)1.3.5 将rank加入到相应的extend pool (10)1.3.6 创建LUN (11)1.3.7 创建volume group (16)1.3.8 将LUN加入到需要的volume group中 (17)1.3.9 创建host connection (18)1.3.10 用脚本执行命令 (21)1.3.11 主机端安装SDD软件,识别vpath (22)1.1 安装DSCLI为提高配置的速度,建议大家划分DS8000采用DSCLI(DS Command Line Interface),在笔记本上安装DSCLI后(执行命令setupwin32.exe),修改其C:\Program Files\IBM\dscli\profile\ dscli.profile,如下:# Management Console/Node IP Address(es)# hmc1 and hmc2 are equivalent to -hmc1 and -hmc2 command# options.hmc1: 172.16.0.1#hmc2: 127.0.0.1## Default target Storage Image ID# "devid" and "remotedevid" are equivalent to# "-dev storage_image_ID" and "-remotedev storeage_image_ID"# command options, respectively.devid: IBM.2107-7523201# locale# Default locale is based on user environment.locale: en其中hmc1为DS8000的HMC地址,此处为HMC缺省IP172.16.0.1; devid为DS8000的storage facility image ID,为IBM.2107-7523201。
请取消关于语言的default定义,缺省是用户自己的语言环境(前面有#注释),请最好改成英文,这样我们copy给support时比较好。
Notes:1、关于DSCLI版本,请大家使用你所配置的DS8K微码对应的DSCLI版本,DSCLI版本之间互不兼容,即便你发现高版本可以管理低版本的DS8K,IBM Lab不保证版本之间的兼容性。
2、关于devid,任何一台DS8K的序列号均以0结尾,对于2107-9A2,devid的为75-xxxx1和75-xxxx2,对于2107-921/922,devid永远为75-xxxx1;在profile中输入devid后,在以后的命令行以及脚步本便可以不再写devid了。
3、请把笔记本连接到DS8K内部的交换机中的上面的一台,即黑色网线相连的交换机。
打开IE浏览器,打开如下网址:https://172.16.0.1:8452/DS8000/Console缺省用户已经密码为admin/admin,登陆后,系统将提示密码超期,请更改密码,建议使用密码passw0rd。
安装DSCLI后,将在桌面上创建DSCLI的图标,双击该图标后,再次键入dscli可以进入dscli交互式命令行。
Notes:请注意不要在24小时内3次输入错误的用户密码,3次的错误输入将导致该用户的帐户被锁。
1.2 激活DS8000 license在配置DS8K之前,需要激活DS8K的license,如下方法:1.获取 Signature (该步骤现在可以忽略)dscli> showsi -fullid IBM.2107-75BCYY1Date/Time: 2006年2月6日 上午10时26分56秒 IBM DSCLI Version: 5.1.0.297 DS: IBM.2107-75xxxx1Name -desc -ID IBM.2107-75xxxx1Storage Unit IBM.2107-75xxxx0Model 9xxWWNN 5005076304FFC1C0Signature fb78-de56-4e89-e46bState OnlineESSNet EnabledVolume Group IBM.2107-75xxxx1/V0os400Serial -dscli>2.通过DS8000序列号和刚才取得的signature去以下网站拿capacity的license key,文件例如:2107_75BBY00.xmlhttps:///systemstechnology/storage/dsfa/accessDSFA.wsshttps:///storage/dsfa/index.jsp3.在DS8000中增加在上面一步中取得的licensedscli> applykey -key c:\xxxxkeys.xml IBM.2107-75xxxx1也可以使用GUI界面输入该key:打开如下网页:https://172.16.0.1:8452/DS8000/ConsoleIn the navigation panel, select, in order, Real-time Manager, Manage Hardware, and Storage images. In Storage images — Main Page, select a Storage image. Then select Apply activation codes in the Select Action drop-down list. Then click Go. The Apply activation codes page is displayed4.查看license状态,查看刚才输入的license是否生效(下面为示例,红色行注意应为100ALL就对了)dscli> lskey IBM.2107-75xxxx1Date/Time: 2006年1月26日 下午02时08分47秒 IBM DSCLI Version: 5.1.0.297 DS: IBM.2107-75xxxx1Activation Key Capacity (TB) Storage Type=================================================Operating Environment 100 All1.3 DS8000逻辑配置一般我们采用一对一的方法配置DS8K,即arraysite->array->rank->extpool (Sxx-Axx-Rxx-Pxx)的形式,如下:因此逻辑配置的步骤如下:1、创建array2、创建rank3、创建extend pool4、将rank加入到相应的extend pool5、创建LUN6、创建volume group7、将LUN加入到需要的volume group中8、创建host connection(将LUN,host connection加入到volume group)9、主机端安装SDD软件,识别vpath。
1.3.1 列出arraysite命令:lsarraysiteArraysite为IBM工厂预定义的,每8块盘为1个arraysite,不需要我们配置。
关于你所配置的DS8K中的arraysite数目,可以用机器中的盘数目除以8即可;也可以查已经的IR,找到类似如下的描述:2107 922 75BCYY0 2116 8 A 146 GB 10K DRIVE SET其中每个driver set中有16块DDM,构成2个arraysite。
命令输出结果如:dscli> lsarraysiteDate/Time: Feb. 9, 2006 2:57:27 PM EDT IBM DSCLI Version: 5.1.0.297 DS:IBM.2107-75xxxx1arsite DA Pair dkcap (10^9B) diskrpm State Array ===================================================S1 2 146.0 10000 Unassigned -S2 2 146.0 10000 Unassigned -S3 2 146.0 10000 Unassigned -S4 2 146.0 10000 Unassigned -S5 2 146.0 10000 Unassigned -S6 2 146.0 10000 Unassigned -S7 2 146.0 10000 Unassigned -S8 2 146.0 10000 Unassigned -S9 0 146.0 10000 Unassigned -S10 0 146.0 10000 Unassigned -S11 0 146.0 10000 Unassigned -S12 0 146.0 10000 Unassigned -S13 0 146.0 10000 Unassigned -S14 0 146.0 10000 Unassigned -S15 0 146.0 10000 Unassigned -S16 0 146.0 10000 Unassigned -稍后将详细介绍DA pair1.3.2 创建Array命令格式如下:mkarray [-dev storage_image_ID] -raidtype 5|10 -arsite Array_site如:(创建raid10)dscli>mkarray -raidtype 10 -arsite S1dscli>mkarray -raidtype 10 -arsite S2命令结果如:dscli> lsarrayDate/Time: 2006年1月26日 下午02时21分28秒 IBM DSCLI Version: 5.1.0.297 DS: IBM.2107-75xxxx1Array State Data RAIDtype arsite Rank DA Pair DDMcap (10^9B)======================================================================A0 Unassigned Normal 10 (3x2+2S) S1 - 2 73.0 A1 Unassigned Normal 10 (4x2) S2 - 2 73.0 A2 Unassigned Normal 10 (3x2+2S) S3 - 2 73.0 A3 Unassigned Normal 10 (4x2) S4 - 2 73.0 A4 Unassigned Normal 10 (4x2) S5 - 2 73.0 A5 Unassigned Normal 10 (4x2) S6 - 2 73.0 A6 Unassigned Normal 10 (4x2) S7 - 2 73.0 A7 Unassigned Normal 10 (4x2) S8 - 2 73.0 A8 Unassigned Normal 10 (3x2+2S) S9 - 0 73.0 A9 Unassigned Normal 10 (4x2) S10 - 0 73.0 A10 Unassigned Normal 10 (3x2+2S) S11 - 0 73.0 A11 Unassigned Normal 10 (4x2) S12 - 0 73.0 A12 Unassigned Normal 10 (4x2) S13 - 0 73.0 A13 Unassigned Normal 10 (4x2) S14 - 0 73.0 …下面将详细介绍上面的输出结果中的RAID type与DA Pair:下面的图是关于2107的各种型号的Disk Enclosures与DA之间的关系。