LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   virtual machine guide (https://www.linuxquestions.org/questions/linux-newbie-8/virtual-machine-guide-892772/)

chethankp 07-20-2011 12:36 PM

virtual machine guide
 
Hi,
I want to learn creation and maintenance of VMs on any hyper-visor like , xen/kvm .

can any one suggest a good docs/link to start with this ..?

regards
Chethan

EricTRA 07-20-2011 01:53 PM

Hello,

HowtoForge.com is a good starting point in my opinion. It has very clear, easy to understand guides that get you up and running in no time. Make your choice about the virtualization platform first, there are pretty distinct differences. If you have trouble following any of those guides, don't hesitate to post your questions here.

Kind regards,

Eric

frieza 07-20-2011 02:09 PM

one suggestion
before you look into any virtualization solution, make sure you have a clear goal in mind before you start reading
a few things to take into consideration

1) the capacity and architecture of your REAL hardware
--some machines support hardware virtualization, dome do not

2) what host operating system you are intending on using (windows, mac, linux, bsd etc..)
--the host operating system will also determine what types of vm software is available for your use, some host operating systems have more vm softwares available for them than others

3) how many virtual machines you intend to use (virtual workstation, virtual server, experimentation platform etc.)
-- the number of virtual machines you can safely run will depend in part on the capacity of your hardware

4) what guest operating system(s) you intend to run on your virtual machines
-- some host operating systems will not run properly, if at all, on certain virtual machine platforms and some require hardware virtualization to run, also some will be native to the platform you are running and thus will be more compatible, others are not and will require a full emulation platform (though this is a less likely scenario unless you are running a legacy operating system for a different platform)

5) what you plan on doing with said virtual machine(s)
-- this will determine how you configure your virtual machines (what type of resources you make available to the guest OS)

what type of virtualization platform (xen, virtualpc, virtualbox, complete emulator) you should research and also determines how your setup will be ultimately configured (how much virtual resources to allocate etc..)

paulsm4 07-20-2011 02:19 PM

I second frieza's comments.

Bottom line: All "virtualization" is NOT created equal.

Different products have different advantages, different disadvantages, target different audiences and work in different ways. Often, this is true of different products from the SAME VENDOR.

The first step is to figure out (at least at a high level) what you WANT. What's the "goal"?

If you "just want to learn about virtualization", I would suggest the following:

1. Check out some high-level overviews, like Wikipedia


2. Check out at least one "end user VM", like VMWare Player or Virtual Box

3. Check out at least one "hypervisor", like Xen or ESX Server/VSphere

'Hope that helps .. PSM

chethankp 07-21-2011 01:45 AM

Hi,

paulsm4 07-21-2011 01:20 PM

Hi, again -

Quote:

My aim is to capture the real time data from any sensors connect to the Host PC ( host where VM will be running ) and virtulize this data so that all the user systems can access via LAN
Q: What do you mean by "virtualize this data"?

Q: Why can't the host PC just capture the data directly? Why do you need a "virtual PC" running inside of the "real PC"?

paulsm4 07-22-2011 01:50 PM

Hi, again -

I looked at these two posts:

http://www.linuxquestions.org/questi...-mount-891447/

http://www.linuxquestions.org/questi...eation-891811/

I think (please correct me if I'm wrong):

1) You have a "data acquisition" application you'd like to create
2) You believe that "virtualization" might be a good way to accomplish it

As far as 1), your application, I'd suggest the following:

a) Decide on an OS
<= Linux is an excellent choice

b) Decide on a programming language
<= Python or C might be ideal for you. Perl, Java, or C++ - among others - are all good alternatives.

c) Verify that a test program in this language can read (and possibly write to) your device over the serial port
<= This should be fairly easy

d) Choose a database
<= MySQL would be an excellent choice

e) Write data you wish to save and/or post-process into the database

f) Choose a user interface
<= A PHP/Apache web front end might be a good choice

'Hope that helps .. PSM

chethankp 07-23-2011 12:16 PM

Thanks paulsm for the suggestions ..
Ya that would do , currently I have implemented the same on windows pc . Now I want try the other method ,
Assume if they are many sensors connected to the systems and user just request the data , here user doesnt have sensor location information etc , so I need a method do the sensor provisioning and grouping based on the user request.
So using virtualization concept we can create a separate pool of sensors for the user for his requested sensors to provide service for the requested time and delete that when user does not want.

Regards
chethan


All times are GMT -5. The time now is 09:40 PM.