Skip to main content
Skip table of contents

Carrier Hub

1 Carrier Hub - Quick Start Installation Guide

The Carrier Hub by Kognitive Networks is a virtual edge server designed for network management. It offers all the SD-WAN and security services of the EdgeServer, operating in a virtual environment. The product comes with a QCOW2 image for QEMU-based hosts and a VM XML definition file for setup. It supports multiple WAN interfaces and is managed via the Kognitive Cloud. Carrier Hub is tailored for flexible and scalable network management, adapting to different virtual environments, and is designed to be used in high demand locations that require additional processing power and capacity.

2 Pre-requisites

2.1 Customer Deliverables

The following deliverables are given to the customer prior to installation:

QCOW2 image - This is a clean, unregistered VM disk image for QEMU-based hosts, such as KVM.

CH XML definition file - This is a reference definition and must be reviewed for use on a given VM host, especially for the interface mappings and the disk image name. Please refer to the attached CH XML definition file.

ch-blank-reference-definition.xml

2.2 System Requirements

The Carrier Hub is designed to run in the QEMU virtual environment, with KVM and libvirt. It is tested and validated using Ubuntu 22.04 LTS (either server or desktop versions) on Intel gen 6 CPUs or later.

Equivalent AMD CPUs should also work - the QEMU virtualization layer supports both.

2.3 Virtualization Basics

Users should be familiar with the general usage of KVM and virsh (libvirt command line). The following links are excellent resources on installing and using KVM/virsh.

Ubuntu KVM basic description

Ubuntu documentation on libvirt and virsh

Tutorial for installing KVM/QEMU/libvirt on Ubuntu 22.04

Quick guide to several useful virsh commands (while the source is Red Hat, these are valid in Ubuntu as well)

The installation tutorial is highly recommended for setting up a new Ubuntu 22.04 server install with all the tools necessary to run Carrier Hub virtual machines.

If the server version of Ubuntu is used, no GUI will be available. The GUI is not required for the Carrier Hub product to work, all management and VM operations can be done via shell commands. The only real benefit of the virt-manager GUI is the ability to see the VM in a live state.

QEMU and virt-manager support remote connections. It is possible to use a single desktop system to manage multiple KVM host systems.

2.4 Recommended VM Configuration

Parameter

Minimum Value

Recommended Value

CPU Cores

2

4

RAM

8GB

16GB

Storage

120GB (max size)

120GB (max size)

Network

1 WAN

2 WAN

  • The QCOW2 image file is a sparsely-filled compressed disk image. It will expand to a maximum of 120GB over time. No other additional storage devices or volumes are required.

  • Additional WAN interfaces may be configured.

  • For WAN interfaces, the macvtap interface/driver works as intended, and a specific physical interface may be shared across multiple VM instances.

3 How to Buy Carrier Hub

  • The user submits the Purchase Order for the required number of Carrier Hub machines.

  • Kognitive Networks evaluates the PO and fulfills it by allocating the machine to the user from a pool of pre-generated DIDs.

  • The list of Carrier Hub virtual machines sold to the user will be available in their Kognitive Cloud application. The user can access them from their Inventory screen.

4 How to Register the Carrier Hub to Kognitive Cloud

  • Login to Kognitive Cloud using a web browser at https://cloud.kognitive.net

  • Select Inventory from the left menu bar.

  • Click on the Warehouse tab to see a list of devices available for registration.

image-20240202-122546 (1)-20241201-182439.png

Figure 1 Kognitive Cloud - Inventory

  • Search for the Serial number of the device to be registered and select Register button.

  • The Register Inventory dialog box opens.

Figure 2 Register Inventory Dialog Box

  • Select the Organization and Site Name.

    • To add a new site, enter the site name and select Add “New site name”.

  • Select the Yes radio button to apply the Golden Configuration.

  • Click  Register button to assign the device to the site.

  • Once Assigned, the device will be moved from the Warehouse to the Deployed Tab.

  • After the registration is complete, the table in the Deployed Tab displays the Site Name, Device Type, Serial Number, Registration Date, Organization, etc.

5 Install Carrier Hub

  1. Once the Carrier Hub product is purchased, a unique Device ID is assigned and the same should show up in the customer inventory (in Kognitive Cloud).

  2. Before bring up of the VM, please make sure the Carrier Hub Device ID is associated to a site - Refer section 3 How to Register the Carrier Hub to Kognitive Cloud or “How To: Register a Device” from the How To/ Guides section.

  3. Download the QCOW2 image from the Kognitive Cloud / Sharepoint.

  4. Create a copy of the QCOW2 image on the host, this will become the storage for the new VM - it is recommended to name the copy with the Device ID so that it can be identified easily.

  5. Copy and edit the XML definition file to use the new image - again the Device ID is a good way to uniquely identify this XML definition. The XML must be edited with the VM name and path, as well as the logical names of the physical network interfaces. Each section that must be edited is marked with a comment and instructions after the text: ‘CHANGE’.

  6. Use the XML to define a new VM in the host with virsh define {xml file}

  7. A list of all defined VMs on the host, as well as their current state, can be obtained with virsh list --all

  8. Start the VM with virsh start {vm name} (to stop a VM the command is virsh shutdown {vm name})

  9. Once the VM is started, the VM needs to be personalized to bring it online and functional. This may be done using the virt-manager UI and opening the graphical console, or by opening a serial console on the VM (using virsh console {vm name}) It may take 30-60 seconds for the VM to fully boot to where the serial console will respond.

  10. To disconnect the console, use ^] - control key and ]. It is good practice to log out from the VM first, since disconnecting does not automatically do so.

