LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-13-2010, 08:45 PM   #1
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
NX or VM's


For a small office would one consider using VM's over network or something like 2x/freenx to a server.

Problem is the office in way out in the country. I have no interest in driving out there every day for such and such but just thinking of the best solution to a soho that is easy to backup and maybe easy to have the local users fix.

Any ideas on how one might setup a soho system?

Thanks.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-14-2010, 09:49 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
A local PXE boot server (unbreakable).
+
A network partition with read-only qemu-kvm images on it (unbreakable).
Users create relative images and work on it (they can break, it, but you can regenerate the relative image in 1 second).
+
A network storage for the qemu users to save on it (never use a VM for storage).

That's what i made @ work and i can tell you i have a system that beats any 10000$ proprietary solution out there.
And it's far simpler ^^.
You can use sshfs instead of nfs. You can also use a VPN, etc...
 
3 members found this post helpful.
Old 12-14-2010, 04:39 PM   #3
Kenarkies
Member
 
Registered: Nov 2007
Location: South Australia
Distribution: Ubuntu 11.10
Posts: 78

Rep: Reputation: 23
Quote:
Originally Posted by jefro View Post
For a small office would one consider using VM's over network or something like 2x/freenx to a server.

Problem is the office in way out in the country. I have no interest in driving out there every day for such and such but just thinking of the best solution to a soho that is easy to backup and maybe easy to have the local users fix.

Any ideas on how one might setup a soho system?

Thanks.
I successfully use openSUSE (which comes with Xen hypervisor) and run Windows server and a Fedora based IMAP mailserver on it. This is not only a high performance solution but is reliable and easy to use. As openSUSE rarely causes problems, you can simply manage the VMs over ssh, backup with a cron job by suspending, copying and restarting. Beautiful!

For local users to do any "fixing", you can use VNC to call up a management GUI -rather clunky and unintuitive but a bit of training is all that is needed.

cheers, Ken
 
1 members found this post helpful.
Old 12-14-2010, 05:17 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Original Poster
Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Hey, thanks for the ideas.

I know it was a very generic question and just needed some ideas.
 
Old 12-14-2010, 10:04 PM   #5
hand_of_hack
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Linux.tar.gz View Post
A local PXE boot server (unbreakable).
+
A network partition with read-only qemu-kvm images on it (unbreakable).
Users create relative images and work on it (they can break, it, but you can regenerate the relative image in 1 second).
+
A network storage for the qemu users to save on it (never use a VM for storage).

That's what i made @ work and i can tell you i have a system that beats any 10000$ proprietary solution out there.
And it's far simpler ^^.
You can use sshfs instead of nfs. You can also use a VPN, etc...
I like the setup you have. Do you have instructions on how to set it up? I have the fileshares and part of the PIX boot, but I do not have the setup working together in the fashion you speak of.

Thanks
 
Old 12-15-2010, 04:06 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by jefro View Post
Hey, thanks for the ideas.
Please don't forget to give them Rep(utation), I did. Thanks.
 
Old 12-15-2010, 04:35 AM   #7
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 117

Rep: Reputation: 19
I guess the most interesting question is which OS you use on both sides and also what kind of connectivity you have to the internet from the office.

Freenx is really for slow latency networks ... so I guess you have very low bandwidth?

What do you mean with VM over a network? And what services do you want delivered to the small office/home office?

Maybe you can have the guyz there vpn into the central office where you are? Or better use a small router that vpn's in automatically? It is always best to try and keep the business critical stuff under your direct control - what will you do in case of hardware failure and the server hosting vm's does not come back up?

I work from a home office, and I vpn into our central office.

If you really want a server there, I would use a vpn gateway (can be a small router - so you can vpn in) and a small server with vm's in the small office, but it all depends on what services you want to offer ... vpn is the safest, I think ...
 
Old 12-15-2010, 04:13 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Original Poster
Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Sorry about the delayed rep's points.

They are using and spending a lot of money on MS and Mac stuff. I don't think they care as long as they can access email and web pages. They do maintain some local data that can be in other forms.

I think I can convert it over to Linux if only via some x2go or nx such thing. That was the cryptic reference.



The second part was running a vm or two on a server only for simplified backup and restore for all of this. Also remote copies. I know I can image the system but I like to copy VM's in a few minutes and boot back up. Seems faster to me.
 
Old 12-23-2010, 07:02 AM   #9
lupe
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 36

Rep: Reputation: 2
Quote:
Originally Posted by Linux.tar.gz View Post
A network partition with read-only qemu-kvm images on it (unbreakable).
Users create relative images and work on it (they can break, it, but you can regenerate the relative image in 1 second).
+
A network storage for the qemu users to save on it (never use a VM for storage).
Hi, thanks for your input!
Can you elaborate a bit on these two ideas?
What do you mean by relative images?
 
Old 12-26-2010, 02:18 PM   #10
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Original Poster
Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
After all this I think I may try iSCSI boots to saved images.


jefro, I hope you don't mind, I changed "iscsi" to iSCSI for clarity. -- I actually looked it up before I realized what you meant.

Last edited by archtoad6; 12-27-2010 at 09:05 AM. Reason: clarify
 
Old 01-03-2011, 08:22 AM   #11
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Quote:
Originally Posted by hand_of_hack View Post
I like the setup you have. Do you have instructions on how to set it up? I have the fileshares and part of the PIX boot, but I do not have the setup working together in the fashion you speak of.

Thanks
Begin with creating and running qemu images, then dig into relative images.
TIP: use qcow2 as qemu disk.
 
Old 01-03-2011, 08:26 AM   #12
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Quote:
Originally Posted by lupe View Post
Hi, thanks for your input!
Can you elaborate a bit on these two ideas?
What do you mean by relative images?
It's the difference between ro image and the one you run. There's plenty of documentation around.
The network storage can be a samba share. You put a shortcut on users's desktop, and they save in it.
It's one solution amongst others.
 
Old 01-03-2011, 11:47 AM   #13
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Original Poster
Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
I think I need to get some more info on booting qemu images over pxe them too.

I have never booted qemu images across the network. What kind of ram do you need on each terminal?
 
Old 01-04-2011, 03:33 AM   #14
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Nono, i don't boot qemu images directly.
I first boot a complete Linux system, then the user launch his virtual machine.
 
Old 01-04-2011, 01:48 PM   #15
jefro
Guru
 
Registered: Mar 2008
Posts: 12,084

Original Poster
Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Wheew, thought I was loosing it there. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox crashing vm's on purpse? manwichmakesameal Linux - Virtualization and Cloud 3 12-14-2010 10:04 AM
[SOLVED] moving xen VM's to different hardware genderbender Linux - Virtualization and Cloud 5 11-24-2010 09:12 PM
looking for advice about VM's hornetbzz Linux - Newbie 4 08-04-2010 03:41 PM
multiple public ip support in Cloud VM's sparkshankar Linux - Virtualization and Cloud 6 11-04-2009 10:34 AM
linux cluster to run win vm's stairwayoflight Linux - Networking 1 01-09-2007 03:05 PM


All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration