Comments (3)
Hi,
The deployment order is defined on the basis of the dependencies between the components.
It is not an ordering between the resources but between the commands in the resources.
The process can be simplified as follows:
- Provision and prepare all VMs and PaaS services
- For each internal component
2.1. Execute the upload and download commands
2.2. Install all its dependencies (in term of component)
2.3. Execute the install command - Execute the commands associated to the relationships
- Execute all start command
Best regards,
Nicolas
from cloudml.
Thank you far an answer, but what if i absolutely need to have some software to be installed in all instances before executing any command for actually Resources. Is there is a way to use RequiredExecutionPlatform for this somehow? And can you elaborate a bit more on "2.2. Install all its dependencies (in term of component) "
from cloudml.
About 2.2, if a component instance requires another component instance meaning it has a requiredPort instance linked with a relationship instance to a provided Port from another component, and if this requiredPort is defined as mandatory, then the required component will be installed first. Similarly, if a component require an execution platform, the component offering the execution platform will be installed first. In both cases, by install I mean: the download, configure and install commands are executed. Components are installed only once.
Thus, if you want a component to be installed before the others there are several options:
- you can for instance specify that all the other components will require it as execution platform
- you can use relationships with the mandatory property set to true in the required port.
Regarding your question about the possibility to define the order in which the commands are executed, this is an ongoing work which is not yet available.
Also, if you just want to log the order in which the commands will be performed you can activate the debug mode in the facade: https://github.com/SINTEF-9012/cloudml/tree/master/facade/src/main/java/org/cloudml/facade/commands
from cloudml.
Related Issues (20)
- It's impossible to get the correct status of an instance HOT 2
- After an image is created during a scale out the startCommand script should be called again HOT 4
- Provide a better handling of clients disconnections HOT 1
- Reset of server and Webpage
- Support for "~" when declaring path in JSON models
- Trying to deploy using CloudML facade returns a missing credentials error HOT 12
- Use SLF4J instead of java.util.logging
- Reduce the dependencies HOT 1
- Impossible to get the status even after a correct deploy HOT 11
- Provide periodical stable (or "more stable") releases
- Provide a way to use on spot instances on Amazon
- [UI:shell] Exception when trying to store model with puppet resources HOT 2
- Could not unescaped chain:&& loop HOT 1
- [UI:Shell] Storing a deployment -> information loss HOT 2
- "monitoringPlatform.properties not found" message HOT 1
- AWS Franckfurt region missing HOT 1
- Websocket ui default port changed HOT 1
- Build Failure HOT 8
- Creator4clouds repository index is missing HOT 1
- AuthorizationException HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudml.