Ubuntu 13.10 under KVM with Spice 5
Installed Ubuntu 13.10 x86 under an ubuntu 12.04 KVM server.
Installation
VM Settings:
- 1G of RAM
- 500MB swap
- 10G of ext4 for /
- Cirrus video – 9MB
Install started at : 08:43:54 EDT 2013
Install ended at : 08:58:07 EDT 2013
Reboot.
forgot to remove the installation ISO file – remove and reboot again. ;)
Login.
About 15 minutes to install a full desktop OS? What is not to like?
Running Windows7 Media Center Inside a KVM VM 19
It has been many months, so I figured an update could be helpful.
I ended up not following the original plan for media center deployment.
Here are the highlights:
- Already had a KVM virtual server running on Ubuntu Server 10.04 LTS x64
- Created a virtual machine to hold Windows7 x32 ultimate thanks MS for the free Ultimate license
- Created a 40GB OS/apps HDD (virtual); it barely fit
- Created a 50GB Data/TV HDD (virtual); this is a 2nd HDD container; easily resized
- Bought and installed the networked HD-Homerun HDHR3 (dual ClearQAM tuner); actually had this about 6 months earlier
- Switched to Limited Basic CableTV ($26/month); No CNN, TVGuide, FoxNews, ESPN, etc. That happened in 2010.
Optimized Backups for Physical and Virtual Machines 4
My old backup method was a little cumbersome. To ensure a good backup set, I’d take down the virtual machine, mount the VM storage on the host (Xen), then perform an rdiff-backup of the entire file system, before bringing the VM back up again. This happened daily, automatically, around 3:30am. It has been working for over 3 years with very few hiccups. I’ve had to restore entire VMs and that has worked too. One day I needed to restore the Zimbra system ASAP. From the time I decided to do the restore until end-users could make use of the system was 20 minutes. That’s pretty sweet in my book.
There are some issues with the current setup.
- Backups are performed locally, to a different physical disk before being rsync’ed to the backup server. This is necessary because the backup tool versions are different and incompatible between Ubuntu 8.04 and 10.04 LTS servers.
- Each system is completely shutdown for some period of time during the backup process. It is usually 1-4 minutes, but still that is downtime.
- Most of the systems are still using 8.04 paravirtual machines under Xen. A migration of some type is needed to a newer OSes. I should use this opportunity to make things better.
- Some of the systems are running old versions of software which are not up to current patch levels. I guess this happens in all IT shops. None of that is available outside the VPN, so the risks are pretty low.
think I can do better.
New Blog Software and OS 2
Since this is a technology blog, I figure some of you may be interested in a major change that happened out of necessity here today.
This is the very first blog article on our new physical server, running in a completely different virtual machine. For the next week, everything here is a test.
Due to some sort of outage issue earlier today, I was forced to upgrade everything involved with this blog. I had attempted to perform this upgrade previously and failed. As you can see, this time, there was success. Nobody was shocked more than I.
Readers Ask About ... Virtualization of Services 1
Below is the 2nd of 6 questions from a reader. I definitely don’t have all the answers, but I’m not short on opinion. ;)
Part 1 – LVM+JFS+RAID | Part 2 – Service Virtualization | Part 3 – Virtualizing Media Storage | Part 4 – Hosting Email
duijf asks:
Q2: I read everywhere about Virtualisation, should I directly install packages to the base system to provide services, or should I virtualise all services? What are the advantages here?
Advantages of Virtualization
The list of advantages is long, but with those advantages comes a few disadvantages. I cannot hope to point out all the advantages, so I’ll limit it to just the main ones.
Setup Android Emulator in KVM Virtual Machine 2
It is possible to run the Android development environment inside a KVM virtual machine. Below is how.
Solved-Increase KVM VM Image File Size 3
Seems that 2GB isn’t enough for some specialized PBX Linux solutions to build, so I found myself needing to increase the size of a KVM virtual machine image on running Ubuntu Server 10.04 Lucid Lynx in the VM. This technique probably will not work for sparse or VMDK-based VM images. It should work for Xen and KVM IMG-base VM files, however. Anyway, below is how I did it.
8 Techniques For Getting Help with Linux
How to ask for help for Linux issues.
All of us need a little help now and again. Linux users aren’t any different than MS-Windows or Mac users in that regard. The difference is that to get help for Linux, you need to do a little more research first.
We’ll assume you don’t have a nearby Linux knowledgeable friend that knows everything. You’ll need to ask people you do not know for help. Or, perhaps you are the Linux guru in your circle of friends and your questions are more complex than most.
Below, I’ll suggest a few methods to use to get help and outline the data you should include in your requests to optimize the ability of others to actually be helpful to you.
Ubuntu 10.04 and Xen Dom0 - NOT! 11
Xen as a Dom0 is not supported in Ubuntu 10.04 (Lucid Lynx) by Canonical. Both Canonical and Redhat have decided to get behind the KVM virtualization method instead. I think this was a choice driven by the required maintenance effort, since KVM hooks have been in the baseline Linux Kernel for about a year and Xen inclusion into the Linux kernel doesn’t seem likely at any point in the future. Supporting Xen kernels is just too tough.
Windows WMI Security - a Mystery
I use virtualization … a lot. I started writing an article entitled Converting WinXP from VirtualBox to KVM today, but couldn’t due to issues.
The latest thing I’m trying to accomplish is to migrate to KVM for all the current VM needs that I have. This may not be a good idea since we’re running Xen, VirtualBox and ESXi VM hosts. Today I attempted to convert a WindowsXP Professional install running under VirtualBox 3.x to KVM. I’ve attempted this conversion before, but it failed, badly. This time, I’m using VMware Converter and it failed before it even got started.