DS8000划盘笔记V2

巡山小妖精
577次浏览
2020年07月29日 19:17
最佳经验
本文由作者推荐

24种插法-拖曳

查看array site(阵列柜Sx),每个阵列柜由8个盘组成。
dscli> lsarraysite
Date/Time: April 24, 2016 12:09:28 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2
107-AZ00031
arsite DA Pair dkcap (10^9B) State Array
=============================================
S1 2 73.0 Unassigned -
S2 2 73.0 Unassigned -
S3 2 73.0 Unassigned -
S4 2 73.0 Unassigned -
S5 2 73.0 Unassigned -
S6 2 73.0 Unassigned -
S7 2 73.0 Unassigned -
S8 2 73.0 Unassigned -
S9 0 73.0 Unassigned -
S10 0 73.0 Unassigned -
S11 0 73.0 Unassigned -
S12 0 73.0 Unassigned -
S13 0 73.0 Unassigned -
S14 0 73.0 Unassigned -
S15 0 73.0 Unassigned -
S16 0 73.0 Unassigned -
S17 6 146.0 Unassigned -
S18 6 146.0 Unassigned -
S19 6 146.0 Unassigned -
S20 6 146.0 Unassigned -
S21 6 146.0 Unassigned -
S22 6 146.0 Unassigned -

创建array阵列,尝试通过多个arraysite创建array。
dscli> mkarray -raidtype 5 -arsite S1,S2
Date/Time: April 24, 2016 3:37:51 PM CST IBM DSCLI Version: 5.3.1.101
DS: IBM.2107-AZ00031 CMUC00004I mkarray: Array A0 successfully created.

dscli> mkarray -raidtype 5 -arsite S3,S4
Date/Time: April 24, 2016 3:51:31 PM CST IBM DSCLI Version: 5.3.1.101
DS: IBM.2107-AZ00031 CMUC00004I mkarray: Array A1 successfully created.

dscli> mkarray -raidtype 5 -arsite S5,S6,S7
Date/Time: April 24, 2016 3:52:11 PM CST IBM DSCLI Version: 5.3.1.101
DS: IBM.2107-AZ00031 CMUC00004I mkarray: Array A2 successfully created.

dscli> mkarray -raidtype 5 -arsite S8,S9,S10,S11
Date/Time: April 24, 2016 3:53:08 PM CST IBM DSCLI Version: 5.3.1.101
DS: IBM.2107-AZ00031 CMUC00004I mkarray: Array A3 successfully created.

查看确认
dscli> lsarraysite
Date/Time: April 24, 2016 4:05:59 PM CST IBM DSCLI Version: 5.3.1.101
DS: IBM.21
07-AZ00031
arsite DA Pair dkcap (10^9B) State Array
=============================================
S1 2 73.0 Assigned A0
S2 2 73.0 Unassigned -
S3 2 73.0 Assigned A1
S4 2 73.0 Unassigned -
S5 2 73.0 Assigned A2
S6 2 73.0 Unassigned -
S7 2 73.0 Unassigned -
S8 2 73.0 Assigned A3
S9 0 73.0 Unassigned -
S10 0 73.0 Unassigned -
S11 0 73.0 Unassigned -
S12 0 73.0 Unassigned -
S13 0 73.0 Unassigned -
S14 0 73.0 Unassigned -
S15 0 73.0 Unassigned -
S16 0 73.0 Unassigned -
S17 6 146.0 Assigned A4

S18 6 146.0 Assigned A5
S19 6 146.0 Assigned A6
S20 6 146.0 Assigned A7
S21 6 146.0 Unassigned -
S22 6 146.0 Unassigned -
S23 6 146.0 Unassigned -
...........................................
发现S2,S4,S6,S7并没有被使用

dscli> lsarray
Date/Time: April 24, 2016 4:06:35 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
Array State Data RAIDtype arsite Rank DA Pair DDMcap (10^9B)
===========================================================================
A0 Unassigned Normal 5 (6+P+S) S1,S2 - 2 73.0
A1 Unassigned Normal 5 (6+P+S) S3,S4 - 2 73.0
A2 Unassigned Normal 5 (6+P+S) S5,S6,S7 - 2 73.0
A3 Unassigned Normal 5 (6+P+S) S8,S9,S10,S11 - 2 73.0
A4 Unassigned Normal 5 (6+P+S) S17 - 6 146.0
A5 Unassigned Normal 5 (6+P+S) S18 - 6 146.0
A6 Unassigned Normal 5 (6+P+S) S19 - 6 146.0
A7 Unassigned Normal 5 (6+P+S) S20 - 6 146.0

dscli> mkarray -raidtype 5 -arsite S2
Date/Time: April 24, 2016 4:09:49 PM CST IBM DSCLI Version: 5.3.1.101
DS: IBM.2107-AZ00031 CMUC00004I mkarray: Array A8 successfully created.
通过创建阵列,S2依然可以用,所以创建array还是对应一个arraysite。

dscli> lsarray
Date/Time: April 24, 2016 4:10:42 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Array State Data RAIDtype arsite Rank DA Pair DDMcap (10^9B)
===========================================================================
A0 Unassigned Normal 5 (6+P+S) S1,S2 - 2 73.0
A1 Unassigned Normal 5 (6+P+S) S3,S4 - 2 73.0
A2 Unassigned Normal 5 (6+P+S) S5,S6,S7 - 2 73.0
A3 Unassigned Normal 5 (6+P+S) S8,S9,S10,S11 - 2 73.0
A4 Unassigned Normal 5 (6+P+S) S17 - 6 146.0
A5 Unassigned Normal 5 (6+P+S) S18 - 6 146.0
A6 Unassigned Normal 5 (6+P+S) S19 - 6 146.0
A7 Unassigned Normal 5 (6+P+S) S20 - 6 146.0
A8 Unassigned Normal 5 (7+P) S2 - 2 73.0

》删除阵列
dscli> rmarray A8
Date/Time: April 24, 2016 4:21:15 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00005W rmarray: Are you sure you want to delete array A8? [y/n]:y
CMUC00006I rmarray: Array A8 successfully deleted.

dscli> lsarray
Date/Time: April 24, 2016 4:24:03 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Array State Data RAIDtype arsite Rank DA Pair DDMcap (10^9B)
====================================================================
A4 Unassigned Normal 5 (6+P+S)
S17 - 6 146.0
A5 Unassigned Normal 5 (6+P+S) S18 - 6 146.0
A6 Unassigned Normal 5 (6+P+S) S19 - 6 146.0
A7 Unassigned Normal 5 (6+P+S) S20 - 6 146.0


》创建队列rank
dscli> mkrank -array A4 -stgtype fb
Date/Time: April 24, 2016 4:27:12 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00007I mkrank: Rank R0 successfully created.
dscli> mkrank -array A5 -stgtype fb
Date/Time: April 24, 2016 4:28:01 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00007I mkrank: Rank R1 successfully created.
dscli> mkrank -array A6 -stgtype fb
Date/Time: April 24, 2016 4:28:32 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00007I mkrank: Rank R2 successfully created.
dscli> mkrank -array A7 -stgtype fb
Date/Time: April 24, 2016 4:29:02 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00007I mkrank: Rank R3 successfully created.

》查看确认
dscli> lsrank -dev IBM.2107-AZ00031 -l
Date/Time: April 24, 2016 4:30:11 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
ID Group State datastate Array RAIDtype extpoolID extpoolnam stgtype exts usedexts
=======================================================================================
R0 - Unassigned Normal A4 5 - - fb 779
-
R1 - Unassigned Normal A5 5 - - fb 779
-
R2 - Unassigned Normal A6 5 - - fb 779
-
R3 - Unassigned Normal A7 5 - - fb 779
-

