Use the automated installation of NSX Edge on the bare metal servers because it automatically configures the NSX Edge node according to the hardware configuration and the most frequently used NSX Edge configuration. After the installation is complete, configure the management interface of the nodes as out-of-band or as in-band and provide the final IP configuration of the management interface statically or over DHCP.

Prerequisites

For more details about the supported NICs, see VMware Compatibility Guide.

Procedure

  1. Go to https://customerconnect.vmware.com and navigate to Products and AccountsProductsAll Products.
  2. Search VMware NSX and select the appropriate product version.
  3. Locate and download the ISO file for NSX Edge for Bare Metal.
  4. Log in to the Integrated Lights-Out (ILO) interface of the bare metal server.
  5. Click Launch in the virtual console preview.
  6. Select Virtual Media > Connect Virtual Media.
    Wait a few seconds for the virtual media to connect.
  7. Select Virtual Media > Map CD/DVD and browse to the ISO file.
  8. Select Next Boot > Virtual CD/DVD/ISO.
  9. Select Power > Reset System (warm boot).
    The installation duration depends on the bare metal environment.
  10. Choose Automated installation.
    There might be a pause of 10 seconds after you press Enter.
  11. Select the applicable primary network interface. This is for the management network interface.

    During power-on, the installer requests a network configuration. Select static IP settings. If the static IP is not avialable, use DHCP.

    By default, the root login password is vmware, and the admin login password is default.

    Note: During deployment, the installer automatically selects the largest disk to install NSX on the NSX Edge node.
  12. Open the console of the NSX Edge node to track the boot process.
    If the console window does not open, make sure that pop-ups are allowed.
  13. After the NSX Edge node starts, log in to the CLI with admin credentials.
    Note: After NSX Edge node starts, if you do not log in with admin credentials for the first time, the data plane service does not automatically start on the NSX Edge node.
  14. After the reboot, you can log in with either admin or root credentials. The default root password is vmware.
  15. There are three ways to configure a management interface.
    • Untagged interface. This interface type creates an out-of-band management interface.

      (Static) set interface eth0 ip <CIDR> gateway <gateway-ip> plane mgmt

      (DHCP) set interface eth0 dhcp plane mgmt

    • Tagged interface.

      set interface eth0 vlan <vlan_ID> plane mgmt

      (Static) set interface eth0.<vlan_ID> ip <CIDR> gateway <gateway-ip> plane mgmt

      (DHCP) set interface eth0.<vlan_ID> dhcp plane mgmt

    • In-band interface.

      set interface mac <mac_address> vlan <vlan_ID> in-band plane mgmt

      (Static) set interface eth0.<vlan_ID> ip <CIDR> gateway <gateway-ip> plane mgmt

      (DHCP) set interface eth0.<vlan_ID> dhcp plane mgmt

    • Tagged interface and In-band interface.

      Any existing VLAN management interface must be cleared before creating a new one.

      clear interface eth0.<vlan_ID>

    • (Optional) Create a bond0 interface for management HA interface with multiple interfaces.

      You can configure a bond management interface on an NSX Edge using the following CLI command. Use console to clear existing mangement IP before you create a bond and add an interface to it.

      Note: Only active-backup mode is allowed on a bond interface. You can configure VLANs on a bond0 interface.

      Create a bond interface

      set interface bond0 ip x.x.x.x/mask gateway x.x.x.x plane mgmt mode active-backup members eth0,eth1 primary eth0

      Create vlan inteface on bond0

      set interface bond0 vlan Y plane mgmt

      Assign IP address to bond0.yyy

      set interface bond0.yyy ip x.x.x.x/24 gateway z.z.z.z plane mgmt

  16. Run the get interface eth0 (without VLAN) or get interface eth0.<vlan_ID> (with a VLAN) command to verify that the IP address was applied as expected.
    nsx-edge-1> get interface eth0.100 
    
    Interface: eth0.100
      Address: 192.168.110.37/24
      MAC address: 00:50:56:86:62:4d
      MTU: 1500
      Default gateway: 192.168.110.1
      Broadcast address: 192.168.110.255
      ...
    
    Note: When bringing up NSX Edge nodes on non-NSX managed host, verify that the MTU setting is set to 1600 (instead of 1500) on the physical host switch for the data NIC.
  17. Set physical NICs to be used by NSX dataplane from the list of available PCI devices.
    1. get dataplane device list
    2. reset dataplane device list
    3. restart service dataplane
    4. get physical-port
    After selecting physical NICs, restart NSX dataplane services for changes to take effect.
    Note: Starting in NSX 3.1.2, you can claim up to 16 physical NICs.
    Note: To configure custom NICs for dataplance, run the set dataplane device list <NIC1>, <NIC2>, <NIC3> command.
  18. To avoid network configuration errors, verify that the physical NICs selected match the NICs configured in the uplink profiles.
  19. Verify that the NSX Edge node has the required connectivity.

    If you enabled SSH, make sure that you can SSH to your NSX Edge node and verify the following:

    • You can ping your NSX Edge node management interface.
    • From the NSX Edge node, you can ping the node's default gateway.
    • From the NSX Edge node, you can ping the hypervisor hosts that are either in the same network or a network reachable through routing.
    • From the NSX Edge node, you can ping the DNS server and NTP Server IP or FQDN list.
  20. Troubleshoot connectivity problems.
    Note: If connectivity is not established, make sure the VM network adapter is in the proper network or VLAN.

    By default, the NSX Edge node datapath claims all virtual machine NICs except the management NIC (the one that has an IP address and a default route). If you incorrectly assigned a NIC as the management interface, follow these steps to use DHCP to assign management IP address to the correct NIC.

    1. Log in to the NSX Edge CLI and type the stop service dataplane command.
    2. Type the set interface interface dhcp plane mgmt command.
    3. Place interface into the DHCP network and wait for an IP address to be assigned to that interface.
    4. Type the start service dataplane command.
      The datapath fp-ethX ports used for the VLAN uplink and the tunnel overlay are shown in the get interfaces and get physical-port commands on the NSX Edge node.