Community discussions

MikroTik App
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re:

Thu Mar 24, 2016 2:33 pm

Many of us are running virtualized x86 ros
Why? CHR has many benefits. What are the drawbacks?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 2:35 pm

... the license.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Mar 24, 2016 2:39 pm

Thanks for being honest :)
Although, CHR will run in full unrestricted mode for 60 days for free. It will stop allowing upgrades then, but you can just make a new one.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 2:48 pm

So you are advising to reload the CHR each 2 months and keep it running so for free for ages?
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re:

Thu Mar 24, 2016 2:49 pm

So you are advising to reload the CHR each 2 months and keep it running so for free for ages?
No, I am not. It would be cumbersome and not OK with systems that need to keep running. But possible it is.
Let me emphasise - it will not stop running. Even after 70 days. It will just not allow upgrades.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Thu Mar 24, 2016 3:03 pm

Nice hint.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:18 pm

... the license.
Thanks for being honest :)
I think he meant existing license.
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:33 pm

I will be great if we can do some type of migration license from x86 to CHR since 3 type of level license has the same price


Level 4 = P1 ($45)
Level 5 = P10 ($95)
Level 6 = Unlimited ($250)
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:35 pm

Raffav, can you email support ?
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Mar 24, 2016 3:37 pm

Raffav, can you email support ?

yes, doing just now
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Status Hyper-V shutdown integration?

Fri Mar 25, 2016 9:23 am

Any news on that?

I would love starting to test CHR to replace a quite not up to what I want installation using a windows instance for some cloud routing. But I NEED CHR to shut down when the host tells it to - because otherwise a restart after patching the host will require a manual power off of the VM, which is breaking all update scripts.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Status Hyper-V shutdown integration?

Fri Mar 25, 2016 10:14 am

But I NEED CHR to shut down when the host tells it to
Have you seen this:
Version 6.35rc42 has been released.

Changes since previous version:
*) chr - fixed bridge firewall;
*) chr - make shutdown request from hyper-v work (might fix other hypervisor as well);
*) dude - fixed dude login logging, no more shows as winbox login;
*) timezone - fixed reboot by watchdog when selecting timezones from the end of list
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: Cloud Hosted Router

Fri Mar 25, 2016 4:03 pm

No, I have not. Time to do another test now - if that works, I am going to get a license and start seriously testing CHR.
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Fri Mar 25, 2016 5:47 pm

tried everything and keep getting this error
error.jpg
I'm getting same error here....

When installing routerOS..... almost done and it fails with same error:

Image

Image

The error is while installing the OS (from the download image)

What I've tried:

Install OS from VMware Workstation: Works.
Resize disk with VMware Workstation: Works
Migrate resized and installed image to ESXi: Work for sometime but after disk write it fails with same error
Download image and resize the RAW image with qemu: Resize Works
Convert RAW image to VMDK with qemu: Works
Create a Virtual Machine inside ESXi with the resized vmdk image by qemu: Works
Start virtual Machine on ESXi and start install: works
Finished install: SAME ERROR!


What is wrong ??!?!?!

HELP PLEASE!

Nice day,
I discovered the same problem, I had to first use VMware Workstation for the installation VMDK, and then convert into ESXi by using:https://my.vmware.com/web/vmware/info/s ... dalone/6_1

Unfortunately it is not possible to select another ethernet card than the emulated E1000. VMware VMXNET3 card is not in the selection.

VMware Tools also do not work :(

Image
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Fri Mar 25, 2016 6:18 pm

tried everything and keep getting this error
error.jpg
I'm getting same error here....

When installing routerOS..... almost done and it fails with same error:

Image

Image

The error is while installing the OS (from the download image)

What I've tried:

Install OS from VMware Workstation: Works.
Resize disk with VMware Workstation: Works
Migrate resized and installed image to ESXi: Work for sometime but after disk write it fails with same error
Download image and resize the RAW image with qemu: Resize Works
Convert RAW image to VMDK with qemu: Works
Create a Virtual Machine inside ESXi with the resized vmdk image by qemu: Works
Start virtual Machine on ESXi and start install: works
Finished install: SAME ERROR!


What is wrong ??!?!?!

HELP PLEASE!

Nice day,
I discovered the same problem, I had to first use VMware Workstation for the installation VMDK, and then convert into ESXi by using:https://my.vmware.com/web/vmware/info/s ... dalone/6_1

Unfortunately it is not possible to select another ethernet card than the emulated E1000. VMware VMXNET3 card is not in the selection.

VMware Tools also do not work :(

Image
Had you tryed the last 35.rc42?
Ps you will need winbox3.4 to access it
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Fri Mar 25, 2016 7:36 pm

Had you tryed the last 35.rc42?
Ps you will need winbox3.4 to access it


I think that the functions of VMware Tools and VMXNET must be implemented at compile of Linux. Only that Mikrotik made extra package for VMware, Hyper-V etc.


Oh, why he disappeared NTP package? Mikrotik use as an NTP server for other routers.
 
methou
just joined
Posts: 11
Joined: Sun Jun 15, 2014 1:26 pm

Re: Cloud Hosted Router

Sat Mar 26, 2016 6:12 pm

I tried to upload the raw image to Google Compute Engine, it started but neither does ssh nor winbox working.
Do I need additional steps to make it work with those vps providers?
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Sat Mar 26, 2016 7:33 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Sat Mar 26, 2016 9:48 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
Hello Normis,

I understand that Mikrotik does not contain the complete VMware Tools, but should have implemented Linux drivers , at least for the network card: https://kb.vmware.com/selfservice/micro ... Id=1001805. It would be nice to have a SCSI controller for hard disks and as a bonus, heartbeat function. But then you have to support only one version of VMware Solution: Workstation or better ESXi (or ESX paid).


Without the support Linux drivers not VMDK image continues to make sense.
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Cloud Hosted Router

Sat Mar 26, 2016 10:33 pm

No need to request already included features, both vmxnet3 and pvscsi are already there, just select them when creating new VM. :)
 
FreeNetPB
just joined
Posts: 8
Joined: Mon Dec 09, 2013 1:21 pm

Re: Cloud Hosted Router

Sun Mar 27, 2016 12:12 am

No need to request already included features, both vmxnet3 and pvscsi are already there, just select them when creating new VM. :)
Sob, thank you! Solved! I must change recommended "Other 64-bit" (http://wiki.mikrotik.com/wiki/Manual:CH ... stallation - step 2) to "Other 2.6.x Linux (64bit)".

Image

Image
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Confirmed: Hyper-V CHR now a good citizen ;)

Sun Mar 27, 2016 2:14 pm

When told to shut up (ah, shut down) it reacts to it.

Commencing testing now. Extremely happy about it. Seriously. I love windows as server OS, but for a pure VPN endpoint is is too expensive (financially and in terms of ressources used on the VM) and not powerful enough. FINALLY I can start moving that out towards RouterOS. Been waiting for that for years.

Normis, thanks - at least I can unify.
 
AlexS
Member Candidate
Member Candidate
Posts: 272
Joined: Thu Oct 10, 2013 7:21 am

Re: Cloud Hosted Router

Wed Mar 30, 2016 5:58 am

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
Hello Normis,

I understand that Mikrotik does not contain the complete VMware Tools, but should have implemented Linux drivers , at least for the network card: https://kb.vmware.com/selfservice/micro ... Id=1001805. It would be nice to have a SCSI controller for hard disks and as a bonus, heartbeat function. But then you have to support only one version of VMware Solution: Workstation or better ESXi (or ESX paid).


Without the support Linux drivers not VMDK image continues to make sense.

Yep if we had the full free vmtools install that would be a lot better. heartbeat ...
 
jwebb109
just joined
Posts: 2
Joined: Fri Mar 25, 2016 3:17 pm

Re: Cloud Hosted Router

Wed Mar 30, 2016 9:32 pm

I am trying to expand from the standard 128Mb disk size of the downloaded CHR vmdk.

qemu-img resize -f raw chr-6.31rc9.img +1G

Using qemu-0.9.0-windows.

Just keeps returning :

qemu-img version 0.9.0, Copyright (c) 2004-2007 Fabrice Bellard
usage: qemu-img command [command options]
QEMU disk image utility

Command syntax:
create [-e] [-b base_image] [-f fmt] filename [size]
commit [-f fmt] filename
convert [-c] [-e] [-f fmt] filename [-O output_fmt] output_filename
info [-f fmt] filename

Command parameters:
'filename' is a disk image filename
'base_image' is the read-only disk image which is used as base for a copy on
write image; the copy on write image only stores the modified data
'fmt' is the disk image format. It is guessed automatically in most cases
'size' is the disk image size in kilobytes. Optional suffixes 'M' (megabyte)
and 'G' (gigabyte) are supported
'output_filename' is the destination disk image filename
'output_fmt' is the destination format
'-c' indicates that target image must be compressed (qcow format only)
'-e' indicates that the target image must be encrypted (qcow format only)

Supported format: qcow2 vvfat vpc bochs dmg cloop vmdk qcow host_device raw


Can anyone give me any direction. My Dude config is over 500Mb
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Cloud Hosted Router

Thu Mar 31, 2016 12:27 am

Find newer qemu-img, current is 2.5.0. Your 0.9.0 does not even list "resize" as supported command.
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Fri Apr 01, 2016 2:38 am

Hello,

There is an issue with the ethernet interface order on CHR using VMware (tested on EXSi and Workstation). When you add several interfaces to the CHR then the interfaces appear in different order as created. This means they cannot be matched easily when connecting to other VMs. You have to check the MAC address of the interfaces to match then correctly.

Here is a supout file:
https://dl.dropboxusercontent.com/u/381 ... ut-chr.rif

Here is an example:
Image

All the interfaces are "VMXNET 3"

I tested with stable and last RC and the same happened.

This issue is not present on x86 version.

Best regards.
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Wed Apr 06, 2016 2:46 pm

Hello,

There is an issue with the ethernet interface order on CHR using VMware (tested on EXSi and Workstation). When you add several interfaces to the CHR then the interfaces appear in different order as created. This means they cannot be matched easily when connecting to other VMs. You have to check the MAC address of the interfaces to match then correctly.

Here is a supout file:
https://dl.dropboxusercontent.com/u/381 ... ut-chr.rif

