Skip to content

Commit b736f6d

Browse files
Merge pull request #207372 from v-ksreedevan/09Aug-Troubleshoot
Troubleshoot host connection issue
2 parents 2af7c3c + 3ed8010 commit b736f6d

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

articles/migrate/troubleshoot-changed-block-tracking-replication.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ The possible causes include:
202202

203203
1. Select Snapshot Manager in namespace. Right-click on Snapshot Manager, select **Receive Messages** > **peek**, and select OK.
204204

205-
If the connection is successful, you will see "[x] messages received" on the console output. If the connection is not successful, you'll see a message stating that the connection failed.
205+
If the connection is successful, you'll see "[x] messages received" on the console output. If the connection isn't successful, you'll see a message stating that the connection failed.
206206

207207
**Resolution:** If this test fails, there's a connectivity issue between the Azure Migrate appliance and Service Bus. Engage your local networking team to check these connectivity issues. Typically, there can be some firewall settings that are causing the failures.
208208

@@ -241,7 +241,7 @@ Alternatively, you can reset VMware changed block tracking on a virtual machine
241241

242242
## An internal error occurred
243243

244-
Sometimes you may hit an error that occurs due to issues in the VMware environment/API. We have identified the following set of errors as VMware environment-related errors. These errors have a fixed format.
244+
Sometimes you may hit an error that occurs due to issues in the VMware environment/API. We've identified the following set of errors as VMware environment-related errors. These errors have a fixed format.
245245

246246
_Error Message: An internal error occurred. [Error message]_
247247

@@ -319,6 +319,31 @@ This error occurs when the size of the snapshot file created is larger than the
319319

320320
- Restore the included disks to the original path using storage vMotion and try replication again.
321321

322+
## Host Connection Refused
323+
324+
**Error ID:** 1022
325+
326+
**Error Message:** The Azure Migrate appliance is unable to connect to the vSphere host '%HostName;'
327+
328+
**Possible Causes:**
329+
330+
This may happen if:
331+
1. The Azure Migrate appliance is unable to resolve the hostname of the vSphere host.
332+
2. The Azure Migrate appliance is unable to connect to the vSphere host on port 902 (default port used by VMware vSphere Virtual Disk Development Kit), because TCP port 902 is being blocked on the vSphere host or by a network firewall.
333+
334+
**Recommendations:**
335+
336+
**Ensure that the hostname of the vSphere host is resolvable from the Azure Migrate appliance.**
337+
- Sign in to the Azure Migrate appliance and open PowerShell.
338+
- Perform an `nslookup` on the hostname and verify if the address is being resolved: `nslookup '%HostName;' `.
339+
- If the host name isn't getting resolved, ensure that the DNS resolution of the vSphere hostnames can be performed from the Azure Migrate appliance. Alternatively, add a static host entry for each vSphere host to the hosts file(C:\Windows\System32\drivers\etc\hosts) on the appliance.
340+
341+
**Ensure the vSphere host is accepting connections on port 902 and that the endpoint is reachable from the appliance.**
342+
- Sign in to the Azure Migrate appliance and open PowerShell.
343+
- Use the `Test-NetConnection` cmdlet to validate connectivity: `Test-NetConnection '%HostName;' -Port 902`.
344+
- If the tcp test doesn't succeed, the connection is being blocked by a firewall or isn't being accepted by the vSphere host. Resolve the network issues to allow replication to proceed.
345+
346+
322347
## Next Steps
323348

324349
Continue VM replication, and perform [test migration](./tutorial-migrate-vmware.md#run-a-test-migration).

0 commit comments

Comments
 (0)