[cobbler] Creating VM's under ESXi5.5

Razi Khaja razi.khaja at gmail.com
Wed Feb 19 02:14:19 UTC 2014


Try these commands to create a vmdk

ssh root at esxihost.domain.com mkdir -p /vmfs/volumes/datastore1/
vmguest.domain.com

ssh root at esxihost.domain.com vmkfstools -c 64g -d thin -a lsilogic
/vmfs/volumes/datastore1/vmguest.domain.com/vmguest.domain.com.vmdk




On Tue, Feb 18, 2014 at 7:53 PM, Chris Johnson <
rchristopherjohnson at gmail.com> wrote:

>  On 2/18/2014 2:12 PM, Vruwink, Timothy Roger wrote:
>
>  I may not be describing what I want clearly.  I just wanted to know if
> there was a way in Cobbler to define your Virtual machine settings
> (specifically for Vmware vcenter 5.5) - things like CPU, Ram, network cards
> etc. All the "virtualized" hardware that normally would be a physical
> server.   Kind of "create the virtual machine framework", then do the pxe
> boot/kickstart stuff.
>
>
>
> I suspect it's a chicken before the egg situation. I need to have the
> server there, and then Cobbler steps in.
>
>
>
> Tim
>
>
>
>
> If I'm reading this right you may be mixing apples and oranges as my grade
> school teachers would say.  Creating the virtual machine is a different
> thing from running cobbler to install it.  They need to know different
> things.  If you want to have cobbler set up a file system then in the
> kickstart you need to tell it which virtual drive, what file system and how
> big at a minimum.  And the network install kernel needs to know which
> interface on the client to use from which to fetch the OS.  Although
> strictly speaking if there is only one interface you shouldn't, in theory,
> need to give cobbler a MAC address.  I've run into problem leaving it blank
> so I always give it on the cobbler system add line.  To do that the VM
> needs to be created so the MAC address can be obtained from the VM
> configuration.
>
> Now if you're going to be installing a lot of nodes (I have a cobbler
> server, a backup and eight clients using VirtualBox running on two Macs and
> a Windows laptop but by lots I mean anything over 10 say) then yes you may
> have a problem getting all the MAC address for example on the real
> systems.  I know with VrtualBox you can tell it what to use.  Sadly I don't
> know for sure about the others.  Wouldn't surprise me if you could.  The
> primary MAC address on all the hardware I've installed was on the carton it
> came in and/or on the case somewhere.  Just copy  those into a file and
> script the cobbler set up with the command line tools.  Yes, it's a pain if
> you bought 1024 nodes etc.  Have the company send you a text file with the
> MAC addresses  in it.  You should have that and the matching serial numbers
> in a file anyway for inventory an warranty purposes.
>
> CJ.
>
> _______________________________________________
> cobbler mailing list
> cobbler at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140218/668ce757/attachment.html>


More information about the cobbler mailing list