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

Issue #37 and Issue #28 #287

Merged
merged 2 commits into from
Oct 29, 2014
Merged

Issue #37 and Issue #28 #287

merged 2 commits into from
Oct 29, 2014

Conversation

paxtonhare
Copy link
Contributor

adding support for specifying groups for appservers and forests

adding support for specifying groups for appservers and forests
@@ -320,6 +314,7 @@ declare function setup:do-setup($import-config as element(configuration)) as ite
setup:create-amps($import-config),
setup:apply-database-settings($import-config),
setup:configure-databases($import-config),
setup:create-groups($import-config),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a bit earlier? You're creating groups after creating forests, but setup:create-forests-from-count(), you're calling admin:group-get-host-ids(). I'd think that if you're creating a group and putting forests in it, that will fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. It should be earlier.

@paxtonhare
Copy link
Contributor Author

After talking to Dave Cassel we agreed for me to create a follow on ticket #289 to handle any errors that occur from wiping groups. Wiping will likely fail in a cluster since we are not removing hosts before we delete the group.

paxtonhare added a commit that referenced this pull request Oct 29, 2014
@paxtonhare paxtonhare merged commit 22beaed into marklogic-community:dev Oct 29, 2014
@grtjn
Copy link
Contributor

grtjn commented Oct 29, 2014

I would not expect a group attribute to create/remove anything, actually, just attach/unattach where used. To create/wipe groups, i'd recommend using a group element in the config, empty and referred from elsewhere, or containing settings/servers part of that group..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants