advunips2
Contributor
Contributor

Configuration ESXi via Script

Jump to solution

Hello,

Does anyone have a prepared script to perform the basic configuration (DNS, NTP, Network, activation of services...) of an ESX server (6.5/6.7) and could share it?

This makes it easier to set up multiple servers in parallel with the same configuration.

Thanks

Peter

Tags (3)
1 Solution

Accepted Solutions
sk84
Expert
Expert

Hi Peter,

Why don't you use host profiles? Or does this not allow your license?

If you want to script the whole configuration of multiple hosts, this might help: Automate ESXI Host Configuration with PowerCLI and CSV - The Art of Information Technology

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.

View solution in original post

6 Replies
sk84
Expert
Expert

Hi Peter,

Why don't you use host profiles? Or does this not allow your license?

If you want to script the whole configuration of multiple hosts, this might help: Automate ESXI Host Configuration with PowerCLI and CSV - The Art of Information Technology

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.

View solution in original post

a_p_
Leadership
Leadership

Since you're asking for a script, I've moved the discussion from VMware vSphere™ to VMware PowerCLI

LucD
Leadership
Leadership

The script mentioned earlier is a good start.
Check what is still missing, I'm pretty sure we can find samples in this community


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

advunips2
Contributor
Contributor

Thank you very much!

At the Moment where I configure the servers (inhouse at our company) i didn't have an vCenter.

Peter

0 Kudos
UberGeek1
Contributor
Contributor

You may want to look at using a Kickstart script to perform these actions at install time.  That's really the only option I can think of without vCenter because you probably don't have licensing for PowerCLI either.

Sincerely, Jody L. Whitlock
0 Kudos
LucD
Leadership
Leadership

There is no licensing for PowerCLI.

You can use it with any vSphere server, beit a vCenter or an ESXi node.


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