开发者

Programmatically add VMware ESX host to vCenter during kickstart

开发者 https://www.devze.com 2022-12-16 06:24 出处:网络
I\'d like to have my开发者_运维百科 ESX hosts add themselves to vCenter during the kickstart process (or in a script that runs after the first boot).

I'd like to have my开发者_运维百科 ESX hosts add themselves to vCenter during the kickstart process (or in a script that runs after the first boot).

I can't find a method for doing this; is there one?


There are methods in the API to add hosts: one for standalone hosts, and one for hosts in a cluster.

I'm not sure what scripting tools you have available during the kickstart process, but I recommend using one of VMware's scripting wrappers: the PowerCLI for powershell, for instance. There are SDKs available in .Net and Perl, among others. See here for more API information.

0

精彩评论

暂无评论...
验证码 换一张
取 消