》创建extpool
dscli> mkextpool -rankgrp 0 -stgtype fb extfb_pool00
Date/Time: April 24, 2016 4:37:08 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00000I mkextpool: Extent pool P0 successfully created.
dscli> mkextpool -rankgrp 1 -stgtype fb extfb_pool01
Date/Time: April 24, 2016 4:37:58 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00000I mkextpool: Extent pool P1 successfully created.
查看确认
dscli> lsextpool
Date/Time: April 24, 2016 4:38:06 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols
==============================================================================================
extfb_pool00 P0 fb 0 - 0 0 0 0 0
extfb_pool01 P1 fb 1 - 0 0 0 0 0

》将rank加入到相应的extend pool
dscli> chrank
CMMCI9022E Missing required parameter: Rank_ID.
Usage: chrank [ { -help|-h|-? } ] [-v on|off] [-bnr on|off] [-dev storage_image_
ID] [-reserve] [-release] [-unassign] [-extpool extentpool_ID] Rank_ID ... | -
Tip: Enter "help chrank" for more information.
dscli> chrank -extpool P0 R0
Date/Time: April 24, 2016 4:41:24 PM CST IBM DSCLI Version:
5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00008I chrank: Rank R0 successfully modified.
dscli> chrank -extpool P0 R1
Date/Time: April 24, 2016 4:42:14 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00008I chrank: Rank R1 successfully modified.
dscli> chrank -extpool P1 R2
Date/Time: April 24, 2016 4:42:52 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00008I chrank: Rank R2 successfully modified.
dscli> chrank -extpool P1 R3
Date/Time: April 24, 2016 4:43:28 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00008I chrank: Rank R3 successfully modified.

》查看确认
dscli> lsrank -l
Date/Time: April 24, 2016 4:43:50 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
ID Group State datastate Array RAIDtype extpoolID extpoolnam stgtype exts usedexts
=====================================================================================
R0 0 Normal Normal A4 5 P0 extfb_pool00 fb 7790
R1 0 Normal Normal A5 5 P0 extfb_pool00 fb 7790
R2 1 Normal Normal A6 5 P1 extfb_pool01 fb 7790
R3 1 Normal Normal A7 5 P1 extfb_pool01 fb 7790
dscli> lsextpool -l
Date/Time: April 24, 2016 4:44:04 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols numranks
=======================================================================================================
extfb_pool00 P0 fb 0 - 1558 0 1558 0 0 2
extfb_pool01 P1 fb 1 - 1558 0 1558 0 0 2

再创建一个rank,并加入到extpool P0中
dscli> mkarray -raidtype 5 -arsite S21
Date/Time: April 24, 2016 4:52:43 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00004I mkarray: Array A0 successfully created.
dscli> lsarray
Date/Time: April 24, 2016 4:53:23 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Array State Data RAIDtype arsite Rank DA Pair DDMcap (10^9B)
====================================================================
A0 Unassigned Normal 5 (7+P) S21 - 6 146.0
A4 Assigned Normal 5 (6+P+S) S17 R0 6 146.0
A5 Assigned Normal 5 (6+P+S) S18 R1 6 146.0
A6 Assigned Normal 5 (6+P+S) S19 R2 6 146.0
A7 Assigned Normal 5 (6+P+S) S20 R3 6 146.0
dscli> mkrank -array A0 -stgtype fb
Date/Time: April 24, 2016 4:54:47 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00007I mkrank: Rank R4 successfully created.
dscli> chrank -extpool P0 R4
Date/Time: April 24, 2016 4:56:02 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00008I chrank: Rank R4 successfully modified.

dscli> lsextpool -l
Date/Time: April 24, 2016 4:56:24 PM CST IB
M DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols numranks
=======================================================================================================
extfb_pool00 P0 fb 0 - 2467 0 2467 0 0 3
extfb_pool01 P1 fb 1 - 1558 0 1558 0 0 2


