G+_Jason Perry Posted March 9, 2016 Share Posted March 9, 2016 So...... Question about developing on the RPi. I have been working on a project or two and I want to move on to the next. Am I able to create a VM and put it on a more permanent system and how? I am thinking of the feasibility of going out and getting an Intel NUC and making it into a hypervisor. Link to comment Share on other sites More sharing options...
G+_Black Merc Posted March 9, 2016 Share Posted March 9, 2016 Don't think that's the best idea... IoT devices don't have that much power. Think 'stuffing a mainframe into a wristwatch'. Were not there yet... Link to comment Share on other sites More sharing options...
G+_Travis Hershberger Posted March 9, 2016 Share Posted March 9, 2016 They've probably ported at least KVM to the RPi. I doubt it would run well tho, even on a v3 RPi. Personally, I'd got the NUC route, and drop XenServer on a 16GB USB stick (you'd then have the single internal 2.5" slot for a local storage repository.) Also, might want to give a shot at adding HALizard and XenOrchestra a go. HALizard gives you an easily configured High Availability environment (assuming you have 2 XenServers, still good experience to know how to use it). Xen Orchestra gives you management tools and backup via a web server, so you're not reliant on the Windows management app. Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted March 9, 2016 Share Posted March 9, 2016 Are you wanting to migrate what's on the Pi to another machine (i.e. NUC)? Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted March 9, 2016 Author Share Posted March 9, 2016 Sorry I think I miss spoke. I don't want to put a hypervisor on the RPi; I want to put the hypervisor on a system like an Intel NUC and make an image of what I created on the RPi and move it to the hypervisor. Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted March 9, 2016 Share Posted March 9, 2016 It's a bit of a stretch, but it sounds like you could use QEMU to emulate Raspbian. Not sure that really gets what you want though. http://www.makeuseof.com/tag/emulate-raspberry-pi-pc/ Link to comment Share on other sites More sharing options...
G+_Jeff Brand Posted March 9, 2016 Share Posted March 9, 2016 In order to properly emulate the RPi environment, you need an emulator like QEMU. It's based on an ARM processor, not the Intel x86. Virtual machines only virtualize the hardware. Link to comment Share on other sites More sharing options...
G+_Steve Martin Posted March 10, 2016 Share Posted March 10, 2016 It would help to know exactly what kind of a project you are working on. If you are writing an application or a WebApp then moving to VM on a server could make a lot of sense. I've used VM's to do primary development for years, and now all of that work has moved to the Cloud. The real question is what tools you are using? Is it a software project? Does it use a specific language (e.g. Python, ruby, c++). More information and we could help you quite a bit more. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted March 10, 2016 Author Share Posted March 10, 2016 Steve Martin?, one of my Pi's is a DHCP and DNS server, the other is running drupl. I don't want to lose all the work I did on them but want the Pi's for other projects. I am sure an Intel NUC is overkill but I would like to put more VMs on it down the road. Link to comment Share on other sites More sharing options...
G+_Steve Martin Posted March 11, 2016 Share Posted March 11, 2016 Which DNS system did you use? named or dnsmasq? In either event it should be no problem just backing up the config files and moving them to another system with the same package. Same with your drupl project. You don't need the entire RasPi image, just the files you created. Install the tools you used using yum (CentOS/RedHat) or apt-get (Ubuntu) Going to a Ubuntu Linux system makes the most sense as you are already getting familiar with Debian packages on Rasbian. REMEMBER do not bring up the new DHCP server until you take down the first one. DHCP loops can cause severe headaches on a network. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted March 11, 2016 Author Share Posted March 11, 2016 Thanks Steve Martin?, I am using named. I just thought it might be easier to make an image of the OS to avoid any issues getting it up and running. To tell you the truth, I would kinda like to make it into a docker container but have zero experience with that. Link to comment Share on other sites More sharing options...
G+_Steve Martin Posted March 11, 2016 Share Posted March 11, 2016 To be honest, if you are moving from the RasPi to an Intel x86 based system, making and image of the OS and moving it over will be a lot more complicated than installing a regular OS and moving the configs. The RasPi is ARM based, so you'd need something that can emulate ARM and works properly with the Raspbian system. So many of the drivers on the RasPi are specific to that hardware platform and they would not transfer to another system easily. The trouble would far exceed the benefits IMHO. Link to comment Share on other sites More sharing options...
Recommended Posts