Here is an example:
Image

All the interfaces are "VMXNET 3"

I tested with stable and last RC and the same happened.

This issue is not present on x86 version.

Best regards.
Hello,

Anyone experience this issue?
I just tested again on other ESXi and the result is the same.

Regards.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Wed Apr 06, 2016 4:19 pm

Normis, I don't get the unlimited license. At this point, it's pretty unrealistic to get 10Gbps+ from a CHR and that's unlikely to change. VM playforms simply aren't able to provide such speeds and wont for some time.

Can we have a similar option to do a 'site' or 'cluster' license? and allow unlimited instances of a CHR at a site?
 
jebz
Member
Member
Posts: 367
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: Cloud Hosted Router

Fri Apr 08, 2016 12:17 pm

on x86 (non-chr) it formats the disk and tries to use entire disk when installing. CHR is for virtual machines and the assumption is that it is running on the virtual disk, that can be expanded if you so desire.

if CHR sees that disk suddenly has expanded, it will attempt to expand the storage partition. On CHR installation that was done with the version older than 6.35rc36 this will not work as additional partition table changes were needed for this to work at all
Please expand on this disk resize for CHR. I tried on a QEMU virtual server but after expanding the router wouldn't reboot, it said unable to find operating system. So I restored a backup and the CHR restarted with a disk size of 128MB on a 1GB partition. I'm currently running 6.35rc48.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Fri Apr 08, 2016 12:37 pm

CHR guest has to be made using RouterOS 6.35rc42 or newer. Note the __made__. If it is made with version, then resize will work. If this was made with older - it will not, even if you update to the latest version.
 
jebz
Member
Member
Posts: 367
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: Cloud Hosted Router

Fri Apr 08, 2016 5:47 pm

CHR guest has to be made using RouterOS 6.35rc42 or newer. Note the __made__. If it is made with version, then resize will work. If this was made with older - it will not, even if you update to the latest version.
All good now. Original version was RouterOS 6.35rc35 then RouterOS 6.35rc42 and finally 6.35rc48. I've reformatted and rebuilt it with RouterOS 6.35rc48, restored the configuration and expanded the OS partition successfully. :D
 
bkvargyas
Trainer
Trainer
Posts: 3
Joined: Fri May 28, 2004 10:31 pm

Re: Cloud Hosted Router

Tue Apr 12, 2016 7:02 pm

1) I'm still stuck trying to resize the .VMDK pre-built image on the website. There isn't enough room to even upgrade a image after it's running. I wish the pre-built images were 128MB in size at least, not 56MB. In any case, can someone explain the process to increase the size of the vmware disk image so that RouterOS shows at least 128MB available for files and new downloaded images? I've tried the qemu windows utility and have had no such luck, after a resize, ESXI will not see the image as a valid file.

2) Also, I really wish the vmware image would incorporate vmware tools, as you cannot properly shutdown the image --- Even the 6.35rc48 does not work. Yes, Hyper-V works, but not ESXI 6.

I've even had luck with ESXI Direct IO PCI-E passthrough, so you bypass internal network switch and have RouterOS talk directly to the hardware at the PCI-E level -- giving you more PPS and lower latency.

Thanks,

Brian
 
Rudios
Forum Veteran
Forum Veteran
Posts: 973
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: Cloud Hosted Router

Fri Apr 15, 2016 12:15 pm

How great!

Just tried again today with the latest RC (6.35rc49) and it seems to work on Hyper-V running on Windows 10!
Also the 'normal' Hyper-V network interface is functional!
Keep up the good work!
 
pebkac
just joined
Posts: 2
Joined: Mon Apr 18, 2016 3:31 am

Re: Cloud Hosted Router

Mon Apr 18, 2016 3:34 am

I've successfully got CHR running in Microsoft Azure (ARM).

Some brief notes here:

https://pebkac.io/2016/04/mikrotik-chr- ... azure-arm/
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Apr 19, 2016 3:53 pm

really nice write-up pebkac. Just a small note, regarding license - it is just a few steps to relicense the CHR:
1) get trial for the new instance
2) on mikrotik.com portal head over to CHR license section
3) transfer the license from old ID to the new one.

we will consider creating older standard VHD image for Azure users.
 
anuser
Long time Member
Long time Member
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

Re: Cloud Hosted Router

Wed Apr 20, 2016 5:32 pm

So, I have a P1 license (day 1) and it shows within the license info:
- "Limited Upgrades" => What does this mean?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Thu Apr 21, 2016 11:21 am

try to renew the license from account server using the '/system license renew' command.
 
ludekhabarta
just joined
Posts: 9
Joined: Tue Feb 16, 2016 3:44 pm

Re: Cloud Hosted Router

Fri Apr 22, 2016 2:17 am

Nice job.

but :-) there are some issues with the VMWARE platform.

1) vmdk format is not compatible with ESXi.
----------------------------------------------------------------
Therefore i suggest to alter the vmdk format to be ESXi compatible.
Until then, there is an easy solution for this:
After uploading .vmdk to the ESXi storage.
Connect to ESXi console by SSH.
Change directory to your designated VM "cd /vmfs/volumes/<store>/<MikroTik>".
Run vmkfstool to convert it: "vmkfstools --clonevirtualdisk chr-6.35.vmdk --diskformat thin mikrotik.vmdk"
Look if everything is right. "ls -al"
The output should be like this:
----------------------------------------------------------------------------------------------------------------
[root@esxi:/vmfs/volumes/datastore/MK] ls -al
total 125960
drwxr-xr-x 1 root root 700 Apr 21 23:06 .
drwxr-xr-t 1 root root 1680 Apr 21 23:01 ..
-rw-r--r-- 1 root root 60227584 Apr 21 23:04 chr-6.35.vmdk
-rw------- 1 root root 134217728 Apr 21 23:06 mikrotik-flat.vmdk
-rw------- 1 root root 515 Apr 21 23:06 mikrotik.vmdk
---------------------------------------------------------------------------------------------------------------
Now the original chr-<ver>.vmdk could be removed. "rm chr-6.35.vmdk"
The disk image is now ready to be used.
Enjoy.

2) The VM has no vmtools or open-vm-tools installed.
Therefore there is no way to shutdown it gracefully like other VMs.
There is no information from the managing tools about assigned IP addresses.
This is actually not a big problem, but it would be nice to have feature.


Regards

Ludek
 
Fraction
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Wed Jan 16, 2013 9:42 pm
Location: Helsinki, Finland

Re: Cloud Hosted Router

Sat Apr 23, 2016 1:43 pm

I will be great if we can do some type of migration license from x86 to CHR since 3 type of level license has the same price


Level 4 = P1 ($45)
Level 5 = P10 ($95)
Level 6 = Unlimited ($250)
Any news/instuctions about this topic?

I saw Normis asked raffav to contact support after this post, is that the way to get the license migrated?
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Mon Apr 25, 2016 3:35 pm

I will be great if we can do some type of migration license from x86 to CHR since 3 type of level license has the same price


Level 4 = P1 ($45)
Level 5 = P10 ($95)
Level 6 = Unlimited ($250)
Any news/instuctions about this topic?

I saw Normis asked raffav to contact support after this post, is that the way to get the license migrated?
Hi Fraction

i din't contact support for that question, i contact support from a CHR problen :lol:

Support Answer
Hello, Raffaello.

Thank you very much for your idea.
We do not have plans to make any migration at the moment.

Regards,
Sergejs
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Wed Apr 27, 2016 8:48 am

it is easier now to make Amazon instances of the CHR, no more images to move around clusters:

https://aws.amazon.com/marketplace/pp/B01E00PU50
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Fri Apr 29, 2016 4:05 pm

something to play with CHR 6.36rc10 ESXi OVA file http://www.mikrotik.com/download/share/RouterOS_CHR.ova
 
pebkac
just joined
Posts: 2
Joined: Mon Apr 18, 2016 3:31 am

Re: Cloud Hosted Router

Wed May 04, 2016 5:25 am

it is easier now to make Amazon instances of the CHR, no more images to move around clusters:

https://aws.amazon.com/marketplace/pp/B01E00PU50
This is fantastic :)

An Azure template soon? That would make my day a lot easier.
 
abyss
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Sep 21, 2005 10:51 am

Re: Cloud Hosted Router

Wed May 04, 2016 6:09 pm

Hi,

I can use 6.35.1 cloning the disk:

- upload vmdk
- open ssh session and go to VM folder
- type vmkfstools -i chr-6.35.1.vmdk -d thin yourvmname.vmdk
- use the cloned disk insteed of the original one..

Best regards,
Julien
 
macb57
just joined
Posts: 1
Joined: Wed May 11, 2016 3:24 am

Re: Cloud Hosted Router

Wed May 11, 2016 4:13 am

Anyone can post directions on getting CHR to run on linode. I have followed all available leads including dd transfer of raw .img to linode using finnix environment with no luck. Seems a number of folks indicate they have been successful without details. Guidance would be REALLY appreciated.
 
Buster2
newbie
Posts: 46
Joined: Sun Jan 06, 2013 9:04 pm
Contact:

Re: Cloud Hosted Router

Fri May 13, 2016 9:29 pm

CHR on XenServer 6.5

http://forum.mikrotik.com/viewtopic.php ... 23#p524423
I can live-migrate... but without the xentools kernel module installed, the CHR is freezing on resume. I've found plenty of posts about the linux kernel freezing the same way then xentools isnt installed. I can't pull anything of value out of the CHR's logs so can only assume this is the issue.
http://forum.mikrotik.com/viewtopic.php ... 31#p517531
Got it running on our XenServer 6.5 environment (CHR 6.34rc41), however, when I try to 'migrate' the vm to a different host it freezes. Also shutdown via Xen doesn't work (restart does).
I tried today with 6.36rc12. Installing/setting up a VM works flawless, but live migration still does not work as expected. XenCenter shows the VM on the new host, but the network stops working, all vCPU went to 100% and console stops responding. So there is no chance to watch what is going on in VM. Migrating the VM back to the origin host does not work either. Although XenCenter says first migration completed, it seems like the migration did not. XenCenter shows migration error for second migration.

