WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / Automation / Automating the deployment of Application Transformer for VMware Tanzu

Automating the deployment of Application Transformer for VMware Tanzu

01.31.2022 by William Lam // Leave a Comment

I recently wrote about our Application Transformer for VMware Tanzu solution and how it can really benefit IT Admins, beyond just the App Modernization use case which it was primarily designed for. App Transformer is provided as a Virtual Appliance (OVA) and the deployment using the vSphere UI is very straight forward. In this blog post, we will focus on automating the deployment of the App Transformer OVA.

To demonstrate the automation, I have created two example scripts, one that uses PowerCLI and the other using OVFTool. Both scripts contain the exact same variable names that will need to be updated by customers based on their environment. You can find the description for each variable blow covering both the appliance and application settings.

App Transformer Appliance Settings

  • AT_IP - IP Addres
  • AT_NETMASK - Netmask
  • AT_GATEWAY - Gateway
  • AT_DNS - DNS Server
  • AT_DNS_DOMAIN - DNS Search Domain
  • AT_DNS_SEARCH - DNS Search Path
  • AT_NTP - NTP Server
  • AT_ROOT_PASSWORD - Password for root (requires a minimum of 12 characters)

App Transformer Application Settings:

  • AT_USERNAME - Username to login to App Transformer UI
  • AT_PASSWORD - Password to login to App Transformer UI (requires a minimum of 12 characters)
  • AT_ENCRYPTION_PASSWORD - Password used to encrypt the database
  • AT_INSTALL_EMBEDDED_HARBOR - Install Embedded Harbor registry, useful for proof of concept/testing purposes

PowerCLI

For those interested in using PowerCLI for automation, you can use the deploy_app_transformer_ova.ps1 script and below is an example output. Upon completing the OVA deployment and powering on the VM, the script will also wait until the following URL: https://[IP_ADDRESS_OF_APP_TRANSFORMER is valid. This can take some time depending on the available resources in your environment and as you can see from my setup, it took a little under 30min.

OVFTool

For those interested in using a traditional shell script and OVFTool for automation, you can use the deploy_app_transformer_ova.sh script and below is an example output.

Note: Unlike the PowerCLI script, which will wait until the following URL: https://[IP_ADDRESS_OF_APP_TRANSFORMER is valid, this script simply deploys the OVA and then powers it on. It will take some additional time for the App Transformer to fully initialize and once completed, you should be able to access it via your browser using either the FQDN and/or IP Address.

More from my site

  • PowerShell community module for Application Transformer for VMware Tanzu
  • Getting Started with the Application Transformer for VMware Tanzu REST API
  • Application Transformer for VMware Tanzu is more than just an App Modernization Engine
  • An alternate way to inject OVF properties when deploying virtual appliances directly onto ESXi
  • USB Network Native Driver Fling for ESXi v1.6

Categories // Automation, Cloud Native, Kubernetes, OVFTool, PowerCLI, VMware Tanzu, vSphere Tags // Application Transformer

Thanks for the comment! Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • vSphere with Tanzu using Intel Arc GPU 01/26/2023
  • Quick Tip - Automating allowed and not allowed Datastores for use with vSphere Cluster Services (vCLS) 01/25/2023
  • ESXi with Intel Arc 750 / 770 GPU 01/24/2023
  • How to bootstrap vSAN Express Storage Architecture (ESA) on unsupported hardware? 01/19/2023
  • Automating Virtual Machine screenshots in vSphere 01/18/2023

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 © 2023

 

Loading Comments...