Difference between revisions of "Meteobridge VM"

From meteobridge
Jump to: navigation, search
(Meteobridge VM Installs on Dedicated Platforms)
(Generic Meteobridge VM Install)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
Meteobridge sets itself apart from other weather monitoring solutions on PCs that it is thought as a dedicated appliance, running independently from your desktop and by that not being impacted from desktop shutdowns, OS changes etc. We still believe the "dedicated appliance" idea is the way to go.
+
Meteobridge sets itself apart from other weather monitoring solutions on PCs that it is thought as a dedicated appliance, running independently from your desktop computer and by that not being impacted from desktop shutdowns, OS changes etc. We still believe the "dedicated appliance" idea is the way to go.
  
With the increasing spread of virtual machines time has come to transform the appliance idea into the world of virtualization. Let me present Meteobridge as a VM that can be hosted on your virtualization environment of choice, namely: VMware, Virtualbox, KVM, Proxmox. We call this new development "Meteobridge VM". Meteobridge VM is provided as a disk image that comes to life as a virtual machine on your server.  
+
With the increasing spread of virtual machines time has come to transform the appliance idea into the world of virtualization. Let me present Meteobridge as a VM that can be hosted on your virtualization environment of choice, namely: VMware, VirtualBox, KVM, PROXMOX. We call this new development "Meteobridge VM". Meteobridge VM is provided as a disk image that comes to life as a virtual machine on your server.
  
In terms of functionality Meteobridge VM is comparable to Meteobridge on RPI, but with more processing power, no SD card hallse and no network configuration issues as network connectivity is provided by the virtualization environment. And the best thing is, there are no additional HW costs (like processing board, case, power supply, storage media, etc) in case you already have VMs running on your server.
 
  
[[File:kvm-logo.png||150px]]               [[File:vmware-logo.png||130px]]               [[File:virtualbox-logo.png||160px]]               [[File:proxmox-logo.png||170px]]
+
[[File:mbvm.png|top|]]  
  
 +
 +
In terms of functionality Meteobridge VM is comparable to Meteobridge on RPI, but with more processing power, no SD card hassle and no network configuration issues as network connectivity is provided by the virtualization environment. And the best thing is, there are no additional HW costs (like processing board, case, power supply, storage media, etc) in case you already have VMs running on your server.
  
  
Line 15: Line 16:
 
The Meteobridge VM disk image provides 16GB of storage for data. This is fairly enough for many years of data. Disk partitions can be expanded later on, but it is a rather complicated process. Therefore, it is recommended that you stick with the 16GB for now and postpone the disk enlargement challenge until Meteobridge has begun crawling towards the 16GB limit.
 
The Meteobridge VM disk image provides 16GB of storage for data. This is fairly enough for many years of data. Disk partitions can be expanded later on, but it is a rather complicated process. Therefore, it is recommended that you stick with the 16GB for now and postpone the disk enlargement challenge until Meteobridge has begun crawling towards the 16GB limit.
  
