govc-host-add
Migrate virtual NIC (vmk) from Standard vSwitch to Distributed vSwitch
This task will enroll ESXi nodes to either a datacenter or cluster. If
just esxi/datacenter-name
is specified and esxi/cluster-name
is not
specified then the host will be added to the Datacenter. If both are specified,
then the host will be added to the Cluster that exists in the specified
Datacenter.
If esxi/cluster-folder
is provided then the host will also be added to
that Folder.
If datacenter and/or cluster does not yet exist on the vCenter, they will be created first.
The Param esxi/cluster-options
can be specified to change the cluster
configuration options. This is also used to enable VSAN configuration on
the cluster level. Cluster options are only configured if the cluster name
Param is also specified.
This task is intended to be run from the govc
context. It is not run
as a standalone workflow, as the older govc-cluster-create
pattern used
to operate.