vCloud® Air Hybrid Cloud Manager™ Version 1.
You can find the most up-to-date technical documentation on the VMware Web site: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, email your feedback: docfeedback@vmware.com vCloud® Air Hybrid Cloud Manager™ Version 1.0 Update 1 Installation and Administration Guide November 25, 2015 Copyright © 2015 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 3401 Hillview Ave.
Table of Contents About this Guide ................................................................................................................................................................. 5 Introducing Hybrid Cloud Manager™ .................................................................................................................................. 5 Understanding the Hybrid Cloud Manager Installation Process ......................................................................................
Uninstalling Hybrid Cloud Manager ............................................................................................................................ 36 Unstretching an L2 Network ....................................................................................................................................... 37 Removing Hybrid Service Appliances .......................................................................................................................... 37 Troubleshooting .......
About this Guide This guide describes how to install Hybrid Cloud Manager Version 1.0 Update 1. It also guides you through vSphere Web Client workflows to deploy and configure Software-Defined WAN components (including WAN Optimization), to migrate workloads to the cloud and back, and extend on-premises VLAN and VXLAN networks from your datacenter to vCloud Air. Intended Audience This document is intended for datacenter administrators familiar with vSphere virtualization.
• • Dedicated scale out L2 Concentrators can be deployed and used in conjunction with Direct Connect to increase throughput • Multiple Direct Connects and fail-back to Internet are supported • Extended Networks are linked to vCloud Air Advanced Network Services Edge appliances in Org Gateway position and can be announced back to the Enterprise once all virtual machines are migrated and the network is unstretched • Egress path optimization (optional) to allow shortcut routing between virtual machines
Figure 1: Installation Components Installation Overview This is a brief summary of the Hybrid Cloud Manager installation tasks. 1. Identify the architecture you want to use (see “Use Cases”). 2. Log into My VMware and download the Hybrid Cloud Manager OVA file from the product download page: https://my.vmware.com/en/group/vmware/details?downloadGroup=HCM100&productId=343 3. From vSphere, install the Hybrid Cloud Manager virtual appliance in the on-premises vCenter that will connect to vCloud Air.
Table 1: Virtual Machine Installation Resource Requirements VM vCPUs RAM Installation Hybrid Cloud Manager 4 12 GB Required. Hybrid Cloud Gateway 2 2 GB Required. Layer 2 Concentrator (L2C) 6 8GB Optional for migration, required for stretched Layer 2, or migration over stretched Layer 2. WAN Optimizer 8 14 GB Optional.
patterns to reduce bandwidth usage and insures best usage of available network capacity to expedite data transfer to and from vCloud Air.
Migration Only In Table 2, cases ❶ and ❷ are for migrating without an L2 extension. Other than the Hybrid Cloud Manager, only the Hybrid Cloud Gateway appliance is required. The basic difference between cases ❶ and ❷ is that higher speed is possible with the Hybrid Networking Premium option. WAN optimization, if installed, can improve security and speed in the situations described in “WAN Optimizer” on page 8.
Separate Migration and Data Paths The Cloud Gateway and the L2C service appliances use different outbound IP addresses. In this configuration, the L2C appliance data path does not benefit from WAN Optimization or intelligent routing, but workloads travelling through the Cloud Gateway do. This might not be an issue if the host-to-host traffic on the data path is already encrypted or compressed.
Table 3: Port Access Requirements Source HCM Target Customer DNS Port Purpose Protocol Services 53 TCP/UDP Name resolution. DNS Hybrid Cloud Manager vCenter Server 443 TCP Hybrid Cloud Manager REST service. HTTPS Web Browser Hybrid Cloud Manager 9443 TCP Hybrid Cloud Manager Virtual Appliance Management Interface for Hybrid Cloud Manager system configuration. HTTPS Admin Network Hybrid Cloud Manager 22 SSH Administrator SSH access to Hybrid Cloud Manager.
Verify the Minimum Installation Environment Before the installation, ensure that you have the following resources in your on-premises vCenter and your vCloud Air vDC. On Premises • An on-premises Virtual Center created with vSphere 5.5 Update 1 or above. • Administrator access to the source Virtual Center and any resources you want to connect to the cloud.
• When installed, the on-premises L2 Concentrator service appliance must have access to a vNIC port and any vLANs you want to stretch. • If you choose to stretch a network over the public internet or your own VPN (on an alternate path, not the Hybrid Cloud Gateway) then the L2C VM in your vCloud Air vDC also requires an IP address. If your architecture specifies multiple L2Cs, each must have an IP address. You must know the remote IP address before you configure the L2C.
5. Click Browse to locate the OVA file on your computer. Click Next. The Deploy OVF Template opens. 6. On the Source page, browse for the file you downloaded in step 1, or, click the URL radio button and supply the URL: https://my.vmware.com/en/group/vmware/details?downloadGroup=HCM110&productId=343| Click Next. a. On the “Review details” page, click the “Accept extra configuration options” check box and click Next. b. On the Accept EULAs page, scroll down to review the VMware end user license agreement.
vii. (Optional) To enable SSH, select the Enable SSH checkbox. This gives an administrator SSH access to the Hybrid Cloud Manager virtual management appliance. viii. Click Next. ix. On the vService bindings page, click Next.
e. On the “Ready to complete” page: i. ii. Check the “Power on after deployment” checkbox. Review the Hybrid Cloud Manager settings, and click Finish. It might take several minutes for the HCM appliance to power on. 8. To check the status, go to the Web Client home page, and in the Home tab, go to inventories and click Hosts and Clusters. Expand the datacenter hierarchy, and click Hybrid Cloud Manager to display a summary in the center pane.
c. Enter the username and password for your vCloud Air subscription account d. Enter the Organization name. e. Click Register. 3. Open a Web browser window and type the IP address assigned to the Hybrid Cloud Manager (step iv on page 15) and specify the port 9443. For example, https://11.111.11.11:9443. a. The Hybrid Cloud Manager user interface opens in a web browser window using SSL. b. Accept the security certificate. The Hybrid Cloud Manager login screen appears. c.
6. To finalize the registration, log out of the vSphere Web Client. Log back in to verify that the screen is updated as expected. Configuring the Hybrid Cloud Manager for vCenters with an External Lookup Service In the following situations, a vCenter won’t have its own instance of the lookup service: • vCenter 6.
6. Please restart web-engine after configuring the lookup service endpoint. 7. Go to Summary tab as shown below. Identify the “Web Engine” service listed under “Hybridity Management Components”. Stop and then start the Web Engine service. Register the Hybrid Cloud Manager with a vCloud Air Endpoint This procedure details how to associate the Hybrid Cloud Manager (on premises) with a vCloud Air endpoint. 1. Log into vCloud Air and click the My Subscriptions tile. 2. Log in to the vSphere Web Client.
3. Under Basic tasks, click Register new Cloud. The Register new Cloud window opens. 4. To find your Org URL, log in to vCloud Air and click the My Subscriptions tile. • • On the Dashboard tab, click the tile for the target VDC. To the right, under Related Links, click the vCloud Director API URL link. This opens a text box with the Org URL. • Copy the Org URL and paste it into the Register New Cloud window Cloud URL field.
5. Fill in your vCloud Air Username, Password, and Organization, then click Register. The vCloud Air Endpoint is added to the “Cloud registrations” section. When the registration is complete, the Hybrid Services and Extended Networks tabs are added to the Hybrid Cloud Manager center pane. Installing and Configuring Hybrid Services Now that the Hybrid Cloud Manager has been installed and connected to your Dedicated Cloud, you can install and configure the hybrid service virtual appliances.
3. Click Install service. 4. On the Choose Hybrid Services page, confirm the Organization Name and Virtual Data Center are correct. It should be the organization you specified during the procedure to “Register the Hybrid Cloud Manager with a vCloud Air Endpoint.” Choose the services you want to install and click Next.
d. VM/Hostname: This field is optional. e. Provide the IP address, default gateway and DNS server to use for the Hybrid Cloud Gateway management interface. f. (Optional) Under Extended Configurations, set the admin and root passwords. These passwords are specifically for the Hybrid Cloud Gateway appliance. g. Click Next. Configure the Network Extension Service Follow the steps in, “Start Appliance Installation and Configuration,” and choose the Network Extensions service. 1.
ii. iii. Compute: Cluster or host where the L2 Concentrator is deployed. Datastore: Datastore where the L2 Concentrator is deployed. Choose the L2 Network Parameters • If you leave the option “Specify the Network Parameters for the local L2 Concentrator” unchecked, you will use the default parameters provided by the installer. • If you want to route directly over the internet, check “Specify the Network Parameters for the local L2 Concentrator,” and specify the connection parameters.
1. Go to the Recent Tasks panel and ensure you are viewing All Users’ Tasks, as marked in yellow in the following screen capture. a. Click on More Tasks (marked in red in the above screen capture) to open the Task Console.
b. When all tasks are complete, click on the button labeled Hybrid Cloud Manager on the upper left corner to return to the Hybrid Service Configuration page. 2. Review the configuration summary for the hybrid service appliance(s) and associated services. Stretching an L2 Network to vCloud Air This procedure extends a Layer 2 network from the on-premises data center to vCloud Air. Note: This process uses the Extend Network wizard.
3. Right-click the port group, select Hybridity Actions and click Extend Network. The “Extend network to vCloud Air” wizard opens. 4. On the “Select source port groups” page, confirm the port group information and enter the IP address and subnet mask for the Default Gateway used by this network. Click Next. 5. On the “Select destination gateway” page: a. Choose the vCloud Air Organization. b. Choose the vCloud Air Virtual Datacenter.
c. Leave Enable Egress Optimization unchecked if you want a cloud VM to use the on-premises gateway to access the internet. Many organizations prefer this for security reasons. If you check Enable Egress Optimization, a VM in the cloud can use a cloud gateway (that you specify) to access the internet, rather than the on-premises gateway. d. Select the remote destination gateway from the list of gateways. Click Next. 6. On the Ready to complete page, review all values provided. Click Finish.
7. To track the progress of the network extension, go to the Recent Tasks window, click the All tab, and ensure you are viewing All Users’ Tasks. Click on More Tasks to open the Task Console. The network extension is done when the Extend Network task status is Completed. Migrating a Virtual Machine to vCloud Air To migrate a virtual machine you must have a secure connection maintained by the Hybrid Cloud Gateway.
5. Following the switchover, the source virtual is powered-off, and the migrated replica is powered on. 6. Hybrid Cloud Manager renames the powered-off replica to avoid a naming conflict with the live VM. A binary timestamp is appended to the replica name. The migration is complete, and conceptually, this is where replication stops. • Powered off replicas are stored in your on-premises vCenter in folders named “VMs migrated from the cloud,” and “VMs migrated to the cloud.
1. On the Hosts and Clusters page, right-click the VM you want to migrate, and from the context menu, select Hybridity Actions, and choose Migrate to vCloud Air. 2. In the Migrate Wizard on the “Select migration type” page, select an option that suits your purpose. • Quick Switchover: Switch over as soon as the sync is ready. • Scheduled Switchover: Switch over in a pre-determined maintenance window. To duplicate the sample procedure, select the Replication based Migration with Quick Switchover option.
4. On the “Select destination page,” select the vCD Organization and vCloud Air virtual datacenter. Click Next. 5. On the “Select destination” network page, select the NSX Edge associated to the vCloud Air datacenter. Click Next. • The Retain MAC box is checked by default if the VM is being migrated to a network that has been stretched. The source (on-premises vCenter or vCloud Air vDC) does not matter.
• • Linux NIC Order: In Linux, if you change the MAC address of a VM, the Ethernet device number of the NIC may change after a reboot. This effectively changes the NIC order as it is presented within the operating system, breaking scripts or software that depends on NIC order. If you uncheck Retain MAC a new MAC address is obtained when the VM migration is complete. 6. On the Select storage tier, confirm the selection and click Next. 7.
b. CLI: Log in to the ESXi host running the virtual machine using SSH. Run this command to obtain the virtual machine ID: # vim-cmd vmsvc/getallvms | grep -i vmname Vmid Name File 6 WordPress_App [storage]WordPress_App/WordPress_App.vmx Guest OS otherLinuxGuest Version vmx-10 Run these commands to monitor replication state using the Vmid obtained in the previous step: # vim-cmd hbrsvc/vmreplica.getState vmid # vim-cmd hbrsvc/vmreplica.queryReplicationState vmid c.
Administration This section describes how to upgrade an existing installation, or remove some or all of a Hybrid Cloud Manager installation. Upgrading Hybrid Cloud Manager This procedure describes how to upgrade an existing Hybrid Cloud Manager Installation. There is no charge associated with the upgrade. Your previous networking capabilities remain the same. 1. Go to the Hybrid Cloud Manager product page: https://my.vmware.
Unstretching an L2 Network This procedure unstretches a stretched Layer 2 network. This task is necessary if you want to remove the L2C service appliance, or if you want to completely uninstall Hybrid Cloud Manager. 1. Check Stretched Networks: From the Hybrid Cloud Manager plugin page, view the Extended Networks page. If there are active jobs, wait until they are complete. 2. Log in to the vSphere Web Client and click on Hosts and Clusters. 3. Click on the Networking tab.
Resetting the MAC Address You can edit the MAC settings after migration completes. 1. From the vSphere client, power off the virtual machine. 2. Open the VM in the vSphere Web Client and click Edit Setting. 3. Change Network Adapter MAC Address to “Manual” and enter the desired MAC address. High Host Resource Consumption In rare cases the Hybrid Cloud Manager VMs can exhaust a host’s CPU and disk resources.