Meteobridge VM needs a paid one-time license (after 14 days of free trial period). A Meteobridge license used within a Meteobridge VM is not interchangeable with Meteobridge licenses for other HW platforms (TP-Link, RPI, etc). Licenses can be migrated between Meteobridge VMs but not with other Meteobridge platforms. Licenses used with Meteobridge VM apply to the same rules as licenses used on other platforms. They are perpetual and provide 2 years of free updates. After 2 years it needs an update licenses to get access to newer versions of Meteobridge VM; this is optional, not mandatory. You can find more details on Meteobridge licensing [https://meteobridge.com/wiki/index.php/License_Terms here].
+
 
 +
==Licensing==
 +
Meteobridge VM needs a paid one-time license (after 14 days of free trial period). A Meteobridge license used within a Meteobridge VM is not interchangeable with Meteobridge licenses for other HW platforms (TP-Link, RPI, etc). Licenses can be migrated between Meteobridge VMs but not between other Meteobridge platforms. Licenses used with Meteobridge VM apply to the same rules as licenses used on other platforms. They are perpetual and provide 2 years of free updates. After 2 years it needs an update license to get access to newer versions of Meteobridge VM; update licenses are  optional, not mandatory. You can find more info on Meteobridge licensing in general [https://meteobridge.com/wiki/index.php/License_Terms here].
 +
 
 +
As virtual machines do not have any individual physical properties a license can be bound to, the Meteobridge VM license is linked to the infrastructure you operate the Meteobridge VM in. Therefore, you will not have any issue when the Meteobridge VM changes its MAC but you will need to have the license migrated when your router changes. When you need a license migration you will have to provide the old license key which you received when doing the initial license purchase. Please direct license migration requests to "info(at)meteobridge.com".  
  
 
Meteobridge Licenses (for VM or physical platforms) can be purchased [https://admin.meteobridge.com/payment.html here].
 
Meteobridge Licenses (for VM or physical platforms) can be purchased [https://admin.meteobridge.com/payment.html here].
 
  
  
 
==How to Install==
 
==How to Install==
First you have to setup your virtualization environment of choice. Please consult the documentation of your virtualization solution for this first step. As Meteobridge VM should be visible within your LAN and needs to reach out to the Internet it is important that the virtualization environment does not isolate the Meteobridge VM by firewall rules. When you encounter network problems with your Meteobridge VM, please check firewall related data blocking first. We had initial problems to get it working on a Windows environment because of Windows firewall rules enabled by default. These problems are not specific to Meteobridge VM, they are related to setting up a virtualization environment properly.
+
First you have to setup your virtualization environment of choice. Please consult the documentation of your virtualization solution for this first step. As Meteobridge VM should be visible within your LAN and needs to reach out to the Internet it is important that the virtualization environment does not isolate the Meteobridge VM by firewall rules. When you encounter network problems with your Meteobridge VM, please check firewall related data blocking first. We had initial problems to get it working on a Windows environment because Windows default firewall rules blocked network traffic. These problems are not specific to Meteobridge VM, they are related to setting up a virtualization environment properly.
  
 
The next chapters show installation examples for the most popular virtualization environments that are intended to show how to get a Meteobridge VM installation right. It just covers the Meteobridge specific steps and is intended for users that already have some experience in setting up virtual machines.
 
The next chapters show installation examples for the most popular virtualization environments that are intended to show how to get a Meteobridge VM installation right. It just covers the Meteobridge specific steps and is intended for users that already have some experience in setting up virtual machines.
Line 30: Line 34:
 
===Generic Meteobridge VM Install===
 
===Generic Meteobridge VM Install===
 
When you are familiar with your VM environment you might not need the step by step descriptions below. Important things to know are:
 
When you are familiar with your VM environment you might not need the step by step descriptions below. Important things to know are:
* Meteobridge VM disk image is provided as QEMU/KVM gzipped raw file ([https://admin.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.img.gz link]), VMware vmdk file ([https://admin.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.vmdk link]) and VirtualBox vdi file ([https://admin.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.vdi link]).
+
* Meteobridge VM disk image is provided as QEMU/KVM gzipped raw file ([https://content.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.img.gz link]), VMware vmdk file ([https://content.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.vmdk link]) and VirtualBox vdi file ([https://content.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.vdi link]).
 
* Disk size is 16GB.
 
* Disk size is 16GB.
 
* RAM size of 256 MB is sufficient, Meteobridge will not benefit from more.
 
* RAM size of 256 MB is sufficient, Meteobridge will not benefit from more.
* network mode needs to be "Bridge".  
+
* Network mode needs to be "Bridge".  
 
* Make sure the firewall of the host system is not blocking the VM.
 
* Make sure the firewall of the host system is not blocking the VM.
 
* Weather stations connected via USB need to be channeled through to the Meteobridge VM.
 
* Weather stations connected via USB need to be channeled through to the Meteobridge VM.
 
 
  
 
===Meteobridge VM Installs on Dedicated Platforms===
 
===Meteobridge VM Installs on Dedicated Platforms===
  
When you are looking for step-by-step install instructions of Meteobridge VM on a specif virtualization platform, the links below might be helpful. Just click on the corresponding logo to see instrctions.
+
When you are looking for step-by-step install instructions of Meteobridge VM on a specific virtualization platform, just klick on the logo of your platform of choice below.
 
+
{|
+
| [[Image:kvm2-logo.png|150px|link=Meteobridge_NANO]] || [[Image:vmware2-logo.png|200px|link=Meteobridge_NANO]] || [[Image:virtualbox2-logo.png|150px|link=Meteobridge_NANO]] || [[Image:proxmox2-logo.png|150px|link=Meteobridge_NANO]]
+
|}
+
 
+
[[Image:kvm-logo.png|150px|link=Meteobridge_NANO]]
+
 
+
===<big>1. Meteobridge VM on </big>[[File:kvm2-logo.png|top|80px]]===
+
First step is that you download the KVM/QEMU compatible disk image [https://admin.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.img.gz here]. File is in "gzip" format and needs to be decompressed first. Result is a rawdisk image file of about 16GB in size named "meteobridge-mbx86-v1.0-16G.img".
+
Next steps are related to build the Meteobridge VM within KVM based on the downloaded disk image.
+
 
+
* Access the KVM Virtual Machine Manager and define a new VM.
+
* Select mode "Import existing disk image".<BR>[[File:kvm1.png|top|300px]] &nbsp;&nbsp; [[File:kvm2.png|top|300px]]
+
* To provide an existing storage path, press the "Browse..." button.
+
* Select a storage pool from the left. "default" might be a good choice unless you have not defined a specific one for your VMs. Having selected the VM pool your will see a list of already defined VMs. You also see the physical location of the VM pool. Here it is "/var/lib/libvirt/images".<BR>[[File:kvm3.png|top|300px]] &nbsp;&nbsp; [[File:kvm4.png|top|450px]]
+
* No go to your command shell and generate a new folder for Meteobridge in your VM pool. On linux doing so looks like this (you may need to be root to do so, therefore the preceding "sudo"): <pre>sudo mkdir /var/lib/libvirt/images/Meteobridge</pre>
+
* Next the downloaded and decompressed Meteobridge disk image file needs to be copied into this folder. <pre>sudo cp /path-to-where-you-downloaded-the-file/meteobridge-mbx86-v1.0.img /var/lib/libvirt/images/Meteobridge/</pre>
+
* To make the newly created directory available press the reload circles besides the "Volumes" label. In the example "Meteobridge" now appears as a new volume.
+
* Press "Browse Local" button and navigate with help of the "Filesystem" entry down to the Meteobridge VM image file. For orientation you see the stepping down into folders on the top line. When you finally reach the image file, select it and press "Open".<BR>[[File:kvm5.png|top|420px]] &nbsp;&nbsp; [[File:kvm6.png|top|450px]]
+
* Being back to the calling menu, please insert "other" into the search bar. A dialog presenting item "Generic default (generic)" will pop up. Double click the entry.
+
* Now you are back to the calling menu with the information filled in as in the example below. Press "Forward".<BR>[[File:kvm8.png|top|400px]] &nbsp;&nbsp; [[File:kvm7.png|top|400px]]
+
* KVM now needs some additional information for setting up the VM. Select 256 MB for RAM and 1 processor (this will be perfectly fine for Meteobridge). Then press "Forward".
+
* Last step is to give the new VM a name, please check that "Bridge" is selected as network option (should be default) and "Customize configuration before install" to do some additionel settings later on. Then press "Finish".<BR>[[File:kvm10.png|top|400px]] &nbsp;&nbsp; [[File:kvm9.png|to|400px]]
+
* It will only take a few seconds to build and start the VM. You will see the VM starting into the GRUB boot loader and then booting automatically. The booting is done when Meteobridge VM does tell you the IP where to reach the Meteobridge GUI in your LAN.<BR>[[File:kvm11.png|top|400px]] &nbsp;&nbsp; [[File:kvm12.png|top|400px]]
+
* When you have a weather station connected via USB then you need to tell the host that this USB connection should be handed over to the Meteobridge VM. THis is done via the "Virtual Machine - Redirect USB device" option in the menu. In the example a Meteostick which makes use of a FTDI converter is used. Therefore, the FTDI entry is selected.<BR>[[File:kvm13.png|top|400px]] &nbsp;&nbsp; [[File:kvm14.png|top|300px]]
+
 
+
 
+
 
+
===<big>2. Meteobridge VM on </big>[[File:vmware2-logo.png|bottom|140px]]===
+
First step is to download the free of charge (for non-business use) VMware Workstation Player from  [https://www.vmware.com/content/vmware/vmware-published-sites/us/products/workstation-player/workstation-player-evaluation.html.html.html here]. After installation of VMware package you can start to setup a Meteobridge VM.
+
You find the Meteobridge VM disk image for VMware in "vmdk" format [https://admin.meteobridge.com/files/meteobridge-mbx86-v1.0-16G.vmdk here].  
+
  
Steps to install the Meteobridge VM in a VMware environment are explained below in terms of an example workflow.
 
  
* When you start VMware Workstation Player you are offered to "Create a New Virtual Machine", select this option.
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:kvm-logo.png|150px|link=Meteobridge_VM_on_KVM]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:vmware-logo.png|130px|link=Meteobridge_VM_on_VMware]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:virtualbox-logo.png|160px|link=Meteobridge_VM_on_VirtualBox]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[Image:proxmox-logo.png|170px|link=Meteobridge_VM_on_PROXMOX]]
* When asked where to install from select "I will install the operating system later" option and press "Next".<BR>[[File:vm1.png|top|400px]] &nbsp;&nbsp; [[File:vm2.png|top|330px]]
+
* Next, VMware asks which type of guest OS you plan to install. Select "Other" and choose "Other 64-bit" from the sub menu, press "Next".
+
* Give the Meteobridge VM a telling name and select the folder, where VMware stores the VMs on you system. Folder is usually named "Virtual Machines" somewhere down on your System Disk. Press "Browse..." to go to this folder.<BR>[[File:vm3.png|top|350px]] &nbsp;&nbsp; [[File:vm4.png|top|350px]]
+
* Press "Make New Folder" to generate a folder for the Meteobridge VM within the "Virtual Machines" folder of VMware. Name this new folder "Meteobridge" and press "OK".<BR>[[File:vm6.png|top|250px]] &nbsp;&nbsp; [[File:vm7.png|top|250px]]
+
* Now the Meteobridge Folder is established and it is time to setup the Meteobridge VM within this folder by pressing "Next".
+
* Specify maximum disk size as 16GB and tell that a single file should be used for storage. Press "Next".
+
* WVMware does a standard configuration of the VM which you can alter now. Press "Customize Hardware..." button to do so.<BR>[[File:vm8.png|top|350px]] &nbsp;&nbsp; [[File:vm9.png|top|350px]] &nbsp;&nbsp; [[File:vm10.png|top|350px]]
+
* Set memory to 256 MB, which is sufficient for Meteobridge.
+
* Select "Network Adapter" to "Connect at power on" and into "Bridged" mode.<BR>[[File:vm11.png|top|450px]] &nbsp;&nbsp; [[File:vm12.png|top|450px]]
+
* Ususally a USB controller is not part of the default setup. Therefore, press the "Add..." button and select the USB controller and press "Finish". Make sure the added USB controller can handle USB 1.1.
+
* Next, press "Close" to start building of the Meteobridge VM.<BR>[[File:vm13.png|top|300px]] &nbsp;&nbsp; [[File:vm14.png|top|450px]]
+
* Now we have an Meteobridge VM, but it is not operational as the initially downloaded Meteobridge vmdk image still needs to be connected with the just defined VM.
+
* In the Meteobridge VM folder you will find a lot of files. One is named "Meteobridge.vmdk". This one needs to replaced by the downloaded Meteobridge disk image. Rename the downloaded disk image "Meteobridge.vmdk" and replace the vmdk file in the Meteobridge folder by it.
+
* Now it is time to start the Meteobridge VM by pressing "Play virtual machine".<BR>[[File:vm30.png|top|450px]] &nbsp;&nbsp; [[File:vm16.png|top|450px]]
+
* VMware detects that something with the disk has changed. Press "Yes" and Meteobridge VM will start.<BR>[[File:vm23.png|top|400px]] &nbsp;&nbsp; [[File:vm24.png|top|400px]]
+
* Last thing to do is to tell VMware that the attached USB device (here a Meteostick) should be connected with the Meteobridge VM.<BR>[[File:vm25.png|top|600px]]
+

Latest revision as of 20:29, 11 November 2024


Meteobridge sets itself apart from other weather monitoring solutions on PCs that it is thought as a dedicated appliance, running independently from your desktop computer and by that not being impacted from desktop shutdowns, OS changes etc. We still believe the "dedicated appliance" idea is the way to go.

With the increasing spread of virtual machines time has come to transform the appliance idea into the world of virtualization. Let me present Meteobridge as a VM that can be hosted on your virtualization environment of choice, namely: VMware, VirtualBox, KVM, PROXMOX. We call this new development "Meteobridge VM". Meteobridge VM is provided as a disk image that comes to life as a virtual machine on your server.


Mbvm.png


In terms of functionality Meteobridge VM is comparable to Meteobridge on RPI, but with more processing power, no SD card hassle and no network configuration issues as network connectivity is provided by the virtualization environment. And the best thing is, there are no additional HW costs (like processing board, case, power supply, storage media, etc) in case you already have VMs running on your server.


Limitations

Meteobridge VM is provided for x86_64 only (no ARM, no Apple silicon, no RPI) as we see this platform as the dominant virtualization environment and cannot afford to fork into various niche platforms. The Meteobridge VM disk image provides 16GB of storage for data. This is fairly enough for many years of data. Disk partitions can be expanded later on, but it is a rather complicated process. Therefore, it is recommended that you stick with the 16GB for now and postpone the disk enlargement challenge until Meteobridge has begun crawling towards the 16GB limit.


Licensing

Meteobridge VM needs a paid one-time license (after 14 days of free trial period). A Meteobridge license used within a Meteobridge VM is not interchangeable with Meteobridge licenses for other HW platforms (TP-Link, RPI, etc). Licenses can be migrated between Meteobridge VMs but not between other Meteobridge platforms. Licenses used with Meteobridge VM apply to the same rules as licenses used on other platforms. They are perpetual and provide 2 years of free updates. After 2 years it needs an update license to get access to newer versions of Meteobridge VM; update licenses are optional, not mandatory. You can find more info on Meteobridge licensing in general here.

As virtual machines do not have any individual physical properties a license can be bound to, the Meteobridge VM license is linked to the infrastructure you operate the Meteobridge VM in. Therefore, you will not have any issue when the Meteobridge VM changes its MAC but you will need to have the license migrated when your router changes. When you need a license migration you will have to provide the old license key which you received when doing the initial license purchase. Please direct license migration requests to "info(at)meteobridge.com".

Meteobridge Licenses (for VM or physical platforms) can be purchased here.


How to Install

First you have to setup your virtualization environment of choice. Please consult the documentation of your virtualization solution for this first step. As Meteobridge VM should be visible within your LAN and needs to reach out to the Internet it is important that the virtualization environment does not isolate the Meteobridge VM by firewall rules. When you encounter network problems with your Meteobridge VM, please check firewall related data blocking first. We had initial problems to get it working on a Windows environment because Windows default firewall rules blocked network traffic. These problems are not specific to Meteobridge VM, they are related to setting up a virtualization environment properly.

The next chapters show installation examples for the most popular virtualization environments that are intended to show how to get a Meteobridge VM installation right. It just covers the Meteobridge specific steps and is intended for users that already have some experience in setting up virtual machines.


Generic Meteobridge VM Install

When you are familiar with your VM environment you might not need the step by step descriptions below. Important things to know are:

  • Meteobridge VM disk image is provided as QEMU/KVM gzipped raw file (link), VMware vmdk file (link) and VirtualBox vdi file (link).
  • Disk size is 16GB.
  • RAM size of 256 MB is sufficient, Meteobridge will not benefit from more.
  • Network mode needs to be "Bridge".
  • Make sure the firewall of the host system is not blocking the VM.
  • Weather stations connected via USB need to be channeled through to the Meteobridge VM.

Meteobridge VM Installs on Dedicated Platforms

When you are looking for step-by-step install instructions of Meteobridge VM on a specific virtualization platform, just klick on the logo of your platform of choice below.


              Kvm-logo.png               Vmware-logo.png               Virtualbox-logo.png               Proxmox-logo.png