》创建LUN
dscli> mkfbvol -extpool P0 -cap 100 -name test_fbvol_#h 1000-1006
Date/Time: April 24, 2016 5:26:29 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00025I mkfbvol: FB volume 1000 successfully created.
CMUC00025I mkfbvol: FB volume 1001 successfully created.
CMUC00025I mkfbvol: FB volume 1002 successfully created.
CMUC00025I mkfbvol: FB volume 1003 successfully created.
CMUC00025I mkfbvol: FB volume 1004 successfully created.
CMUC00025I mkfbvol: FB volume 1005 successfully created.
CMUC00025I mkfbvol: FB volume 1006 successfully created.
dscli> lsfbvol
Date/Time: April 24, 2016 5:27:08 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
Name ID accstate datastate configstate deviceMTM datatype extpool cap (2^30B) cap (10^9B) cap (blocks)
===================================================================================================================
test_fbvol_1000 1000 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
test_fbvol_1001 1001 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
test_fbvol_1002 1002 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
test_fbvol_1003 1003 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
test_fbvol_1004 1004 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
test_fbvol_1005 1005 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
test_fbvol_1006 1006 Online Normal Normal 2107- FB 512 P0 100.0 - 209715200
dscli> lsextpool
Date/Time: April 24, 2016 5:27:18 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
Name ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols
==============================================================================================
extfb_pool00 P0 fb 0 - 1767 28 1767 0 7
extfb_pool01 P1 fb 1 - 1558 0 1558 0 0

备注:之前P0的容量是2467GiB,创建7个LUN用去了700GiB,剩余1767GiB。下面再创建LUN,使用池P1。

dscli> mkfbvol -extpool P1 -cap 100 -name zhqz_vol_#h 1100-1107
Date/Time: April 24, 2016 5:44:53 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00025I mkfbvol: FB volume 1100 successfully created.
CMUC00025
I mkfbvol: FB volume 1101 successfully created.
CMUC00025I mkfbvol: FB volume 1102 successfully created.
CMUC00025I mkfbvol: FB volume 1103 successfully created.
CMUC00025I mkfbvol: FB volume 1104 successfully created.
CMUC00025I mkfbvol: FB volume 1105 successfully created.
CMUC00025I mkfbvol: FB volume 1106 successfully created.
CMUC00025I mkfbvol: FB volume 1107 successfully created.
dscli> lsextpool -l
Date/Time: April 24, 2016 5:45:11 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols numranks
=======================================================================================================
extfb_pool00 P0 fb 0 - 1767 28 1767 0 7 3
extfb_pool01 P1 fb 1 - 758 51 758 0 8 2

》创建volume group
dscli> mkvolgrp -type scsimask test_vg1
Date/Time: April 24, 2016 5:55:08 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00030I mkvolgrp: Volume group V0 successfully created.
dscli> mkvolgrp -type scsimask zhqz_vg
Date/Time: April 24, 2016 5:56:16 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00030I mkvolgrp: Volume group V1 successfully created.

查看确认
dscli> lsvolgrp -l
Date/Time: April 24, 2016 5:56:40 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID Type
=======================================
test_vg1 V0 SCSI Mask
zhqz_vg V1 SCSI Mask
All CKD V10 FICON/ESCON All
All Fixed Block-512 V20 SCSI All
All Fixed Block-520 V30 OS400 All

》将LUN加入到需要的volume group中
dscli> chvolgrp -dev IBM.2107-AZ00031 -name test_vg1 -action add -volume 1000,1001,1002,1003,1004,1005,1006 V0
Date/Time: April 24, 2016 6:08:08 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00031I chvolgrp: Volume group V0 successfully modified.
或者使用如下命令方式
dscli> chvolgrp -action add -volume 1100-1107 V1
Date/Time: April 24, 2016 6:09:11 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00031I chvolgrp: Volume group V1 successfully modified.

lsvolgrp的命令用法
Usage: lsvolgrp [ { -help|-h|-? } ] [ { -l (long)|-s (short) } ] [-fmt default|x
ml|delim|stanza] [-p on|off] [-delim char] [-hdr on|off] [-r #] [-v on|off] [-fu
llid] [-bnr on|off] [-dev storage_image_ID] [-type ficonall|scsiall|scsimask|scs
imap256|os400all|os400mask] [-volume volume_ID] [Volume_Group_ID ... | -]
Tip: Enter "help lsvolgrp" for more information.
查看某个卷组
dscli> lsvolgrp -l V0
Date/Time: April 24, 2016 6:11:51 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID Type
=====================
test_vg1 V0 SCSI Mask
通过LUN的ID查看LUN属于哪个卷组
dscli> lsvolgrp -volume 1102
Date/Time: April 24, 2016 6:15:28 PM CST IBM DSCLI Version: 5.3
.1.101 DS: IBM.21
07-AZ00031
Name ID Type
====================
zhqz_vg V1 SCSI Mask

》在使用IO port之前,我们要对其进行配置
使用lsioport查看机器上的port ID
dscli> lsioport
Date/Time: April 24, 2016 6:23:21 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
ID WWPN State Type topo portgrp
===========================================================
I0000 5234 Online Fibre Channel-LW - 0
I0001 5234 Online Fibre Channel-LW - 0
I0002 5234 Online Fibre Channel-LW - 0
I0003 5C234 Online Fibre Channel-LW - 0
I0010 5234 Online Fibre Channel-SW - 0
I0011 5234 Online Fibre Channel-SW - 0
I0012 5234 Online Fibre Channel-SW - 0
I0013 5C234 Online Fibre Channel-SW - 0
I0030 5234 Online Fibre Channel-SW - 0
I0031 5234 Online Fibre Channel-SW - 0
I0032 5234 Online Fibre Channel-SW - 0
I0033 5234 Online Fibre Channel-SW - 0
I0040 5C234 Online Fibre Channel-SW - 0
I0041 5234 Online Fibre Channel-SW - 0
I0042 5234 Online Fibre Channel-SW - 0
I0043 5234 Online Fibre Channel-SW - 0
I0100 5C234 Online Fibre Channel-LW - 0
I0101 5234 Online Fibre Channel-LW - 0
I0102 5234 Online Fibre Channel-LW - 0
I0103 5234 Online Fibre Channel-LW - 0
I0110 5C234 Online Fibre Channel-SW - 0
I0111 5234 Online Fibre Channel-SW - 0
I0112 5234 Online Fibre Channel-SW - 0
I0113 5234 Online Fibre Channel-SW - 0
I0130 5C234 Online Fibre Channel-SW - 0
I0131 5A0234 Online Fibre Channel-SW - 0
I0132 5A4234 Online Fibre Channel-SW - 0
I0133 5A8234 Online Fibre Channel-SW - 0
I0140 5AC234 Online Fibre Channel-SW - 0
I0141 5B0234 Online Fibre Channel-SW - 0
I0142 5B4234 Online Fibre Channel-SW - 0
I0143 5BC234 Online Fibre Channel-SW - 0
下面对ioport进行设置
一般情况下,我们都是连接到SAN switch上,要将其port属性改成scsi-fcp的,可选的连接形式为:fc-al 、scsi-fcp
和ficon。更改IO port的命令为setioport,命令格式如下:
setioport [-dev storage_image_ID] [-topology fc-al|scsi-fcp|ficon] Port_ID
dscli> setioport -topology scsi-fcp I0000 I0001 I0002 I0003 I0010 I0011
Date/Time: April 24, 2016 6:27:45 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00011I setioport: I/O Port I0000 successfully configured.
CMUC00011I setioport: I/O Port I0001 successfully configured.
CMUC00011I setioport: I/O Port I0002 successfully configured.
CMUC00011I setioport: I/O Port I0003 successfully configured.
CMUC00011I setioport: I/O Port I0010 successfully configured.
CMUC00011I set
ioport: I/O Port I0011 successfully configured.
dscli> lsioport
Date/Time: April 24, 2016 6:27:55 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
ID WWPN State Type topo portgrp
===============================================================
I0000 5234 Online Fibre Channel-LW SCSI-FCP 0
I0001 5234 Online Fibre Channel-LW SCSI-FCP 0
I0002 5234 Online Fibre Channel-LW SCSI-FCP 0
I0003 5C234 Online Fibre Channel-LW SCSI-FCP 0
I0010 5234 Online Fibre Channel-SW SCSI-FCP 0
I0011 5234 Online Fibre Channel-SW SCSI-FCP 0
I0012 5234 Online Fibre Channel-SW - 0
I0013 5C234 Online Fibre Channel-SW - 0
I0030 5234 Online Fibre Channel-SW - 0
I0031 5234 Online Fibre Channel-SW - 0
I0032 5234 Online Fibre Channel-SW - 0
I0033 5234 Online Fibre Channel-SW - 0
I0040 5C234 Online Fibre Channel-SW - 0
I0041 5234 Online Fibre Channel-SW - 0
I0042 5234 Online Fibre Channel-SW - 0
I0043 5234 Online Fibre Channel-SW - 0
I0100 5C234 Online Fibre Channel-LW - 0
I0101 5234 Online Fibre Channel-LW - 0
I0102 5234 Online Fibre Channel-LW - 0
I0103 5234 Online Fibre Channel-LW - 0
I0110 5C234 Online Fibre Channel-SW - 0
I0111 5234 Online Fibre Channel-SW - 0
I0112 5234 Online Fibre Channel-SW - 0
I0113 5234 Online Fibre Channel-SW - 0
I0130 5C234 Online Fibre Channel-SW - 0
I0131 5A0234 Online Fibre Channel-SW - 0
I0132 5A4234 Online Fibre Channel-SW - 0
I0133 5A8234 Online Fibre Channel-SW - 0
I0140 5AC234 Online Fibre Channel-SW - 0
I0141 5B0234 Online Fibre Channel-SW - 0
I0142 5B4234 Online Fibre Channel-SW - 0
I0143 5BC234 Online Fibre Channel-SW - 0

》建立host connection
查看主机类型
dscli> lshosttype -l -type scsimask
Date/Time: April 24, 2016 6:46:49 PM CST IBM DSCLI Version: 5.3.1.101
HostType Profile AddrDiscovery LBS Description
====================================================================================================
Hp HP - HP/UX reportLUN 512 HP Servers (HP-UX)
SVC San Volume Controller reportLUN 512 IBM SAN Volume Controller
SanFsAIX IBM pSeries - AIX/SanFS reportLUN 512 IBM SAN File System (AIX MDS)

pSeries IBM pSeries - AIX reportLUN 512 IBM pSeries, RS/6000 and RS/6
000 SP Servers (AIX)
zLinux IBM zSeries - zLinux reportLUN 512 IBM zSeries Servers (Linux)
查看此台机器接口profile
dscli> lsportprof IBM.2107-AZ00031
Date/Time: Apr
il 24, 2016 6:48:44 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
Profile AddrDiscovery LBS
=========================================
- Linux/SanFS LUNPolling 512
AMD - Linux RHEL LUNPolling 512
AMD - Linux Suse LUNPolling 512
Apple - OSX LUNPolling 512
Fujitsu - Solaris LUNPolling 512
HP - HP/UX reportLUN 512
HP - Open VMS LUNPolling 512
HP - Tru64 LUNPolling 512
IBM iSeries - OS/400 reportLUN 520
IBM iSeries - iLinux LUNPolling 512
IBM pSeries - AIX reportLUN 512
IBM pSeries - AIX/SanFS reportLUN 512
IBM pSeries - pLinux LUNPolling 512
IBM zSeries - zLinux reportLUN 512
Intel - Linux Desktop LUNPolling 512
Intel - Linux RHEL LUNPolling 512
Intel - Linux Red Flag LUNPolling 512
Intel - Linux Suse LUNPolling 512
Intel - Windows 2000 LUNPolling 512
Intel - Windows 2003 LUNPolling 512
Novell LUNPolling 512
SGI - IRIX LUNPolling 512
SUN - Solaris LUNPolling 512
San Volume Controller reportLUN 512
VMWare LUNPolling 512
查看主机连接
dscli> lshostconnect
Date/Time: April 24, 2016 6:52:10 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00234I lshostconnect: No Host Connections found.
创建映射卷组V0
dscli> mkhostconnect -wwname 5234 -profile "IBM pSeries -AIX" -volgr
p V0 -ioport I0000,I0001,I0002,I0003 P570-zwp-fcs0
Date/Time: April 24, 2016 6:57:01 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.2107-AZ00031
CMUC00012I mkhostconnect: Host connection 0000 successfully created.



再设置两个ioport
dscli> setioport -topology scsi-fcp I0012 I0013
Date/Time: April 24, 2016 7:00:25 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00011I setioport: I/O Port I0012 successfully configured.
CMUC00011I setioport: I/O Port I0013 successfully configured.
映射卷组V1

dscli> mkhostconnect -wwname 5235 -profile "IBM pSerise -AIX" -volgr
p V1 -ioport I0010,I0011 P570-zhqz-fcs0
Date/Time: April 24, 2016 7:21:05 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00012I mkhostconnect: Host connection 0001 successfully created.
dscli> lshostconnect
Date/Time: April 24, 2016 7:22:02 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID WWPN HostType Profile portgrp volgrpID ESSIOport
=======================================================================================================
P570-zwp-fcs0 0000 5234 - IBM pSeries -AIX 0 V0 I0000,I0001,I0002,I0003
P570-zhqz-fcs0 0001 5235 - IBM pSerise -AIX 0 V1 I0010,I0011

dscli> mkhostconnect -wwname 10000000C9BA5458 -profile "IBM pSerise -AIX" -volgrp V1 -ioport I0012,I0013 P570-zhqz-fcs1
Date/Time: April 24, 201
6 7:33:37 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00012I mkhostconnect: Host connection 0002 successfully created.
dscli> lshostconnect
Date/Time: April 24, 2016 7:34:01 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID WWPN HostType Profile portgrp volgrpID
ESSIOport
================================================================================

P570-zwp-fcs0 0000 5234 - IBM pSeries -AIX 0 V0
I0000,I0001,I0002,I0003
P570-zhqz-fcs0 0001 5235 - IBM pSerise -AIX 0 V1
I0010,I0011
P570-zhqz-fcs1 0002 10000000C9BA5458 - IBM pSerise -AIX 0 V1
I0012,I0013

dscli> rmhostconnect
CMMCI9022E Missing required parameter: Host_connection_ID.
Usage: rmhostconnect [ { -help|-h|-? } ] [-quiet] [-v on|off] [-bnr on|off] [-de
v storage_image_ID] Host_connection_ID | -
Tip: Enter "help rmhostconnect" for more information.
dscli> rmhostconnect 0000
Date/Time: April 24, 2016 7:37:50 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
CMUC00014W rmhostconnect: Are you sure you want to delete host connection 0000?
[y/n]:y
CMUC00015I rmhostconnect: Host connection 0000 successfully deleted.
dscli> lshostconnect
Date/Time: April 24, 2016 7:38:20 PM CST IBM DSCLI Version: 5.3.1.101 DS: IBM.21
07-AZ00031
Name ID WWPN HostType Profile portgrp volgrpID
ESSIOport
================================================================================
===========
P570-zhqz-fcs0 0001 5235 - IBM pSerise -AIX 0 V1
I0010,I0011
P570-zhqz-fcs1 0002 10000000C9BA5458 - IBM pSerise -AIX 0 V1
I0012,I0013

→每一对Extent Pool只能包含一种RAID模式。

师的组词-立意是什么意思


长颈鹿喜欢吃什么-贫瘠的反义词


什么是开音节和闭音节-鸳鸯拼音


乐只君子-髂怎么读


加组词-瘪


水龙吟辛弃-童山濯濯


别具一格的意思-台谏


双绞线分类-潺潺