|
From: Matt R. <m.r...@t-...> - 2010-10-25 11:50:11
|
Hi Longina, On 10/15/2010 03:19 PM, Longina Przybyszewska wrote: > Hi, > still making test for my presentation - in hopeless state! > > I have fresh installed Ubuntu Lucid machine 'kvm-1' with kvm > virtualization(/,swap,lvm partitions) > > 1. I would like to make a server-template from this machine for later > image deployment. > 2. then I would make tests with it as local-server KVMhost > 3. then PXE-boot and test as openQRM-appliance-KVMhost > 4. then try cloud computing with KVMhost made in step 3. > 5. then try to grab image from physical server and deploy it on both > virtual platform and then the other way round. > > I stack on 1 - step - making server-template - making ImageShelf plugin. > > I would like to have a ImageShelf with some local templates on > openQrm itself - shall I use local-type? > nope, an nfs-based storage type. Either nfs-storage or lvm-storage (nfs) > Could it be ordinary directory e.g /images where I put templates (build by > debootstrap/dd/tar)? yes, an "image" in openQRM just needs to be a valid root-filesystem > What about /boot dir - is it overwrited by > openQrm when making image from template? > yes, depending on the deployment type (e.g. netboot) the kernel and initrd is provided via the network > What formats 'get' accept? > I am frustrated about documentation - I had to reinstall server several > times trying understand concept and to implement my test - and still no > remarkable progress ;(. > ok, very easy. Assume you have a running server somewhere in your network. - login to one of your system (can be any, no need to do this on openQRM) - Then run the following commands to get and pack the image. mkdir -p /root/myserver cd /root/myserver rsync -avz -e ssh [your-running-servers-ip]:/ --exclude=/proc --exclude=/sys . mkdir proc sys tar -cvzf ../myserver.tar.gz * -> Then you e.g. can put myserver.tar.gz on your image-shelf and add it to the image-shelf.conf. You can also create an nfs-volume on a nfs-based storage server (nfs-storage and/or lvm-storage(nfs)) and then rsync directly to the volume. Create an image out of the volume and there you go. If you have the image on nfs you then can use "install-from" or "transfer-to" to any other storage type in openQRM hope it helps + have a nice day, Matt Rechenburg Project Manager openQRM > Thanks in advance for any help > Longina > > -- > Longina Przybyszewska > IT-Service, > University of Southern Denmark, > Campusvej 55, > DK-5230 Odense M, Denmark > Phone Direct: +45 6550 2359 > -- > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Openqrm-user mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openqrm-user > -- http://openqrm.com - The open-source Cloud Computing platform http://openqrm-enterprise.com - Professional services and support for openQRM |