Comments (1)
The way to fix this problem is as follows (copied from our answer on StackOverflow):
So the quick answer is "it's not supported". I was seeing the case of adding crashed nodes as very similar to the case of adding new nodes in general, so the way to hack AppScale to make this work is as follows:
- Check out the AppScale tools (AppScale/appscale-tools on github) and make a new command in bin called
appscale-add-nodes
, which takes a list of nodes to add to the currently running AppScale deployment. - Add a new SOAP-exposed method in the main AppScale code (AppScale/appscale on github) in the AppController (AppController/djinn.rb), called
add_nodes_from_ips
(see djinnServer.rb for how to expose methods via SOAP and their definitions indjinn.rb
to see how they implement it), which takes in a single argument, the list of IPs to start up as AppScale nodes. - Have
appscale-add-nodes
connect to the Shadow AppController (whose IP address is in ~/.appscale/locations-appscale.yaml) and call your new SOAP-exposed method with the list of IPs to start AppScale on.
Your SOAP-exposed method should call start_appcontroller
on each IP address, so that the AppController daemon is started there and can connect back to the other AppControllers. The list of roles to start is up to you - I'd recommend using the open role so that AppScale can decide what to use your new nodes for.
It's definitely a lot to take in, but I'm more than glad to update this answer in response to comments (and of course, I'll add a page on the AppScale wiki for each individual part of this, like how to add SOAP methods to the AppController in general).
from gts.
Related Issues (20)
- Services have a low open file limit
- Default number of datastore services started
- Logo Proposal HOT 2
- Controller rebuilds Java application server without JSP update
- AppScale sample fails to boot on Docker / macOS when following getting started guide HOT 10
- Removing datastore assignments does not stop datastore servers
- There are too many datastore backup solutions
- Java Secure URLs
- The datastore does not collapse batch puts to the same key
- Deleted kinds appear in metadata queries
- Metadata queries do not respect key filters
- Terminate script sometimes hangs
- ZooKeeper sometimes fails to start HOT 1
- Systemd is not configured to restart all terminated services
- Zookeeper not working| Stuck at Waiting for head Node to initialize
- Repo Readme.md links to dead pages for documentation links HOT 1
- How to install the datastore server? HOT 1
- Is AppScale dead? HOT 4
- Unable to build and run Appscale with boostrap.sh
- Update bootstrap.sh to use HTTPS instead of Git protocol HOT 1
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 gts.