[one-users] Creating a VM Image

Olivier Sallou olivier.sallou at irisa.fr
Fri Mar 9 05:28:54 PST 2012



Le 3/9/12 2:02 PM, Snyman, Adrian a écrit :
>
> Okay, one more thing J
>
>  
>
> When you need to add additional disks/space -- is this done with
> additional image files ?
>
> If so, are they then "imported" when kvm starts the VM ?
>
Never tried, but in your template you can define disks, so they should
be imported just like the main hd on remote host.
>
>  
>
>  
>
> Regards,
>
> Adrian Snyman
>
> Linux Systems Administrator
>
> Tel: 011-559-4929
>
> Cell: 082-600-1211
>
>  
>
>  
>
>  
>
> *From:*users-bounces at lists.opennebula.org
> [mailto:users-bounces at lists.opennebula.org] *On Behalf Of *Snyman, Adrian
> *Sent:* 09 March 2012 02:46 PM
> *To:* Olivier Sallou
> *Cc:* users at lists.opennebula.org
> *Subject:* Re: [one-users] Creating a VM Image
>
>  
>
> Aaahhh, so there is no direct interaction between the image and the
> Host then ... (other than network bridging)
>
>  
>
>  
>
> Regards,
>
> Adrian Snyman
>
> Linux Systems Administrator
>
> Tel: 011-559-4929
>
> Cell: 082-600-1211
>
>  
>
>  
>
>  
>
> *From:*Olivier Sallou [mailto:olivier.sallou at irisa.fr]
> *Sent:* 09 March 2012 02:37 PM
> *To:* Snyman, Adrian
> *Cc:* users at lists.opennebula.org
> *Subject:* Re: [one-users] Creating a VM Image
>
>  
>
>
>
> Le 3/9/12 11:51 AM, Snyman, Adrian a écrit :
>
> Thanks for the feedback Oliver !!
>
>  
>
> Next question then:
>
> The resulting install will be an image -- how does the templating
> system get utilized to update IP address / hostname, and
>
> Any other custom kernel arguments ?
>
> you need to customize your image to load context parameter
> (http://opennebula.org/documentation:rel3.2:cong).
> Or your template only sets the MAC address and you connect to a DHCP
> server.
>
>  
>
>  
>
> Regards,
>
> Adrian Snyman
>
> Linux Systems Administrator
>
> Tel: 011-559-4929
>
> Cell: 082-600-1211
>
>  
>
>  
>
>  
>
> *From:*users-bounces at lists.opennebula.org
> <mailto:users-bounces at lists.opennebula.org>
> [mailto:users-bounces at lists.opennebula.org] *On Behalf Of *Olivier Sallou
> *Sent:* 09 March 2012 12:23 PM
> *To:* users at lists.opennebula.org <mailto:users at lists.opennebula.org>
> *Subject:* Re: [one-users] Creating a VM Image
>
>  
>
>
>
> Le 3/9/12 10:34 AM, Snyman, Adrian a écrit :
>
> Hi there,
>
>  
>
> I have been reading through the docs on how the vm's are created /
> deployed, and I must admit that I still can't quite get how it all
> fits together.
>
>  
>
> If I want to create a vm -- what is the best way to do this ?
>
> Ie: I have the CentOS 6.2 dvd image.
>
>  
>
> I would like to build a Linux "Base" image that will then get extended
> by a template to be a DNS or DB or WEB server.
>
> I have used cobbler to do this on existing machine based installations
> with success, but I am trying to figure out how
>
> To do this with a VM deployment.
>
>  
>
> When I create a filesystem, I use a raw image file. When trying a qcow
> type image -- centos doesn't see any disk space.
>
>  
>
> Then, I build a VM through the virt-manager interface -- but surely I
> can do this within OpenNebula ?
>
> OpenNebula is not for VM creation. You can indeed use virt-manager, or
> VirtualBox (then transform your image to approriate format).
> If you have an empty disk image, you could attach a CentOS DVD image
> to "CDROM" then connect to the VNC of your image to do the install but
> I don't think it is the easiest/better thing to do.
>
>  
>
> My apologies for sounding naïve- just trying to get to grips with all
> of this .. J
>
>  
>
>  
>
>  
>
> Regards,
>
> Adrian Snyman
>
> Linux Systems Administrator
>
> Tel: 011-559-4929
>
> Cell: 082-600-1211
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>  
>
> -- 
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>  
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>  
>
>  
>
> ------------------------------------------------------------------------
>
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za
>
>  
>
> -- 
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>  
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>  
>
>  
>
> ------------------------------------------------------------------------
>
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za
>
>
> ------------------------------------------------------------------------
>
> This email and all contents are subject to the following disclaimer:
>
> http://disclaimer.uj.ac.za

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120309/9aa0c45a/attachment-0003.htm>


More information about the Users mailing list