Shutting down a CHR normally does not work either, because XenTools are needed (XenCenter shows virtualization state: "Unknown (please wait)"). Updating a XenServer pool is a pain like that. XenCenter automation can not be used. You need to migrate VM, but migration does not work. You need to shutdown VM to power it on at another host, but shutdown does not work. Only way is to force shutdown.
 
User avatar
aditrodostress
just joined
Posts: 13
Joined: Fri May 20, 2016 7:46 am
Location: Jakarta

Re: Cloud Hosted Router

Fri May 20, 2016 7:55 am

How to deploy CHR on KVM VPS with Virtualizor Client panel ?
the provider Just support ISO instalation file ?
 
User avatar
apteixeira
Trainer
Trainer
Posts: 50
Joined: Fri Oct 05, 2012 5:54 pm

Re: Cloud Hosted Router

Mon May 23, 2016 5:11 am

Hello,

Here is an OVA optimized for VMware vSphere with SCSI hard disk and SCSI controller (paravirtualization). The hard drive has 1GB.

Version: 6.35.2
OVA: https://dl.dropboxusercontent.com/u/381 ... phere6.zip

It can be used on VMware Workstation as well.

Enjoy!

Image

Image

Best regards.
 
yarikello
just joined
Posts: 1
Joined: Mon May 30, 2016 11:04 am

Re: Cloud Hosted Router

Mon May 30, 2016 11:31 am

hi!
i have CHR chr-6.35.2 on hyper-v 2012r2. License P10
after 4 days, uptime it reboots and died with error. It was the second death of CHR. First was on 6.34.1
https://snag.gy/yWKCP7.jpg
on the vhdx i foundet temp_panic.log
http://pastebin.com/cYLJ23zT
i reinstall the chr, but how long it will work...
 
edwardcolin
just joined
Posts: 1
Joined: Sat Jun 11, 2016 9:01 am

Re: Cloud Hosted Router

Sat Jun 11, 2016 9:13 am

We are releasing a test version of an exciting new feature - Cloud Hosted Router (CHR).

It is a Virtual Machine image of RouterOS that has full functionality of RouterOS without any kind of conventional RouterOS license, with the limitation of 1Mbit per interface, in future, we will offer unlimited speed with a paid subscription. This allows you to use RouterOS in training classes, for testing, for experimentation or any other purpose, without the need for 24h trial or Demo license.

We provide a generic (RAW) format IMG, VMDK file for VMWare, VDI for VirtualBox and VHDX for Hyper-V. These are ready to use virtual disk images (add as a virtual hard drive to your VM). These are NOT templates for importing. Cdn reviews



qemu commands for converting images (if you need to convert to another format)

RAW to VMware:
qemu-img convert -f raw -O vmdk chr-6.31rc9.img chr-6.31rc9.vmdk
RAW to VirtualBox:
qemu-img convert -f raw -O vdi chr-6.31rc9.img chr-6.31rc9.vdi
See below for steps how  to run this new system.

If you need a bigger virtual hdd (currently 128Mb), resize the image before first run
qemu-img resize -f raw chr-6.31rc9.img +1G
This will increase the disk by 1GB

Downloads:
http://www.mikrotik.com/download


VMware Player (Free): https://my.vmware.com/web/vmware/free#d ... player/7_0
VirtualBox (Free): https://www.virtualbox.org/wiki/Downloads

Instructions for VMware:

Screenshot 2015-07-27 14.44.27.png
Screenshot 2015-07-27 14.44.31.png
Screenshot 2015-07-27 14.44.34.png

Screenshot 2015-07-27 14.44.39.png
Screenshot 2015-07-27 14.44.46.png
Screenshot 2015-07-27 14.44.50.png
Screenshot 2015-07-27 14.44.57.png
Screenshot 2015-07-27 14.45.06.png
Screenshot 2015-07-27 14.45.20.png

Instructions for VirtualBox:
Screenshot 2015-07-27 14.46.09.png
Screenshot 2016-03-11 14.10.24.png
Screenshot 2016-03-11 14.10.35.png
Screenshot 2015-07-27 14.47.16.png
Screenshot 2015-07-27 14.46.28.png

IMPORTANT STEP, change CPU setting to KVM:

Screenshot 2015-07-27 14.46.51.png
Screenshot 2015-07-27 14.46.55.png
Screenshot 2015-07-27 14.47.16.png
Waoo That's Great i will definitely try this but i just say one thing to you if you want to add some more things on that and new feature you can get some cool instruction from that.
 
wise0tamas
just joined
Posts: 14
Joined: Sun Oct 03, 2010 1:12 am

Re: Cloud Hosted Router

Sat Jun 11, 2016 12:11 pm

How to deploy CHR on KVM VPS with Virtualizor Client panel ?
the provider Just support ISO instalation file ?
Probably you could try clonezilla:
1) beforehand, in a local vm boot clonezilla iso with the CHR image as the disk, and create a clonezilla archive of that disk,
2) then boot the VPS via the same clonezilla iso, network prepared, and then "reload" the prepared clonezilla archive of the CHR onto the disk of the VPS,
3) boot the VPS via the disk.
Hopefully, then CHR would boot normally on the VPS.
 
odge
Member Candidate
Member Candidate
Posts: 110
Joined: Mon Nov 29, 2010 2:53 pm

