Create Content



Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Created on Mar 8, 2022

On This Page

Introduction

This Quick Start Guide describes how to install and prepare a VMware NSX Edge on Bare Metal server with NVIDIA® ConnectX®-5 card and NATIVE VMware ESXi Driver on VMware vSphere Cluster version 7.0.3c, and how to perform basic initial configuration steps.

Abbreviations and Acronyms

TermDefinition
DHCPDynamic Host Configuration Protocol
NATNetwork Address Translation
VDS NSX-managed Virtual Distributed Switch
VMVirtual Machine
VPNVirtual Private Network
QSGQuick Start Guide

References

Key Components and Technologies

VMware NSX-T Edge

  • VMware NSX-T Edge 

    Edge nodes are service appliances with pools of capacity, dedicated to run network and security services that cannot be distributed to the hypervisors.

    NSX-T Edge nodes are used for security and gateway services that can’t be run on the distributed routers in use by NSX-T. These edge nodes do things like North/South routing, load balancing, DHCP, VPN, NAT, etc. If you want to use Tier0 or Tier1 routers, you will need to have at least 1 edge node deployed. 

Include Page
SA:NBU ETH ConnectX : Solutions Key Components
SA:NBU ETH ConnectX : Solutions Key Components

Hardware and Software Requirements

Procedure

To install NSX Edge on Bare Metal server, you can either use a PXE server for automatic installation, or an ISO file.

This document demonstrates how to manually install NSX Edge nodes on bare metal using an ISO file. This includes configuring networking settings, such as IP address, gateway, network mask, NTP, and DNS.

Installing NSX Edge on Bare Metal

To install a new NSX Edge on a bare metal server:

  1. Download the NSX manager OVA from my.vmware.com.
    Image Modified
  2. Log in to the out-of-band management interface (for example, Integrated Lights-Out (ILO) on HP servers) of the bare metal.

  3. Before you begin installation, select the boot mode for the NSX Edge node.
    1. Access the System Setup screen and select System BIOS.
    2. On the System BIOS Setting screen, select Boot Settings.
    3. On the Boot Settings screen, set Boot Mode to Legacy or UEFI.
    4. Click Back and Finish.
  4. Click the Virtual Media icon and Select CD/DVDLocal *.iso file.
    Image Modified

  5. Select the downloaded file and click Open to connect to the virtual media.
    Image Modified
    Wait a few seconds for the virtual media to connect.
  6. Choose Interactive install. There may be a pause for 10 seconds after which you press Enter
    Image Modified
  7. In the Configure the keyboard window, Select No.
    Image Modified
  8. Select English US as the language. Click Enter.
    Image Modified
  9. Wait for the additional components to load.  
    Image Modified
  10. Select the applicable primary network interface. This is for the management network interface.
    Image Modified
  11. Select Yes to specify the VLAN ID to connect to a Tagged interface, or No if you wish to connect to an Untagged interface.
    Image Modified
  12. In our case, we are using DHCP for the network configuration.
    Image Modified
  13. Click Continue. In this case, kick start is not used.
    Image Modified
  14. Select a disk size that meets the system requirements.
  15. In the Partition disks window, choose one of the following options.
    • Yes - in case you want to unmount existing partitions for new partitions to be created on disks.
    • No - in case you want to use existing partitions.
  16. After the NSX Edge node starts, log in to the CLI with admin credentials.

    Note

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

    Upon initial login, make sure to change the default password.


    Image Modified

    Note
    After the NSX Edge node starts, if you do not log in for the first time using admin credentials, the data plane service will not start automatically on the NSX Edge node.
  17. Run the get interface eth2 (in our case, without VLAN) or get interface ethX.<vlan_ID> (with a VLAN) command to verify that the IP address was applied as expected.
    Image Modified
  18. Wait for system system reboot, and log with admin credentials. 
  19. 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).
    To see physical NICs to be used by NSX-T Data Center dataplane from the list of available PCI devices, run the following command.
    Image Modified
  20. (Optional) To configure custom NICs for dataplane, run the following commands.

    Code Block
    languagetext
    themeFadeToGrey
    titleNSX-T Edge console
    sl01w01edge02> reset dataplane device list
    sl01w01edge02> set dataplane device list <NIC1>, <NIC2>, <NIC3> 
    sl01w01edge02> restart service dataplane
  21. Verify that the NSX Edge node has the required connectivity.

    If you enabled SSH, make sure that you can use 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 in a network reachable through routing.
    • From the NSX Edge node, you can ping the DNS server and NTP Server IP or FQDN.
      Image Modified
  22. To establish communication between NSX Edges and NSX Manager or NSX Manager cluster, join NSX Edges with NSX Manager. You only need to register NSX Edges with one NSX Manager to ensure communication with the management plane.
    Open an SSH session or console session to one of the NSX Manager appliances.
    To retrieve the thumbprint of the NSX Manager appliance, at the NSX Manager appliance console, run the get certificate API thumbprint command.
    The command output is a string of alphanumeric numbers that is unique to this NSX Manager.
    For example:
    Image Modified
  23. To join the NSX Manager appliance to the NSX Edge node VM, run the join management-plane command.
    join management-plane <Manager-IP> thumbprint <Manager-thumbprint> username admin

    Provide the following information:
    • Hostname or IP address of the NSX Manager with an optional port number
    • Username of the NSX Manager
    • Certificate thumbprint of the NSX Manager
    • Password of the NSX Manager

