Cambium cnMaestro - Deploying cnMaestro On-Premises (Hyper-v)

Edited

This guide walks through deploying cnMaestro On-Premises using Hyper-V, from provisioning the VM through to completing first login. This guide was written using cnMaestro On-Premises version 6.0.0.

*Please note, Cambium's recommendation for production environments is to use VMware vSphere ESXi, as this utilizes a bare-metal hypervisor with no host OS involved.*

You will need to have exported the VMDK files from the cnMaestro On-Premises OVA and converted them to VHDX files to work with Hyper-V. You can find the two VHDX files for version 6.0.0 in the following folder: https://drive.google.com/drive/folders/1GVUxA2gwWlI9btmh96wILBqoZX0ip6bn?usp=sharing

Alternatively you can follow this guide to export and convert the files yourself.

Default Credentials

Component

Default credentials

cnMaestro web UI

admin / admin

Virtual machine console

cambium / cnmaestro

Change both default passwords the first time you log in.

Step 1: Deploy the VM

1.      Open Hyper-V, click New, then Virtual Machine.

 2.      Click Next on the first window.

  1. Name the virtual machine appropriately.

 

  1. Set Generation to Generation 1 and click Next. 

 

  1. Assign the amount of memory to give the virtual machine. The RAM you assign affects the number of devices and wireless clients the VM can manage — see the sizing table in Appendix 1. Once specified, click Next.

  1. Configure the Network adapter for the VM then click Next.

 

  1. Under Connect Virtual Hard Disk, select Use an existing virtual hard disk, then browse to and select disk 1 of the two VHDX files.

 

  1.  Click Finish on the review screen to complete the wizard.

Step 2: VM Settings and adding second disk

  1. Once the VM is deployed, select it and open Settings.

 

  1. Select IDE Controller 0 on the left, choose Hard Disk, and click Add.

 

  1. Under the media section, click Browse and select disk 2 of the two VHDX files.

 

  1. Click Apply — both hard disk files are now attached to the VM.

Step 3 - VM Networking

For the VM to be accessible from the network you will need to set up a Hyper-V virtual switch which has access to the network through the machines network adapter.

  1. At the side of the Hyper-V manager you will see under the Actions list is Virtual Switch Manager. Click this to open the Switch settings.

  1. The Setting window will pop up and if this the first use of Hyper-V you will only see the Default Switch in the list of virtual switches on the left side. Make sure you select New Virtual Network Switch.

  1. To the right hand side you want to make sure External is selected and then click on Create Virtual Switch.

  1. You then need to set the properties for this virtual switch.

    • Give it a friendly name

    • Make sure the connection type is set to External Network

    • Select your wired ethernet interface from the drop down box. (We have found using the wireless card can cause issues so it is better to use a wired interface)

    • Ensure the box is ticked next to 'Allow management operating system to share this network adapter'. This will allow the virtual switch to talk through the hosts network adapter to the Network.

    • Then hit apply, you will be given a notice that the changes may disrupt your network connection. This will happen briefly while the change takes affect.

  1. You will now need to assign the cnMaestro VM to this Network switch. Right click on the VM and click Settings.

  1. In the settings go to Network adapters on the left side. This will bring up the Network adapter settings. From the Drop down box select the Virtual switch you have just created and Click OK.

  1. The Virtual Machine is now connected to the Virtual switch which has access to your Host local Network.

 

Step 4 - Starting the VM & Setting IP

  1. Right-click the virtual machine and click Connect to open its console, then turn the machine on.

 

  1. The VM will then boot and you will see a Linux booting screen. Give the VM a few minutes to boot up properly.

  1. Once booted, you'll see a black screen with the cnMaestro login prompt.

  1. Log in using the virtual machine console credentials above (cambium / cnmaestro). You'll then see a blue screen showing details of your cnMaestro instance.

 

  1. Press Enter to go to Next. You'll be shown a menu screen — go down to Networks and press Enter to set the IP details for cnMaestro.

  1. Select IPv4 and press Enter. You'll then be able to enter the static IP details for the machine.

  2. Once complete, press Enter to apply the IP details.

Step 5 - Editing the GRUB

This step is required in order to stop the Hyper-V console from going Black so you are unable to access the back end settings after its been running for a while.

  1. On the main operations menu, go down to Shell and hit enter.

  1. This will then show a black screen and will give you access to the Linux Terminal.

  2. Type the following command and hit enter

  3. this will give you admin access to edit the file with the settings for the GRUB.

    sudo nano /etc/default/grub

    The screen should then look like the following:

  1. You will then need to find the following line:

    GRUB_CMDLINE_LINUX_DEFAULT="Quiet Splash"

    Remove the Quiet Splash from between the quotation marks. It should then look like the following:

    GRUB_CMDLINE_LINUX_DEFAULT=""

  2. Once this is done, press Ctrl and O on the keyboard to save the file.

  3. Then press Ctrl and X on the keyboard to exit the file. This will take you back to the CLI terminal.

  4. Type exit and hit enter and you will go back to the black screen where you first logged in. If you log in again then you will be taken back to the Blue Graphical interface as seen before.

  5. This will now stop the Hyper-V console from going Black with no ability to see the graphical interface again.

Step 6 - Web Interface

  1. Once the IP address is set, browse to that IP in a web browser. You should see the cnMaestro web UI login page — log in using the web UI credentials above (admin / admin).
    Your browser will show an untrusted-certificate warning at this point — this is expected, since cnMaestro ships with a self-signed certificate. You can upload your own Root CA and signed certificate later to remove this warning.

 

  1. Log into the web interface and fill out the system name, country & time zone:

  1. Create a new admin password

 

  1. You'll be prompted to log in again using the username admin and the password you just set.

  2. You'll then be asked to log in to your Cloud Anchor account.

You'll need a Cambium ID and Onboarding Key from a Cloud Anchor account to complete this step — create one at cloud.cambiumnetworks.com if you don't already have one, or see Deploying cnMaestro On-Premises and Disconnecting from the Cloud for the full Cloud Anchor account setup process.

 

Appendix 1

Below is the table showing the resources required for the VM depending on how many devices and Wireless Clients you intent to support.

Devices

Wireless clients

vCPUs

RAM (GB)

Disk (GB)

1–100

Up to 1,500

3

6

144

101–1,000

Up to 15,000

5

10

144

1,001–5,000

Up to 60,000

6

12

200

5,001–10,000

Up to 150,000

12

24

350

10,001–20,000

Up to 300,000

18

36

500

20,001–25,000

Up to 375,000

24

48

650

Double these figures if you'll enable the RADIUS proxy, and use 1.5× if NBI APIs with heavy reporting, or cnMaestro X with enterprise devices (cnMatrix, Enterprise Wi-Fi), are in play.

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.