VMware Cloud Community
Nmanohar88
Contributor
Contributor

Cluster migration

i need to perform cluster migration from source to destination cluster in the same vcenter. There is no shared storage and each cluster is connected to different distributed vswitch. 

I am getting the following error ""Currently connected network interface" 'Network adapter 1' uses network 'DVSwitch: 80 32 14 50 ca 30 4b 0d-af 50 f3 d6 22 36 b4 be', which is not accessible."

 

This is the command I am using to migrate the VM. 

get-vm $_.vmname | move-vm -Destination $desthost -networkadapter $destnetworkadapter -portgroup $destPG -Datastore $dsinfo -RunAsync -Confirm:$false

Please help me fix this issue.

 

0 Kudos
3 Replies
LucD
Leadership
Leadership

Have you checked KB1003830?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Nmanohar88
Contributor
Contributor

Hi LucD, I have checked the KB. 

I am able to perform the hot migration manually using the GUI. 

As we have many VMs(1000+) to be migrated, we need to script it for the ease of use. 

since the source and destination clusters are connected to different DVS I suppose we are getting this error.

Is there any fix for this error as it would help us to perform this large scale migration.

 

 

 

 

Tags (1)
0 Kudos
LucD
Leadership
Leadership

The only option I know is to connect the ESXi nodes from both clusters to the same VDS.
You can remove the ESXi nodes from the source cluster after the migration is done.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos