Setting total number of Marklogic forests for a database in ml-gradle

131 Views Asked by At

I'm currently working on configuring the resources like databases and app servers for an application using ml-gradle.These configurations would be deployed to ML10 environment.

I have a content database and there are nine hosts in the environment. I have set the ml-gradle property mlContentForestsPerHost=1 ,so it is creating 9 forests in total for the content database.

But I need only 5 forests in total for my content database to be created.

Is there a way to do it via any ml-gradle property or this can be achieved using json forest config only?

Please share your thoughts.

1

There are 1 best solutions below

4
On BEST ANSWER

See https://github.com/marklogic-community/ml-gradle/wiki/Creating-forests#properties-driven - specifically mlDatabaseHosts or possibly mlDatabaseGroups.