ansible-for-nsxt icon indicating copy to clipboard operation
ansible-for-nsxt copied to clipboard

updating NSX Configuration to host node mady by vcenter

Open joungwoongpark opened this issue 5 years ago • 1 comments

I used test_transport_nodes.yml to update NSX Configuration of host node. It worked for indepedent host node but not for host node made by vcenter. is there any yml file to update nsx configuration of host node made by vcenter ??

In addition, I know I can update NSX configuration per cluster made by vcenter using test_transport_node_collections.yml. but I just want to make NSX configuraion per host not cluster. 3 nsx configuration

joungwoongpark avatar Sep 16 '19 09:09 joungwoongpark

Hi, independent ESXi hosts (managed by vCenter) can be configured for NSX using the nsxt_transport_nodes module. Please look at the example playbook here: https://github.com/vmware/ansible-for-nsxt/blob/master/examples/setup_infra/04_create_transport_nodes.yml

The Transport Nodes are defined in the variable file here: https://github.com/vmware/ansible-for-nsxt/blob/master/examples/setup_infra/setup_infra_vars.yml#L120

The nsxt_transport_nodes modules can configure the following types of Transport Nodes:

  • Standalone ESXi hosts
  • ESXi hosts managed by vCenter
  • Standalone KVM hosts
  • Edge Transport Nodes (VM form factor)
  • Edge Transport Nodes (Baremetal)

The request to configure NSX per vCenter cluster is an enhancement. I will file a separate issue to track that.

Thanks!

madhukark avatar Oct 17 '19 04:10 madhukark