Knife with vSphere

Hi Friends,

I want to create the VMware VMs upon demand using Chef but I couldnt find a
clear picture on how to configure the same (I have experience using Chef with
AWS - using it for a year now) , is there any support documents or links that
anyone could share with me giving step by step procedure of chef setup using
VMware Virtualization.

Can Knife OVH be used with VMware ? (https://github.com/Estebita/knife-ovh)

Does Knife-vsphere provide all functionalities like knife with aws ec2 instance
such create a new vm, run runlists on vm, provision storage and memory etc.

Any resources on best practices when using Chef along with VMware are Welcome!!

Thanks
Unni

Unni,

You could use knife vsphere plugin to integrate with vsphere.

If you have knife client configured, all you need to do is ,

  • install knife-vsphere gem
  • configure knife.rb with vsphere host and credentials

Once you do that, you should be able to provision vsphere vms the way you
would do with knife ec2 plugin. It lets you provision, delete vm with
custom configs such as memory size, no. of cpus, data stores etc.

Thanks
Gourav

On Wed, Apr 3, 2013 at 9:27 PM, unnisathya88@gmail.com wrote:

Hi Friends,

I want to create the VMware VMs upon demand using Chef but I couldnt find a
clear picture on how to configure the same (I have experience using Chef
with
AWS - using it for a year now) , is there any support documents or links
that
anyone could share with me giving step by step procedure of chef setup
using
VMware Virtualization.

Can Knife OVH be used with VMware ? (GitHub - alexis-gruet-deel/knife-ovh
)

Does Knife-vsphere provide all functionalities like knife with aws ec2
instance
such create a new vm, run runlists on vm, provision storage and memory etc.

Any resources on best practices when using Chef along with VMware are
Welcome!!

Thanks
Unni

Hi Gourav Shah,

thanks for the reply , I have experience using knife with ec2 but new to
VMware so I am not sure if Knife-vSphere commands could meet my specific
requirements before I commit and spend time configure it , could you please
let me know if the following are feasible with knife-vSphere :

  1. Provision a VM using a knife plugin where we can provide parameters for
    the VM. Since there are routines available for vshpere.

  2. I need to create a windows 2008 VM, assign a public IP to it & add to a
    windows domain

  3. create a dashboard when above 2 are done so that provisioning can be
    done.

Also does vCentre got any role between the configuration of chef , vSphere,
knife-vSphere etc

thanks alot
Unni

On Wed, Apr 3, 2013 at 9:37 PM, Gourav Shah gs@initcron.org wrote:

Unni,

You could use knife vsphere plugin to integrate with vsphere.
GitHub - chef/knife-vsphere: Chef knife plug-in for VMware vSphere

If you have knife client configured, all you need to do is ,

  • install knife-vsphere gem
  • configure knife.rb with vsphere host and credentials

Once you do that, you should be able to provision vsphere vms the way you
would do with knife ec2 plugin. It lets you provision, delete vm with
custom configs such as memory size, no. of cpus, data stores etc.

Thanks
Gourav

On Wed, Apr 3, 2013 at 9:27 PM, unnisathya88@gmail.com wrote:

Hi Friends,

I want to create the VMware VMs upon demand using Chef but I couldnt find
a
clear picture on how to configure the same (I have experience using Chef
with
AWS - using it for a year now) , is there any support documents or links
that
anyone could share with me giving step by step procedure of chef setup
using
VMware Virtualization.

Can Knife OVH be used with VMware ? (
GitHub - alexis-gruet-deel/knife-ovh)

Does Knife-vsphere provide all functionalities like knife with aws ec2
instance
such create a new vm, run runlists on vm, provision storage and memory
etc.

Any resources on best practices when using Chef along with VMware are
Welcome!!

Thanks
Unni