Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-129

Installer for Unix provides systemd file to install JobScheduler Master and Agent as daemons

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.11.7, 1.12.2
    • None
    • Linux

    Description

      Desired Behavior

      The installer of the JobScheduler Master for Linux stores a systemd file <jobschedulerId>.service in the SCHEDULER_HOME/install directory.
      JobScheduler Master can be installed as a daemon with the following steps that require root permissions:

      1. copy SCHEDULER_HOME/install/<jobschedulerId>.service to /usr/lib/systemd/system/<jobschedulerId>.service
      2. call
        systemctl daemon-reload
      3. automated start-up is configured with
        systemctl enable <jobschedulerId>

      The Unix tarball of the JobScheduler Agent contains the systemd example file ./jobscheduler_agent/bin/jobscheduler_agent.service-example.
      JobScheduler Agent can be installed as a daemon with the following steps that require root permissions:

      1. ./jobscheduler_agent/bin/jobscheduler_agent.service-example
        is a template that has to be customized.
        It contains fields of the form <...> such as
        • <INSTALL_PATH>
        • <SCHEDULER_HTTP_PORT>
        • <SCHEDULER_PID_FILE_DIR>
        • <SCHEDULER_USER>
          where
        • <SCHEDULER_HTTP_PORT>
        • <SCHEDULER_PID_FILE_DIR>
        • <SCHEDULER_USER>
          has to be the same value as the specified environment variables
        • $SCHEDULER_HTTP_PORT
        • $SCHEDULER_PID_FILE_DIR
        • $SCHEDULER_USER
          in the instance script of the Agent.
      2. copy ./jobscheduler_agent/bin/jobscheduler_agent.service-example to /usr/lib/systemd/system/jobscheduler_agent_<SCHEDULER_HTTP_PORT>.service
      3. call
        systemctl daemon-reload
      4. automated start-up is configured with
        systemctl enable jobscheduler_agent_<SCHEDULER_HTTP_PORT>

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: