分类:
2006-11-24 21:38:30
VMkernel网络接口在VI3中用于NFS, iSCSI和VMotion
1) VMkernel for NFS:
大部分的工作都在NFS Server那边,主要注意的是权限定义,如果NFS server那边不允许root权限(no root squash),则ESX这边必须使用delegated user(ESX缺省使用的为root).
另外,注意允许的IP地址应为VMkernel的IP地址,而且也只需要这个地址就足够了。这点可以通过在NFS Server端showmount –a看出。为了NFS, ESX这端可以不定义Service Console端口,但定义了的好处是可以用showmount –e NFS_server来显示对方share的目录
通过NFS的试验,也验证了ESX中是可以定义多个VMkernel port group的,例如你有两个NFS Server, 一个是在
2) VMkernel for iSCSI
以下来自Server Configuration Guide 第20页:Unlike other VMkernel services, iSCSI has a service console component, so networks that are used to reach iSCSI targets must be accessible to both service console and VMkernel TCP/IP stacks.
实现以上要求可以通过两种方法,第一种是将Service Console和VMkernel配置在同一网段,并在同一switch.
第二种通过配置路由实现。以下是VI3 Training lecture中的原话:
• Both service console network port and VMotion/IP storage port need to be able to access the iSCSI storage
• Two ways to do this:
• Have service console port and VMotion/IP storage port share a vmnic and be in the same subnet
• have routing in place so both the Service Console port and VMotion/IP storage port can access the storage
同样的,在iSCSI Storage端,做LUN mapping时,由于Service Console和VMkernel都需要访问到iSCSI target(其实是Service Console做authentication, 然后VMkernel完成数据通讯), 因此如果是map to IP的方式,如EqualLogic, 就必须同时赋予Service Console和VMkernel的IP, 当然,最简单和直接的方式解释赋给iqn.
3) VMkernel for VMotion
VMotion的定义方式和ESX2.5没有区别,你可以为其定义专门的port group, 并且你只需把你用于VMotion的那个VMkernel portgroup上enable VMotion就可以了。需要注意的是,两边的VMotion的port group名字一样,使用同样的VLAN ID, IP地址只要在同一个网段,如