Home » Eclipse Projects » Virgo » Virgo on cloudfoundry
Virgo on cloudfoundry [message #757446] |
Fri, 18 November 2011 08:28  |
Eclipse User |
|
|
|
Hello guys,
Does anybody know if cloudfoundry supports Virgo and how to proceed ?
maybe a link, a hint ...
Thank you,
Attila
|
|
| | | | | |
Re: Virgo on cloudfoundry [message #870469 is a reply to message #870359] |
Tue, 08 May 2012 07:27   |
Eclipse User |
|
|
|
Hi,
The VM from my blog is a bit outdated, but it contains a guide how you can integrate Virgo (and other projects) into CF. What you get currently is support for all Virgo artifacts and auto-staging of Spring modules and the ability to update Virgo's version.
I think Virgo's integration in CF can be used for productive application. The question here is what do you need from the infrastructure (IaaS), the platform (PaaS) or do you want to build a cloud based software solution (SaaS).
To be productive in my opinion you need to have provisioning of VMs that can be turned into DEA nodes and perhaps elasticity (scale-in/out) in case your application supports multiple instances.
The provisioning as you may know was not part of CF offering, although the now BOSH solves part of the problem. Another part however is to find a hosting infrastructure (Amazon, OpenStack, OpenShift, Cloud Foundry, RackSpace....) or to build a cloud yourself.
If you don't need these IaaS features than you can probably live with several VMs hosing Virgo instances.
Since Virgo is not supported by cloudfoundry.com or other CF based hostings, so you'll have to host it yourself. You can use your own hardware or existing IaaS to build CF based PaaS.
Regards,
Hristo Iliev
|
|
| | | | | | |
Re: Virgo on cloudfoundry [message #906973 is a reply to message #871188] |
Sun, 02 September 2012 23:56   |
Eclipse User |
|
|
|
Hi,
Great work here! I am new to Cloud Foundary, but have spent some time on Virgo. From the discussions above, it looks like there are two options to get Virgo working in Cloud Foundry:
- Use the Virgo integration done by Hristo Iliev.
- Run Virgo as a standalone app, as in Andy's email.
I haven't tried these options, but any comments on my questions below would be appreciated very much. Assuming I have 2 apps A & B to run in Virgo, with A consuming the OSGi services published by B.
- If using option #1, would the OSGi service published by B still work for A? If I scale A to have 10 instance and B still has 1 instance, how could they pair up?
- If using option #2, I believe app A & B and the OSGi services will work. But will I lose the capability of deploying new app (such as through the Virgo admin console) to a running instance of Virgo, since it apparently conflicts with the way vmc update an app (which is Virgo plus all apps in it)? If it still works for 1 instance, how about if I scale up the instances of Virgo to 10?
Best Wishes,
Ruoyun
|
|
| |
Re: Virgo on cloudfoundry [message #907725 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907737 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907764 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907765 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907788 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907789 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907814 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907816 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907842 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907843 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907873 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907874 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907906 is a reply to message #907110] |
Tue, 04 September 2012 04:58   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
|
Re: Virgo on cloudfoundry [message #907907 is a reply to message #907110] |
Tue, 04 September 2012 05:01   |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much for the quick response. Looks like OSGi make things harder if I want to scale the deployment of a single app (run many instances of it).
Currently I have quite a number of apps running on Virgo, and new apps could be developed and added to a running Virgo server. I will give a try on option #2, which is basically scaling at app server level (run many instances of Virgo). My concern, however, is I probably can't add a new app directly to a Virgo instance running on the Cloud, as the other instances would be out of sync. I have to deploy new app locally to a local Virgo, then push the whole stack (Virgo plus all apps deployed within it) to cloud. Does it make senses?
Best Wishes,
Ruoyun
|
|
| |
Re: Virgo on cloudfoundry [message #908445 is a reply to message #908106] |
Wed, 05 September 2012 08:00  |
Eclipse User |
|
|
|
Hi, Hristo Iliev,
Thank you very much. It is really helpful! And my apologies for the repeated post earlier, as I thought the post is not successful.
Have a nice day!
Best Wishes,
Ruoyun
|
|
|
Goto Forum:
Current Time: Fri Jul 11 23:01:40 EDT 2025
Powered by FUDForum. Page generated in 0.13991 seconds
|