21:00:29 <phillw> #startmeeting
21:00:29 <Meetingbot> Meeting started Sat Feb  9 21:00:29 2013 UTC.  The chair is phillw. Information about MeetBot at https://wiki.ubuntu.com/meetingology.
21:00:43 <phillw> #topic KVM - virtual manager
21:01:34 <phillw> Hi and welcome, if you have any questions please use #ubuntu-quality to ask on and prefix the question with phillw so that I get alerted.
21:01:46 <phillw> KVM.. what is it?
21:02:06 <phillw> Kernel-based Virtual Machine
21:02:13 <phillw> what does this mean?
21:02:55 <phillw> It means that your kernel upon which all linux systems (e.g. ubuntu, centos) have it already there.
21:03:22 <phillw> it is used not only for virtual machines but for cloud machines.
21:04:06 <phillw> As it is kernel based, it is pretty darn stable and because it is in the kernel, it is fast.
21:05:25 <phillw> I started off with using VBox, as KVM stuff was considered to be 'advanced users only'. This is a myth.
21:06:23 <phillw> you are welcome to make command line entries to set up a virtual machine, but the people in the kvm team got bored of that and launched virt-manager.
21:07:04 <phillw> Upon first launch, it will connect up and see no machines.
21:07:36 <phillw> on the top left corner, there is a computer screen with a bright new star on it.
21:08:41 <phillw> clicking on that will hold your hand to making a new virtual machine. I'm going to use the lubuntu-desktop amd64 iso for this example as it is one I have to hand.
21:09:00 <phillw> so, 1st question... name.
21:09:39 <phillw> As I check different systems, I use l-raring for lubuntu raring (I use x-raring for xubuntu)
21:10:55 <phillw> simply accept the other options [local install media (Iso image or cdrom)]
21:12:43 <phillw> you will then be asked to tell the system where your ISO is. depending on how you have your system set up, these are usually in /home/<yourname>/Downloads
21:13:17 <phillw> if you open a terminal session and cd to that area you can check where yours are stored.
21:14:36 <phillw> using the browse button will allow you to find the directory.
21:15:38 <phillw> when you open that section, click on browse local (lower left hand corner) and then on your user name that will appear in the list on the left hand side.
21:16:27 <phillw> Once you have it, click on the 'open' tab.
21:17:17 <phillw> At the prompt for OS Type, choose linux from the options
21:18:12 <phillw> For version, choose 12.10 Ubuntu. This may seem odd as we are actually using 13.04 but the system does not get updated until after a release happens :)
21:19:19 <phillw> clicking the 'Forward' tab takes you to choose how much RAM and how many CPU's to use. As we are testing, we only need 512 Mb of RAM and 1 CPU.
21:20:11 <phillw> Again, click forward and you will be asked how much disk space to use. the default is fine (8GB)
21:20:38 <phillw> Do not go below 4.3 GB, as the installer will issue an error.
21:21:44 <phillw> clicking forward again, allows you to check everything is as you have selected.
21:22:36 <phillw> Clicking on 'Finish' will then create the machine for you.
21:22:48 <phillw> This can take a few minutes to get set up.
21:23:42 <phillw> Whilst that starts up, I'd like to mention about guest-fish which is an addition to the system.
21:24:08 <phillw> guest-fish adds a fantastic set of extras to the system.
21:25:40 <phillw> One of which I have been very grateful of is the ability to extract files or even entire directories from a crashed (will not boot) virtual machine in order to get the details of any crash reporting that the devs need to get such a bug fixed.
21:27:21 <phillw> Think of it as if your own machine will not boot, how do you get the error reports? Well, you would use a LiveCD to boot the system up and then mount the hard drive and navigate to the area holding the error reports.
21:28:19 <phillw> guestfish allows you to do this from your machine and 'grab' any information needed to file a meaningful bug report.
21:28:45 <phillw> It does a lot more than that, but that ability alone is worth having it.
21:29:24 <phillw> #link http://libguestfs.org/guestfs-recipes.1.html
21:30:10 <phillw> has all the things it can do. I've used it to install a new patch on a poorly virtual machine. It is a fantastic forensic tool.
21:30:46 <phillw> but, back to your new virtual machine, which should be about finishing.
21:31:25 <phillw> Once it has completed, you will be presented with your new machine ready to install.
21:33:29 <phillw> if you look at the window Virtual Machine, you will the machine has arrived onto the list. You can add as many machines as your disk space allows. As I have 7 machines, I cannot run them all at once as I do not have ~ 8GB of RAM :)
21:36:03 <phillw> so, to sum up. KVM and using virt-manager as the graphical interface removes the horror of long lines at the terminal, it uses systems in your kernel already there and has the ability to check up and alter any virtual machine that is not running either because you have it shut down, or it has crashed and you need to get files from it, or add files to it (one extreme example would be  a new kernel and editing grub to use it).
21:36:23 <phillw> If there are any questions, please feel free to ask on #ubuntu-quality.
21:51:49 <phillw> #endmeeting