WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

Search Results for: VMware HCX API

Automating VMware Site Recovery (DRaaS) with VMC

05.28.2019 by William Lam // 2 Comments

VMware Site Recovery provides customers with an easy and on-demand Disaster Recovery as-as-Service (DRaaS) for both their on-premises and VMware Cloud on AWS (VMC) workloads. DRaaS is one of the most popular VMware Cloud Service as it literally enables customers to setup a fully functional target DR site with just a click of a button, no joke!


As simple as this is, customers are also interested in automating the setup of DRaaS, especially for testing purposes. A couple of weeks back, I had a customer reach out asking if it was possible to automate the setup of DRaaS?

Funny enough, I just had this conversation a few weeks prior with the PM/Engineer and was in the process of looking into this. It turns out we do indeed have DRaaS Service API, which is what the VMC Console uses, however we had not publicized the API nor showed how to actually get more information about it. Do not worry, I have already feature request with the PM to not only get this published publicly but also show up as part of the VMC Developer Center API Explorer 🙂

[Read more...]

Categories // Automation, PowerCLI, VMware Cloud on AWS Tags // DRaaS, site recovery manager, srm, VMC, VMware Cloud on AWS, VMware Site Recovery

VMware Cloud

VMware Cloud on AWS (VMConAWS)

    • Decoding Services Roles/Permissions from a VMware Cloud Services Platform (CSP) Token
    • VMware Cloud on AWS 1.13 adds support for VMRC vCenter Proxy
    • New SDDC Linking capability for VMware Cloud on AWS
    • Automated Nested Lab Deployment on SDDC Part 1: VMware Cloud on AWS
    • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs
    • Retrieving network statistics on VMware Cloud on AWS using NSX-T Policy API
    • Custom notification and automation based on host failure in VMware Cloud on AWS
    • Extending VMware Cloud on AWS Notifications using the Notification Gateway API
    • Tanzu Kubernetes Grid (TKG) Demo Appliance for VMC and vSphere
    • VMware Cloud Services Status APIs
    • New vCenter events for vSphere 7, VMware Cloud on AWS 1.10 and vSphere with Kubernetes
    • Sneak peak at deploying Tanzu Kubernetes Grid Plus on vSphere & VMware Cloud on AWS
    • Automating the creation of NSX-T "Disconnected" Segments for DR testing on VMware Cloud on AWS 
    • Simulating the VMware Cloud on AWS API using Stoplight Prism Tool
    • RSS feed for VMware Cloud on AWS and VMware Release Notes
    • ESX 3.x on VMware Cloud on AWS? 
    • Configuring Standalone vRealize Orchestrator with VMware Cloud on AWS
    • Automating HCX Multi-Site Service Mesh configuration using the new HCX PowerCLI cmdlets
    • Automating HCX Add On for VMware Cloud on AWS
    • Forwarding VMC Events to AWS Lambda/CloudWatch using Log Intelligence Webhook
    • Forwarding VMC Events to Slack using Log Intelligence Webhook
    • Connecting to NSX-T Policy API using NSX-T Private IP in VMC
    • Automating VMware Site Recovery (DRaaS) with VMC
    • NSX-T Policy API Explorer, Docs and Sample Updates for VMC
    • Deploying a vCenter Server Appliance (VCSA) in VMC?
    • NSX-T Opaque Networks now supported with Cross vCenter Workload Migration Fling
    • Integrating Github Actions with vSphere and VMware Cloud on AWS
    • ESXTOP and VMware Cloud on AWS
    • vSphere Tag Attach/Detach events now in VMware Cloud on AWS
    • Automating complete HCX deployment and configuration to first cloud migration using PowerCLI
    • Running sk8s (Simple Kubernetes) on VMC with an AWS Elastic Load Balancer
    • Which NSX-T Policy APIs are used in the NSX-T UI in VMC?
    • How to retrieve the NSX-T Overview Info (SDDC Public IP, Appliance & Infra Subnet, etc.) in VMC?
    • Common PowerCLI examples for VM Provisioning in VMware Cloud on AWS
    • Using NSX-T Policy API to retrieve the Routing Table in VMC
    • Changing the default behavior of the NSX-T Distributed Firewall (DFW) in VMC to Deny All
    • Quick Tip – Import OVF/OVA as VM Template using OVFTool 4.3 Update 1
    • New VMC API to rename SDDC
    • How to retrieve the CSP Refresh Token expiry using the CSP API
    • Managing Distributed Firewall Rules in VMC using PowerShell & NSX-T Policy API
    • Learning more about the Nitro platform which will power VMware Cloud on AWS Outposts
    • VMware Cloud on AWS reInvent sessions posted
    • Can a VM in the VMC Compute Network access the SDDC Management Network?
    • Automating Hybrid Cloud Extension (HCX) Manager initial configuration for VMC
    • Quick Tip – How to clear all Hybrid Cloud Extension (HCX) Migrations in the vSphere UI
    • Enhancements to Hybrid Linked Mode (HLM) in VMC using the new vCenter Cloud Gateway
    • Nested ESXi on VMware Cloud on AWS (VMC)
    • Automating new Cloud Motion with vSphere Replication using Hybrid Cloud Extension (HCX) API
    • Automating Hybrid Cloud Extension (HCX) Manager OVA deployment
    • NSX-T Policy PowerShell Community Module for VMC
    • Create vCenter Alarms for monitoring HCX migration events
    • vMotion across different VDS version between onPrem and VMC
    • Getting started with the Hybrid Cloud Extension (HCX) APIs
    • How to unregister Hybrid Cloud Extension (HCX) from your onPrem vCenter Server?
    • Getting started with the new NSX-T Policy API in VMC
    • Using VMC API to answer commonly asked questions about your SDDC
    • Quick Tip – Requirements for using Guest Operation APIs (Invoke-VMScript & Copy-VMGuestFile) in VMC
    • Creating a vSphere Content Library directly on Amazon S3
    • Automation with the VMware Cloud Services Platform (CSP)
    • VMworld US 2018 sessions on VMware Cloud on AWS
    • Resource Pools, Folders & VMC now supported with Cross vCenter vMotion Utility Fling
    • Automating VM Template management using Content Library in VMC
    • Auditing detailed operations within VMware Cloud on AWS using the Activity Log API
    • OVFTool and VMware Cloud on AWS
    • New Adventure
    • Getting started with Hybrid Cloud Extension (HCX) on VMware Cloud on AWS
    • VMware Cloud on AWS – VM Creation Date available in vSphere API
    • VPN Configuration to VMware Cloud on AWS using pfSense
    • VMworld Hackathon Hardware/Software BOM

