VCS Hands-on Lab

This Hands-on Lab is designed to quickly enable you to set up a sandbox environment with no network segregation and DHCP. This will allow you to deploy the product and exercise the functionality. The intention is to effectively understand the value HDM has to offer for migration.

Lab Setup

Set up the Lab without any network segregation, with DHCP and connectivity to the target VCD cloud, as shown in figure 1.

Figure 1: Lab Connectivity alt_text

  1. Set up the source environment.
    1. Set up a single network with DHCP service with IPs in 192.168.x.x
    2. Provision two servers with at least 96 GB RAM.
    3. Deploy and configure these two ESXi (6.5U2+ or 6.7) with management on the single network
    4. Deploy vCenter Server (6.5 or 6.7) and configure it over the single network.
    5. Add ESXi to vCenter.
    6. Provision a shared datastore with at least 1 TB storage.
    7. Configure the two ESXi into a cluster
    8. Add the shared storage to the two ESXi within the cluster.

The on-premises configuration is now complete. The target cloud can now be configured.

  1. Set up networking on the target VCS cloud
    1. In the step below, be sure to make the configurations using DHCP.
    2. Please follow the steps in IPSec tunnel configuration
    3. The network created on cloud will be referred to as the cloud Single Network.
    4. After the IPSec tunnel is complete, the networks will be configured on the target cloud and an IPSec tunnel will be connect to it.
    5. Set up DHCP service on the cloud Single Network.

Test for connectivity.

  1. Test to ensure that the target cloud can be accessed from the source environment.
  2. Deploy a TestVM1 on the source with the network connected to the Single Network.
  3. Deploy another TestVM2 on the target cloud connected to the Single Network.
  4. ssh into TestVM1 and try to connect to TestVM2.
  5. If you are able to connect successfully, the setup is operational.

Downloading PrimaryIO HDM

Estimated time 5 minutes

Thank you for deciding to use PrimaryIO HDM. To get your license and download link for HDM, select the link below.

You will receive an email with:

To proceed with the installation, you should first watch the training videos and use this guide.

Deploy the PrimaryIO Appliance

Estimated time 5 minutes
  • Make sure you have at least 10GB free space to download the appliance.
  • Unzip the product zip file from the download link
  • Deploy the appliance using the vCenter UI

Note :

  • The PrimaryIO Appliance should be deployed on the same vCenter and datacenter it will manage.
  • HDM components should be deployed on the shared datastore. Disks can be thin provisioned.
  • Perform the steps as directed by the UI.
  • Select Single Network created during lab setup.
  • Select IP Allocation as DHCP.
  • Skip the Customize template.
  • Complete OVF deployment.
  • Power on the appliance.

Validate Network Configuration

Estimated time 10 minutes
  • All ESXi instances in vCenter should be connected
  • ESXi should be able to communicate with vCenter. A simple ping command from the ESXi server to vCenter FQDN (or IP) can be used to test it.

On-Premises Deployment

Add On-Prem vCenter

  • Power on the appliance
  • Find the appliance IP
  • Open the appliance web interface for https://<appliance-ip>
  • Log into the appliance web UI using default password 2Hdm$aK!N@h!
  • After login, click on alt_text
  • Select Add vCenter
  • Provide vCenter credentials
  • Select Add to add vCenter
alt_text Register the vCenter plugin by selecting the Register button.

At this point, vCenter configuration is complete. Log into the vCenter you have just configured.

For the plugin to be visible within vCenter, you will need to logout and log back into vCenter at least twice.

Configure License

Navigate to the Licensing page on the HDM vCenter Plugin

  • The HDM plugin can be reached via Menu->HDM
  • The first time you navigate to HDM it can take approximately five minutes to load
  • On the Licensing Tab, select Add License
  • Add the license key received via email.

Deploy HDM on-premises

  • Select Administration followed by Configuration
  • Choose the cluster you want to install on
  • Select Install
  • Resource:- Standard
  • Deployment:- Standalone
  • Only Choose these options. This guide is tailored specifically to this configuration
  • Complete all steps to begin the deployment
  • Choose shared storage created during lab setup
  • Choose DHCP for all network configurations.
  • This step will take a few minutes to complete. Progress will be shown on the vCenter task bar.

Cloud Deployment

Configure Cloud vCenter

  • Select _Clouds_, followed by _Add Cloud_
  • The Wizard to configure the cloud will pop-up.
  • Choose IBM Cloud on VMware Solutions Dedicated
  • Add the required details

WAN Routing Configuration

  • For parts one and two, choose DHCP
  • Skip these details by going to the next screen.
  • Set the ESXi subnet.
  • Set the gateway IP for the single network created for cloud configuration
  • Map the on-premises environment to the cloud network.
  • This step may take up to an hour, depending on uplink speed.
  • To ensure that the deployment has been successful, select _HDM_ -> Administration -> _HDM Health_ -> _Component Health_
  • If the status is green, the setup is ready to start migration

Perform Cold Migration

During the cold migration, the VM that is being migrated is powered off. After the migration is complete on the cloud, the VM can be powered on.

Migrations will be successful for VMs where network and disk interfaces are accessible to HDM via VMware APIs. 
In case network or disk interfaces are added dynamically, the virtual machine needs to be powered down, so 
information about the newly added network and disk interface are available to HDM via VMware APIs. 
Before migration is triggered, ensure that the health of HDM componentes is green. 
  • Right click on the VM
  • Select _Migrate_
  • The migration wizard will appear
alt_text alt_text
  • Complete all steps
  • The status of the migration will be shown in the wizard and will be displayed on vCenter tasks.
  • After successful migration, the VM is ready for use in the cloud.
  • To migrate multiple VMs and the HDM dashboard, please refer to the _HDM Admin Guide_.