Hi, im my environment, the server is running ESXI 6.2 and the vm is rhel 7.2。 I cut the PF into 4 V like below
[root@localhost:~] lspci |grep MT
0000:82:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3] [vmnic4]
0000:82:00.1 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function] [PF_0.130.0_VF_0]
0000:82:00.2 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function] [PF_0.130.0_VF_1]
0000:82:00.3 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function] [PF_0.130.0_VF_2]
0000:82:00.4 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function] [PF_0.130.0_VF_3]
then the vm use one of the VF, like:
[root@db1 ~]# ibstatus
Infiniband device ‘mlx4_0’ port 1 status:
default gid: fe80:0000:0000:0000:0014:0500:0000:0001
base lid: 0x8
sm lid: 0x4
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 56 Gb/sec (4X FDR)
link_layer: InfiniBand
Infiniband device ‘mlx4_0’ port 2 status:
default gid: fe80:0000:0000:0000:0014:0500:0000:0005
base lid: 0xb
sm lid: 0x4
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 56 Gb/sec (4X FDR)
link_layer: InfiniBand
once the sever and IB switch lose power ,the guid of the HCA in vm changes 。
Last login: Fri Mar 17 21:26:54 2017 from 192.168.0.26
[root@db1 ~]# ibstatus
Infiniband device ‘mlx4_0’ port 1 status:
default gid: fe80:0000:0000:0000:0014:0500:0000:0002
base lid: 0x8
sm lid: 0x4
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 56 Gb/sec (4X FDR)
link_layer: InfiniBand
Infiniband device ‘mlx4_0’ port 2 status:
default gid: fe80:0000:0000:0000:0014:0500:0000:0001
base lid: 0xb
sm lid: 0x4
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 56 Gb/sec (4X FDR)
link_layer: InfiniBand
does somebody encounter the same situation? welcome to discuss
my email is 578155689@qq.com mailto:578155689@qq.com