The page should be pretty up to date. Not much has changed regarding OS modules for a while.

I'm not at all familiar with AIX but since it's in the Unix family some of the code in should work. I would start by creating a Module/OS/Linux/ file. Configure it to inherit from See the file as an example.

Set the package path in
package VCL::Module::OS::Linux::AIX;

Add an entry to the module table pointing to your new module with the package path mentioned above.

Add an entry to the OS table pointing to the entry you add to the module table.

Add entries to the image and imagerevision table for a base AIX image, with image.OSid pointing to the entry you add to the OS table.

Enter the computer information for a loaded AIX machine into VCL and make sure that the management node can access this machine via SSH.

For my own development environment, I insert code I want to test at the beginning of the process() subroutine in, followed by a call to exit. It looks like this:

sub process {
   my $self = shift;

   my $request_data = $self->data->get_request_data();
   my $imagerevision_id = $self->data->get_imagerevision_id();

print "\n\n---\n\n";

my $ip = $self->os->get_public_ip_address();
print "IP: $ip\n";

print "\n\n---\n\n";

To test things over and over again, I run a script which inserts entries into the request and reservation tables with the request state and laststate set to 'new'. vcld picks up the reservation, configures everything as it would for a normal reservation, calls, test code is executed, then the process exits.

Once this is set up, it should be pretty efficient to test all of the subroutines in If any have problems under AIX, implement an overridden subroutine in with the same name.

Hope this helps,

On 12/29/2010 2:13 PM, Milen P Paskov wrote:


I have been working on creating an OS Module for AIX.
As a starting point I am using the following documentation, is it up to
date, and the Linux OS Module?

Is there anything else that needs to be taken into consideration? I
appreciate all the help and tips that I can get.

Best Regards,
Milen Paskov
WSTI Intern

Reply via email to