在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ArangoDBStarter开源软件地址:https://gitee.com/mirrors/ArangoDBStarter开源软件介绍:Starting an ArangoDB cluster or database the easy wayDownloading ReleasesYou can download precompiled Note: BuildingIf you want to compile go get -u github.com/arangodb-helper/arangodb This will result in a binary at For more advanced build options, clone this repository and do: make local and the executable is in Note: The standard build uses a docker container to run the build. If docker is not available Building docker imageIf you want to create the make docker Starting a clusterInstall ArangoDB in the usual way as binary package. Then: On host A: arangodb This will use port 8528 to wait for colleagues (3 are needed for aresilient agency). On host B: (can be the same as A): arangodb --starter.join A This will contact A on port 8528 and register. On host C: (can be sameas A or B): arangodb --starter.join A This will contact A on port 8528 and register. From the moment on when 3 have joined, each will fire up an Agent, aCoordinator and a DB-Server and the cluster is up. Ports are shown onthe console, the starter uses the next few ports above the starterport. That is, if one uses port 8528 for the starter, the Coordinatorwill use 8529 (=8528+1), the DB-Server 8530 (=8528+2), and the Agent 8531(=8528+3). See below under Additional servers can be added in the same way. More usage infoSee the ArangoDB Starter Tutorial. HTTP APISee HTTP API. Future plans
Technical explanation as to what happensThe procedure is essentially that the first instance of Whenever an All network addresses are discovered from the HTTP communication betweenthe In case the executable is running in Docker, it will use the DockerAPI to retrieve the port number of the Docker host to which the 8528 portnumber is mapped. The containers started by the executable will allmap the port they use to the exact same host port. FeedbackFeedback is very welcome in the form of github issues, pull requestsor an email to |
请发表评论