Re: Cloud Hosted Router

Sat Jun 11, 2016 4:45 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
one of the most important reasons to have vm-tools is so that the hyper-visor is aware of the state of the VM, and can reboot it if no heartbeats are received.  Check out https://pubs.vmware.com/vsphere-50/inde ... D78E7.html
I think given that development of open-vm-tools, its inclusion in every single linux distributions package distribution system, is testament to exactly how important it is.
Currently when CHR crashes in hypervisor enviroment. It requires manual intervention, and there is no way around that except to use other unsupported techniques.
Every other vmware appliance I've come across that punts any kind of support for vmware has open-vm-tools installed. Personally I dont care so much about the drivers, but I do care about keeping my RouterOS on when its locked up.
 
odge
Member Candidate
Member Candidate
Posts: 110
Joined: Mon Nov 29, 2010 2:53 pm

Re: Cloud Hosted Router

Sat Jun 11, 2016 4:48 pm

Hello,

Here is an OVA optimized for VMware vSphere with SCSI hard disk and SCSI controller (paravirtualization). The hard drive has 1GB.

Version: 6.35.2
OVA: https://dl.dropboxusercontent.com/u/381 ... phere6.zip

It can be used on VMware Workstation as well.

Enjoy!



Best regards.
Hi
Why the Paravirtual route? 
 
odge
Member Candidate
Member Candidate
Posts: 110
Joined: Mon Nov 29, 2010 2:53 pm

Re: Cloud Hosted Router

Sat Jun 11, 2016 4:57 pm

VMWare tools are for Windows and such operating systems. RouterOS will not have it. All the needed network and storage drivers are already there, VMtools will not be there
Hello Normis,

I understand that Mikrotik does not contain the complete VMware Tools, but should have implemented Linux drivers , at least for the network card: https://kb.vmware.com/selfservice/micro ... Id=1001805. It would be nice to have a SCSI controller for hard disks and as a bonus, heartbeat function. But then you have to support only one version of VMware Solution: Workstation or better ESXi (or ESX paid).


Without the support Linux drivers not VMDK image continues to make sense.
Agreed. In Cluster environments (SAN etc) SCSI is a kind of a must, because IDE over iSCSI is just terrible.  I think having proper support for ESXi is the only path. VMWare Workstation - is not for production enviroment, its for testing enviroments.
 
th0massin0
Member Candidate
Member Candidate
Posts: 156
Joined: Sun May 11, 2014 4:16 am
Location: Poland

Re: Cloud Hosted Router

Sat Jun 11, 2016 8:50 pm

If you are interested IN CHR on OVH VPS SSD, here you go:
1. Install any linux distro
2. From OVH control panel boot VPS to rescue mode
3. Type the magic from below :) :
cd /root
curl -O http://download2.mikrotik.com/routeros/6.35.2/chr-6.35.2.img.zip
gunzip -S .zip chr-6.35.2.img.zip

umount /mnt/vdb1
dd if=/root/chr-6.35.2.img of=/dev/vdb
... now reboot from control panel, to escape from rescue mode. Click KVM console, and now you have installed CHR :)
 
claudionei
just joined
Posts: 4
Joined: Wed Feb 11, 2015 4:06 pm

Re: Cloud Hosted Router

Sat Jul 02, 2016 3:07 pm

Hello Mikrotik Masters.


I would like to suggest a Cloud Hosted Dude Server for free.

Is it possíble to release?

We would love to have, and I think many others will.

I have tested the Dude Server, but the traffic exceeds the limitation proposed of 1 Mbps. I am sure, if it were limitated to 10 Mbps it would run well, at least for us.

Thanks for all and good weekend..

Claudionei F. Mendes
A.K.A Nei
Mikrotik Fan and Network Technician.
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Sat Jul 02, 2016 7:42 pm

"I would like to suggest a Cloud Hosted Dude Server for free."

$40 is too much for your could hosted monitoring ?  
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Mon Jul 04, 2016 2:58 pm

Hi there,
I am a potential customer, the potential comes from the lack of open-vm-tools. Being unable to gracefully shutdown/restart the vm without logging on is a no-go for me. Once you add that you have a at least a p1 license sold
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Jul 04, 2016 3:06 pm

Hi there,
I am a potential customer, the potential comes from the lack of open-vm-tools. Being unable to gracefully shutdown/restart the vm without logging on is a no-go for me. Once you add that you have a at least a p1 license sold
RouterOS does not need graceful shutdown. OK, except maybe if you added some config and need to turn off immediately. 
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Mon Jul 04, 2016 3:34 pm

