Giter VIP home page Giter VIP logo

Comments (4)

jiahaoc1993 avatar jiahaoc1993 commented on July 17, 2024

@HelloLadsAndGents Hi, basically you have two options to make it works:

  1. Redeploy the exchange with the newly generated configuration.
  2. Add route rule to the routing table of the exchange manually, a sample is a followed :
9998: {
    "default" : [
    { "ip" :  "172.40.20.7",
      "port": 9371
    }]
}

from kubefate.

HelloLadsAndGents avatar HelloLadsAndGents commented on July 17, 2024

thanks,but i'm still wondering that

1.does "redeploy the exchange with the newly generated configuration" means: use the new conf to deploy all three servers? and the conf is like:
user=app
dir=/data/projects/fate
partylist=(10000 9999 9998)
partyiplist=(172.40.20.3 172.40.20.5 172.40.20.7)
venvdir=/data/projects/fate/venv

2.how can i "add route rule to the routing table of the exchange"
i have searched mysql tables in docker and did't find any tables related to routing table
can u tell me where is the file that i should change ? and should i change all the files in three servers?

from kubefate.

jiahaoc1993 avatar jiahaoc1993 commented on July 17, 2024

@HelloLadsAndGents for question 1, run the following command to redeploy exchange:
bash docker_deploy.sh exchange.
as for question 2, you could log in to the exchange container to update the routing table which locates at "/data/projects/fate/proxy/conf/route_table.json". You don't need to update the rule on all three servers, only need to update the exchange.

from kubefate.

HelloLadsAndGents avatar HelloLadsAndGents commented on July 17, 2024

@jiahaoc1993 thank you so much,i tried the second way and succeed

from kubefate.

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.