Versions Compared

Key

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

...

  • Use of the Deployment Script from the command line is applicable if a smaller number of JS7 components should be installed and if no JS7 scheduling environment is yet available.
  • If a JS7 scheduling environment is set up then it is preferable to import the js7_import.tar.gz tarball to JOC Cockpit that adds a workflow and schedule for parallel deployment of JS7 components. For details see see JS7 - Deployment Workflow.

...

Deployment can be performed by

  • importing the workflow and schedule created with the Deployment Package into JOC Cockpit und using the JS7 - Deployment Workflow.
  • or by executing the Deployment Script from the command line.

The Deployment Script is executed from the js7.deploy/archive directory without further arguments. The script is located in a sub-directory specified by the Deployment Descriptor: 

Code Block
languagebash
titleRun the Deployment Script
${DEP_ARCHIVE}/standalone-agent-http-2022-12-04/run_deploy.sh


The script will perform the following actions:

  • When connecting to the target host the script will stop the Agent's systemd service provided that the Deployment Descriptor specifies the target.execPre element with a value StopService.
  • For each tarball that holds the Agent's installation directory and configuration directory the script will
    • transfer the tarball to the target host and location indicated with the Deployment Descriptor (target.packageLocation),
    • extract the tarball to the respective installation or configuration directory as indicated with the Deployment Descriptor (installation.home, installation.data),
    • change ownership of the extracted directories provided that the Deployment Descriptor specifies the installation.homeOwner and installation.dataOwner elements.
  • After transfer and extraction of tarballs the script will start the Agent's systemd service provided that the Deployment Descriptor specifies the target.execPost element with a value StartService.

Resources