VMware Cloud Community
ranjitcool
Hot Shot
Hot Shot
Jump to solution

VCSA Appliance Configuration using PowerCli (or any other api?)

Hello,

I was able to deploy vcenter server appliance 5.5 using powerCLI.

Now how do I configure it. Here I am talking about the vcsa configuration and NOT vcenter configuration - I hope that makes sense.

Is there a powercli cmd-let to allow me to do that or should I hit any vcsa api?

Please advise.

Thanks

RJ

Please award points if you find my answers helpful Thanks RJ Visit www.rjapproves.com
0 Kudos
1 Solution

Accepted Solutions
ranjitcool
Hot Shot
Hot Shot
Jump to solution

Hey Luc,

I scripted it myself and it works!

AUTOMATE VCENTER SERVER APPLIANCE DEPLOYMENT | RJ Approves This Message!

And also on my github at rjapproves/VMware-VCSA5.5-Automation · GitHub

Thank you,

RJ

Please award points if you find my answers helpful Thanks RJ Visit www.rjapproves.com

View solution in original post

0 Kudos
5 Replies
LucD
Leadership
Leadership
Jump to solution

You can configure the appliance while you deploy it.

You can use the new (in PowerCLI 5.8 R1) Get-OvfConfiguration cmdlet.

See PowerCLI 5.8 New Feature: Get-OvfConfiguration (Part 1 of 2) and PowerCLI 5.8 New Feature: Import-vApp using Get-OvfConfiguration (Part 2 of 2) for more info on how to do this.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
ranjitcool
Hot Shot
Hot Shot
Jump to solution

Hey Luc

how are you?

I Did deploy using get-ovfconfiguration cmdlet but I now need to initialize the db etc (accept Eula from GUI and start services) how do I do that any API or any pshell solution?

thanks

rJ

Please award points if you find my answers helpful Thanks RJ Visit www.rjapproves.com
0 Kudos
LucD
Leadership
Leadership
Jump to solution

I have never tried that I'm afraid.

And afaik, there are no samples of this available.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
ranjitcool
Hot Shot
Hot Shot
Jump to solution

Hey Luc,

I scripted it myself and it works!

AUTOMATE VCENTER SERVER APPLIANCE DEPLOYMENT | RJ Approves This Message!

And also on my github at rjapproves/VMware-VCSA5.5-Automation · GitHub

Thank you,

RJ

Please award points if you find my answers helpful Thanks RJ Visit www.rjapproves.com
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Wow, great.

Thanks for sharing.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos