Skip to content

Commit 22c3840

Browse files
committed
Acrolinx edits
1 parent 4c702ad commit 22c3840

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

articles/migrate/troubleshoot-replication-vmware.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,45 +11,45 @@ ms.custom: mvc, engagement-fy23
1111

1212
# Troubleshoot slow replication or stuck migration issues in agentless VMware migration
1313

14-
This article helps you troubleshoot slow replication or stuck migration issues in agentless VMware migration.
14+
This article helps you troubleshoot slow replication or stuck migration issues that you may encounter when you replicate on-premises VMware VMs using the Azure Migrate: Server Migration agentless method.
1515

1616
## Slow or stuck replication
1717

1818
### Replication is slow or stuck for VM
1919

20-
While performing replications, you might observe that replication for a particular VM is not progressing at the expected pace. Generally, the underlying reason for this issue is an unavailability or scarcity of some resources required for replication. The resources might be consumed by other VMs that are replicating or some other process running on the appliance in the datacenter.
20+
While performing replications, you might observe that replication for a particular VM isn't progressing at the expected pace. Generally, the underlying reason for this issue is an unavailability or scarcity of some resources required for replication. The resources might be consumed by other VMs that are replicating or some other process running on the appliance in the datacenter.
2121

2222
Following are some reasons that generally cause this issue and remediations.
2323

2424
#### NFC buffer size low
2525

26-
The Azure Migrate appliance operates under the constraint of using 32MB of NFC buffer to concurrently replicate 8 disks on the ESXi host. An NFC buffer size of less than 32MB might cause slow replication.
26+
The Azure Migrate appliance operates under the constraint of using 32 MB of NFC buffer to concurrently replicate 8 disks on the ESXi host. An NFC buffer size of less than 32 MB might cause slow replication.
2727
You may also get the following exception:
2828

2929
Exception: GatewayErrorHandling.GatewayServiceException: The operation failed with the error 'Memory allocation failed. Out of memory.'
3030

3131
#### Remediation
3232

33-
You can increase the NFC buffer size beyond 32MB to increase concurrency. The setting needs to be done on both the ESXi host and on the appliance. If not, the replication may perform even worse.
33+
You can increase the NFC buffer size beyond 32 MB to increase concurrency. The setting needs to be done on both the ESXi host and on the appliance. If not, the replication may perform even worse.
3434

3535
> [!Caution]
36-
> Increasing the size to more than 32MB might cause resource constraints in the environment. Before proceeding, consult with the System Administrator to understand the implications.
36+
> Increasing the size to more than 32 MB might cause resource constraints in the environment. Before proceeding, consult with the System Administrator to understand the implications.
3737
3838
**Changes in ESXi host**
3939

4040
1. SSH to the ESXi host as root.
4141
2. Use the vi editor to open “/etc/vmware/hostd/config.xml”.
42-
3. Find the section that looks like th one below:
43-
44-
```
45-
<nfcsvc>
46-
<enabled>true</enabled>
47-
<maxMemory>134217728</maxMemory>
48-
<maxStreamMemory>10485760</maxStreamMemory>
49-
<path>libnfcsvc.so</path>
50-
</nfcsvc>
51-
```
52-
4. Edit the value of `maxMemory` to the value (in Bytes) that you’d like to configure for the NFC buffer. In this example, it is set to 128MB (128*1024*1024).
42+
3. Find the section that looks like the one below:
43+
44+
```
45+
<nfcsvc>
46+
<enabled>true</enabled>
47+
<maxMemory>134217728</maxMemory>
48+
<maxStreamMemory>10485760</maxStreamMemory>
49+
<path>libnfcsvc.so</path>
50+
</nfcsvc>
51+
```
52+
4. Edit the value of `maxMemory` to the value (in Bytes) that you’d like to configure for the NFC buffer. In this example, it's set to 128 MB (128 * 1024 * 1024).
5353
5. Save and exit.
5454
6. Restart the management agents from the shell using the following commands:
5555
- /etc/init.d/hostd restart
@@ -58,14 +58,14 @@ You can increase the NFC buffer size beyond 32MB to increase concurrency. The se
5858
**Changes in Appliance**
5959

6060
1. Sign in to the Azure Migrate appliance as an administrator using the Remote Desktop.
61-
2. Open the "GatewayDataWorker.json" file in "%programdata%\Microsoft Azure\Config".
62-
3. Create an empty json if one doesn’t exist and paste the following text in the new file created.
61+
2. Open the GatewayDataWorker.json file in the "%programdata%\Microsoft Azure\Config" folder.
62+
3. Create an empty json file if it doesn’t exist and paste the following text in the new file created.
6363
```
6464
{
6565
"HostBufferSizeInMB": "32",
6666
}
6767
```
68-
4. Change the value of HostBufferSizeInMB to the value you set in the ESXi host.
68+
4. Change the value of `HostBufferSizeInMB` to the value that you set in the ESXi host.
6969
5. Save and exit.
7070
6. Restart the Azure Migrate gateway service that is running on the appliance. Open PowerShell and execute the following:
7171
- net stop asrgwy (wait for the service to stop)
@@ -78,19 +78,19 @@ When the ESXi host on which the replicating VM is present is too busy, the repli
7878

