EMC VMAX10k 前端埠詳解和磁碟劃分過程

wangbinneuq發表於2015-10-29
EMC VMAX10k 前端埠詳解和磁碟劃分過程
作者:H.sdon   
轉載請註明:http://blog.itpub.net/blog/post/draftid/43153/
相關命令參考EMC文件:

本文針對EMC POOL池已經劃好,操作過和為VPthin裝置劃分過程

一、初識前端埠


FA埠詳解:

針對本公司VMAX 10K儲存。

每個機櫃有兩個ENGINEBAY1後面重右到左為dir1,和dir2, BAY2後面重右到左為dir3,和dir4

每個DIRSLOT3,SLOT4中有8FA埠,從左下角開始E0,E1,F0,F1,G0,G1,H0,H1

下載更出了所有的的前端 port埠,FA-1EFA代表前端埠,1E0代表1E Director上的0

[root@ABM-APP1 bin]# ./symcfg list -fa all -sid 404

Symmetrix ID: 000298700404 (Local)

           S Y M M E T R I X    F I B R E   D I R E C T O R S

    Dir    Port  WWN               Flags  Max

                                   AVPFG  Speed

    FA-1E   0    50000975F0065100  X.X..      8

    FA-1E   1    50000975F0065101  X.X..      8

    FA-2E   0    50000975F0065104  X.X..      8

    FA-2E   1    50000975F0065105  X.X..      8

    FA-3E   0    50000975F0065108  X.X..      8

    FA-3E   1    50000975F0065109  X.X..      8

    FA-4E   0    50000975F006510C  X.X..      8

    FA-4E   1    50000975F006510D  X.X..      8

    FA-1F   0    50000975F0065140  X.X..      8

    FA-1F   1    50000975F0065141  X.X..      8

    FA-2F   0    50000975F0065144  X.X..      8

    FA-2F   1    50000975F0065145  X.X..      8

    FA-3F   0    50000975F0065148  X.X..      8

    FA-3F   1    50000975F0065149  X.X..      8

    FA-4F   0    50000975F006514C  X.X..      8

    FA-4F   1    50000975F006514D  X.X..      8

    FA-1G   0    50000975F0065180  X.X..      8

    FA-1G   1    50000975F0065181  X.X..      8

    FA-2G   0    50000975F0065184  X.X..      8

    FA-2G   1    50000975F0065185  X.X..      8

    FA-3G   0    50000975F0065188  X.X..      8

    FA-3G   1    50000975F0065189  X.X..      8

    FA-4G   0    50000975F006518C  X.X..      8

    FA-4G   1    50000975F006518D  X.X..      8

    FA-1H   0    50000975F00651C0  X.X..      8

    FA-1H   1    50000975F00651C1  X.X..      8

    FA-2H   0    50000975F00651C4  X.X..      8

    FA-2H   1    50000975F00651C5  X.X..      8

    FA-3H   0    50000975F00651C8  X.X..      8

    FA-3H   1    50000975F00651C9  X.X..      8

    FA-4H   0    50000975F00651CC  X.X..      8

    FA-4H   1    50000975F00651CD  X.X..      8


二、配置舉例

本次計劃使用第三個engineF1口和第四個engineF1口,即3f:1,4f:1

1.         光纖交換機zone劃分

1./symcfg list -fa all -sid 404找出所需要使用的3f:1,4f:1 wwn

./symcfg list -fa all -sid 404

……

FA-3F   1    50000975F0065149  X.X..      8

……

FA-4F   1    50000975F006514D  X.X..      8

         2)在AIX系統中使用lscfg –vpl fcsx找出HBA卡的wwn

10000000C9737DC2

10000000C9894DBD

         3)登入上CISCO光纖交換機

         show flogi database 找到上述FA口和hba卡的對應埠

MDS-1(config-if)# show flogi database

--------------------------------------------------------------------------------

INTERFACE        VSAN    FCID           PORT NAME               NODE NAME      

--------------------------------------------------------------------------------

fc1/1            1     0x030100  50:00:09:75:f0:06:51:00 50:00:09:75:f0:06:50:00

fc1/2            1     0x030200  50:00:09:75:f0:06:51:01 50:00:09:75:f0:06:50:00

fc1/3            1     0x030300  50:00:09:75:f0:06:51:40 50:00:09:75:f0:06:50:00

fc1/4            1     0x030400  50:00:09:75:f0:06:51:41 50:00:09:75:f0:06:50:00

fc1/5            1     0x030600  50:00:09:75:f0:06:51:80 50:00:09:75:f0:06:50:00

fc1/6            1     0x030500  50:00:09:75:f0:06:51:81 50:00:09:75:f0:06:50:00

fc1/7            1     0x030700  50:00:09:75:f0:06:51:c0 50:00:09:75:f0:06:50:00

fc1/8            1     0x030900  50:00:09:75:f0:06:51:c1 50:00:09:75:f0:06:50:00

fc1/9            1     0x030800  50:00:09:75:f0:06:51:08 50:00:09:75:f0:06:50:00

fc1/10           1     0x030a00  50:00:09:75:f0:06:51:09 50:00:09:75:f0:06:50:00

fc1/11           1     0x030c00  50:00:09:75:f0:06:51:48 50:00:09:75:f0:06:50:00

fc1/12           1     0x030b00  50:00:09:75:f0:06:51:49 50:00:09:75:f0:06:50:00

fc1/13           1     0x030d00  50:00:09:75:f0:06:51:88 50:00:09:75:f0:06:50:00

fc1/14           1     0x030e00  50:00:09:75:f0:06:51:89 50:00:09:75:f0:06:50:00

fc1/15           1     0x030f00  50:00:09:75:f0:06:51:c8 50:00:09:75:f0:06:50:00

fc1/16           1     0x031000  50:00:09:75:f0:06:51:c9 50:00:09:75:f0:06:50:00

fc1/17           1     0x031100  50:01:43:80:28:ce:c5:ac 50:01:43:80:28:ce:c5:ad

fc1/18           1     0x031200  50:01:43:80:28:ce:c5:ae 50:01:43:80:28:ce:c5:af

fc1/19           1     0x031300  50:01:43:80:28:ce:c5:dc 50:01:43:80:28:ce:c5:dd

fc1/20           1     0x031400  50:01:43:80:28:ce:c5:de 50:01:43:80:28:ce:c5:df

fc1/21           1     0x031500  10:00:00:00:c9:89:4d:bd 20:00:00:00:c9:89:4d:bd

第二臺交換機略

由上我們可以知道光纖交換機的fc1/12,fc1/21為我們要配置的zone

配置ZONE

MDS-1(config)# zone name zone_migtest_hba1 vsan 1    #新建ZONE

MDS-1(config-zone)# member interface fc 1/12     

MDS-1(config-zone)# member interface fc 1/21      #fc1/12,fc1/21口劃入zone

MDS-1(config)# zoneset name zoneset_HP-DL980G7_Server vsan 1  #進行zoneset

MDS-1(config-zoneset)# member zone_migtest_hba1     #將新建zone memberzoneset

MDS-1(config)# zoneset  activate name zoneset_HP-DL980G7_Server vsan 1    #啟用zoneseg

MDS-1# copy running-config startup-config     #將修改配置存入啟動配置裡


小知識:當我檢視ZONEZONESET的時候,如果FCID前有“*”號,說明鏈路已經連線

MDS-1# show zone active

zone name zone_HP-DL980G7_1 vsan 1

* fcid 0x031100 [interface fc1/17 swwn 20:00:00:2a:6a:36:1d:d0]

* fcid 0x030300 [interface fc1/3 swwn 20:00:00:2a:6a:36:1d:d0]

……

zone name zone_migtest_hba1 vsan 1

* fcid 0x030c00 [interface fc1/11 swwn 20:00:00:2a:6a:36:1d:d0]

* fcid 0x031500 [interface fc1/21 swwn 20:00:00:2a:6a:36:1d:d0]

第二臺光纖交換機配置同上,此處略

2.         AIX主機cfgmgr –v

如果我們此時在AIX主機中執行cfgmgr –v,可以發現已經識別到了一塊EMC儲存的盤,此盤是主機和EMC儲存的訪問控制盤,說明主機和儲存鏈路已經通

3.         Enable solution劃分儲存組

整個過程:建立TDEVàbind tdevpoolàinitiatoràportàstorageàmasking view六步

1)劃分前準備工作

./symdev -sid 404 list更出所有裝置

./symcfg -sid 404 list –pool

./symaccess -sid 404 list

./symaccess -sid 404 list view

……

2)建立過程

./symconfigure -sid 404 -cmd "create dev count=1,size=500 GB,emulation=FBA,config=TDEV,meta_member_size=125 GB;" preview

./symconfigure -sid 404 -cmd "create dev count=1,size=500 GB,emulation=FBA,config=TDEV,meta_member_size=125 GB;"  commit

./symconfigure -sid 404 -cmd "bind tdev 0357:035A to pool VP_FC600_MIR,preallocate size=All;" preview

./symconfigure -sid 404 -cmd "bind tdev 325:356 to pool VP_FC600_MIR,preallocate size=All;"  commit

./symaccess -sid 404 create -name migtest_ig -type initiator -wwn "10000000C9894DBD"

./symaccess -sid 404 add -name migtest_ig -type initiator -wwn "10000000C9737DC2"

./symaccess -sid 404 create -name migtest_pg -type port -dirport "3f:1,4f:1"

./symaccess -sid 404 create -name migtest_sg -type storage -devs "357"

./symaccess -sid 404  create view -name migtest_view -sg migtest_sg -ig migtest_ig -pg migtest_pg

4.         安裝EMC AIX ODM

1)下載

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14012827/viewspace-1818600/,如需轉載,請註明出處,否則將追究法律責任。

相關文章