To prepare a KVM host or a bare metal server to be a fabric node, you must install some third-party packages.

Prerequisites

  • (Red Hat and CentOS) Before you install the third-party packages, install the virtualization packages. On the host, run the following commands:

    yum groupinstall “Virtualization Hypervisor”
    yum groupinstall “Virtualization Client”
    yum groupinstall "Virtualization Platform"
    yum groupinstall "Virtualization Tools"
    

    If you are not able to install the packages, you can manually install them with the command yum install glibc.i686 nspr on a new installation.

  • (Ubuntu) Before you install the third-party packages, install the virtualization packages. On the Ubuntu host, run the following commands:

    apt-get install qemu-kvm 
    apt-get install libvirt-bin 
    apt-get install virtinst 
    apt-get install virt-manager 
    apt-get install virt-viewer
    apt-get install ubuntu-vm-builder
    apt-get install bridge-utils
  • (Bare metal server) There are no virtualization prerequisites for installing third-party packages.

Procedure

  • On Ubuntu 16.04.2 LTS, make sure that the following third-party packages are installed on the host.
    libunwind8
    libgflags2v5
    libgoogle-perftools4
    traceroute
    python-mako
    python-simplejson
    python-unittest2
    python-yaml
    python-netaddr
    libprotobuf9v5
    libboost-chrono1.58.0
    libgoogle-glog0v5
    dkms
    libboost-date-time1.58.0
    libleveldb1v5
    libsnappy1v5
    python-gevent
    python-protobuf
    ieee-data
    libyaml-0-2
    python-linecache2
    python-traceback2
    libtcmalloc-minimal4
    python-greenlet
    python-markupsafe
    libboost-program-options1.58.0
    

    If the dependency packages are not installed on Ubuntu 16.04.2 LTS, run apt-get install <package> to manually install the packages.

  • Verify that the Red Hat and CentOS hosts are registered and the respective repositories are accessible.
    Note:

    If you prepare the host using the NSX-T Data Center UI, you must install the following dependencies on the host.

    Install third-party packages on RHEL 7.4 and CentOS 7.4.

    yum-utils
    wget
    redhat-lsb-core
    tcpdump
    boost-filesystem
    PyYAML
    boost-iostreams
    boost-chrono
    python-mako
    python-netaddr
    python-six
    gperftools-libs
    libunwind
    snappy
    boost-date-time
    c-ares
    libev
    python-gevent
    python-greenlet

    Install third-party packages on RHEL 7.5.

    PyYAML
    c-ares
    libev
    libunwind
    libyaml
    python-beaker
    python-gevent
    python-greenlet
    python-mako
    python-markupsafe
    python-netaddr
    python-paste
    python-tempita
  • If you manually prepare the host that is already registered to RHEL or CentOS, you do not need to install dependencies on the host. If the host is not registered, manually install the listed dependencies using the yum install <package>
  • Install third-party packages on a bare metal server.
    1. Depending on your environment, install the listed Ubuntu, RHEL, or CentOS third-party packages in this topic.
    2. Install bare metal server specific third-party packages.

      Ubuntu - apt-get install libvirt-libs

      RHEL or CentOS - yum install libvirt-libs