Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-2113

Add journal update script to remove Agents and Order IDs from a Controller's or Agent's journal

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.5.7, 2.6.4
    • None
    • None

    Description

      Current Situation

      • The JS7 Controller and Agent make use of a journal to store infrastructure information and transactional data.
        • The journal is located in the <data>/state directory of the Controller's or Agent's data directory.
        • The journal consists of a number of files.
      • There can be situations when changes to a journal are required:
        • Examples
          • If users find inconsistent journals due to problems with the storage layer.
          • If users find orders holding an inconsistent state that cannot be cancelled from the JOC Cockpit GUI.
          • If users would not properly decomission an Agent but drop the Agent's machine. In this situation the Controller holds the information about the unreachable Agent. 
        • Changes to a journal are considered critical and must be performed with care.

      Desired Behavior

      • A shell script is provided to remove Agents and Order IDs from a Controller's or Agent's journal.
      • The proceeding includes
        • to shutdown the Controller or Agent instance for which the journal should be updated,
        • to take a backup of the journal,
        • to apply changes to the journal by use of the Journal Update Script,
        • to start the Controller or Agent instance.

      Attachments

        Issue Links

          Activity

            People

              ap Andreas Püschel
              ap Andreas Püschel
              Uwe Risse Uwe Risse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: