vmax划盘

先说几个概念
initiator group(IG):小机的wwn号 group,map给那些小鸡
port group(PG):  存储前端端口集合,从存储的那些前端口出去
storage group(PG):要map的lun的group  map给小机那些lun
masking view :集合以上3个group,就可以把lun map给小机
1.Create Initiators and Initiator Groups
方法1:Unisphere for VMAX
先到阵列的管理机里面,打开Unisphere for VMAX web 站点
https://localhost:8443/univmax  
点击Hosts > Create New Host
选择要配置的vmax的Symmetrix ID,输入一个Host name 如: esx01
在Initiator/Initiator Group 处输入或者选择主机的pwwn号,一般情况下每台主机最少2个,Show Advanced 然后 Set Initiator Flags
选择:
Common_Serial_Number(C)  Override and Enable
SPC2_Protocol_Version(SPC2) Override and Enable
Consistent LUNs
点击 Finish
方法2:cli方式
首先为initiator group需要的pwwn号创建一个txt文件
如txt文件名字:initiatorX.txt 格式如下
WWN:20000025B502xxxx
WWN:20000025B502xxxx
创建完成后输入如下命令:
symaccess -sid create -name -type inititator -file
验证:
symaccess -sid list | findstr /i "some unique characters in initiator name"
The findstr /i is optional and only to narrow the search results
2.Creating a Port Group
如 ESXi boot Port Group:
Hosts > Port Groups > Create
Port Group Name   - set to logical name 如: ESX01_BOOT
Add the same FA ports that you've zoned the host to on the switch, typically at least 4 ports
点击 OK
CLI:
symaccess -sid create -name -type port -dirports
Where Director FA is in format 11F and Port is either port 0 or port 1
3.Creating a Storage Group
如:ESXi Boot Storage:
Storage Group Name - set to logical name i.e. ESX01_BOOT
Manual Selection and click Next
Select the Filter icon and the Volume Identifier menu then click Show Advanced
Enter the Volume Identifier Name and hit Enter key i.e. ESX01_BOOT added same identifier when creating the volume
Click Add to Group to add the volume
Click Finish
From CLI:
symaccess -sid create -name -type storage -devs  
4.Creating a Masking View
如 ESXi boot masking view
Go to Hosts > Masking Views > Create
Enter a name 如: ESX01_BOOT
Select the Initiator Group - hopefully similar name
Select the Port Group - again, hopefully a similar name
Select the Storage Group - """""""
点击 Set dynamic LUNs 确保他设置为0 ,然后点击cancel
点击 OK
CLI:
symaccess -sid create view -name -storgrp -portgrp -initgrp
验证:
symaccess -sid show view  


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章