Re: EC2 Provisioning Module

2011-07-29 Thread Aaron Peeler
There was some work done a couple of years ago by either Xianqing or
Milan (or both) not sure.

I believe it was under IBM control just as a proof of concept and
wasn't contributed. We should be able to easily re-create it.  If
there is strong interest in VCL requesting resources from EC2, sounds
like there is -:) , I can help kickstart it.

Aaron

On Wed, Jul 27, 2011 at 10:21 AM, Alan D. Cabrera  wrote:
> That sounds like a fun thing to work on.  Who's working on it?
>
>
> Regards,
> Alan
>
> On Jul 27, 2011, at 7:09 AM, Everett Toews wrote:
>
>> How goes the work on open sourcing the EC2 Provisioning Module?
>>
>> Thanks,
>> Everett
>
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


Re: The New KVM Provisioning module

2011-07-29 Thread Aaron Peeler
Hi Xianqing,

This is great. I'd like to work with you this module.

What are your thoughts on the structure?

Have you looked at the work Andy did on the VMware Prov module:
//lib/VCL/Module/Provisioning/VMware


Aaron



On Tue, Jul 26, 2011 at 11:18 PM, Xianqing Yu  wrote:
>
>
>
> Hi VCL community,
>
> I am developing KVM Provisioning Module for VCL system, which is based on
> my previous version of KVM Provisioning Module. You can find out my
> previous KVM module's information from here,
> https://issues.apache.org/jira/browse/VCL-339
>
> Currently, I am trying to make this module's code as generic as possible.
> And I will including these features inside this new version of module.
> 1. The module will use libvirt API to manipulate the VM on KVM hosts. The
> main reason behind this is that libvirt is widely used API, many people in
> the community talked about this before, and libvirt support for different
> hypervisors, such as KVM, Xen, Qemu, etc.. It would be easier to port this
> module to support other hypervisor in future.
> 2. A setup scripted will be developed to help the users to setup host much
> easier.
> 3. A document descripts how to install this module.
>
> Welcome everyone to join the discussion with me if you are interesting
> about. Such as, is there any new features you expect to see in this module?
> Do you have any suggestion about this module? Or you have any questions
> about this module? Please let me know.
>
> Thanks,
>
> Xianqing Yu
> WSTI Intern
> xia...@us.ibm.com



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


RE: EC2 Provisioning Module

2011-07-29 Thread Kumar, Amit H.
Hi Aaron,

This is of interest to us as well.

Thank you,
Amit

From: Aaron Peeler [fapee...@ncsu.edu]
Sent: Friday, July 29, 2011 8:54 AM
To: vcl-dev@incubator.apache.org
Subject: Re: EC2 Provisioning Module

There was some work done a couple of years ago by either Xianqing or
Milan (or both) not sure.

I believe it was under IBM control just as a proof of concept and
wasn't contributed. We should be able to easily re-create it.  If
there is strong interest in VCL requesting resources from EC2, sounds
like there is -:) , I can help kickstart it.

Aaron

On Wed, Jul 27, 2011 at 10:21 AM, Alan D. Cabrera  wrote:
> That sounds like a fun thing to work on.  Who's working on it?
>
>
> Regards,
> Alan
>
> On Jul 27, 2011, at 7:09 AM, Everett Toews wrote:
>
>> How goes the work on open sourcing the EC2 Provisioning Module?
>>
>> Thanks,
>> Everett
>
>



--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.


--
BEGIN-ANTISPAM-VOTING-LINKS
--

Teach CanIt if this mail (ID 534490822) is spam:
Spam:
https://www.spamtrap.odu.edu/b.php?i=534490822&m=20b3a292cb28&t=20110729&c=s
Not spam:    
https://www.spamtrap.odu.edu/b.php?i=534490822&m=20b3a292cb28&t=20110729&c=n
Forget vote: 
https://www.spamtrap.odu.edu/b.php?i=534490822&m=20b3a292cb28&t=20110729&c=f
--
END-ANTISPAM-VOTING-LINKS



Re: The New KVM Provisioning module

2011-07-29 Thread Xianqing Yu
Aaron,

Thank your interesting.

I looked at the vmware Provisioning module code, and try to learn and reuse 
some code from that. Because there are some many functions in VMware.pm, I 
probably start with some basic functions, and make it work first.

About structure, I has several functions inside my kvm.pm, including, 
initialize, load, capture, node_status and get_image_size. I already finish 
most of them except for capture function. So basically, kvm module will do very 
similar thing as VMware.pm. And it generates a XML file to define the VM (like 
VMX file in VMware) and creates VM on KVM by sending ssh command "virsh create 
vm.xml". I have a script which can install necessary packages and set up proper 
network configuration on the host. So I can use that with xCAT to create 
kickstart image for KVM host. I also can use the script to configure existing 
Fedora machine.

I can have my script and kvm provisioning code ready within three days, so you 
guys can take a look. So should I publish it on the JIRE?

Thanks,

Xianqing Yu

WSTI Intern
xia...@us.ibm.com

-Aaron Peeler  wrote: -

To: vcl-dev@incubator.apache.org
From: Aaron Peeler 
Date: 07/29/2011 08:58AM
Subject: Re: The New KVM Provisioning module

Hi Xianqing,

This is great. I'd like to work with you this module.

What are your thoughts on the structure?

Have you looked at the work Andy did on the VMware Prov module:
//lib/VCL/Module/Provisioning/VMware


Aaron



On Tue, Jul 26, 2011 at 11:18 PM, Xianqing Yu  wrote:
>
>
>
> Hi VCL community,
>
> I am developing KVM Provisioning Module for VCL system, which is based on
> my previous version of KVM Provisioning Module. You can find out my
> previous KVM module's information from here,
> https://issues.apache.org/jira/browse/VCL-339
>
> Currently, I am trying to make this module's code as generic as possible.
> And I will including these features inside this new version of module.
> 1. The module will use libvirt API to manipulate the VM on KVM hosts. The
> main reason behind this is that libvirt is widely used API, many people in
> the community talked about this before, and libvirt support for different
> hypervisors, such as KVM, Xen, Qemu, etc.. It would be easier to port this
> module to support other hypervisor in future.
> 2. A setup scripted will be developed to help the users to setup host much
> easier.
> 3. A document descripts how to install this module.
>
> Welcome everyone to join the discussion with me if you are interesting
> about. Such as, is there any new features you expect to see in this 
module?
> Do you have any suggestion about this module? Or you have any questions
> about this module? Please let me know.
>
> Thanks,
>
> Xianqing Yu
> WSTI Intern
> xia...@us.ibm.com



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.