Send shell commands to new hosts started with OCCI

Greetings, I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host. I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure). Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy Website: http://groglogs.blogspot.com/ *If you received this message but you are not its recipient, please ignore it and warn me, thank you.*

Cheers and thanks for your answer. Well, It looks like a no so I'll use some other way to achieve my goal. Have a nice day On 05/12/11 0.04, Michael Behrens wrote:
2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote:
Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
*If you received this message but you are not its recipient, please ignore it and warn me, thank you.*
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy Website: http://groglogs.blogspot.com/ *If you received this message but you are not its recipient, please ignore it and warn me, thank you.*

Hello, my 2 cents worth may be worth a read. Here in France in the CompatibleOne project we are faced with much the same issue. Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject. Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne system Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI Cheers and thanks for your answer. Well, It looks like a no so I'll use some other way to achieve my goal. Have a nice day On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important. I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps. This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important. -- Michael B. Stefano Ghio wrote: Greetings, I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host. I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure). Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy Website: http://groglogs.blogspot.com/ If you received this message but you are not its recipient, please ignore it and warn me, thank you. _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg -- Dr. Stefano Ghio - Italy Website: http://groglogs.blogspot.com/ If you received this message but you are not its recipient, please ignore it and warn me, thank you. _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible. Alan On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

As far as I understand it, this is a problem not directly targeted by OCCI. You need to have some script or service running inside a VM to configure it. IMHO the OVF standard in version 2.0 tries to enable this contextualization of VMs. If you have an OCCI service running inside the VM and you want to send the machine a command to deploy something, then OCCI could handle it. The difference is, that OVF statically describes a virtual appliance, whereas OCCI allows to send commands to a cloud service. You could even combine both, having specified some basic configuration in the OVF package and then adding, modifying and removing applications using OCCI. Cheers, Florian Am 05.12.11 16:24 schrieb "Alan Sill" unter <Alan.Sill@ttu.edu>:
Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible.
Alan
On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

This is how I understand it as well and it is the situation that we are targeting in CompatibleOne, static configuration is all well and good but for future PaaS based work it is necessary to be able to reconfigure things while they are up and running ... not to mention ghandling other more problematic things than just personalisation. Sincerely Jamie
From: florian.feldhaus@tu-dortmund.de To: Alan.Sill@ttu.edu; occi-wg@ogf.org Date: Mon, 5 Dec 2011 16:45:01 +0000 CC: otacorp@gmail.com Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
As far as I understand it, this is a problem not directly targeted by OCCI. You need to have some script or service running inside a VM to configure it. IMHO the OVF standard in version 2.0 tries to enable this contextualization of VMs.
If you have an OCCI service running inside the VM and you want to send the machine a command to deploy something, then OCCI could handle it. The difference is, that OVF statically describes a virtual appliance, whereas OCCI allows to send commands to a cloud service. You could even combine both, having specified some basic configuration in the OVF package and then adding, modifying and removing applications using OCCI.
Cheers, Florian
Am 05.12.11 16:24 schrieb "Alan Sill" unter <Alan.Sill@ttu.edu>:
Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible.
Alan
On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

This is a very old topic and discussed several times... I just recently pinged Andy with a suggestion of bypassing PaaS and moving OCCI straight to SaaS. Michael brings up good points. Depending on model, there can be strong similarities between IaaS PaaS and SaaS. In a fully abstracted model, the CPU portion of IaaS OCCI can be translated to "data processing" which can represent an application in SaaS as well as the execution environment of PaaS. Data Processing is supported by perimeter services ie networking, storage and memory. This model would allow IaaS OCCI to be repurposed and support the full complement of data processing environments. The exact implementation for the SaaS (application) could be achieve via mixins, as Alan suggests. Ultimately, there needs to be SaaS and PaaS data processing classes defined as part of the OCCI standard. However, there are some additional complexities to the SaaS and the PaaS models. SaaS data storage may be nondescript endpoint(s), where only the capabilities are specified. The type of alteration is true for networking, the endpoint(s) may only be defined by URI and port number. Although I thought that case was already addressed.. The model PaaS is a more complicated than SaaS.. PaaS exposes a litany of internal (logical) services, including single/multiple execution platforms, web servers, load balancers, databases, networking and storage. This complexity warrants better differentiation of PaaS. The exact profiles are open for discussion. I have some opinions on topic. cheers, gary On 12/5/2011 8:24 AM, Alan Sill wrote:
Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible.
Alan
On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