5.1 VM Personalization

All these steps must be done from the VM console. The credentials are configure/configure.

The primary configuration steps are as follows:

  1. Assign the WAN network interfaces.

  2. Network IP configuration for WAN interfaces - By default they are configured as DHCP clients, this step is used to configure static IP's for these if necessary.

  3. Register the System - During this step, user must provide login details for the (Kognitive Cloud Login). Based on the provided login, the console will list all the VM devices registered and the user must choose a specific Site/DeviceName/DeviceID which is then assigned/allocated for this specific VM instance.

Note:

  1. The registration/personalization step require internet access, hence make sure after the network IP configuration the internet is reachable. There is a ping command in the console for testing purposes.

  2. After each of these above steps, the system may automatically reboot.

  3. Below screen will slightly change depending if the network interfaces are assigned.

  4. Interfaces can’t be changed once the VM has been provisioned. Any interface configuration change requires a reset of the complete network configuration and going thru the personalization step again.

  5. Instances are unique and cannot be cloned. A new copy of the downloaded QCOW2 should be made for each instance, and the definition/provisioning/registration process used. Cloning a VM that is already provisioned will result in both instances being disabled.

image-20241201-182719.png

Figure 3 VM Terminal UI configuration options

5.2 Assign Network Interfaces

  1. On selecting the option of “Assign Network Interfaces” the following screen/workflow will be executed.

  2. Multiple WAN interfaces may be configured.

  3. Selection of the WAN interface(s) is critical to provide internet access for the subsequent personalization/registration step.

  4. After this configuration is complete, there will be confirmation needed to reboot the system to make this configuration. Wait for few minutes for the VM to reboot and connect to console again to proceed further.

image-20241201-182929.png

Figure 4 Assign the interface

image-20241201-183023.png

Figure 5 Assign WAN interface(s)

  • After selecting the WAN, the user can edit the Interface labels in the following screen.

image-20241201-183148.png

Figure 6 Edit Interface Labels

  • The exceptions for editing the Interface labels are shown below.

    • There should not be any duplicate labels.

    • No whitespace in the label.

    • Only alphanumeric characters can be used.

image-20240315-201420.png

Figure 7 Interface Label - Exceptions

  • Update the Interface labels if needed and select OK to save the changes.

  • After updating, the labels will be listed as shown below:

image-20241201-183148.png

Figure 8 Updates Interface Labels

5.3 Assign Network / IP Configuration (Optional)

  1. Once the network interfaces are assigned as WAN, they are configured as DHCP client.

  2. If any of these must be configured as static IP addresses it should be done at this point.

Note: WAN interface can be configured as either static/DHCP once the system is fully up using Edge portal.

image-20241201-184004.png

Figure 9 Menu option to Assign or change IP configuration

image-20231205-203949-20241202-112907.png

Figure 10 DHCP / Static IP configuration for the interfaces

Figure 11 DHCP / Static Config

5.4 Association of DID/License to Carrier Hub

  • Make sure the system has internet by running ping before proceeding with this option.

  • For the registering / personalizing the system, enter the Kognitive Cloud login/password details.

  • Once the login is successful/validated, the user can see the list of Sites/Devices registered.

  • User can pick the Site name / device name which can be assigned to this VM.

  • If the site/device name is already allocated to a VM, there will be a warning given to the user to accept. This is to prevent assigning multiple VMs to the same instance of Site/Device, as doing so will result in all affected VMs being locked.

Figure 12 Enter User Login Name

Figure 13 Enter Password

image-20241201-184451.png

Figure 14 Enter part of name to filter

image-20241201-184535.png

Figure 15 Select Device ID

  • Select the Device Id. Note that a '*' indicates that this DID is already assigned.

image-20241201-184804.png

Figure 16 Warning on already allocated VM

Figure 17 Confirmation to register the VM

  • As part of this registration step, the VM will go for reboot few times (twice) to bring in all the configurations and to fully become operational. Once the system is online, it can be accessible on Kognitive Cloud as any other Edge product.

5.5 Post Registration / Personalization

By default all the WAN interfaces are configured as Ethernet. The Alias/ IP Assignment are the only fields that users can modify, and this can be done through the Interfaces screen.

image-20241126-112700-20241201-185350.png

Figure 18 Interfaces

5.6 Hub Service Status

The status of the Carrier Hub can be viewed from the charts in the Hub Service Status screen.

1-20241127-113316-20241201-185151.png

Figure 19 Hub Service Status

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.