Install a NetQ On-premises Appliance Cluster

This topic describes how to prepare your cluster of NetQ On-premises Appliances for installation of the NetQ Platform software.

Inside each box that was shipped to you, you’ll find:

  • A Cumulus NetQ On-premises Appliance (a Supermicro 6019P-WTR server)
  • Hardware accessories, such as power cables and rack mounting gear (note that network cables and optics ship separately)
  • Information regarding your order

For more detail about hardware specifications (including LED layouts and FRUs like the power supply or fans, and accessories like included cables) or safety and environmental information, refer to the user manual and quick reference guide.

Install Each Appliance

After you unbox the appliance:
  1. Mount the appliance in the rack.
  2. Connect it to power following the procedures described in your appliance's user manual.
  3. Connect the Ethernet cable to the 1G management port (eno1).
  4. Power on the appliance.

If your network runs DHCP, you can configure Cumulus NetQ over the network. If DHCP is not enabled, then you configure the appliance using the console cable provided.

Configure the Password, Hostname and IP Address

Change the password and specify the hostname and IP address for each appliance before installing the NetQ software.

  1. Log in to the appliance that will be your master node using the default login credentials:

    • Username: cumulus
    • Password: CumulusLinux!
  2. Change the password using the passwd command:

    cumulus@hostname:~$ passwd
    Changing password for <user>.
    (current) UNIX password:
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    
  3. The default hostname for the NetQ On-premises Appliance is netq-appliance. Change the hostname to fit your naming conventions using the following command:

    cumulus@hostname:~$ sudo hostnamectl set-hostname NEW_HOSTNAME
    
  4. Identify the IP address.

    The appliance contains two Ethernet ports. Port eno1, is dedicated for out-of-band management. This is where NetQ Agents should send the telemetry data collected from your monitored switches and hosts. By default, eno1 uses DHCPv4 to get its IP address. You can view the assigned IP address using the following command:

    cumulus@hostname:~$ ip -4 -brief addr show eno1
    eno1             UP             10.20.16.248/24
    

    Alternately, you can configure the interface with a static IP address by editing the /etc/netplan/01-ethernet.yaml Ubuntu Netplan configuration file.

    For example, to set your network interface eno1 to a static IP address of 192.168.1.222 with gateway 192.168.1.1 and DNS server as 8.8.8.8 and 8.8.4.4:

    # This file describes the network interfaces available on your system
    # For more information, see netplan(5).
    network:
        version: 2
        renderer: networkd
        ethernets:
            eno1:
                dhcp4: no
                addresses: [192.168.1.222/24]
                gateway4: 192.168.1.1
                nameservers:
                    addresses: [8.8.8.8,8.8.4.4]
    

    Apply the settings.

    cumulus@hostname:~$ sudo netplan apply
    
  5. Repeat these steps for each of the worker node appliances.

Verify NetQ Software and Appliance Readiness