Azure VMware Solution (AVS)

  • Automated Nested Lab Deployment on SDDC Part 2: Azure VMware Solution
  • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs

Google Cloud VMware Engine (GVCVE)

  • Automated Nested Lab Deployment on SDDC Part 3: Google VMware Cloud Engine
  • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs

Oracle Cloud VMware Solution (OCVS)

  • Automated Nested Lab Deployment on SDDC Part 4: Oracle Cloud VMware Solution
  • VMworld 2020 Demo - Voice activated workload migration to VMware Cloud SDDCs

Automating complete HCX deployment and configuration to first cloud migration using PowerCLI

03.04.2019 by William Lam // 5 Comments

PowerCLI 11.2.0, was just released last week and for a "dot" release, it includes a number of new capabilities and enhancements. One of the most exciting features for me personally was the introduction of the VMware Hybrid Cloud Extension (HCX) PowerCLI module which I also had the pleasure of working on and providing early feedback to the HCX Engineering team. The new HCX module enables customers to use PowerCLI to now easily automate the HCX Fleet deployment (Interconnect, WAN Optimization and Network Extension) as well as perform bulk live migrations of  workloads between two HCX-enabled environments, with on-premises vSphere to VMware Cloud on AWS (VMC) being the most popular.

I have written a number articles on HCX Automation using both the HCX REST API and PowerCLI and with this latest PowerCLI module, I realized that we now have complete end-to-end automation with PowerCLI from the HCX OVA deployment to initial configuration and fleet deployment to your very first HCX vMotion! This is quite exciting as I know a number of folks have been asking about automating the fleet deployment, especially for enabling quick proof of concepts and quickly showing the value of HCX to our customers for moving large amount of workloads without any downtime.

Below, you will find a breakdown of the HCX setup which I have split into three sections, each section includes the respective PowerCLI sample code that can easily be adapted to your own environment. I look forward to seeing what customers do with the new HCX PowerCLI module and if you have any feedback, be sure to leave a comment or better yet, file a feature enhancement using the PowerCLI Feature Request Tool.

[Read more...]

Categories // Automation, HCX, PowerCLI, VMware Cloud on AWS Tags // HCX, Hybrid Cloud Extension, PowerCLI, PowerCLICore, VMC, VMware Cloud on AWS

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...