如何使DolphinDB集群节点在服务器启动或重新启动时自动启动?

huangapple go评论61阅读模式
英文:

How to make the DolphinDB cluster nodes start automatically on server boot or restart?

问题

我在两台服务器上部署了一个DolphinDB集群。一台服务器上部署了1个控制器、1个代理和2个数据节点,另一台服务器上部署了1个代理和2个数据节点。我的操作系统是CentOS 8。

我想在服务器启动或重新启动时让集群中的节点自动启动。我该如何做呢?

英文:

I have deployed a DolphinDB cluster on two servers. The one server is deployed with 1 controller, 1 agent and 2 data nodes, and the other is deployed with 1 agent and 2 data nodes. My operating system is CentOS 8.

I want to make the nodes in the cluster start automatically when the servers are booted up or restarted. How can I do this?

答案1

得分: 1

控制器和代理可以通过使用systemd命令自动启动。

有关详细说明,请参阅https://github.com/dolphindb/Tutorials_EN/blob/master/multi_machine_cluster_deployment.md#q2-use-the-systemd-command-to-start-dolphindb-cluster

对于数据节点和计算节点,请在controller.cfg中配置参数datanodeRestartInterval,或通过Web界面进行配置,如下所示:

如何使DolphinDB集群节点在服务器启动或重新启动时自动启动?

英文:

The controller and agents can be set to start automatically using the systemd command.

For detailed instructions, refer to https://github.com/dolphindb/Tutorials_EN/blob/master/multi_machine_cluster_deployment.md#q2-use-the-systemd-command-to-start-dolphindb-cluster

For the data nodes and compute nodes, configure the parameter datanodeRestartInterval in controller.cfg or via the Web interface shown as follows:

如何使DolphinDB集群节点在服务器启动或重新启动时自动启动?

huangapple
  • 本文由 发表于 2023年6月19日 11:49:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/76503510.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定