Re: Short question - VCL backend
Hello Xianqing, This sounds really cool! I am actually in the process of setting up a test environment on a single physical machine, but i hit a roadblock with VMware (compatibility issues). I was able to get VCL(DB, front end, mgt. node) up and running, and am able to access the front end via localhost. I am hoping to have more success with your provisioning module. I actually have a eucalyptus private cloud set up already. I have used the HybridFox FireFox plug-in - overall it is pretty good, but the VCL front end is more desirable. Since the EC2 API is the same as the Eucalyptus API, I should be able to access this private cloud availability zone, to perform the operations you described, right? I would like to begin testing as soon as it is released - does this involve simply replacing the modified files you described? (or a fresh VCL install). - Justin On Fri, Jun 18, 2010 at 1:31 PM, yu267155...@hotmail.com wrote: Hi VCL team and Justin, I am Xianqing, and NC state unviersity student. I just finish the project which porting the VCL to EC2. What I am doing is added the new provisioning module ec2.pm and modify 5 lines of vcl code in image.pm. The new module will use the EC2 api to manage virutal machine. You can use VCL interface to make the reservation, update the image, and create the new image. Welcome to ask any questions about that? Hi VCL team, I would like to contribute the new module to the VCL incubator in next few days. I submitted ICLA, so the next step to contribute my code is post it on the JIRA, right? Is there anythings else I have to do? Thanks, Xianqing -- From: aaron_pee...@ncsu.edu Sent: Tuesday, June 15, 2010 04:50 PM To: vcl-dev@incubator.apache.org Subject: Re: Short question - VCL backend Hello Justin, Welcome. For the most part the vcl api is currently setup for the backend calls, or a third party app to request a VCL resource, manage users, etc, so it's currently supporting incoming api calls. There might be a better way but my first thought is that a new perl provisioning module could be created to make the api calls to EC2 or some other cloud/cluster to accomplish this. In addition to adding a provisioning module, the vcl database would need to have placeholders for EC2/Eucalyptus computer resources, so it would know what/how many compute nodes are available, etc. Aaron Hello VCL dev team, My name is Justin, and I am currently researching VCL for academic purposes and attempting to set up a potential testing environment based on the tutorial here https://cwiki.apache.org/VCL/configuring-a-standalone-vmware-vcl-environment.html . I was wondering, is it possible to set up a different back end, such as Eucalyptus or EC2 using the current web interface? (I noticed one of the features is API support for making requests and provisioning resources, so maybe the Amazon API can be used?) Also, I am installing this on Ubuntu 9.10 and apparently I have to rebuild the Linux kernel to install VMware... does this seem correct? - Justin
Re: Short question - VCL backend
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xianqing, Correct, the next step is to create a JIRA issue and attach the code there. In the future, if you create new modules, it would be great if you could follow the steps outlined here: https://cwiki.apache.org/VCL/guidelines-for-large-contributions.html That allows the community to be more involved in the development of additional modules. For the EC2 one to ever be included in a release, a plan of supporting it needs to be developed. Would you be willing to support it (keep it current with changes in the code and answer questions related to it on the vcl-dev and vcl-user lists)? If not, you'd need to find a current committer that would be willing to take it over and support it. If you cannot support if for some reason and no other committers can either, we may consider including it in future releases (as long as it works) as an unsupported module that people can try to use on their own. Josh On Friday 18 June 2010 1:31:13 pm yu267155...@hotmail.com wrote: Hi VCL team and Justin, I am Xianqing, and NC state unviersity student. I just finish the project which porting the VCL to EC2. What I am doing is added the new provisioning module ec2.pm and modify 5 lines of vcl code in image.pm. The new module will use the EC2 api to manage virutal machine. You can use VCL interface to make the reservation, update the image, and create the new image. Welcome to ask any questions about that? Hi VCL team, I would like to contribute the new module to the VCL incubator in next few days. I submitted ICLA, so the next step to contribute my code is post it on the JIRA, right? Is there anythings else I have to do? Thanks, Xianqing -- From: aaron_pee...@ncsu.edu Sent: Tuesday, June 15, 2010 04:50 PM To: vcl-dev@incubator.apache.org Subject: Re: Short question - VCL backend Hello Justin, Welcome. For the most part the vcl api is currently setup for the backend calls, or a third party app to request a VCL resource, manage users, etc, so it's currently supporting incoming api calls. There might be a better way but my first thought is that a new perl provisioning module could be created to make the api calls to EC2 or some other cloud/cluster to accomplish this. In addition to adding a provisioning module, the vcl database would need to have placeholders for EC2/Eucalyptus computer resources, so it would know what/how many compute nodes are available, etc. Aaron Hello VCL dev team, My name is Justin, and I am currently researching VCL for academic purposes and attempting to set up a potential testing environment based on the tutorial herehttps://cwiki.apache.org/VCL/configuring-a-standalone-vmware-vcl-en vironment.html. I was wondering, is it possible to set up a different back end, such as Eucalyptus or EC2 using the current web interface? (I noticed one of the features is API support for making requests and provisioning resources, so maybe the Amazon API can be used?) Also, I am installing this on Ubuntu 9.10 and apparently I have to rebuild the Linux kernel to install VMware... does this seem correct? - Justin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFMH6X0V/LQcNdtPQMRAjtaAJ0fFm3rXQjf/3INBcjJGfEgKN08mgCfTr5t 81zhrZLvCRYQPySqc3a7ux0= =cyTs -END PGP SIGNATURE-
Re: How to disable cache
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xianqing, There is currently no way of simply disabling this behavior. You would need to modify the code to keep it from happening. This would definitely require changes to the backend, and might require changes to the frontend. The backend would need to shut down and possibly unregister any running VMs. The frontend would need to consider the VMs as not being preloaded. But that part might be accomplished by just setting the currentimageid for the computer in the computer table to the noimage image. Josh On Monday 14 June 2010 3:23:57 pm yu267155...@hotmail.com wrote: I am working on deploying VCL code. And I know virtual machine caching mechnism, which will boot VM before user making reservation, is useful. However, I want to disable the VM caching mechnism so I can develop some specific provisioning module. Is there any way can disable the caching mechnism in the VCL code? Thanks, Xianqing -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFMH6b1V/LQcNdtPQMRAuMSAJ4j4N+Tmdgu8punJjiygbt3DFB+NwCfeN1R F1ENgnhNqTbIeHbegUzFaW8= =Y0/G -END PGP SIGNATURE-
Re: Short question - VCL backend
-- From: Justin Duperre jdupe...@gmail.com Sent: Monday, June 21, 2010 11:11 AM To: vcl-dev@incubator.apache.org Subject: Re: Short question - VCL backend Hello Xianqing, This sounds really cool! I am actually in the process of setting up a test environment on a single physical machine, but i hit a roadblock with VMware (compatibility issues). I was able to get VCL(DB, front end, mgt. node) up and running, and am able to access the front end via localhost. I am hoping to have more success with your provisioning module. I actually have a eucalyptus private cloud set up already. I have used the HybridFox FireFox plug-in - overall it is pretty good, but the VCL front end is more desirable. Since the EC2 API is the same as the Eucalyptus API, I should be able to access this private cloud availability zone, to perform the operations you described, right? Yes, I think so. But you probably need to correctly configure some globe environment variables, so EC2 API can be used when commands are called in the perl code. I would like to begin testing as soon as it is released - does this involve simply replacing the modified files you described? (or a fresh VCL install). You just need a freash VCL install, and then replace one module of VCL code. I will specify inside the JIRA later. - Justin