Thanks for your response!
> So you want to place your Jar file CF or in a different context? In
general you may just write a Broker, which then executes anything. What
the broker does, depends on you.
Here I incorrectly expressed my thoughts, sorry. Yes, I want to implement service broker which for every create-service request installs (just copies the JAR, I think) small java application somewhere, starts is in separate process, and then binds it to any client application. The client application interacts with service instance via HTTP. As far as I understand the idea is totally correct :)
> This depends on your deployment. You have two different options for
deploying your broker. The first is as a separate machine, the second as
a user provided service broker running in the CF context. For the first
scenario you should use something IaaS specific like HA etc. For the
second kind, the service broker would be a normal user provided
application. Restarts through service interruption of any kind are
handled the same way they are handled for your apps.
I see now. So, if I install the broker as CF application, it will be started automatically, which is good! But what about service instance processes it runs? Is there any way to deploy CF applications from Service Broker, so they would be restarted automatically as well?
> I am not sure if I understand this question correctly. Could you give some more information here?
Sure. I was thinking about the situation when CloudFoundry is getting scaled, e.g. for adding new nodes to run user-provided applications. But a service broker will only be able to run service instance applications only on a node where the broker installed. My understanding of this process is most likely not correct, but what I think is that the service broker must be able to distribute services over all available nodes. How can this be achieved?
понедельник, 14 июля 2014 г., 16:26:12 UTC+7 пользователь
jvhi...@gmail.com написал: