Data CollectorTo connect your on-premises vSphere environment with Cloud Assembly, you have to deploy a Data Collector. This Data Collector discovers all kinds of information about your environment and makes it possible for Cloud Assembly to interact with components in your environment such as vCenter, vRealize Orchestrator, Puppet Enterprise etc. etc.

In this first post of our new Cloud Automation blog series I will walk you through how to deploy the Data Collector and do a basic setup of a vSphere Cloud Account in Cloud Assembly.

Requirements for setting up a connection:

  • Data Collector has to have internet access, or using a Network Proxy
  • HTTPS port 443 open to outgoing traffic with access through the firewall to:
    •  *.vmwareidentity.com
    • gaz.csp-vidm-prod.com
    • *.vmware.com

Deploy the Data Collector

  1. Login to VMware Cloud Console using your VMware Cloud (Automation) Services account.
  2. Go to My Services and select Cloud Assembly.
  3. Click on the Infrastructure/Manage tab, scroll down and select Data Collectors. Click Add NewData Collector
  4. Download the Data Collector .ova file and copy the provided token key.
  5. Login to vCenter Server, right-click on a cluster and select Deploy OVF template.
    1. Click Select template, then Local file. Choose your downloaded Data Collector .ova file and click Next.
    2. Enter the name of Data Collector VM and select the folder where you want to place the Data Collector in. Click Next.
    3. Select the cluster where you want to run the Data Collector and then click Next.
    4. Review the details of your Data Collector deployment. Click Next.
    5. Accept the License Agreement and click Next.
    6. Select your your Virtual disk format and Storage policy. Then select a datastore from the list that has enough free space for the .ova file. Click Next.
    7. Select a Destination network and IP protocol. Click Next.
    8. Enter the required information. Do not click Next yet.
      • For Display name of the Remote Data Collector, enter the name of your Data Collector VM used in step b.
      • For Root User Password, choose a unique password. It does not need to match the vCenter password.
      • Paste the token key you copied from the Data Collector form in step 4.
      • If you use a Network Proxy to connect to the internet, the you must provide this information.
      • If you use DHCP in your vCenter network, do not enter any information. If you do not use DHCP, then you must provide information for each setting. Click Next.
    9. Review your configuration data. Click Finish.
    10. When the Data Collector OVA is successfully deployed, start the Data Collector.
    11. To verify that your Data Collector is running, look under the VMs tab at the list of your virtual machines to ensure it is Powered On.
  6. Return to Cloud Assembly, click Next in the Data Collector form. Wait a couple of minutes for the Data Collector to appear. If the status of the Data Collector is green you’re ready to setup a vSphere Cloud Account.Data Collector

Setup a Cloud Account

A Cloud Account identifies a cloud account type and an account-specific deployment region or data center where the associated cloud account resources are hosted. The Cloud Accounts in your project are based on vendor type and data center or vCenter residency. As you define profiles and mappings, you specify data in relation to a specific cloud account/region in your project.

  1. In Cloud Assembly under the Infrastructure/Manage tab select Cloud Accounts. Click Add Cloud Account.
  2. Select vCenterData Collector
  3. Enter you vCenter Server credentials and select your Data Collector. Click ValidateData Collector
  4. Enter a name for this Cloud Account.
  5. Under Configuration select your datacenter(s) which you want to provision to. If you want to setup a Cloud Zone manually, do not select Create a cloud zone for the selected datacentersData Collector
  6. Optionally, add a (existing) tag. For example, environment:production.
  7. Wait a couple of minutes for the Data Collector to collect all kinds of information about your vSphere Cloud Account such as clusters, resource pools, networks and datastores. You can verify this under the Infrastructure/Resources tab by selecting Compute, Networks and StorageData Collector

In my next post I will show you how to setup a Cloud Zone for vSphere including Flavor- and Image Mappings, Storage- and Network Profiles.