I think we are simp;ly being asked for a mechanism to pass an instruction at boot time to launch a startup script. Let's stay away from the architectural niceties for the moment! Florian points out that such startup scripts can be pre-packaged with a machine image in OVF. If so, this is a nice feature and we just need to communicate with OVF sufficiently to (a) discover and (b) trigger such scripts upon startup. Perhaps the only sophistication that would be needed would be to provide a choice of startup hooks among many that may be present. Whatever is put together should be limited in scope to be able to achieve the desired effect, and not be over-designed, and should work with all operating systems. Alan On Dec 5, 2011, at 11:57 AM, Gary Mazz wrote:
This is a very old topic and discussed several times... I just recently pinged Andy with a suggestion of bypassing PaaS and moving OCCI straight to SaaS.
Michael brings up good points.
Depending on model, there can be strong similarities between IaaS PaaS and SaaS. In a fully abstracted model, the CPU portion of IaaS OCCI can be translated to "data processing" which can represent an application in SaaS as well as the execution environment of PaaS. Data Processing is supported by perimeter services ie networking, storage and memory.
This model would allow IaaS OCCI to be repurposed and support the full complement of data processing environments.
The exact implementation for the SaaS (application) could be achieve via mixins, as Alan suggests. Ultimately, there needs to be SaaS and PaaS data processing classes defined as part of the OCCI standard.
However, there are some additional complexities to the SaaS and the PaaS models. SaaS data storage may be nondescript endpoint(s), where only the capabilities are specified. The type of alteration is true for networking, the endpoint(s) may only be defined by URI and port number. Although I thought that case was already addressed..
The model PaaS is a more complicated than SaaS.. PaaS exposes a litany of internal (logical) services, including single/multiple execution platforms, web servers, load balancers, databases, networking and storage. This complexity warrants better differentiation of PaaS. The exact profiles are open for discussion. I have some opinions on topic.
cheers, gary
On 12/5/2011 8:24 AM, Alan Sill wrote:
Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible.
Alan
On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

I used a different mechanism (not supported by OCCI) 2 years ago with opennebula. I used opennebual to create a autorun cd image that was loaded when the OS booted. Auto-run specified a script in the image which executed. The autorun could easily point to and execute another script in the system disk or retrieve the script from the network, i.e. wget, and execute. -gary On 12/5/2011 11:05 AM, Alan Sill wrote:
I think we are simp;ly being asked for a mechanism to pass an instruction at boot time to launch a startup script.
Let's stay away from the architectural niceties for the moment!
Florian points out that such startup scripts can be pre-packaged with a machine image in OVF. If so, this is a nice feature and we just need to communicate with OVF sufficiently to (a) discover and (b) trigger such scripts upon startup. Perhaps the only sophistication that would be needed would be to provide a choice of startup hooks among many that may be present.
Whatever is put together should be limited in scope to be able to achieve the desired effect, and not be over-designed, and should work with all operating systems.
Alan
On Dec 5, 2011, at 11:57 AM, Gary Mazz wrote:
This is a very old topic and discussed several times... I just recently pinged Andy with a suggestion of bypassing PaaS and moving OCCI straight to SaaS.
Michael brings up good points.
Depending on model, there can be strong similarities between IaaS PaaS and SaaS. In a fully abstracted model, the CPU portion of IaaS OCCI can be translated to "data processing" which can represent an application in SaaS as well as the execution environment of PaaS. Data Processing is supported by perimeter services ie networking, storage and memory.
This model would allow IaaS OCCI to be repurposed and support the full complement of data processing environments.
The exact implementation for the SaaS (application) could be achieve via mixins, as Alan suggests. Ultimately, there needs to be SaaS and PaaS data processing classes defined as part of the OCCI standard.
However, there are some additional complexities to the SaaS and the PaaS models. SaaS data storage may be nondescript endpoint(s), where only the capabilities are specified. The type of alteration is true for networking, the endpoint(s) may only be defined by URI and port number. Although I thought that case was already addressed..
The model PaaS is a more complicated than SaaS.. PaaS exposes a litany of internal (logical) services, including single/multiple execution platforms, web servers, load balancers, databases, networking and storage. This complexity warrants better differentiation of PaaS. The exact profiles are open for discussion. I have some opinions on topic.
cheers, gary
On 12/5/2011 8:24 AM, Alan Sill wrote:
Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible.
Alan
On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg

One more thing, I mentioned Micheal's, comments, but forgot to elaborate. The OCCI model can operate on 2 levels, 1) the context of a single virtual machine and the other.... 2) an organization of VMs similar in functionality to OVF. a collection of VM residing as peers. The suggestion to use OCCI as an execution interface to SaaS positioned internally to an IaaS VM is an new hierarchical relationship currently unsupported by OCCI. Although unsupported, the basic mechanism is in place with collections. That is if someone wants to take this on.. gary On 12/5/2011 8:24 AM, Alan Sill wrote:
Could this be handled via the mix-in mechanism? The difficulty may be differences in how start-up scripts are invoked in various operating systems, for which it is hard to have a solution built into the standard. Having mechanisms that can work via a mix-in for various popular OS'es may, however, be possible.
Alan
On Dec 5, 2011, at 3:33 AM, Jamie Marshall wrote:
Hello,
my 2 cents worth may be worth a read.
Here in France in the CompatibleOne project we are faced with much the same issue.
Our aim is the provision of a fully automated brokering and provisioning platform for the satisfaction of complex and hetrogeneous cloud provisioning requests. We have also identified this difficulty as bein one of the aspects for which we will need to find or provide a satisfactory solution for ALL cloud provider platforms. We have been working on this subject and have already a basic architectural model allowing us to perform automatic provisioning with configuration for open stack and open nebual platforms. We demonstrated this 19 days ago at the OW2 Conference at Orange Labs here in Paris. Of course there is much more work to be done and we welcome ideas and thoughts on this very important subject.
Sincerely Jamie Marshall Expertise Manager Prologue Architect CompatibleOne
system
Date: Mon, 5 Dec 2011 09:57:03 +0100 From: otacorp@gmail.com To: michael.behrens@r2ad.com CC: occi-wg@ogf.org Subject: Re: [occi-wg] Send shell commands to new hosts started with OCCI
Cheers and thanks for your answer.
Well, It looks like a no so I'll use some other way to achieve my goal.
Have a nice day
On 05/12/11 0.04, Michael Behrens wrote: 2-cents: It's an interesting request to consider. As part of cloud automation, being able to kick off a configuration script is important.
I think some sort of startup script or agent would be needed to be staged in the guest VM first - not sure how one would otherwise communicate with a new machine securely. Then once the SSH keys are generated, that generic script could then invoke a configuration server to proceed with the next steps.
This reminds me that we need to start considering the PaaS specifications soon. As part of PaaS, being able scale new machines up and configure them is important.
-- Michael B.
Stefano Ghio wrote: Greetings,
I was wondering if it was possible to send shell commands to new hosts started with OCCI. I would like to do launche some java -jar after the host has started, preferably without using a script on the host.
I couldn't find anything anywhere about it (OCCI Core, OCCI HTTP Rendering, OCCI Infrastructure).
Thank you, regards -- Dr. Stefano Ghio - ENG Engineering Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list
occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
-- Dr. Stefano Ghio - Italy
Website: http://groglogs.blogspot.com/
If you received this message but you are not its recipient, please ignore it and warn me, thank you.
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg _______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg
participants (7)
-
Alan Sill
-
florian.feldhaus@tu-dortmund.de
-
Gary Mazz
-
Jamie Marshall
-
Michael Behrens
-
Stefano Ghio
-
Stefano Ghio