Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Don't add schedules to all hosts by default #500

Closed
grtjn opened this issue Jul 19, 2015 · 4 comments
Closed

Don't add schedules to all hosts by default #500

grtjn opened this issue Jul 19, 2015 · 4 comments
Assignees
Milestone

Comments

@grtjn
Copy link
Contributor

grtjn commented Jul 19, 2015

People might not be aware that schedules could be running on multiple hosts in a group/cluster, add bootstrap host as default in sample config. Removing it would give old behavior..

@grtjn grtjn added the bug label Sep 17, 2015
@grtjn grtjn added this to the 1.7.3 milestone Sep 17, 2015
@grtjn grtjn self-assigned this Sep 17, 2015
grtjn added a commit to grtjn/roxy that referenced this issue Sep 22, 2015
grtjn added a commit to grtjn/roxy that referenced this issue Jan 29, 2016
grtjn added a commit to grtjn/roxy that referenced this issue Jan 29, 2016
@grtjn
Copy link
Contributor Author

grtjn commented Jan 29, 2016

Ok, I did an attempt by adding <task-host name="@ml.server"/> to ml-config.sample.xml, but @dmcassel pointed correctly out to me that what you type in as server in your env properties, doesn't have to match with the real host name inside MarkLogic. We need something that refers to hosts by their ML host name.

  • @ml.server-hostname

  • @ml.host-names[1]

  • {xdmp:host-name()} (evaluated in setup.xqy, not very safe?)

  • {host-name} (interpreted/replaced in setup.xqy)

    Anyone better ideas?

@grtjn
Copy link
Contributor Author

grtjn commented Mar 11, 2016

Needs more discussion, pushing away..

@grtjn grtjn modified the milestones: 1.7.4, 1.7.3 Mar 11, 2016
@dmcassel dmcassel modified the milestones: 1.7.5, 1.7.4 Oct 18, 2016
@RobertSzkutak RobertSzkutak modified the milestones: April 2017, 1.7.5 Jan 30, 2017
@RobertSzkutak RobertSzkutak removed this from the April 2017 milestone May 5, 2017
@grtjn grtjn modified the milestone: July 2017 Jun 1, 2017
@grtjn
Copy link
Contributor Author

grtjn commented Jun 6, 2017

I vote for ${server-name}, or @ml.server-name in old syntax. The value will need to be derived dynamically by executing xdmp:host-name(xdmp:host())..

@grtjn grtjn added the deployer label Jun 6, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 7, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 12, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 12, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 12, 2017
RobertSzkutak added a commit that referenced this issue Jun 13, 2017
Fixed #500: linking sample tasks to bootstrap host by default
@grtjn
Copy link
Contributor Author

grtjn commented Jun 13, 2017

Fixed in DEV

@grtjn grtjn closed this as completed Jun 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants