LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-29-2010, 10:05 AM   #1
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Rep: Reputation: 4
How to make Xen and KVM templates


I wanted to make a Xen Paravirtualization OS template.
How to make this ?
Also how to make KVM templates ?

I am using LVM for the DomUs in both KVM and Xen.
How does Stacklet.com make it ?
 
Old 09-30-2010, 06:03 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
a base OS image in r/o mode and a bunch of qcow2 snapshots from it attached to the VMs. Or you can clone the base image for every VM
 
Old 10-01-2010, 01:30 AM   #3
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Thanks for the suggestion, but can you point me to some guides.
Actually how to go about this ?
 
Old 10-01-2010, 11:57 PM   #4
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Does no one know how to make Xen and KVM Templates ?
I found this tutorial :
http://debaan.blogspot.com/2007/04/c...plate-for.html
Its very old. Is it right though ?
 
Old 10-03-2010, 06:47 AM   #5
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
I have never seen any guides, just read the qemu-img manpage -- all the information is there
 
Old 10-04-2010, 03:11 AM   #6
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by dyasny View Post
I have never seen any guides, just read the qemu-img manpage -- all the information is there
qemu-img is for file images right ?
How is that related to making KVM / XEN OS templates
 
Old 11-09-2010, 08:25 PM   #7
zaitsevs
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by vzxen View Post
qemu-img is for file images right ?
How is that related to making KVM / XEN OS templates
It's directly related to making KVM templates. They're suggesting if you learn how to use the imaging tools(qemu-img), you will be able to create 'images' or existing templates of your running machines.
 
Old 11-09-2010, 11:16 PM   #8
vzxen
Member
 
Registered: Jul 2010
Posts: 126

Original Poster
Rep: Reputation: 4
Ok.
I have managed to make 1GB files and it works.
The problem is I am unable to resize some of the templates when I copy them to the new LVM of a new VPS.
If I copy the 1GB templates I made to a 10GB LVM I obviously have to resize the Partitions first and then the FileSystem.
This causes the MBR to corrupt in certain OS Templates like openSUSE.

Can anyone help me on that ???
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kvm or xen ? suse or rhel ? fishjohn Linux - Virtualization and Cloud 10 12-27-2010 04:13 AM
my laptop configuration for xen and KVM -enough or not inara72 Linux - Virtualization and Cloud 5 06-22-2010 07:56 AM
xen or kvm? vishesh Linux - Kernel 6 06-03-2010 07:45 AM
[SOLVED] ConVirt certified on RHEL 5.4 for Xen and KVM jd_jedi Red Hat 1 10-30-2009 04:35 AM
XP Guest on Xen switch to KVM marinl Linux - Software 1 06-15-2009 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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

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
Open Source Consulting | Domain Registration