VMware vSphere

 View Only
  • 1.  Error: An error occurred while communicating with the remote host ?

    Posted Dec 21, 2024 10:21 AM

    Hi All,

    I'm seeing this error and not able to figure what the issue is, this only happens when I try to migrate the last port from vSS to vDS, there is no portgroup configuration assiciated with this, just trying to migrate the port.

    Earlier I thought this was due to changing the name of the Uplinks, and found this Migrate ESXi from vSS to vDS v7.0 - Fails: ThrowableProxy.cause - Technology Blogs - Primarily focusing on Virtualization / Hybrid Cloud (shuttletitan.com)

    Error: An error occurred while communicating with the remote host.
    Network Configuration change disconnected the host from vCenter server and has been rolled back.
    ThrowableProxy.cause
    A change in the network configuration disconnected the host from vCenter Server. The change has been rolled back.

    But even if I don't change the uplink names still see this error, and found this explanation from VMware

    Networking Configuration Operation Is Rolled Back and a Host Is Disconnected from vCenter Server (vmware.com)

    Can someone confirm this fix works for this issue ?

    I have been working on this for the whole week now, and not able to find where the issue lies..

    Thank You



  • 2.  RE: Error: An error occurred while communicating with the remote host ?

    Posted Dec 22, 2024 02:05 AM

    Hello,

    this is standard setup for vmware. As you can see in the link, which you provided. The problem is not with portgroup name. This exactly means that your host will lose access to vCenter after "migration". When this happen after some ESXi host management network configuration, the config changes are reverted automatically. You can migrate entire host from vSS to vDS instantly (the same uplinks, the same config). Only you must choose new portgroups for all kernel ports (and of course for any portgroup, which is already in use) - whole this config is performed via "ADD host to vDS" Migrate VMkernel Adapters to a vSphere Distributed Switch

    You can choose the new uplinks and ensure the same (portgroup with the same vLAN and config on switches). The portgroup used for kernel can´t be used for VMs. And migration of vmkernel is performed from Host -> Configuration -> Networking/Virtual Switches -> choose target vDS and click to ... -> Migrate VMKernel adapter

    In this scenario depends on your network configuration. If there is redundant uplink (Active/active - there could some loop happen), If you have one uplink or Active/standby redundancy) - you can lose access after last uplink migration. In all cases, this looks like some network mismatch between your old and new uplinks. (Simply, new uplinks/portgroups have not access to vCenter)




  • 3.  RE: Error: An error occurred while communicating with the remote host ?

    Posted Dec 23, 2024 06:42 AM

    Hi @janatlud

    Thanks for all the detail.

    Something not clear from your reply.

    Should I have 2 management vmkernel portgroups, 1 on the vSS and 1 on vDS for smooth migration, and only migrate 1 vmkernel with 1 vmnic at a time ?




  • 4.  RE: Error: An error occurred while communicating with the remote host ?

    Posted Dec 23, 2024 06:43 AM

    Thanks @janatlud

    In case anyone else comes across this problem, seems the Uplink in vDS was being used by the Management portgroup.

    I changed the Management portgroup Teaming policy and removed the uplink that the Management portgroup won't be using, then performed the migration, and the vmnics migrated without issues.

    This was tested on multiple servers and the migration was without isues.




  • 5.  RE: Error: An error occurred while communicating with the remote host ?

    Posted Dec 22, 2024 05:35 AM

    It has nothing attached to it, which is why I'm not understanding why its not migrating…




  • 6.  RE: Error: An error occurred while communicating with the remote host ?

    Posted Dec 22, 2024 02:46 PM

    Your problem indicates something else. When the this revert mechanism is available after network modification on management network, there must be management network on your vSwitch. And the ESXi host is not able to reach vCenter via management network after your migration, it is reason of the config revert. So there must be the management network on your vSS.