This section describes how to deploy, configure, and undeploy PrimaryIO Hybrid Cloud Data Management (HDM) 2.2 for enabling migrations of virtual machines to VMware Cloud Director.
HDM deployment involves the following six steps, each of which are discussed in detail in the sections below:
The HDM Appliance manages on-premises and cloud HDM operations. This section covers the following topics for deployment and configuration of the HDM Appliance:
The HDM appliance must be installed from the OVF in the HDM package. Be sure to check that the placement and sizing of the deployment conforms to the requirements mentioned above. To deploy the appliance, use the “Deploy OVF Template” option in vCenter (figure 6).
Figure 6: Launching the “Deploy OVF” Template in vCenter
Appliance network configuration requires that the available networks be categorized into four types, described in the Network Requirements and HDM Resource Requirements sections, above. While it is recommended to keep these networks separate, it is possible for each of them to point to a single network. In addition, the decision must be made at this point to deploy using a static IP or DHCP protocol (figure 7).
Figure 7: Configuring the Network
(If DHCP is chosen, this section can be skipped)
For each network type, choose the IP allocation protocol: static or DHCP. The following details are required if static IP is chosen (figure 8):
NOTES:
Figure 8: Configuring the System for Static IP Protocol
The setting in Default gateway network should be chosen so that traffic for other subnets can be routed through this interface. This would generally be the WAN network but please verify the specifics for your network.
In the field Default Gateway set the default gateway for the network chosen under Default gateway network.
Getting this wrong will cause deployment to fail eventually and you will have to perform an HDM Reset
Figure 8b: Configuring Gateway, NTP and Default Gateway
Complete the rest of the wizard and wait for the deployment to complete. Once the deployment has completed, use vCenter to power on the appliance.
Please note that the appliance can take between 5 to 10 minutes to boot depending on the underlying datastore's performance.
(This step should only be performed for Cluster mode deployments of HDM)
VMware HA should be enabled on the cluster where the HDM appliance has been deployed. Follow these procedures to do this:
Note: The on-premises vCenter should be added to the same location where the HDM appliance has been deployed.
Steps:
Figure 10: Viewing the On-Premises vCenter on the HDM Appliance
Figure 11: HDM Icon on the vCenter Home Page
Note: The PrimaryIO vCenter plugin will be automatically registered on all vCenter instances that are configured using enhanced linked mode.
A license key is required to activate the newly-deployed HDM. A trial license will be shared with the product which can be used to activate HDM.
Note: The HDM configuration page may take a few minutes to load, as product settings need to be initialized.
Steps to add a license:
Figure 12: Add or See HDM Licenses
Figure 13: "Add License" Pop-up
Figure 14: Verify the Addition of the Trial License
This section covers the steps for completing the deployment of HDM on-premises. This section will explain how to:
The on-premises deployment may take anywhere between 10 and 20 minutes, depending on the network bandwidth and storage. Any failure-retries performed by HDM during the deployment process are logged into vCenter events. Either the hdm or the com.primaryio keyword can be used in vCenter Event Search to search for events generated by HDM.
Prerequisites:
It is assumed that the HDM appliance deployment and configuration has been executed successfully. Ensure that the plugin has been registered on vCenter, the HDM icon is visible on the vCenter home screen, and a valid HDM license has been added to activate the product.
Steps for deployment:
Figure 15: vCenter On-Premises Cluster Listing
To specify the internal network configurations, start by choosing the IP allocation protocol: static (figure 18) or DHCP. The following details are required if static IP is chosen:
See the Deployment Requirements section for additional details on these requirements. These steps must be repeated for the following components:
Note:
Figure 18: Network Configuration Settings
Depending on the WAN bandwidth and WAN latency, it may take between 30 to 60 minutes to deploy HDM components in the cloud. Any failure-retries during the deployment process will be logged into vCenter Events. To search for events generated by HDM, hdm or com.primaryio keywords can be used in vCenter event search.
Pre-requisites
Ensure that the HDM plug-in has been registered on vCenter and the HDM icon is visible on the home screen.
Ensure that the on-premises deployment has completed successfully.
HDM_INTERNAL_NETWORK and WAN Network should be connected to the selected vApp.
Steps for deployment
Figure 21: vCenter Cloud Listing
Select the cloud type, then enter the cloud credentials and the cloud DNS.
Refer the details gathered during deployment planning, as mentioned in "Deployment planning > Prepare Cloud for Deployment" section.
Figure 22: HDM Cloud Wizard
Select vDC, vApp where HDM components will be deployed on cloud and then proceed.
Select the network and IP configuration for ON_CLOUD_HDM_NETWORK (HDM Internal Network) that will be used by HDM for VM boot and subsequent IO handling through the HDM components. Choose the IP allocation protocol: static (figure 24) or DHCP . If static IP address allocation is chosen, the unused IP addresses or IP ranges, along with the gateway and subnet mask, would need to be specified.
Figure 24: Network Configuration
Figure 25: WAN Configuration
Figure 26: WAN Route Configuration
Figure 27: Network Mapping
Attention: After you submit the request, the cloud deployment can take from 45 minutes to over an hour, depending on storage and network performance. Please note that the progress bar displayed during this process is not linear and specific steps take longer, resulting in the progress bar spending longer time at a certain percentage.
For the Cloud deployment task, it takes about 40-50 minutes at 1%.
Under the Organization VDC upload ISO task, stays at 50% for about 25 minutes.
Under the Organization VDC upload OVF task, lingers at 1% for about 20 minutes.
Figure 28: Summary and Request Submission
Once the on-premises and cloud deployments are complete, there are multiple ways to view the deployed components and their states:
After successfully installing HDM in the cloud, the appliance control panel will list each component and their health.
Figure 30: HDM Appliance Control Panel
In addition to the Appliance Control Panel, this information is also available on vCenter on the HDM plugin by selecting Menu, followed by HDM, Administration, HDM Health, and then Component Health.
Figure 31: vCenter HDM Plug-In
To verify that the on-premises vCenter shows the cloud state as installed, select HDM, then the Administration and _Clouds _tabs.
Figure 32: Verify Installation of the Cloud State
NOTE: Configuration information needs to be gathered and loaded from vCD, so it may take a few minutes to load the Cloud Dashboard for the first time.
Notes:
HDM requires the on-premises VMs to be monitored for I/O by HDM. Monitoring helps to:
This is done by creating an HDM SPBM cache type policy and applying that policy to the existing VMs. Detailed steps are provided below.
Prerequisites
Steps
This will create an SPBM cache type policy for HDM. The default name for the policy is HDM Analyzer Profile. This profile can be viewed in the on-premises vCenter by selecting Home, followed by Policies and Profiles, then VM Storage Policies.
This newly created HDM policy will be applied to all virtual machines under the cluster, and will enable monitoring for I/O activity. A reconfiguration task will be generated for each virtual machine when applying the HDM SPBM policy. If VMs have been successfully reconfigured, VM policies for these virtual machine will have ‘HDM Analyzer Profile’ applied against each of their VMDKs.
Once the policy has been applied, the user can check analyzer summaries by selecting VM->Monitoring->PrimaryIO from Host and Clusters view.
Note:
1.The Enable IO Monitoring step can be executed any number of times to enable monitoring for new VMs since the last execution.
Note: This step must not be executed for a VM that will be migrated to the cloud.
Monitoring a VM is a low overhead activity and is done transparently without affecting the ongoing I/Os or operations. However, if you don’t want HDM to monitor certain VMs, take the following steps:
Note: HDM cannot migrate a VM that does not have an HDM SPBM policy. However, the SPBM policy can be applied to a VM at any time, thereby making it available for migration.
Common failure scenarios and possible reasons are provided below. If the failure is not one of the above reasons and the error message is not clear enough, please contact PrimaryIO Support.
Here are some common reasons for deployment failures:
Usually when the deployment UI wizard or vCenter tasks fail, one of the above error messages will appear. After the error has been rectified, a re-deployment can be initiated, or an HDM reset followed by re-deployment can be attempted.
Common reasons for undeployment failures are:
vCenter tasks will provide the reasons for undeployment failures. If it is one of the above, rectify the problem and retry the operation.
HDM support can be reached via email: support@primaryio.com
The email should include the following information:
Email attachment : Attach the relevant logs (as described in HDM Support Logs section)
If the attachment size is too large, an alternate shared location may be provided by HDM support to enable the logs to be uploaded.