RouterOS does not need graceful shutdown. OK, except maybe if you added some config and need to turn off immediately. 
Is router os running from a read-only filesystem? If it doesn't, there is a real risk about the FS getting corrupted if i "yank the power cord", shutting it down without the agents, everytime i service my host. I understand about keeping the attack surface as slim as possible but adding the open-vm-tools package as an optional pkg shouldn't be much work, the code is opensource(https://github.com/vmware/open-vm-tools) so you just need to compile it.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Jul 04, 2016 3:59 pm

I have never seen a FS problem and everyone here is "yanking the cord" for 15 years or so. 
 
Buster2
newbie
Posts: 46
Joined: Sun Jan 06, 2013 9:04 pm
Contact:

Re: Cloud Hosted Router

Mon Jul 04, 2016 4:06 pm

RouterOS does not need graceful shutdown. OK, except maybe if you added some config and need to turn off immediately. 
RouterOS might not need it but the virtualization host totally depends on it. No proper hypervisor will kill a VM when it signals all VM to shutdown normally. Killing a VM, as you suggest, is a totally different action than shutting it down!
 
syadnom
Forum Veteran
Forum Veteran
Posts: 802
Joined: Thu Jan 27, 2011 7:29 am

Re: Cloud Hosted Router

Mon Jul 04, 2016 6:07 pm

Yes ^^^^

It's not just about routeroz, it's about what the host expects to see and how the host will behave. No sane vm host will hard kill a vm unless explicitly told to do so
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Mon Jul 04, 2016 6:42 pm

I have never seen a FS problem and everyone here is "yanking the cord" for 15 years or so. 
Good to know then, another thing that having the tools adds is the fact that my standalone hosts autoloads a series of vms and having the agents working cuts dramatically the time before the next autostart vms starts(instead of waiting 30 minutes it will instantly startup the next in order). Logically i would load the router before the rest of the stack and adding say 15 to 30 minutes for each reboot is something i would prefer to avoid if i can.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Cloud Hosted Router

Mon Jul 04, 2016 7:02 pm

Just checked the free version of ESXi, it allows to configure shutdown action (with options "Guest Shutdown", "Power Off" and "Suspend" available) and startup and shutdown delays on a per VM basis. I'm pretty sure any decent virtualization platform should allow to set such options as well.
 
vanel86
just joined
Posts: 11
Joined: Mon Jul 04, 2016 2:50 pm
Location: Trieste, Italy

Re: Cloud Hosted Router

Tue Jul 05, 2016 9:26 am

Just checked the free version of ESXi, it allows to configure shutdown action (with options "Guest Shutdown", "Power Off" and "Suspend" available) and startup and shutdown delays on a per VM basis. I'm pretty sure any decent virtualization platform should allow to set such options as well.
Yeah, the my main issue with the lack of agents is that, without the agents, i will need to have the host wait for the vm delay at every host power up(which is a cool 15 minutes for my homelab) that would be zero if the agents were there
As far as I know only ESXi and hyperv lets you do autostart setup in GUI mode(only VMware lets you set up a priority order), xenserver require quite a bit of cli to do so, horses for courses :)
 
toxicfusion
Member Candidate
Member Candidate
Posts: 267
Joined: Mon Jan 14, 2013 6:02 pm

Re: Cloud Hosted Router

Wed Jul 06, 2016 9:19 pm

If you are interested IN CHR on OVH VPS SSD, here you go:
1. Install any linux distro
2. From OVH control panel boot VPS to rescue mode
3. Type the magic from below :) :
cd /root
curl -O http://download2.mikrotik.com/routeros/6.35.2/chr-6.35.2.img.zip
gunzip -S .zip chr-6.35.2.img.zip

umount /mnt/vdb1
dd if=/root/chr-6.35.2.img of=/dev/vdb
This worked like a charm... beautifully!  However, I used another VPS provider ;). Similar concept
Are you able to apply more than one(1) ethernet interface? I only have one(1) by default.  Probably can just create VLAN's if needed...
 
th0massin0
Member Candidate
Member Candidate
Posts: 156
Joined: Sun May 11, 2014 4:16 am
Location: Poland

Re: Cloud Hosted Router

Tue Jul 19, 2016 2:30 pm

If you are interested IN CHR on OVH VPS SSD, here you go:
1. Install any linux distro
2. From OVH control panel boot VPS to rescue mode
3. Type the magic from below :) :
cd /root
curl -O http://download2.mikrotik.com/routeros/6.35.2/chr-6.35.2.img.zip
gunzip -S .zip chr-6.35.2.img.zip

umount /mnt/vdb1
dd if=/root/chr-6.35.2.img of=/dev/vdb
This worked like a charm... beautifully!  However, I used another VPS provider ;). Similar concept
Are you able to apply more than one(1) ethernet interface? I only have one(1) by default.  Probably can just create VLAN's if needed...
I belive that quantity of ethernet interfaces is provider-depended thing.
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Jul 26, 2016 9:03 am

When you will do the CHR version for Amazon and Azure please notice that there is not support of remote display and console. The only way to make it accessable is to introduce to network infrastruture and create a real working profile for current routerOS such as Home AP and etc.
Yes there is console screen, but read only. Again, this is Amazon limitation. Interactive console is not available for any OS in Amazon EC2: http://docs.aws.amazon.com/AWSEC2/lates ... nsole.html

[attachment=0]Captura de pantalla 2016-07-26 a las 09.01.56.png[/attachment]
You do not have the required permissions to view the files attached to this post.
 
User avatar
chrone
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Fri Mar 28, 2008 7:16 am
Location: planet earth

Re: Cloud Hosted Router

Wed Jul 27, 2016 9:34 pm

Just tested this out on Proxmox VE 4.2 Linux KVM. Both virtio disk and net work great.

