You can install NSX Edge devices in a manual fashion on bare metal using an ISO file. This includes configuring networking settings, such as IP address, gateway, network mask, NTP, and DNS.

Prerequisiti

Procedura

  1. Go to your MyVMware account (myvmware.com) and navigate to VMware NSX-T Data Center > Downloads.
  2. Locate and download the ISO file for NSX Edge for Bare Metal.
  3. Log in to the out-of-band management interface (for example, Integrated Lights-Out (ILO) on HP servers) of the bare metal.
  4. Click Launch in the virtual console preview.
  5. Select Virtual Media > Connect Virtual Media.
    Wait a few seconds for the virtual media to connect.
  6. Select Virtual Media > Map CD/DVD and browse to the ISO file.
  7. Select Next Boot > Virtual CD/DVD/ISO.
  8. Select Power > Reset System (warm boot).
    The installation duration depends on the bare metal environment.
  9. Choose Automated installation.
    There might be a pause of 10 seconds after you press Enter.
  10. Select the applicable primary network interface.

    During power-on, the installer requests a network configuration via DHCP. If DHCP is not available in your environment, the installer prompts you for IP settings.

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

  11. Aprire la console del nodo di NSX Edge per tenere traccia del processo di avvio.
    Se la finestra della console non si apre, assicurarsi che i pop-up siano consentiti.
  12. Dopo l'avvio del nodo di NSX Edge, accedere alla CLI con credenziali admin.
    Nota: Dopo l'avvio del nodo di NSX Edge, se non si accede con credenziali admin per la prima volta, il servizio del piano dati non viene avviato automaticamente nel nodo di NSX Edge.
  13. Dopo il riavvio, è possibile accedere con credenziali admin o root. La password root predefinita è vmware.
  14. There are three ways to configure a management interface.
    • Untagged interface. This interface type creates an out-of-band management interface.

      (DHCP) set interface eth0 dhcp plane mgmt

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

    • Tagged interface.

      set interface eth0 vlan <vlan_ID> plane mgmt

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

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

    • In-band interface.

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

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

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

    • (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.

      Nota: Only active-backup mode is allowed on a bond interface. It does not allows you to configure VLAN. So, you need to configure VLAN on an access VLAN that sits closer to the physical switch.

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

  15. Eseguire il comando get interface eth0 (senza VLAN) o get interface eth0.<vlan_ID> (con una VLAN) per verificare che l'indirizzo IP sia stato applicato come previsto.
    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
      ...
    
    Nota: Quando si attivano nodi di NSX Edge in un host non gestito da NSX, verificare che il valore di MTU sia impostato su 1600 (anziché su 1500) nel commutatore dell'host fisico per la NIC dei dati.
  16. (Tagged interface and In-band interface) Any existing VLAN management interface must be cleared before creating a new one.

    clear interface eth0.<vlan_ID>

    To set a new interface, refer to step 13.

  17. Set physical NICs to be used by NSX-T Data Center dataplane from the list of available PCI devices.
    1. get dataplane device list
    2. set dataplane device list <NIC1>, <NIC2>, <NIC3>
    3. restart service dataplane
    4. get physical-port
    After selecting physical NICs, restart NSX-T Data Center dataplane services for changes to take effect.
    Nota: Claim up to 16 physical NICs.
  18. To avoid network configuration errors, verify that the physical NICs selected match the NICs configured in the transport node profiles.
  19. Before creating NSX Edge as a transport node, reset the NIC list on dataplane.
    reset dataplane nic list
  20. Verificare che il nodo di NSX Edge disponga della connettività richiesta.

    Se si abilita SSH, assicurarsi di poter accedere tramite SSH al nodo di NSX Edge e verificare:

    • Che sia possibile effettuare il ping dell'interfaccia di gestione del nodo di NSX Edge.
    • Che sia possibile effettuare il ping del gateway predefinito del nodo dal nodo di NSX Edge.
    • Che sia possibile effettuare il ping degli host hypervisor che si trovano nella stessa rete o in una rete raggiungibile tramite routing dal nodo di NSX Edge.
    • Che sia possibile effettuare il ping dell'elenco di IP o nomi idi dominio completi del server DNS e del server NTP dal nodo di NSX Edge.
  21. Risoluzione dei problemi relativi alla connettività.
    Nota: Se la connettività non viene stabilita, assicurarsi che la scheda di rete della macchina virtuale si trovi nella rete o nella VLAN corretta.

    Per impostazione predefinita, il percorso dati del nodo di NSX Edge richiede tutte le NIC delle macchine virtuali ad eccezione della NIC di gestione (ovvero quella che dispone di un indirizzo IP e di una route predefinita). Se si assegna erroneamente una NIC come interfaccia di gestione, eseguire i passaggi seguenti per utilizzare DHCP per assegnare l'indirizzo IP di gestione alla NIC corretta.

    1. Accedere alla CLI di NSX Edge e digitare il comando stop service dataplane.
    2. Digitare il comando set interface interface dhcp plane mgmt.
    3. Posizionare interface nella rete DHCP e attendere che un indirizzo IP venga assegnato a tale interface.
    4. Digitare il comando start service dataplane.
      Le porte fp-ethX del percorso dati utilizzate per l'uplink della VLAN e l'overlay del tunnel vengono visualizzate nei comandi get interfaces e get physical-port nel nodo di NSX Edge.

Operazioni successive

If you did not join the NSX Edge with the management plane, see Unione diNSX Edge con il piano di gestione.