License Transfer & Reading NoSQL Data from other Instance
-
The thread you linked to was asking if IAS can transfer their licence from one instance to another which is a manual request you can do.
I'm curious is the goal to have hardware redundancy with only one software licence? I am not so sure this would work with mango's licencing.
Are these cloud servers or self-hosted servers? -
Yes, I wanted to see if it were possible to have one software license that could move from server to server if there were a failure on the active server. The goal really is to have the second instance be able to read and write to the NoSQL data from the first instance if it goes down.
The scenario I have is on AWS servers.
-
AWS does have volumes that can be mounted to multiple servers. I just googled this now so depending on how good your devOps skills are you could find a solution with the EFS storage. https://aws.amazon.com/efs/
-
Yes, we have that and tested it out, but what we found is that with Mango, one instance cannot read the data from another. How can we get one instance of Mango to read the NoSQL data of another instance?
-
Im not sure what you mean by one instance cannot read data from another instance. 2 different mango installations both pointing to the same databases directory will definitely work as long as you only run one at a time.
-
Maybe we have something set up wrong, because that definitely is not the case.
We have instance A running on server A, writing to the NoSQL file system. We shut down server A and start up server B and instance B. Instance B can write to the same NoSQL file system, but not as instance A.
Instance B cannot read the data from instance A. Instance B saves the new data as a separate instance.
Is there a setting or something we're missing that would allow instance B to read the NoSQL data from instance A after instance A is shut down?
-
Your "instances" altho I would prefer the term "mango modules" would need to share the same H2 or MySQL database depending on what is being used. This would make them identical running on different servers.
This will not get past the licencing issue tho, licenses are issued per server. -
They do share the same MySQL Server.
That was my original question. Can we do a license transfer or something else to allow the NoSQL data of an inactive Mango Module to be read by an active Mango Module?
Doing a NoSQL import seems like a lot of effort for something that should be native to the app. Is there no way to do a license transfer at the Mango Module level?
-
Your original question was answered. You can manually request a licence transfer from one instance to another. As well as mount the volume with the NoSQL database on to the standby server. I'm not sure what you have tried so far but moving databases from one server to another shouldn't give you any issues.
-
Okay, thank you. So we have to go through you guys for a license transfer and can't do that on our own? We'll take that into consideration on our setup.