从虚拟交换机迁移到分布式随机失败

我正在从虚拟交换机迁移到vCenter中的分布式交换机。

Windows服务器(DNS)-192.168.10.2

vCenter-192.168.10.5

我有2个具有以下esxi主机的群集。

计算集群

  • compute1.v.lab-vmk0(192.168.30.10),vmk1(192.168.30.11)
  • compute2.v.lab-vmk0(192.168.30.20),vmk1(192.168.30.21)

基础设施集群

  • Infrastructure1.v.lab-vmk0(192.168.20.10),vmk1(192.168.20.11)
  • Infrastructure2.v.lab-vmk0(192.168.20.20),vmk1(192.168.20.21)
  • Infrastructure3.v.lab-vmk0(192.168.20.30),vmk1(192.168.20.31)

I'm following this https://www.youtube.com/watch?v=eDJ3OfXTkLs for migrating via GUI, however, for some reason some esxi hosts migrated successfully while others failed. Both set of esxi hosts have similar configuration, in my situation the compute cluster esxi hosts migrated successfully, while infrastructure cluster hosts failed.

后来我尝试将2个vmnics添加到交换机,然后同时迁移vmnic0和vmk0,令人惊讶的是,它成功迁移了,但仅针对某些主机(似乎非常随机)迁移,因为当我以失败的相同方式尝试对另一台主机进行迁移时。

我的问题是,是否存在一种将主机从VSwitch迁移到DVSwitch的标准方法,因为我找不到任何东西,而且我已经连续三周没有成功地讨论过有关此问题的文章,我开始感到筋疲力尽。

vmk0和vmk1都可以ping通vCenter,vCenter也可以ping通esxi主机的两个接口。

[root@infrastructure1:~] vmkping -I vmk0 192.168.10.5    
PING 192.168.10.5 (192.168.10.5): 56 data bytes    
64 bytes from 192.168.10.5: icmp_seq=0 ttl=63 time=0.992 ms    
64 bytes from 192.168.10.5: icmp_seq=1 ttl=63 time=0.724 ms    
64 bytes from 192.168.10.5: icmp_seq=2 ttl=63 time=0.720 ms

--- 192.168.10.5 ping statistics ---    
3 packets transmitted, 3 packets received, 0% packet loss    
round-trip min/avg/max = 0.720/0.812/0.992 ms   

[root@infrastructure1:~] vmkping -I vmk1 192.168.10.5    
PING 192.168.10.5 (192.168.10.5): 56 data bytes   
64 bytes from 192.168.10.5: icmp_seq=0 ttl=63 time=0.731 ms    
64 bytes from 192.168.10.5: icmp_seq=1 ttl=63 time=0.895 ms    
64 bytes from 192.168.10.5: icmp_seq=2 ttl=63 time=1.497 ms     

--- 192.168.10.5 ping statistics ---    
3 packets transmitted, 3 packets received, 0% packet loss    
round-trip min/avg/max = 0.731/1.041/1.497 ms     

PS C:\Users\Administrator> ssh root@192.168.10.5    
Command> ping 192.168.20.10    
PING 192.168.20.10 (192.168.20.10) 56(84) bytes of data.    
64 bytes from 192.168.20.10: icmp_seq=1 ttl=63 time=1.06 ms    
64 bytes from 192.168.20.10: icmp_seq=2 ttl=63 time=1.19 ms    
64 bytes from 192.168.20.10: icmp_seq=3 ttl=63 time=0.686 ms    
64 bytes from 192.168.20.10: icmp_seq=4 ttl=63 time=0.833 ms    
^C    
--- 192.168.20.10 ping statistics ---    
4 packets transmitted, 4 received, 0% packet loss, time 9ms    
rtt min/avg/max/mdev = 0.686/0.942/1.194/0.196 ms     

Command> ping 192.168.20.11    
PING 192.168.20.11 (192.168.20.11) 56(84) bytes of data.    
64 bytes from 192.168.20.11: icmp_seq=1 ttl=63 time=0.798 ms    
64 bytes from 192.168.20.11: icmp_seq=2 ttl=63 time=1.11 ms    
64 bytes from 192.168.20.11: icmp_seq=3 ttl=63 time=1.13 ms    
64 bytes from 192.168.20.11: icmp_seq=4 ttl=63 time=0.689 ms    
^C   
--- 192.168.20.11 ping statistics ---    
4 packets transmitted, 4 received, 0% packet loss, time 33ms    
rtt min/avg/max/mdev = 0.689/0.931/1.129/0.195 ms

An error occurred while communicating with the remote host

vmk adapter on infrastructure1 host

vmk adapter on infrastructure2 host

vmk adapter on infrastructure3 host

Ping response from interface (ping & vmkping)

评论