Re: VMware provisioning module for vCenter clusters

2012-02-21 Thread Andy Kurth
On Tue, Feb 21, 2012 at 11:23 AM, Aaron Coburn wrote: > Hi, Andy, > > see my comments below. > > On Feb 21, 2012, at 10:28 AM, Andy Kurth wrote: > >> Hi Aaron C, >> I took a pretty close look at vCenter.pm and tried it out on a vCenter >> test server.  Looks good. >> >> Question:  Where is the $DA

Re: VMware provisioning module for vCenter clusters

2012-02-21 Thread Aaron Coburn
Hi, Andy, see my comments below. On Feb 21, 2012, at 10:28 AM, Andy Kurth wrote: > Hi Aaron C, > I took a pretty close look at vCenter.pm and tried it out on a vCenter > test server. Looks good. > > Question: Where is the $DATACENTER variable declared and set? I see > that it should contain

Re: VMware provisioning module for vCenter clusters

2012-02-21 Thread Andy Kurth
Hi Aaron C, I took a pretty close look at vCenter.pm and tried it out on a vCenter test server. Looks good. Question: Where is the $DATACENTER variable declared and set? I see that it should contain the vCenter datacenter name you want to use but don't see where it is defined. It would be nice

Re: VMware provisioning module for vCenter clusters

2012-02-01 Thread Andy Kurth
Regarding image/file naming: I foresaw issues like this when writing VMware.pm. That's why all of the naming logic is funneled through the various get_vmdk_* and get_vmx_* subroutines. Changes to naming conventions or where files are saved should (~theoretically~) only involve changing 1 or 2 of

Re: VMware provisioning module for vCenter clusters

2012-01-31 Thread Aaron Coburn
On Jan 31, 2012, at 9:31 AM, Sean Dilda wrote: > On 1/31/12 8:46 AM, Aaron Coburn wrote: >> Sean, >> >>> You can use the vsphere api to get the file names if you really need >>> them. >> >> This is true, and that may very well be the better approach. I am not >> entirely happy with the method I

Re: VMware provisioning module for vCenter clusters

2012-01-31 Thread Sean Dilda
On 1/31/12 8:46 AM, Aaron Coburn wrote: Sean, You can use the vsphere api to get the file names if you really need them. This is true, and that may very well be the better approach. I am not entirely happy with the method I described earlier, which relies on my own observation of an apparentl

Re: VMware provisioning module for vCenter clusters

2012-01-31 Thread Aaron Coburn
Sean, > You can use the vsphere api to get the file names if you really need them. This is true, and that may very well be the better approach. I am not entirely happy with the method I described earlier, which relies on my own observation of an apparently undocumented behavior of VMware. There

Re: VMware provisioning module for vCenter clusters

2012-01-30 Thread Sean Dilda
This sounds a lot like William Lam's ghetto linked clones method (http://communities.vmware.com/docs/DOC-9202). I've found it to be pretty useful, but had some frightening corner cases around deleting VMs and accidentally having parent VMs have their vmdk's deleted. If you want to go down the

Re: VMware provisioning module for vCenter clusters

2012-01-30 Thread Sean Dilda
You can use the vsphere api to get the file names if you really need them. Why does vcl write its own vmx instead of using the apis? vSphere expects programs to use the apis, not to hand craft files.When I wrote Duke's provisioning module to work with vCenter I found it much easier to use t

Re: VMware provisioning module for vCenter clusters

2012-01-30 Thread Aaron Coburn
Andy, I can certainly make the initial commit of the module. An interesting problem I have had with this module, however, is that when I clone a VM (which is the only way to move a virtual disk using the vSphere API while preserving thin provisioning), VMWare would silently truncate the name a

Re: VMware provisioning module for vCenter clusters

2012-01-30 Thread Andy Kurth
Hi Aaron, How would you like to proceed with your vCenter modules now that you're a committer? You can make the initial commit if you're comfortable with it. If not, I now have access to a vCenter license and can incorporate it into the current code in trunk and make the initial commit. There ha

Re: VMware provisioning module for vCenter clusters

2011-08-17 Thread Andy Kurth
This is wonderful. Thank You. I will try to incorporate it over the next few weeks. For anyone interested, the Jira issue is: https://issues.apache.org/jira/browse/VCL-499 Also, I committed your improvements in VCL-470 and VCL-471 on 8/4. I'd suggest working off of trunk in Subversion and svn

Re: VMware provisioning module for vCenter clusters

2011-08-16 Thread Aaron Peeler
Hi Aaron, Thanks. This is great, definitely needed a method on provisioning on vcenter. I think Andy will followup as soon as he can on this. He has the most knowledge of the current committers on the VMware module framework. Aaron On Tue, Aug 16, 2011 at 1:04 PM, Aaron Coburn wrote: > Hello,

VMware provisioning module for vCenter clusters

2011-08-16 Thread Aaron Coburn
Hello, In our VCL implementation at Amherst College, we are using a VMware cluster for our virtual machine infrastructure. Because we wanted to allow VMs to float between physical hosts according to how VMware prefers to balance resource use (VMware calls this distributed resource scheduling), I