• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    License Transfer & Reading NoSQL Data from other Instance

    Mango Automation general Discussion
    2
    13
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CraigWebC
      CraigWeb
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • cmusselmC
        cmusselm
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • CraigWebC
          CraigWeb
          last edited by

          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/

          1 Reply Last reply Reply Quote 0
          • cmusselmC
            cmusselm
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • CraigWebC
              CraigWeb
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • cmusselmC
                cmusselm
                last edited by

                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?

                1 Reply Last reply Reply Quote 0
                • CraigWebC
                  CraigWeb
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • cmusselmC
                    cmusselm
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • CraigWebC
                      CraigWeb
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • cmusselmC
                        cmusselm
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post