Git Product home page Git Product logo

Comments (1)

shatterednirvana avatar shatterednirvana commented on June 3, 2024

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:

  1. 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.
  2. 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 in djinn.rb to see how they implement it), which takes in a single argument, the list of IPs to start up as AppScale nodes.
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.