7979
#### Remediation
8080

81-
Use VMotion to move the VM with slow replication to an ESXi host which is not too busy.
81+
Use VMotion to move the VM with slow replication to an ESXi host, which isn't too busy.
8282

8383
#### Network bandwidth
8484

8585
Replications might be slow because of low network bandwidth available to the Azure Migrate appliance. Low bandwidth might be due to other applications using up the bandwidth or presence of bandwidth throttling applications or a proxy setting restricting the bandwidth use of replication appliance.
8686

8787
#### Remediation
8888

89-
In case of low bandwidth, you can first reduce the number of applications using network bandwidth. Check with you network administrator if any throttling application or proxy setting is present.
89+
In case of low bandwidth, you can first reduce the number of applications using network bandwidth. Check with your network administrator if any throttling application or proxy setting is present.
9090

9191
#### Disk I/O
9292

93-
Replications can be slow because the server that is being replicated has too much load on it and this is causing high I/O operations on disks attached to it. It is advised to reduce the load on the server to increase the replication speed. You may also encounter the following error:
93+
Replications can be slow because the server that is being replicated has too much load on it and this is causing high I/O operations on disks attached to it. It's advised to reduce the load on the server to increase the replication speed. You may also encounter the following error:
9494

9595
The last replication cycle for the virtual machine ‘VM Name’ failed. Encountered timeout event.
9696

@@ -101,26 +101,26 @@ If no action is taken, the replication will proceed and be completed with a dela
101101
Replications can be slower than expected if the data upload speed is higher than the write speed of the disk that you selected while enabling replication. To get better speeds at same upload speeds, you would need to restart the replication and select **Premium** while selecting the disk type for replication.
102102

103103
> [!Caution]
104-
> The disk type recommended during Assessment might not be **Premium** for a particular VM. In this case, switching to Premium disk to improve replication speeds is not advisable since it might not be required post migration to have a Premium disk attached to this VM.
104+
> The disk type recommended during Assessment might not be **Premium** for a particular VM. In this case, switching to Premium disk to improve replication speeds isn't advisable since it might not be required post migration to have a Premium disk attached to this VM.
105105
106106
## Slow or stuck migration
107107

108108
### Migration operation on VM is stuck
109109

110-
While triggering migration for a particular VM, you might observe that the migration is stuck at some stage (queued or delta sync) longer than expected. Generally, the underlying reason for this issue is an unavailability or scarcity of some resources required for replication. The resources might be consumed by other VMs that are replicating or some other process running on appliance on in the datacenter. Below are some reasons that generally cause this issue and solutions for them.
110+
While triggering migration for a particular VM, you might observe that the migration is stuck at some stage (queued or delta sync) longer than expected. Generally, the underlying reason for this issue is an unavailability or scarcity of some resources required for replication. The resources might be consumed by other VMs that are replicating or some other process running on appliance on in the datacenter. Following are some reasons that generally cause this issue and the remedies.
111111

112112
#### NFC buffer size low
113113

114-
If an IR cycle for a server with large disks is ongoing while migration is triggered for second VM, the second VM’s migration job can get stuck. Even though migration jobs are given high priority, the NFC buffer might not be available for migration. In this case, it is recommended to stop or pause the initial replication of servers with large disks and complete the migration of the second VM.
114+
If an IR cycle for a server with large disks is ongoing while migration is triggered for second VM, the second VM’s migration job can get stuck. Even though migration jobs are given high priority, the NFC buffer might not be available for migration. In this case, it's recommended to stop or pause the initial replication of servers with large disks and complete the migration of the second VM.
115115

116-
#### Ongoing delta sync cycle is not complete
116+
#### Ongoing delta sync cycle isn't complete
117117

118118
If migration is triggered during an ongoing delta replication cycle, it would be queued. The delta replication cycle on the VM will be completed first after which migration will start. The time required to trigger migration depends on the time taken to complete one delta sync cycle.
119119

120-
#### Shutdown of on-premises VM taking longer than usual.
120+
#### Shutdown of on-premises VM taking longer than usual
121121

122122
Try to migrate without shutting down the VM or turn off the VM manually and then migrate it.
123123

124124
## Next steps
125-
- [Learn more](tutorial-migrate-vmware.md) about migrating VMware VMs.
125+
[Learn more](tutorial-migrate-vmware.md) about migrating VMware VMs.
126126

0 commit comments

Comments
 (0)