Hi guys,
I started reading about Bluemix today but I am having difficulty to find some very basic information about it. I have following questions:
We are a company based in Northern Europe and wondering where IBM Bluemix servers are located in the world. Any in Northern Europe?
What kind of operating system is used for Bluemix?
What java version is supported in "Liberty for java" runtime?
What Node.js version is supported in "SDK for Node.js" runtime?
In the documentation I read following: "External buildpacks are not supported by IBM;". Does it also includes Community and all third-party buildpacks and runtimes, ex. Ruby on Rails?
In the Bluemix doc following is stated: "Instances of the same application can be on the same or different VMs based on the load of the VMs." If that specific VM is down becouse of some errors, will fail-over be handled (ex. a new VM be started automatially)? How fast will Bluemix detect a VM that is down and start it up?
Kind regards AH
point 6 - Your application runs in a container with, potentially many other app containers on the same Droplet Execution Agent (DEA) - more simply referred to as a VM. If a DEA was to fail in the cloud, then your app containers would be started elsewhere in the cloud (up to the instance count you specify).
Don't get containers confused with VM's Containers are very light-weight and fast to start. VMs are, well, not. :)
As for detection of application down, my experience is like 5 seconds or so. Bluemix may be setting more longer, say 15 seconds at maximum (note: this value is not official). When the application is down, Bluemix core component called Cloud Controller get notified of application down, and it automatically stage new application (and new VM instance(s) based on instance parameters). I recommend to have multiple instances in the production environment so that even if one your application instances is down, the rest will continue to service to your customer (also make the app to recover session)
Takehiko Isn't the health manager responsible for keeping an eye on the applications?
Cloud Controller based on feedback from health manager ensures that the expected number of app instances are running.
To expand on John Pape's comment, the applications run on a warden container (which are light-weight).
That is correct. Health Manager monitor the application. If it see that application is not desired state, it send message to Cloud Controller, and then Cloud Controller send message to DEA to star the application. There is good chart to explain on this ( I have translated from Japanese to English). :) http://www.slideshare.net/jacopen/cloud-foundry-v2-beginner
Takehiko. Thanks. These presentations (both the beginner and intermediate ones are great, one of the best that I have seen so far). Many thanks for translating them to English
The hm9000 doesn't interact or "check" the apps directly. That responsibility is given to the DEA. The DEA is responsible for monitoring the availability of the app containers running on it. This info is passed back to the hm9000 and thus made available for the cloud controller to make decisions on availability.
Thanks John. I was not aware of the changes in hm9000. Do these mechanisms change when Diego goes-live? Used this opportunity to read up on hm9000 from http://blog.cloudfoundry.org/2014/02/22/hm9000-ready-for-launch/
That's a great question. One that I do not know the answer to.. yet. :)
Answer by KrisKobylinski (5283) | Nov 05, 2014 at 02:31 PM
Some of the answers:
Stay tuned
Are you asking what operating system is underlying the Bluemix framework?
JRE 1.7
Node.js 10.33
I think IBM supports only Liberty and Node.js
I don't have numbers for you but there is an ongoing monitoring of the infrastructure and self-healing kicks in if needed.
Thx for answers so far. I got additional comments on your reply. 2. Well, what kind of OS is used to run custom application instances? Especially interested in ones running "Liberty for java"-runtime? 3. When you say 1.7, you mean latest version of 1.7?
As for OS, currently "lucid64 Ubuntu 10.04" is running. I have inspected the OS image used in my blog articles for your reference. http://amanoblog.wordpress.com/2014/09/03/take-a-look-at-bluemix-container-image/
Wish there is command 'cf bluemix info' answers some of them :-)
Answer by Pat Mc (26) | Nov 05, 2014 at 02:58 PM
4 - adding a bit more based on what I understand so far.
You can choose the version of node.js based on how you define your app.
This URL lists all the versions that can be consumed:
http://semver.ng.bluemix.net/node/versions
This url shows how a dynamic version spec can be used in your app to provide some guidance on what version would be selected:
http://semver.ng.bluemix.net/node/resolve/>0.10.11
aka: http://semver.ng.bluemix.net/node/resolve/%3E0.10.11
App definition would use similar rules for the version spec range defined as acceptable.
10.32 seems to be the current default - judged by this url:
Ok. Is it the IBM SDK version of Node.js (http://www.ibm.com/developerworks/web/nodesdk/) that runs on Bluemix?
how to add locally held data into a document created in the corpus for concept insights using java ? 2 Answers
How to work with Presence Insight when the mobile device is offline? 1 Answer
XOR function in Liberty 0 Answers
What SWIFT file is supposed to contain the SDK initialization with route and id? 2 Answers
Send byte array to Watson Speech-To-Text Service --> Return Code always 400 2 Answers