maxhighsky
2 Bronze

how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

i have 

1) EMC VMAX 20K SE storage,

2) Linux host server with the Symantec DMP software installed

3) the storage device is already created

4) the initiator  group and Storage group, Storage View  are created

so, which parameter should be modify for the initiator group ,then the Linux host with DMP can recognize the storage device from the EMC VMAX 20k SE.

thanks!

标签 (1)
0 项奖励
1 解答

已接受的解答
Zhang_Jiawen
4 Beryllium

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

主机端如果装了Solutions Enabler,可以用以下命令检查一下:

symaccess list hba

列出 HBA 的WWN以及分配给该HBA的LUN,先看下HBA能否被存储识别到

symaccess -sid XX list -type initiator

列出已创建的Initiator Groups

symaccess -sid XX list -type initiator -wwn xxxx

检查 HBA WWN xxxx  Initiator Group创建时是否使用了正确的WWN

然后就是确保SCSI Flag在IG level正确配置(默认情况下 VMAX FA 这些Flag已经配好.),以及mask view中使用了正确的Initiator group, storage group,以及port group。

如果问题还是没有办法解决,建议联系售后工程师拨入检查。

在原帖中查看解决方案

0 项奖励
12 回复数
Zhang_Jiawen
4 Beryllium

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

DMP与主机识别VMAX lun没有关系,所以无需特别修改参数,正常操作步骤即可:

创建新的 Storage Group :
symaccess -sid xxx create -name sample_SG -type storage devs <Symdev name>:<Symdev name>

验证该Storage Group已被创建:
symaccess -sid xxx show sample_SG -type storage

创建新的Port Group:
symaccess -sid xxx create -name sample_PG -type port -dirport 7e:0,10e:0

验证该 Port Group 已创建 :
symaccess -sid xxx show sample_PG -type port

创建新的 Initiator Group :
symaccess -sid xxx create -name sample_IG -type initiator -wwn <HBA1 WWPN> -consistent_lun
symaccess -sid xxx add -name sample_IG -type initiator -wwn <HBA2 WWPN>

验证该 Initiator Group 已创建:
symaccess -sid xxx show sample_IG -type initiator

验证 consistent lun 是否enabled :
symaccess -sid xxx show sample_IG -type initiator -detail

创建包含该 Storage Group, Port Group, 和Initiator Groupmapmask:
symaccess -sid xxx create view -name sample_view -sg sample_SG -pg sampl e_PG -ig sample_IG

验证该masking view已成功 :
symaccess -sid xxx show view sample_view

0 项奖励
maxhighsky
2 Bronze

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

Hi :

  由于赛门SF软件对存储对接DMP软件,有一定的设置建议 可以参考如下

1.all LUNs are set for SCSI-3 PGR

1.EMC.png

2.Initiator port flag也需要设置

2.EMC.png

烦请看下,在SMC(storage Management Console上 应该如何设置,谢谢

0 项奖励
maxhighsky
2 Bronze

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

Hi :

  由于赛门SF软件对存储对接DMP软件,有一定的设置建议 可以参考如下

1.all LUNs are set for SCSI-3 PGR

1.EMC.png

2.Initiator port flag也需要设置

2.EMC.png

烦请看下,在SMC(storage Management Console上 应该如何设置,谢谢

0 项奖励
Zhang_Jiawen
4 Beryllium

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

这些比特位的设置是为了使LUN能够正确地工作于DMP软件,但和主机能否识别LUN没有关系。这些比特位的设置可以通过SE命令或SMC(现在已经升级为Unisphere for VMAX)。

你的问题是已知有哪些比特位需要设置,但不知道如何在SMC下操作对吗?

你的SMC版本是多少?

0 项奖励
maxhighsky
2 Bronze

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

是的 请指导下 该如何在SMC下对相应属性进行设置 谢谢

SMC版本 V7.3.3.3

0 项奖励
Zhang_Jiawen
4 Beryllium

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

可通过更改initiator level或port level属性来实现,你可以在support.emc.com搜索Symmetrix Management Console Online Help,这里把部分说明截取给你:

To modify an initiator group:

  1. Right-click an initiator group name and select Device Masking and Mapping, Initiator Groups Maintenance, Modify Initiator Group to open the Initiator Group Management - Modify dialog box.
  2. Add or remove required initiators/groups from the group.
  3. Optional: Type the name of a new initiator and click Add to add it to the initiator group.
  4. Optional: Select Consistent LUNs to specify that LUN values for the initiator group must be kept consistent for all devices within each masking view of which this initiator group is part.
  5. Optional: Click Set HBA Flags to open the Set HBA Flags dialog box, from which you can individually override the port attributes.
  6. Click OK.
0 项奖励
maxhighsky
2 Bronze

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

连接这台Linux主机到VMAX存储后,我在VMAX存储上创建该主机Initiator Group时无法看到该主机的两个端口WWN。但是在对应的VMAX存储端口视图下却能看到该Linux主机的端口WWN,请问这种情况是设置的问题吗?应该怎么解决?谢谢。

0 项奖励
Zhang_Jiawen
4 Beryllium

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

主机端如果装了Solutions Enabler,可以用以下命令检查一下:

symaccess list hba

列出 HBA 的WWN以及分配给该HBA的LUN,先看下HBA能否被存储识别到

symaccess -sid XX list -type initiator

列出已创建的Initiator Groups

symaccess -sid XX list -type initiator -wwn xxxx

检查 HBA WWN xxxx  Initiator Group创建时是否使用了正确的WWN

然后就是确保SCSI Flag在IG level正确配置(默认情况下 VMAX FA 这些Flag已经配好.),以及mask view中使用了正确的Initiator group, storage group,以及port group。

如果问题还是没有办法解决,建议联系售后工程师拨入检查。

在原帖中查看解决方案

0 项奖励
maxhighsky
2 Bronze

Re: how to mapping the EMC VMAX devices to Linux host with Symantec DMP installed?

跳至解决方案

hi Jiawen:

    关于官方建议的VMAX存储对接Linux主机,如下FA port的Disable Queue Reset on Unit Attention属性需要选择,请问不设置有什么影响?谢谢!

    3.EMC.png

0 项奖励