Now that the appliances are up and running, verify that the software is available and the appliance is ready for installation.

  1. On the master node, verify that the needed packages are present and of the correct release, version 3.2.0 and update 27 or later.

    cumulus@hostname:~$ dpkg -l | grep netq
    ii  netq-agent   3.2.0-ub18.04u30~1601400975.104fb9e_amd64   Cumulus NetQ Telemetry Agent for Ubuntu
    ii  netq-apps    3.2.0-ub18.04u30~1601400975.104fb9e_amd64   Cumulus NetQ Fabric Validation Application for Ubuntu
  2. Verify the installation images are present and of the correct release, version 3.2.0.

    cumulus@hostname:~$ cd /mnt/installables/
    cumulus@hostname:/mnt/installables$ ls
    NetQ-3.2.0.tgz  netq-bootstrap-3.2.0.tgz
  3. Verify the master node is ready for installation. Fix any errors indicated before installing the NetQ software.

    cumulus@hostname:~$ sudo opta-check
  4. Run the Bootstrap CLI. Be sure to replace the eno1 interface used in this example with the interface or IP address on the appliance used to listen for NetQ Agents.

    cumulus@:~$ netq bootstrap master interface eno1 tarball /mnt/installables/netq-bootstrap-3.2.0.tgz

    Allow about five to ten minutes for this to complete, and only then continue to the next step.

    If this step fails for any reason, you can run netq bootstrap reset [purge-db|keep-db] and then try again.

    If you have changed the IP address or hostname of the NetQ On-premises Appliance after this step, you need to re-register this address with NetQ as follows:

    Reset the appliance, indicating whether you want to purge any NetQ DB data or keep it.

    cumulus@hostname:~$ netq bootstrap reset [purge-db|keep-db]

    Re-run the Bootstrap CLI on the appliance. This example uses interface eno1. Replace this with your updated IP address, hostname or interface using the interface or ip-addr option.

    cumulus@:~$ netq bootstrap master interface eno1 tarball /mnt/installables/netq-bootstrap-3.2.0.tgz
  5. On one or your worker nodes, verify that the needed packages are present and of the correct release, version 3.2.0 and update 27 or later.

    cumulus@hostname:~$ dpkg -l | grep netq
    ii  netq-agent   3.2.0-ub18.04u30~1601400975.104fb9e_amd64   Cumulus NetQ Telemetry Agent for Ubuntu
    ii  netq-apps    3.2.0-ub18.04u30~1601400975.104fb9e_amd64   Cumulus NetQ Fabric Validation Application for Ubuntu
  6. Configure the IP address, hostname, and password using the same steps as for the master node. Refer to Configure the Password, Hostname and IP Address.

    Make a note of the private IP addresses you assign to the master and worker nodes. They are needed for the later installation steps.

  7. Verify that the needed packages are present and of the correct release, version 3.2.0 and update 30.

    cumulus@hostname:~$ dpkg -l | grep netq
    ii  netq-agent   3.2.0-ub18.04u30~1601400975.104fb9e_amd64   Cumulus NetQ Telemetry Agent for Ubuntu
    ii  netq-apps    3.2.0-ub18.04u30~1601400975.104fb9e_amd64   Cumulus NetQ Fabric Validation Application for Ubuntu
  8. Verify that the needed files are present and of the correct release.

    cumulus@hostname:~$ cd /mnt/installables/
    cumulus@hostname:/mnt/installables$ ls
    NetQ-3.2.0.tgz  netq-bootstrap-3.2.0.tgz
  9. Verify the appliance is ready for installation. Fix any errors indicated before installing the NetQ software.

    cumulus@hostname:~$ sudo opta-check
  10. Run the Bootstrap CLI on the worker node.

    cumulus@:~$ netq bootstrap worker tarball /mnt/installables/netq-bootstrap-3.2.0.tgz master-ip <master-ip>

    Provide a password using the password option if required. Allow about five to ten minutes for this to complete, and only then continue to the next step.

  11. Repeat Steps 5-10 for each additional worker node (NetQ On-premises Appliance).

Considerations for Container Environments

Flannel Virtual Networks

If you are using Flannel with a container environment on your network, you may need to change its default IP address ranges if they conflict with other addresses on your network. You do this by running the bootstrap command.

The address range is 10.244.0.0/16. NetQ overrides the original Flannel default, which is 10.1.0.0/16.

To change the default address range, use the bootstrap CLI with the pod-ip-range option. For example:

cumulus@hostname:~$ netq bootstrap master interface eth0 tarball /mnt/installables/netq-bootstrap-3.2.0-snapshot.tgz pod-ip-range 10.255.0.0/16

Docker Default Bridge Interface

The default Docker bridge interface is disabled in NetQ. If you need to re-enable the interface, contact Cumulus support.

Install and Activate the NetQ Software

The final step is to install and activate the Cumulus NetQ software on each appliance in your cluster. You can do this using the Admin UI or the NetQ CLI.

Click the installation and activation method you want to use to complete installation: