BeroNet Telephony Appliance-v2

From berofix - professional SIP gateway
Revision as of 11:35, 2 February 2016 by Matthias (Talk | contribs) (beroNet Hypervisor Webinterface)

Jump to: navigation, search

Introduction

The beroNet Telephony Appliance is the ideal platform for customers and technology integrators, looking for a reliable hardware solution, with integrated ISDN, Analog and GSM connectivity.

The beroNet Telephony Appliance’s elegant design delivers superior energy efficient properties and is designed specifically for the rigorous 24/7 uptime demand of modern telephony systems. With a power consumption of less than 24W during normal operation, over 200 EUR can be saved in electricity costs per year.

With its fanless design and harmonized components the beroNet Telephony Appliance is the suitable solution for all kinds of telephony projects. The beroNet Telephony Appliance is designed for telephony applications in the SOHO and SME markets and is perfectly suited for businesses with up to 60 concurrent calls.

The most amazing feature is its built in beroNet Hypervisor, which allows user to run multiply apps simultaneously. A PBX, Faxserver and Firewall can run on the same hardware platform and be maintained via a WebGUI. The appliance is the embedded low power Datacenter for your office.

The beroNet Hypervisor is built on the Alpine embedded Linux with the XEN Kernel. This allows to use minimum ressources of physical Machine for the hypervisor itself and give most of the ressources to the Virtual Machines. The hypervisor only requires 2GB of disk space and 1 GB of Memory.


Overview.png

physical Setup

The appliance has several connectors for different tasks. The minimal Setup requires only 2 cables:

* power adapter to the 12V DC Jack
* LAN cable connected to either LAN1 or LAN2

After pushing the power button, you should hear a beep and the appliance should boot up.

Hardware.png

Network Setup

After powering up and after a few seconds the appliance should receive an IP Address from your local DHCP Server. There are several ways to obtain the IP Address of the Hypervisor:

* Windows Network Discovery
* bfdetect
* search through DHCP Server logs

Windows Network Discovery

The windows built in network discovery tool should find the beroNet appliance. It shows an icon and the IP of the appliance. By double clicking you will be forwarded to the Hypervisor webinterface.


Discovery.png

bfdetect

Another option is bfdetect. With bfdetect you can discover the appliance via the windows or linux command line. bfdetect shows the serial Number, the Hypervisor Version, the MAC address and the IP Address of the Appliance. The following bfdetect output shows an appliance and a gateway. The Appliance Serial-Numbers start with 20 followed by the amount of RAM and finally by the serial itself.

Please wait, while we're scanning on all interfaces for beroNet devices...

  1) serial:   20-16-0000000004         type: Appliance         appfs: 0.2                              mac: 00:13:3b:10:08:48  ip: 172.20.10.10
  2) serial:    2-16-0000012238         type: Gateway           appfs: 3.0.03-Phone-Detect-rc001.       mac: d8:df:0d:00:22:e8  ip: 172.20.10.9

Please, select a device (enter 'q' to leave):


With bfdetect you can also switch from DHCP to a static IP which can be set manualy, by choosing the index of the device and then following the configuration steps.

beroNet Hypervisor Webinterface

As soon as you have accessed the Hypervisor Webinterace you can login with the default credentials:

user: admin
pw: beronet


Login.png


Make sure to change the passwort later in the menu under "System->change password".


The Hypervisor GUI allows it to:

* Manage Virtual Machines
* create and restore backups of machines
* use the beroNet appliance Market to download ready Apps and ISO Installation Media
* Update the Hypervisor 
* discover built in beroNet Gateway or beroNet Gateway in the local network


Virtual Machines

Howto Install an OS in a VM

To install an operating system as a VM you need to follow the steps:

1. Download an ISO file which contains the operating system either from a web-url or from the market
2. create a VM and define its metric
3. set the boot-device to "d (isofile)"
4. start the VM from the Dashboard
5. access the VNC console via the VNC link in the dashboard

Dashboard

The dashboard shows all VMs and all ISO files.

Dashboard.png

Each VM can be started by clicking the "start" link if they are in the state "STOPPED". If they are in the state "RUNNING" the VM can be accessed via VNC, halted via the "shutdown" link or powered off via the "Poweroff" link.


VM Manager

Under "Virtual Machines->Manage VMs" you will find the VM manager. It allows to create new VMs or to modify existing ones.

Vm-manager.png


To create a new VM the following parameters need to be set:

* Machine Name         - The name of this VM   (NOTE: not editable)
* # CPUs               - The amount of CPUs for this virtual machine, one is reserved for the Hypervisor
* Memory in GB         - The amount of memory for this VM, 1GB is reseved for the Hypervisor
* Disk in GB           - The size of the Disk of the VM, 4GB are reserved for the Hypervisor (NOTE: not editable)
* iso-file             - The ISO file from which the VM should boot
* Boot-Device          - defines if the VM boots from it's virtual hard-drive or from the ISO file for installation
* NIC-Mode             - defines if the VM should access both the LAN and WAN port or only the LAN port of the appliance (NOTE: for LAN-WAN mode, LAN-WAN mode needs to be activaed under System->network)
* Windows-Tools        - if enabled the VM has another disk containing the PV driver for windows, which boost the performance of a windows VM (NOTE: preinstalled with the market windows images)
* Start on boot        - defines if the VM should be started automatically during boot
* VNC Display          - defines the VNC display number
* VNC Password         - defines the VNC access password


To edit a VM just click on the "edit" link and use the bottom form to change the desired settings.

Backup & Restore

The Hypervisor can backup & restore both full VMs and ISO files. In the Backpup & Restore-Manager the attached USB drivers are displayed.

Backup-1.png


If no disk was found, attach a USB drive and click on "scan for new devices". If the drive is not yet a "backup-space" for the Hypervisor, the drive needs to be formatted as backup space.

To make a backup or restore already made backups click on the USB drive link.

Backup-2.png

In the restore tab, previously backuped ISO files and Apps (VMs) can be restored back to the hypervisor disk. This may take several minutes and even hours depending on the file size and if the file is compressed. The backups can also be deleted here.

In the "Backup-Tab" local VMs and ISO files can be backuped. VMs can be compressed in order to save drive space.


Backup-3.png

Make sure that the drive is large enough to hold a compelete VM. Creating a backup can take several minutes and even hours, depending on the filesize and wether compression is used or not.

ISO Manager

The iso manager shows the lokal stored ISO files which can be used to boot a VM to install the OS provided in the ISO file (e.g. an Ubuntu ISO for installing Ubuntu in a VM). Isos can be deleted via the "delete" link.

Iso-manager.png


There are 3 ways to get an ISO on the appliance:


1) Web-Download

The Web-URL of the ISO can be provided. If it is protected with basic auth, a username and password can be provided in the syntax "user:password". NOTE: this can take several minutes and even hours, depending of the size of the ISO and the internet speed.

2) Upload

An iso of up to 8GB can be uploaded directly via the browser. NOTE: this can take several minutes and even hours, depending of the size of the ISO

3) Windows Share Download

With Window share credentials:

* Domain
* Share Name
* user
* password


a windows share, fileserver or NAS can be browsed. After clicking on an ISO File, the file will be downloaded. NOTE: this can take several minutes and even hours, depending of the size of the ISO

beroNet Appliance Market

The beroNet Appliance Market allows it to download pre-installed Virtual Machines. These machines can be started directly in the Hypervisor. The Market also allows to donwload ISO Installation Media for setting up new Virtual Machines.

Market.png


Each VM or ISO has additional Meta Information like the version and the size. By clicking the download icon the VM or ISO will be downloaded to the lokal appliance.

NOTE: this can take several minutes or even hours, depending on the size and internet speed

System

Update Hypervisor

To update the hypervisor, simply click on the Version which you want to install.

Update.png

Network Settings

The Network Manager allows to choose the Interface Mode of the appliance:

  • LAN - Both LAN Ports are bridged into a single network bridge
  • LAN-WAN - the 2 LAN Ports are put into seperate bridges, VMs which have LAN-WAN mode have the WAN Bridge as additional Network adapter

The LAN Mode can be defined as DHCP or static. If it is static the LAN Settings need to be defined.


Network.png

Cloud Settings

The cloud manager allows to register the appliance into the beroNet cloud or into a private beroNet cloud. After successfull registration a cloud key appears. The appliance starts communication with the beroNet cloud after enabling the cloud and after clicking "cloud enable".

Cloud.png

NOTE: a reboot of the hypervisor might be needed to register the appliance in a different cloud'

Reboot & Halt

Reboot.png

By clicking "CLICK HERE FOR REBOOTING THE APPLIANCE", the appliance does a reboot.

NOTE: all VMs will be halted ungracefully

By clicking "CLICK HERE FOR SYSTEM SHUTDOWN", the appliance will turn itself off.

NOTE: it is not possible to turn on the appliance from remote


change password

Under System->change password, the password of the admin GUI User can be changed.


Gateways

The Gateways Manager starts a bfdetect in the background and shows a list of all local appliances and Gateways with their Serials, Firmware Versions, IP Addresses and MAC Addresses.

Gateways.png

By clicking on the IP Address, the browser will be redirected to the gateway/appliance GUI.

Manual Virtual Machine Setup guides

This section helps to understand how to setup different Operating Systems and what can be done to enhance the performance of the Virtual machines.

Windows

If you want to setup a Windows virtual machine you need to follow the steps:

1. Download a windows Installation Medium
2. Create VM with enough CPU cores and enough memory 
3. Boot and install the VM
4. Install the PV Driver set from the Windows Tools package


To enhance the performance of the Windows Installation the following steps should be considered:

1. use RDP instead of the Web-VNC Console
2. change the windows performance profile to maximize performance and turn off GUI features 
3. turn off swap 

Keep in mind the the Disk is a file on a SSD. Having swap enabled means a lot of disk access from within the VM. The disk access is always slower from within the VM.

Linux

Linux should run rather performant as VM because the recent kernels already have XEN drivers built in.

Assembly Guide

The assembly is similar to the Appiance v1:

Appliance Assembly Guide

Recovery

You can recover the hypervisor with the beroNet Recovery USB Stick. The latest revory stick and a howto can be found here:

Recovery Stick

Ressources

Drivers for the bare metal hardware can be found here:

Drivers and Download