Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add host to cluster #143

Closed
rjrudin opened this issue Nov 10, 2016 · 0 comments
Closed

Add host to cluster #143

rjrudin opened this issue Nov 10, 2016 · 0 comments
Assignees
Milestone

Comments

@rjrudin
Copy link
Contributor

rjrudin commented Nov 10, 2016

Combo of calling http://docs.marklogic.com/REST/GET/admin/v1/server-config and then http://docs.marklogic.com/REST/POST/admin/v1/cluster-config .

Simplest way of doing this would be:

gradle -PmlHost=address -PclusterHost=address mlAddHost

Where mlHost is the address of the host we want to add to a cluster (so the GET call is made to it). And clusterHost is the address of a host in the cluster we want to join (and so the POST call is made to it).

Will need to wait for a restart in case a 202 is returned.

Should also support optional parameters of "group" and "zone". "group" seems to be required and should default to "mlGroup".

Most of this will work be done in ml-app-deployer.

@rjrudin rjrudin added this to the 2.5.0 milestone Nov 10, 2016
@rjrudin rjrudin modified the milestones: 2.6.0, 2.5.0 Dec 20, 2016
rjrudin pushed a commit that referenced this issue Jan 17, 2017
…nitTask and InstallAdminTask to be more consistent
@rjrudin rjrudin self-assigned this Jan 17, 2017
@rjrudin rjrudin closed this as completed Jan 17, 2017
rjrudin added a commit that referenced this issue Aug 23, 2024
Adjust export/import to preserve query elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant