开始新对话

此帖子已超过 5 年

Solved!

Go to Solution

5367

2015年11月24日 22:00

can EMC Powerpath work with linux client on hyper-v

hi, i want to confirm that ,does EMC powerpath work with the virtual fibre channel in a linux client on hyper-v virtual platform.

I have post a question here at microsoft forum ,the link was here:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/b415a8d7-2bf9-40e1-bdd8-7f2ef1124936/how-to-using-virtual-fibre-channel-feature-in-ic-35?forum=linuxintegrationservices

but now ,the linux integration service version was 4 , and i have tested centos 5.11 and redhat 6.6 with linux IC4, but i can see nothing using powermt display dev=all and no hba card info using command lspci. i have used virtual  fibre channel in microsoft os client long time.

the os i have tested in the supported list of microsoft

https://technet.microsoft.com/en-us/library/dn531026.aspx

any help there ?

7 消息

2015年12月23日 18:00

各位,我的问题似乎解决了,目前我使用

https://github.com/LIS/lis-next 这个地方的源码来编译最新版本的hyper-v linux 集成插件(你需要安装开发工具、内核源码,然后执行目录下的install script )

目前的hyper-v 集成插件版本如下,使用最新的lis 4.1-alpha-1 之后,使用fdisk -l 不再报错,可以看到多个盘sda,sdb etc, 我后面会尝试装上多路径软件后,看看使用效果:(因为目前lis还是alpha状态,可能还要等等4.1正式版,如果用于生产环境的话,因为我的初衷是想把oracle 跑在hyper-v 平台的虚拟机上)

filename:       /lib/modules/2.6.32-573.el6.x86_64/extra/hv_vmbus.ko
version:        4.1-alpha-1
license:        GPL
srcversion:     52E0774A02CA47A569646F6
alias:          acpi*:VMBus:*
alias:          acpi*:VMBUS:*
depends:
vermagic:       2.6.32-573.el6.x86_64 SMP mod_unload modversions
 

4K 消息

2015年11月25日 19:00

Hi Yoke,

本版块是EMC Support Community 下的中文版块,为了方便论坛中的中文用户阅读,我将用中文回复。如果您需要更多国外专家看到您的提问的话,也可以直接在 Support Community 的相对应版块中提问。


关于你的问题,PowerPath支持Hyper-V环境下的vHBA,只要物理HBA支持NPIV (N-Port ID Virtualization),当然SAN网络也必须是NPIV Enabled。不过在Parent Partition和Child Partition上的支持程度有一些不同,具体可以参考PowerPath Product Guide:

https://support.emc.com/docu56483_PowerPath-Family-6.x-Product-Guide.pdf?language=en_US


微软Hyper-V本身对启用Virtual Fibre Channel也有要求,可以参考他们的说明看看是不是都符合了:

https://technet.microsoft.com/en-us/library/hh831413.aspx

7 消息

2015年11月25日 23:00

