Module writing docs/coding guidelines

2009-10-08 Thread Sean Dilda
I'm about to embark on writing a new provisioning module for VCL based on some existing perl scripts I have. Is there any documentation for how the module interface works? I haven't been able to find any aside from reading existing modules. Also are there any required/preferred coding guid

Re: Module writing docs/coding guidelines

2009-10-09 Thread Sean Dilda
Andy Kurth wrote: Hi Sean, Welcome! As Aaron mentioned, here is the provisioning module specification: http://cwiki.apache.org/confluence/display/VCL/Provisioning+Engine+Module+Interface+Specification If you haven't done so already, browse the pages under the following URL to familiarize yours

Re: Module writing docs/coding guidelines

2009-10-09 Thread Sean Dilda
Aaron Peeler wrote: --On October 9, 2009 12:07:54 PM -0400 Sean Dilda wrote: 1. Use API calls instead of provided perl scripts - My experience writing cacti and nagios checks with the VIPerl Toolkit has shown that there's a heavy CPU hit for a few seconds while perl processes all o

Re: [Mentors] Release coming soon

2009-10-16 Thread Sean Dilda
Josh Thompson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm hoping to get an RC artifact out for a vote early next week. We've been going through a test install to make sure the code is good and the installation notes are clear. Here is a wiki page I have that's my checklist of w

Patch - bug fix and removing old code

2009-10-20 Thread Sean Dilda
Let me know if there's a better way to submit patches to this project. Attached is a small patch taken from managementnode/lib/. It fixes a bug in utils.pm::check_connection(). The netstat check was only recognizing ssh connections that showed up with ::: in front of their IPs for lab

Re: [VOTE] release VCL 2.1

2009-11-02 Thread Sean Dilda
Alan D. Cabrera wrote: I did a search through files for ncsu and found: Should direct references to NCSU and NCSU-specific code be considered something to remove (for the longterm, not necessarily for this release)? If so, there are some I've run across that I'd be happy to bring up to th

Re: Move response checking from provisioning module to OS module

2010-01-19 Thread Sean Dilda
Andy Kurth wrote: I would consider a node loaded from a provisioning module's standpoint as the point when the bits are on the node's disk and it has been powered on. After this point, the OS module is responsible. xCAT detecting the boot state would be equivalent to successfully turning on t

Re: Move response checking from provisioning module to OS module

2010-01-20 Thread Sean Dilda
Aaron Peeler wrote: makesshgkh is part of xcat1.3(which is EOL'd) and is used to collect the ssh host keys after the install. xCAT2.X does something different to collect the ssh host keys, so eventually makesshgkh and the original xCAT.pm module will not be needed. Ok, that makes sense.

Yet Another VMware ESX Provisioning Module

2010-02-24 Thread Sean Dilda
I've written a provisioning module for VCL that we use here at Duke that I'd like to share for possible inclusion in VCL. The module is based off VCL 2.1. This module is designed to work against VirtualCenter/vCenter, but should be able to work directly with an ESX host as well. It works a

Re: Yet Another VMware ESX Provisioning Module

2010-02-26 Thread Sean Dilda
jira issue already created for it? I didn't see one and don't mind creating it, just wanted to make sure one didn't exist. We can attach it to a jira issue scheduled for the 2.2 release. Aaron On 2/24/10 4:16 PM, Sean Dilda wrote: I've written a provisioning module for VCL that

Re: grep not found

2010-03-15 Thread Sean Dilda
You should verify the PATH environment variable that's set when vcld is started. You may have to manually set it in the init script if your system is stripping it down. On 3/15/10 3:15 PM, Mark Gardner wrote: For some reason, I am getting an error message that grep cannot be found while tryin

Re: VMware Clustering

2010-05-10 Thread Sean Dilda
On 5/10/10 4:53 PM, Tim Cary wrote: Hello, I am wondering if anyone has had experience with VCL running across VMWare Clusters? By clusters I mean a set of physical hosts running VMWare ESX with common storage between them. Issues that I can think of would be: - Can VCL understand if one

maintenance mode oddity

2010-07-22 Thread Sean Dilda
I recently noticed that when you set a computer into maintenance mode that it sets the vmhostid to NULL. Does anyone know what the reasoning for this is? This happens in the process function in new.pm During some testing I set a few computers to maintenance mode, then when I set them bac

Re: maintenance mode oddity

2010-08-04 Thread Sean Dilda
Thanks! On 8/4/10 12:48 PM, Aaron Peeler wrote: Hello Sean, This might have been a left-over from using machine states. Created the jira issue for it. https://issues.apache.org/jira/browse/VCL-364 Aaron On 7/22/10 1:59 PM, Sean Dilda wrote: I recently noticed that when you set a

ssh host keys question

2011-02-23 Thread Sean Dilda
I noticed on https://cwiki.apache.org/VCL/22-management-node-installation.html that some custom configs are needed for root's ssh_config around host key checking. Since all of the code in VCL uses the same function to call ssh, should we look at modifying ssh command line used by VCL to use t

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 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-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