Image Modified

Verification

To Verify the result, run the get managers command on your NSX Edge node VMs.
Image Modified

Or alternatively, in the NSX Manager UI, navigate to System Fabric Nodes Edge Transport Nodes.
Image Modified

On the NSX Edge Transport Node page:

  • The Configuration State column displays Pending. Click Configure NSX to begin configuration on the node. If the NSX Version column does not display the version number installed on the node, try refreshing the browser window.
  • Before you configure NSX on the NSX Edge node, the Node Status and Tunnel Status columns display state Not Available. The Transport Zones and N-VDS switches columns display value 0, indicating that there are no transport zones attached or N-VDS switches configured on the NSX Edge node.

Configuring an NSX Edge as a Transport Node

After manually installing NSX EdgeBare Metal, configure the NSX Edge as a transport node in NSX-T Data Center.

A transport node is a node that is capable of participating in an NSX-T Data Center overlay or NSX-T Data Center VLAN networking. Any node can serve as a transport node if it contains an N-VDS. Such nodes include but are not limited to NSX Edges.

An NSX Edge can belong to one overlay transport zone and multiple VLAN transport zones. If a VM requires access to the outside world, the NSX Edge must belong to the same transport zone that the VM's logical switch belongs to. Generally, the NSX Edge belongs to at least one VLAN transport zone to provide the uplink access.

Prerequisites

  • Transport zones must be configured.
  • Verify that compute manager is configured. See Add a Compute Manager.
  • An uplink profile must be configured or you can use the default uplink profile for bare-metal NSX Edge nodes.
  • An IP pool must be configured or must be available in the network deployment.
  • At least one unused physical NIC must be available on the host or NSX Edge node.
Note

Visit this document to perform all configurations needed.

Procedure

  1. From a browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Select System → Fabric → Nodes → Edge Transport Nodes.
  3. Select the Edge node and click Edit.
    Image Modified
  4. In the dialogue window, specify the Edge Switch Name  nvds3, select the Transport Zone → SL-WL01-Overlay-TZand SL-WL01-VLAN-TZ, Uplink Profile → Edge-BM-Uplink-profile, and LLDP Profile → LLDP [Send Packet Enabled]. Scroll down.
    Image Modified
    IP Assignment(TEP) → Use IP Pool and the IP Pool → SL-WL01-TEP-Edge-IPpool for the TEPs for the Edge. In Team Policy Uplink Mapping uplink-1
    click Select Interfaces.
    Click SAVE
    Image Modified

  5. View the connection status on the Transport Nodes page.
    Image Modified

  6. To successfully configure firewall rules on the NSX Edge node, enable service core on the transport node.

    Code Block
    languagetext
    themeFadeToGrey
    titleNSX-T Edge console
    sl01w01edge02> set debug 
    
    sl01w01edge02> set dataplane service-core enabled
    
    
    INFO: Enabling service core. Changing from [] to 12,13,14,15,16,17.
    INFO: Config was written to: /config/vmware/edge/config.json
    INFO: Grub backup already exists. Skipping.
    INFO: Grub config is good.
    
    sl01w01edge02> restart service dataplane
    sl01w01edge02> 
  7. (Optional) View the transport node with the GET https://<nsx-manager>/api/v1/transport-nodes/<transport-node-id> API call.
  8. (Optional) For status information, use the GET https://<nsx-mgr>/api/v1/transport-nodes/<transport-node-id>/status API call.
  9. After an NSX Edge node is migrated to a new host using vCenter Server, you might find NSX Manager UI reporting stale configuration details (Compute, Datastore, Network, SSH, NTP, DNS, Search Domains) of the NSX Edge. To get the latest configuration details of NSX Edge on the new host, run the API command POST api/v1/transport-nodes/<transport-node-id>?action=refresh_node_configuration&resource_type=EdgeNode

What to do next

Add the NSX Edge node to an NSX Edge cluster. See Create an NSX Edge Cluster.


Done!

Authors

Include Page
SA:Boris Kovalev
SA:Boris Kovalev

Related Documents

Content by Label
showLabelsfalse
showSpacefalse
sortcreation
cqllabel in ("vmware","nsx-t","edge")