vCenter: Cluster Skip Quickstart Workflow via API


Summary:

Basically, whenever you reset vCenter, you might end up w/ a warning on a cluster running vSAN that's just annoying.  To circumvent, this from alerting, you need to disable quickstart.  Easy enough via UI, but API is a little weird here.

Details:

For one, code capture doesn't seem to understand this.  So no help there unfortunately.  Secondly, nothing named "quickstart" is in the API, so made this somewhat annoying to try and find.  Seems like someone had this question on the VMware communities forum 2 years ago w/ no answer.  Someone asked me internally, so I had to dig into it.

Basically, two things:

  1. You can create a cluster w/ quick start disabled from the get go by passing a false boolean to a parameter named: "InHciWorkflow" via API/PowerCLI call
  2. Secondly, to "skip QuickStart" on an already created cluster, you can call a method called:
    • "AbandonHciWorkflow"
So yeah, you can see how "quickstart" and "HCIWorkflow" SCREAM the same thing...

Code Sample:

Comments

Popular posts from this blog

RacADM, Powershell, and Kerberos KeyTabs

MacOS: AnyConnect VPN client was unable to successfully verify the IP forwarding table modifications.

PowerCLI: The SSL connection could not be established, see inner exception.