Editor’s Note: As of January 2022, iland is now 11:11 Systems, a managed infrastructure solutions provider at the forefront of cloud, connectivity, and security. As a legacy iland.com blog post, this article likely contains information that is no longer relevant. For the most up-to-date product information and resources, or if you have further questions, please refer to the 11:11 Systems Success Center or contact us directly.
In a previous blog, we covered the pre-migration steps necessary to move your VMs to the cloud with Zerto. In the second part of this series, we will cover the steps that should be performed after your VMs have been successfully migrated to the 11:11 Cloud platform.
Adjusting VM Components
After moving your workloads to our vCloud Director platform, it is advised that you consider replacing any E1000 NICs in your VMs with VMXNet3 adapters. This will allow you to utilize higher network bandwidth between your VMs. The one good thing that can be said about the E1000 network adapter is that most OSs will have a native driver for it. Still, you should only consider using it in production environments if you absolutely have to. Additionally, you could set up affinity rules between your front-end servers and your back-end servers, such as a database and web server pair, to take full advantage of the increased network throughput.
Touching on the subject of performance, it is worth noting that some of the VMs you migrate using Zerto might use older vSCSI controllers. While in most cases, making any changes to the SCSI control setup will be unnecessary, it is worth noting that in order to gain maximum performance from the underlying storage you would have to use a LSI Logic SAS or a Paravirtual SCSI controller. This is especially true for workloads requiring large IOPS and running on datastores backed by all-flash storage. Fortunately, in most cases you will be either able to change the type of the controller used (data drives only – changing this for the boot disk might result in the OS not being able to boot) or simply add new drives with the appropriate controller and migrate your data. As usual, please proceed with caution and make sure you have a backup copy you would be able to revert to if needed.
Affinity and Anti-Affinity Rules
Both the 11:11 Cloud Console and vCloud Director now allow the configuration of affinity and anti-affinity rules. It’s worth noting that, unlike in your own vSphere environment, you can’t tie a VM to a specific host. This is an option often used for licensing purposes as some applications need to run on the same CPU at all times or they will stop working. The rules available in our platform allow you to determine which VMs in your environment should always run on the same host and which should always run on separate hosts. This can increase the performance of applications that rely on communication between multiple servers, as it removes the need for traffic to flow across the network. Alternatively, you might need to spread out clustered application stacks across multiple hosts. Using anti-affinity rules would allow you to ensure no more than one VM would reboot in case of a HA event on the platform.
You might have been keeping VMware tools up-to-date by using automatic updates on VM reboot or updating them in bulk via vSphere Update Manager. Neither of those is available in vCloud Director, however, the 11:11 Cloud Console allows you to select an automatic update policy. All you need to do is rightclick a VM within the vApp view, and select Manage VMware Tools Upgrade Policy. It’s worth noting that this option is recommended only for test/dev VMs. No one wants to experience an additional reboot after rebooting a production VM.
In these two blog posts we have touched on some key recommendations for migrating and running workloads in a VMware cloud environment:
1. Keep VMware tools updated in your VMs, preferably version 10.
2. Update your virtual hardware version, preferably version 9 or above.
3. Make sure you are using high-performance virtual hardware, VMXNet3 network adapters and LSI Logic SAS or Paravirtual SCSI controllers.
4. Use affinity rules for performance gains and anti-affinity rules to keep clustered application nodes on separate physical hosts.
1. Make sure you always stay cautious! Take VM snapshots before making changes and make sure you always have a backup copy you would be able to revert to.
2. Don’t make changes to VMs that are appliances, virtual firewalls or load balancers (i.e. Citrix NetScaler’s). Those VMs are deployed from templates provided by the manufacturers and should not be subject to VMware tools updates. You should not make any changes to their virtual hardware.