• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

emadyounis.com

  • Home
  • vCenter Server Appliance
  • About
  • Privacy Policy

vCenter Appliance (VCSA) 6.0 Scripted Install

March 24, 2015 By Emad Younis 1 Comment

The VCSA 6.0 has two deployment types, guided and scripted. The scripted deployment is now simplified. You are now provided several templates, 5 to be exact. Now You don’t have to just use the default templates you can add to them or even create your own. Getting started is not that hard; once all the necessary information is available. The templates are usable from a command prompt or PowerShell. Let’s walk through how to use both.

Templates

First let me start by saying the provided templates are in a JSON format. JSON stands for JavaScript Object Notation. This format is easy to read and write. In my opinion this one of the reason the scripted deployment is now simplified. OK, this is all great but where are the templates? The default templates are in the vcsa-cli-installer directory under templates of the VCSA ISO.

Note: Screenshots – Mac on the top / Windows on the bottom.

 

Here are the 5 available templates and their descriptions:

  • Embedded – deploys a vCenter server with an embedded platform services controller.
  • Full Conf – template used by vCenter Server Appliance CLI installer.
  • PSC – deploys a Platform Services Controller.
  • PSC Replication – deploys a Platform Services Controller which joins an existing SSO domain.
  • VC – deploys a vCenter Server.

In order to understand the templates, let’s take a look at the help. The templates help option can be opened by using a command prompt or PowerShell session with administrator rights.

Command Line help

Under the vcsa-cli-installer directory there are three OS directories: Win32, Mac, and Lin64. Select the proper directory based on your OS and use the vcsa-deploy. The examples below show both Mac and Windows.

Mac = vcsa-cli-installer\mac\vcsa-deploy         Win = vcsa-cli-installer\win32\vcsa-deploy

There are more options in the command line for template parameters using ––template –h.  Here is a quick breakdown:

  • Networking
  • SSO
  • System
  • Database
  • Deployment

PowerShell Help

Just like the command line option. Point to the vcsa-deploy in the win32 directory.

.\vcsa-cli-installer\win32\vcsa-deploy -h

 .\vcsa-cli-installer\win32\vcsa-deploy ––template –h

In this example I will be using is take the embedded.example.json template and customize it. Things to keep in mind:

  • Make sure both forward and reverse DNS are in place.
  • Only use one DNS entry in the template, installer fails with multiple entries.
  • Unless otherwise specified the defaults will be an embedded database and PSC.
  • There are some optional parameters that can be used with templates.
  • SSO authenticated domain doesn’t need to be vSphere.local, make sure it’s not the same as LDAP domain name.

The template on the top is the original template provided on the VCSA ISO, bottom is the customized template based on the original.

 

Now that the template has been modified, it’s time to run it using either command line or PowerShell. In this example I will be using the windows command line.

Deploying from Template

  1. Open a command prompt with administrator rights.
  2. Navigate to the vcsa-deploy directory of corresponding to your OS (win32, mac, lin64)
  3. Add the path to the template you wish to run (location of your template).
  4. Press Enter and behold the magically deployment,

Once the template is deployed, it will power on and start installing services. Deploying from template took roughly 15-20 minutes to complete.

Log in the Web Client using https://VCSA FQDN or IP/vsphere-client using the administrator credentials you supplied in the template.

That’s it in a nut shell, of course there is a lot more you can do. This will definitely get you started. Scripted deployments will help those who have multiple VCSA and PSC in their environment. This is also a good way to automate and stay consistent with your deployments.

 

Related

Share this:

Filed Under: vCenter Tagged With: Appliance, VCSA, VCSA 6.0, VMware, vSphere

Comments

  1. Calle says

    January 11, 2018 at 4:14 am

    It cannot be emphasized enough, how important forward and reverse DNS lookup of the HOST NAME of the vCenter server is. If those does not work 100% before installation, the installation will still happily run for 30 minutes before quitting with an error.

    Reply

Leave a Reply Cancel reply

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

About The Author

Emad Younis is a Staff Cloud Solutions Architect working in the Cloud Services Business Unit, part of the R&D organization at VMware. He currently focuses on workload mobility and hybrid connectivity across on-premises and cloud infrastructures.

  • GitHub
  • LinkedIn
  • RSS
  • Twitter

Recent Posts

  • Overview of Azure VMware Solution Next Evolution
  • Introduction to Google Cloud VMware Engine
  • Uniquely Identifying Virtual Machines In VMware HCX
  • The Next Chapter
  • vCenter Server 6.7 Update 1 Convergence Tool

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

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 © 2014-2021 emadyounis.com