dosubot[bot] commented on issue #2667:
URL:
https://github.com/apache/incubator-hugegraph/issues/2667#issuecomment-2374469722
<!-- Answer -->
To start a minimal cluster with each of the three `server.role` values
(`master`, `worker`, `computer`), you need to configure the `server.role`
option in the `rest-server.properties` configuration file for each server
instance. Here is an example of how you can set up the configuration for each
role:
1. **Master Node Configuration:**
```properties
server.id=server-master
server.role=master
restserver.url=http://127.0.0.1:8080
```
2. **Worker Node Configuration:**
```properties
server.id=server-worker
server.role=worker
restserver.url=http://127.0.0.1:8081
```
3. **Computer Node Configuration:**
```properties
server.id=server-computer
server.role=computer
restserver.url=http://127.0.0.1:8082
```
Each configuration file should be saved separately and used to start the
respective server instance. The `server.id` and `restserver.url` values should
be unique for each server to avoid conflicts.
Refer to the `rest-server.properties` configuration file for additional
options that may be relevant to your setup, such as `ssl.keystore_file`,
`restserver.max_worker_threads`, and `gremlinserver.url`
<sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/config/ServerOptions.java)</sup><sup>[[2]](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/cn/docs/config/config-option.md)</sup><sup>[[3]](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/en/docs/config/config-option.md)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]