You can manage core vSphere networking configurations in the vSphere Lifecycle Manager cluster level configuration manager. The vSphere networking configurations include vmknics, netstacks, vdsvswitches, pnics, netdump. firewall. ipsec, /etc/hosts, /etc/resolv.conf .
Using the configuration manager, you can configure VCPs that are attached to the VCP cluster which includes the host settings such as, the list of distributed switches that the hosts can join, and the PNIC to VDS uplink mapping.
Export Host Configuration
Learn how desired state configuration helps you to seamlessly manage your vSphere Networking configurations across geographies and different domains.
In this task, we are exporting a JSON file holding the desired state specification for a vmknic adapter.
Prerequisites
- You must have a vSphere Life Cycle Manager enabled cluster.
- Ensure that you have hosts in the cluster.
Procedure
- In the vSphere Client, navigate to the Cluster.
- Click Desired State > Host Settings > Extract from reference host. The Extract Settings dialog box appears.
- Choose the host from the existing cluster.
- Click Next
- Click Download Settings to download the file.
Results
The JSON file is downloaded.
What to do next
Import Host Configuration
Learn how to import a desired state as a JSON file.
Learn how to import a JSON file with host configuration. Before applying a desired state on a cluster, you can scan all hosts in the cluster against the desired state and check the cluster compliance against the desired state. You can run compliance checks to detect any drifts instantly.
Prerequisites
- You must have a vSphere Life Cycle Manager enabled cluster.
- Ensure you have hosts in the cluster.
- Ensure you have a valid host configuration JSON file.
Procedure
Results
You can view the imported settings on the host.