Search code examples
azurecluster-computingmarklogicfailoverazure-blob-storage

MarkLogic Failover Cluster on Azure - Forest configuration on Azure Blob


As per MarkLogic cluster recommendation, we need to configure it as per below link

MarkLogic Cluster - Configure Forest with all documents

Forest configuration is done as per MarkLogic on Azure Guide Page No. 28 i.e.

  • Azure storage key has been set in Security -> Credentials -> Azure
  • Data directory has been set as azure://

This is working fine and every forest on cluster host has been set in a different container within same azure Blob.

Now i want to configure failover cluster by replicating forest of each host on different host as per failover configuration mentioned in above link.

Question: In documentation, it is mentioned that "only local disk failover is possible", if i create replication forest same as data forest i.e. mentioning azure container will work ?

Data directory for Master forests are configured on Azure blob only and ingestion performance was also good compared to local disk or map azure blob as local drive on VM

enter image description here

enter image description here enter image description here

I created replica forest and mapped it to Azure Blob and started getting below error and label size in Azure blob size got to 0 and master forest label size also got to 0 and i lost all data :( (BTW, it is dev environment)

enter image description here Forest-id01 - Host01

Forest-id02 - Host02

Forest-id03 - Host03

Forest-id01-replica - Host02

Forest-id02-replica - Host03

Forest-id03-replica - Host01

All are in one Azure Blob (as in security->credentials, we can only provide one storage account) in different containers

enter image description here

enter image description here

enter image description here


Solution

  • MarkLogic does not support regular or replica forest on Azure blob storage. MarkLogic does not write labels on Azue blob storage, which is the error you are getting. We support Azure blob storage for backup and read-only forest for Tiered storage feature. Apologies for the wrong answer before