您好 roger,

  创建帖子的时候发现界面都是英文,以为要提交到英文的站点上,结果发现还在中文论坛。

  至于我的情况,我现在环境都满足微软对VHBA的支持情况,微软所说的几个点都满足,因为我在windows 的虚拟机已经使用vHBA 成功了,从2014年就成功了,但是在linux 上一直不成功,我曾经把一块盘挂到linux上测试,但是总测不通,后面把这个VM的系统换成windows 就可以连到后端存储了。我之前怀疑是windows Hyper-v 对linux的支持程度不够,但是从2014年开始,我测试了多个较新版本的Linux(这些linux在微软的VHBA支持列表中,我也使用了最新版本的Hyper-v 我的宿主机都是2012 r2的系统,Linux虚拟机使用的集成插件我是使用最新的LIS4 ,但是执行powermt display dev=all 要么看不到卡和通道,要么就是powermt display dev=all 可以看到通道,但是使用fdisk 分不了盘,盘好像是只读的状态。

所以我现在的问题是powerpath 支持到底还是不支持虚拟机中,特别是linux 虚拟机中使用hyper-v VHBA 功能连接后端存储。因为目前我测试了linux 虚拟机使用VHBA已经接近两年,一直不成功,现在倒是怀疑是powerpath 的问题。另外我在linux(物理机)使用powerpath 连接EMC Vplex时也是成功的。

微软的几点要求

•One or more installations of Windows Server 2012 with the Hyper-V role installed. Hyper-V requires a computer with processor support for hardware virtualization. 宿主机是2012R2,硬件支持虚拟化。条件满足。

•A computer with one or more Fibre Channel host bus adapters (HBAs) that have an updated HBA driver that supports virtual Fibre Channel. Updated HBA drivers are included with the in-box HBA drivers for some models. The HBA ports to be used with virtual Fibre Channel should be set up in a Fibre Channel topology that supports NPIV, a maximum transfer size of at least 0.5MB, and data transfers of at least 128 physical pages. To determine whether your hardware supports virtual Fibre Channel, contact your hardware vendor or OEM. 宿主机有一个或者多个光纤卡,且支持NPIV,并且驱动已经更新(以上条件都满足)。

•An NPIV-enabled SAN. 支持NPIV的SAN (支持)。

•Virtual machines configured to use a virtual Fibre Channel adapter, which must use Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012 as the guest operating system. (虚拟机的系统是2008,2008r2 ,server 2012 或者更高,这里漏了其实很多Linux也被支持了,我测试的linux 在这些支持列表中,而且更新了最新的linux 集成插件)。

•Storage accessed through a virtual Fibre Channel supports devices that present logical units. Virtual Fibre Channel logical units cannot be used as boot media.(测试不涉及使用到该功能)

7 消息

2015年11月25日 23:00

另外一个问题:

假设powerpath 对parent partition 和child partition的支持确实不同,那么我要使用VHBA 在linux 上连接EMC后端存储,是否可以使用其他多路径软件,那么我该如何操作才能连接到EMC后端存储?

4K 消息

2015年11月26日 00:00

不清楚是不是RedHat/CentOS端配置问题,我看了下Red Hat官网,它对Hyper-V环境NPIV配置有一些额外操作步骤,你有试过吗?

How do I access NPIV-enabled Fibre Channel storage from within Red Hat Enterprise Linux 5.9 or 6.4 guests on Microsoft W…

另外如果没有买PP license的话,主机自带的MPIO软件也能基本满足日常使用要求了。

4K 消息

2015年11月26日 01:00

另外主机自带MPIO连接EMC存储的文档可以在support.emc.com上搜索并下载各种Host Connectivity Guide。

https://support.emc.com/search/?text=host%20connectivity%20guide&searchLang=en_US

7 消息

2015年11月26日 03:00

这个帖子我看过,但是后面针对虚拟机的操作很像是hyper-v 使用pass-through disk的步骤,而不是使用虚拟光签卡直接链接存储,之前在npiv没出现之前,就是使用pass-through 的技术,大概就是宿主机上分配这个盘,然后离线,然后直接挂这个盘给虚拟机使用,但这个不是npiv 的技术,我当时看了这个帖子都觉得糊涂了,后面根本没有光纤卡的什么事,还有多路径设置的都没提。

7 消息

2015年11月26日 03:00

这两天我看看这个host 不使用powerpath 连存储的方法。现在是两个问题,一是vhba 的硬件听说是 vmbus 模拟出的,lspci看不到,cat /proc/scsi 也找不到vhba 卡的信息,不知道是vhba 操作系统层面没有看到,还是powerpath 不支持child partition 上的 vhba,我看到之前你给我发的 powerpath 文档最后面有个表中 powerpath.family support

中npiv 支持aix 和 windows ,linux unix 不支持。

4K 消息

2015年11月26日 20:00

那就先配置主机MPIO连接NPIV存储的方法吧,具体命令还是在Red Hat官网找:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/

5 Practitioner

 • 

274.2K 消息

2015年11月27日 01:00

多路径软件需要装在Hyper-V的物理机上,而不是Linux client上。 Powerpath/VE可以装在Hyper-V为物理机提供多路径保护,然后Linux client就不要安装多路径软件了。

7 消息

2015年12月23日 19:00

微软官方的download 连接和github上的是一个东西,但是正式发布的版本就是微软download上面的,而github上随时会进行修改(微软已经把lis 在github上开源了,但是维护人员可能还是微软居多吧)

4K 消息

2015年12月23日 19:00

太厉害了!

不过这个github上的版本和官网上的版本有啥区别?https://www.microsoft.com/en-us/download/details.aspx?id=46842

看到维护者很多都是MS的人。

1.6K 消息

2015年12月24日 18:00

赞一下lz的动手能力和主动分享。我把你的这个回复先mark成正确答案。

找不到事件!

Top