Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1728

I can setup a failover scenario for Optimize

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 2.4.0
    • None
    • backend, documentation

      Feature description:

      • given:
        • I have several Optimize instances running with the same version which use the same Elasticsearch instance
        • Optimize instance A is used to import the data and offers the user interface to create, edit and delete entities (e.g. reports or dashboards)
        • Optimize instance B is configured to only offer the user interface and the import is disabled.
      • when:
        • Optimize instance A is failing or shutdown (e.g. due to maintenance work)
      • then:
        • I can still use B to create, edit, update or delete entities in Optimize
        • The reports are all based on the current state of the data without new data being imported to Optimize
      • such that:
        • The user has the possibility to always ensure a version of Optimize up and running, so in case one instance fails, the other one can take over.

      AT:

      • optimize can be run clustered with two or more instances
      • the cluster setup specifics are documented (dedicated guide + new config params)

      Hint:

      • Make sure that there are no conflicts during the index creation while running multiple instances in parallel
      • When the import is disabled the status api should return that Optimize is currently not importing
      • It should be documented how the clustering works, what are the use-cases and limitation of it

        This is the controller panel for Smart Panels app

            [OPT-1728] I can setup a failover scenario for Optimize

            Johannes created issue -
            Johannes made changes -
            Link New: This issue is related to SUPPORT-5129 [ SUPPORT-5129 ]
            Johannes made changes -
            Description Original: *Feature description:*
            * given:
            ** I have several Optimize instances running with the same version which use the same Elasticsearch instance
            ** Optimize instance A is used to import the data and offers the user interface to create, edit and delete entities (e.g. reports or dashboards)
            ** Optimize instance B is configured to only offer the user interface and the import is disabled.
            * when:
            ** One A is failing or shutdown (e.g. due to maintenaince work)
            * then:
            ** I can still use B to create, edit, update or delete entities in Optimize
            ** The reports are all based on the current state of the data without new data being imported to Optimize
            * such that:
            ** The user has the possiblity to always ensure a version of Optimize up and running, so in case one instance fails, the other one can take over.

            *Hint:*
            * We should think about how to test that behavior. Since we ensure that multiple Optimize can update reports at the same time.
            * Make sure that there are no conflicts during the index creation while running
            * When the import is disabled the status api should return that Optimize is currently not importing
            * Migration (need clarification if that's really necessary): we need to make sure that during the upgrade the old indexes are still available and the deletion happens after the migration is complete.
            New: *Feature description:*
            * given:
            ** I have several Optimize instances running with the same version which use the same Elasticsearch instance
            ** Optimize instance A is used to import the data and offers the user interface to create, edit and delete entities (e.g. reports or dashboards)
            ** Optimize instance B is configured to only offer the user interface and the import is disabled.
            * when:
            ** Optimize instance A is failing or shutdown (e.g. due to maintenaince work)
            * then:
            ** I can still use B to create, edit, update or delete entities in Optimize
            ** The reports are all based on the current state of the data without new data being imported to Optimize
            * such that:
            ** The user has the possiblity to always ensure a version of Optimize up and running, so in case one instance fails, the other one can take over.

            *Hint:*
            * We should think about how to test that behavior. Since we ensure that multiple Optimize can update reports at the same time.
            * Make sure that there are no conflicts during the index creation while running
            * When the import is disabled the status api should return that Optimize is currently not importing
            * Migration (need clarification if that's really necessary): we need to make sure that during the upgrade the old indexes are still available and the deletion happens after the migration is complete.
            Johannes made changes -
            Labels Original: SUPPORT next_release New: SUPPORT current_release next_release
            Johannes made changes -
            Labels Original: SUPPORT current_release next_release New: SUPPORT current_release
            Johannes made changes -
            Remote Link New: This issue links to "Page (camunda confluence)" [ 12489 ]
            Johannes made changes -
            Labels Original: SUPPORT current_release New: SUPPORT next_release
            Johannes made changes -
            Assignee Original: Johannes [ johannes.heinemann ] New: Sebastian Bathke [ sebastian.bathke ]
            Johannes made changes -
            Component/s New: documentation [ 13751 ]
            Johannes made changes -
            Description Original: *Feature description:*
            * given:
            ** I have several Optimize instances running with the same version which use the same Elasticsearch instance
            ** Optimize instance A is used to import the data and offers the user interface to create, edit and delete entities (e.g. reports or dashboards)
            ** Optimize instance B is configured to only offer the user interface and the import is disabled.
            * when:
            ** Optimize instance A is failing or shutdown (e.g. due to maintenaince work)
            * then:
            ** I can still use B to create, edit, update or delete entities in Optimize
            ** The reports are all based on the current state of the data without new data being imported to Optimize
            * such that:
            ** The user has the possiblity to always ensure a version of Optimize up and running, so in case one instance fails, the other one can take over.

            *Hint:*
            * We should think about how to test that behavior. Since we ensure that multiple Optimize can update reports at the same time.
            * Make sure that there are no conflicts during the index creation while running
            * When the import is disabled the status api should return that Optimize is currently not importing
            * Migration (need clarification if that's really necessary): we need to make sure that during the upgrade the old indexes are still available and the deletion happens after the migration is complete.
            New: *Feature description:*
            * given:
            ** I have several Optimize instances running with the same version which use the same Elasticsearch instance
            ** Optimize instance A is used to import the data and offers the user interface to create, edit and delete entities (e.g. reports or dashboards)
            ** Optimize instance B is configured to only offer the user interface and the import is disabled.
            * when:
            ** Optimize instance A is failing or shutdown (e.g. due to maintenaince work)
            * then:
            ** I can still use B to create, edit, update or delete entities in Optimize
            ** The reports are all based on the current state of the data without new data being imported to Optimize
            * such that:
            ** The user has the possiblity to always ensure a version of Optimize up and running, so in case one instance fails, the other one can take over.

            *Hint:*
            * We should think about how to test that behavior. Since we ensure that multiple Optimize can update reports at the same time.
            * Make sure that there are no conflicts during the index creation while running
            * When the import is disabled the status api should return that Optimize is currently not importing
            * Migration (need clarification if that's really necessary): we need to make sure that during the upgrade the old indexes are still available and the deletion happens after the migration is complete.
            * It should be documented how the clustering works, what are the use-cases and limitation of it

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: