I am working with a MarkLogic managed cluster in AWS and configuring database and forest layout using properties instead of manually configuring the forest placement as in my on premise clusters.
I have noticed a few things and am wondering if it is possible to address them with ml-gradle properties?
forest layout for replica forests does not take into account the AWS AZ a node lives on. If you stand up a managed cluster with 2 nodes per AWS AZ, the chances are high that the replicas will stay within the AWS AZ, and our requirements for high availability is they spread out to another AWS AZ.
when expanding the cluster using cloudformation, an mlDeployDatabases will not add forests to the new hosts. Is there a way to trigger this?
Here are the relevant portions of my gradle.properties
mlIsHostLoadBalancer=true
mlCreateForests=true
mlForestDataDirectory=/var/opt/MarkLogic
mlReplicaForestDataDirectory=/var/opt/volume1
mlDatabasesWithForestsOnOneHost=Mymodules,Myutils,Mysupplement
mlDatabaseNamesAndReplicaCounts=Mydbone,1,Myutils,1,Mysuperdb,1,Mymodules,1,Mydbtwo,1,Mydbthree,1,Mydbfour,1,Mydbfive,1,Security,1,Schemas,1,App-Services,1,Mysupplement,1