Kelly, thank you. I'm running 2.2.1. My attempt is to run ESXi as a guest on a blade (using xCAT/kickstart to provision it, xCAT is already configured). I'm able to make computer available with ESXi server, but when user makes reservation it fails. ESXi.pm module is already under lib/Modules/OS/Linux and I would like to extend it with reserve(), get_public_ip_address(), grand_access(), etc. functions which would be specific to ESXi OS.
I'm not sure if there is a better way to test the module. For example this is what I do right now: - make changes to the code; - restart VCLD; - make reservation via web-gui; - watch log vcld.log. - fix the code. Since I'm just trying to figure out VCL code, last 2 steps take the most of my time. And I was looking maybe for a better way to test the module. I.e. simulate reservation request by passing arguments to VCLD via debug or may be using remote perl debugger, etc. Thanks. -- Dmitri Chebotarov Virtual Computing Lab Systems Engineer, TSD - Ent Servers & Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 Fax: (703) 993-3404 On Tuesday, April 17, 2012 at 14:26 , Kelly Patrice Robinson wrote: > Dmitri- > > We set up our development environment by virtualizing a separate > management node using KVM. I also look at vcld.log for errors during > development and testing. The log gives the name of the module and line > number as each task executes which helps troubleshoot the issues. What > version of VCL are you using? We initially tried to use the esx.pm module > (in VCL version 2.1 at the time) but ran into significant issues. We were > told to switch to using the vmware.pm provisioning module which helped > alleviate a number of problems. This may not be the issue with VCL 2.2 > but we decided to stick with the vmware.pm provisioning module for our > nodes running esxi. > > > > Kelly P. Robinson > Lead Software Systems Engineer > Georgia State University > Platform Storage & Engineering / IS&T > krobinso...@gsu.edu (mailto:krobinso...@gsu.edu) > > > > > On 4/17/12 12:10 PM, "Dmitri Chebotarov" <dcheb...@gmu.edu > (mailto:dcheb...@gmu.edu)> wrote: > > > Hi, All > > > > I'm looking for some help on how to setup development environment for VCL > > back-end development. > > I already have working VCL system. I need to debug and troubleshoot new > > code and changes I plan to make to VCL. > > > > I use Komodo IDE. Would it possible to just hit 'run' button and follow > > the code via IDE? > > Right now I run vcld and watch vcld.log for errors, then come back to the > > code to correct issues. > > > > I'm working on ESXi.pm module - trying to make reservations for ESXi 4.1 > > server. > > > > Thanks. > > -- > > Dmitri Chebotarov > > Virtual Computing Lab Systems Engineer, TSD - Ent Servers & Messaging > > 223 Aquia Building, Ffx, MSN: 1B5 > > Phone: (703) 993-6175 > > Fax: (703) 993-3404 > > > > >