1 / 7

Termination Control

Termination Control. Termination Control. Termination Control. Target names and tags are looked up from the .properties files in the japc-svc-lookup directory: http://slwww.cern.ch/~pcrops/releaseinfo/pcropsdist/japc/ japc-svc-lookup/PRO/build/dist/japc-svc-lookup/

silvio
Télécharger la présentation

Termination Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Termination Control

  2. Termination Control

  3. Termination Control Target names and tags are looked up from the .properties files in the japc-svc-lookup directory: http://slwww.cern.ch/~pcrops/releaseinfo/pcropsdist/japc/ japc-svc-lookup/PRO/build/dist/japc-svc-lookup/ The TC GUI sends a JMS message with “tag” as topic.

  4. Termination Control The Termination Slave attached to the service listens for JMS messages and, upon reception, alerts the service operator that the countdown has been initiated. The operator may then delay the termination by the allotted time, or by portions of it.

  5. Termination Control Once the time has elapsed, the Termination Slave runs a Courtesy Dialog and exits the service. The Courtesy Dialog has the purpose of informing an human operator, which may have been absent from the console, that the service has been terminated.

  6. Termination Control Service main thread Service start Service restart Instantiate Termination Slave System.exit() Start countdown End countdown New process (operator) New process Courtesy Dialog JMS (through the network) Termination Control GUI

  7. Termination Control To do: • implement module to recognize whether service is run standalone or from CCM • customize Slave module to fit service in order to have a “clean” termination, not just System.exit() • have Slave module report feedback to Termination Control (via JMS)

More Related