Will there be support for virtio net 10GbE in the future? :)
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Thu Jul 28, 2016 4:40 pm

accessing my account  all my trial license instance was cleared but since i have a p1 paid license
now i cant transfer to a new instance because there is 0 instance on my account page,

(Ticket#2016072766000892)
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: Cloud Hosted Router

Fri Jul 29, 2016 10:44 pm

i am stil waiting for a solution on my case, :(
 
amit213
just joined
Posts: 5
Joined: Sat Aug 27, 2016 10:49 pm

Re: Cloud Hosted Router

Sun Aug 28, 2016 6:12 am

Hi Normis,

Congratulations to you and your team for a solid product. The CHR on KVM seems to be working nicely so far.

Quick question: Let's say we have 5 powerful bare metal servers spread across continental US. And we have 5 total instances of "CHR + KVM" running on each of those five servers forming a secure IPSec circuit.

Will I need to purchase 5 separate PI-10 licenses to allow those five instances to work normally at 10Gigbit throughput? Or does buying one "PI-10 unlimited" perpetual license allows me to apply it to multiple CHR instances?

Kindly please help advice at the earliest.

-Amit
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: RE: Re: Cloud Hosted Router

Sun Aug 28, 2016 4:49 pm

Hi Normis,

Congratulations to you and your team for a solid product. The CHR on KVM seems to be working nicely so far.

Quick question: Let's say we have 5 powerful bare metal servers spread across continental US. And we have 5 total instances of "CHR + KVM" running on each of those five servers forming a secure IPSec circuit.

Will I need to purchase 5 separate PI-10 licenses to allow those five instances to work normally at 10Gigbit throughput? Or does buying one "PI-10 unlimited" perpetual license allows me to apply it to multiple CHR instances?

Kindly please help advice at the earliest.

-Amit
The license as far a I know is for instance, so you need to buy 5 license but you have the possibility to move the license to another instance when needed

Enviado do Moto X Force
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Mon Aug 29, 2016 10:36 am

Raffav is right. Each running instance needs it's own license, but once you terminate it, it's license becomes available for some other virtual installation, making migration simple.
 
amit213
just joined
Posts: 5
Joined: Sat Aug 27, 2016 10:49 pm

Re: Cloud Hosted Router

Tue Aug 30, 2016 12:13 am

Raffav and Normis, thank you for the clarification.

Normis, as far as the ability to move the license around between different CHR instances is concerned: Is this still valid if I were to purchase your CHR PI-10 licenses from a reseller? Does it have to be any special type of PI-10 licenses? Or does buying regular CHR PI-10 in bulk good enough.

Also - What specific steps should we have to follow for moving the currently active license key to a new CHR instance? Let's assume I had licensed CHR running and I just deleted that instance. Now I need to re-purpose that license key to a new CHR instance. The RouterOS does not allow me to change its router identity key.

best

-Amit
 
raffav
Member
Member
Posts: 345
Joined: Wed Oct 24, 2012 4:40 am

Re: RE: Re: Cloud Hosted Router

Tue Aug 30, 2016 1:41 am

Raffav and Normis, thank you for the clarification.

Normis, as far as the ability to move the license around between different CHR instances is concerned: Is this still valid if I were to purchase your CHR PI-10 licenses from a reseller? Does it have to be any special type of PI-10 licenses? Or does buying regular CHR PI-10 in bulk good enough.

Also - What specific steps should we have to follow for moving the currently active license key to a new CHR instance? Let's assume I had licensed CHR running and I just deleted that instance. Now I need to re-purpose that license key to a new CHR instance. The RouterOS does not allow me to change its router identity key.

best

-Amit
The CHR license I think only is possible to purchase on mikrotik site via your account also there is where you manage your CHR license

Step
Install CHR
go to system license
Select you license type,
upgrade, put you user and password used on mk site

Go to you account on mk site
There is all CHR license
You will see one CHR just added and there will be a upgrade option after you purchase
go back to you CHR
and do a renew after that you CHR is permanent activated

To move to another instance

Just install a new CHR
Put your account information
Go to the site there will be a recent CHR added with a options to transfer
you just need to choose the software I'd and transfer
Go back to CHR and do renew
Done


Edit
I would like to suggest an improvement
The transfer license is a little nasty
Since you need to find the software id,
Would be nice if the system pick the note field as reference only if empty pick software I'd


Enviado do Moto X Force
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Tue Aug 30, 2016 8:34 am

Normis, as far as the ability to move the license around between different CHR instances is concerned: Is this still valid if I were to purchase your CHR PI-10 licenses from a reseller?
You can't buy CHR licenses from a reseller. What you can do, is buy a "coupon" (a prepaid key) and then use that to pay for your CHR. But in reality this still means you make your own CHR keys.
 
Siona
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Thu Jan 29, 2015 11:56 am

Re: Cloud Hosted Router

Tue Aug 30, 2016 10:25 am

Is it possible to run CHR on qnap NAS server?
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cloud Hosted Router

Wed Aug 31, 2016 1:50 pm

Please make new topics for each new question, post them in the Virtualisation section of this forum

Who is online

Users browsing this forum: No registered users and 47 guests