Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

  • Relocating the Controllers a Controller instance refers to move moving the Controller instance either to a new server or to a new location on the same server. The relocating of the Controller Relocating a Controller instance will not stop the execution of the workflowworkflows with AgentsHowever, if a workflow includes jobs that are executed with different Agents then the workflow will not be completed and will be put on hold as switching of Agents during workflow execution is performed by the Controller.
  • As the Agent passes the workflow execution results to the Controller and as the Controller instance is stopped while the process of relocating the controller is in progress so the during relocation, job execution results are will not updated be forwarded to the JOC Cockpit but once . Once the Controller instance is has started again (after relocation) then job execution results are will updated to the JOC Cockpit History and become visible with the GUI.
  • To relocate the a Controller instance it is required to necessary to install a new Controller instance and copy the contents of the ./state folder to the relocated that Controller. 
  • Before copying the content we need to folder contents you should first stop the services service for the Controller instance as otherwise it will continue to update the its journals. 
  • As the Controllers also does not have any database connection so relocating the agent only requires copying the contents of the ./state directory and updating the URL of the Controller with the newly installed Controller in the JOCAfter the new Controller instance has started modify the Controller settings in the JOC Cockpit GUI to point to the new location.

Relocating a Controller

  • The relocating of Controller requires only moving Relocating a Controller requires installation of a new Controller instance and copying the ./state directory of Controller and changing the previous Controller instance to the new Controller instance location. Then change the URL from the JOC Cockpit "Manage Controller/Agents view. Refer to the knowledge base article Relocating the Controller's Journal for detailed steps" dialog.
  • The ./config folder for the Controller contains the truststore and keystores so keystore. Therefore, if the Controller instance is running on operated for HTTPS connections and if you want the new Controller should also to run on use HTTPS, then the new server should have its own server authentication certificatesinstance might require an individual server authentication certificate that reflects its hostname.

Relocating

...

a Controller Instance's Journal

If ControllerInstance1 is facing an outage then follow the below steps to relocate the Controller instance's journal from ControllerInstance1 to a new ControllerInstance2:

  1. Be assured that ControllerInstance1 is not running.
  2. Install ControllerInstance2. 
  3. Copy the files from the ./state folder of ControllerInstance1 to the respective folder of ControllerInstance2. 
  4. Start ControllerInstance2.
  5. Consider Note that the Controller URL for ControllerInstance1 is not the same as for ControllerInstance1 and ControllerInstance2 ControllerInstance2Therefore the URL has to be updated in the JOC Cockpit.
  6. To change the Controller URL, log in to the JOC Cockpit.
  7. From the main menu select the item "Manage Controllers/Agents".
  8. Make sure you edit the existing ControllerInstance which Controller instance that is not in service.
  9. Modify the "URL for JOC Cockpit" from the "Register Controller" dialogue dialog box for the Controller instance that is not in service to point to the ControllerInstance2 URL.
  10. When workflows are confirmed to work with ControllerInstance2 then drop the contents of the ./state directory of ControllerInstance1. This an important step as otherwise, when ControllerInstance1 is started it will forward past orders from its journal to available Agents. This would result in double job execution that might be harmful depending on the nature of your jobs.



Notes:

  • If you use HTTPS connection connections for Controller instances then consider that ControlerInstance2 might need its own server authentication certificate. 
    • If ControllerInstance1 is operated for with HTTPS , you can modify the protocol to HTTP and point to a different host provided that this is in line with your security requirements.
    • The same applies vice versa if ControllerInstance1 is operated for HTTP and ControllerInstance2 is operated for HTTPS.
  • If you intend to roll back from ControllerInstance2 to ControllerInstance1 then consider applying repeat the above steps respectivelyprocedure described above, changing the controller instances appropriately.