简体   繁体   English

Rundeck两次触发计划的作业

[英]Rundeck triggers a scheduled job twice

We have wto rundeck instances in cluster. 我们在集群中有wto rundeck实例。 rundeck-config.properties in both the instances has below property 两个实例中的rundeck-config.properties具有以下属性

rundeck.clusterMode.enabled=true rundeck.clusterMode.enabled =真

and rundeck.server.uuid value in framework.properties is same in both the instances. 两个实例中framework.properties中的rundeck.server.uuid值相同。

So we want one of the instance to trigger scheduled jobs, but right now both the instances are triggering it and every job is running twice. 因此,我们希望其中一个实例触发计划的作业,但是现在两个实例都在触发它,并且每个作业都运行两次。 The main reason we configured the cluster is to have a backup, if one of the instance goes down the other instance should trigger the jobs. 我们配置集群的主要原因是要具有备份,如果一个实例发生故障,另一个实例应触发作业。

Make sure rundeck.server.uuid is unique for each server. 确保rundeck.server.uuid对于每个服务器都是唯一的。

You can generate a unique by running the uuidgen command on a Linux server. 您可以通过在Linux服务器上运行uuidgen命令来生成唯一代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM