Versions Compared

Key

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

...

Code Block
titleExample for use of JOC Cockpit Installation Script
linenumberstrue
curl 'https://download.sos-berlin.com/JobScheduler.2.5/js7_joc_linux.2.5.2.tar.gz' -o /tmp/js7_joc_linux.2.5.2.tar.gz

./js7_install_joc.sh \
    --tarball=/tmp/js7_joc_linux.2.3.1.tar.gz \
    --home=/home/sos/joc \
    --https-port=4446 \
    --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \
    --java-home="/opt/java/jdk-11.0.2+9" \
    --keystore=/home/sos/joc-deployment/https-keystore.p12 \
    --keystore-password="jobscheduler" \
    --truststore=/home/sos/joc-deployment/https-truststore.p12 \
    --truststore-password="jobscheduler" \
    --exec-start="StartService" \
    --exec-stop="StopService" \
    --make-service \
    --as-user \
    --make-dirs \

# downloads the JOC Cockpit release tarball from the SOS Web Site using curl
# creates the home directory if it does not exist
# extracts the tarball and runs the JOC Cockpit installer
# deploys keystore and truststore files
# creates the systemd service
# stops and starts JOC Cockpit by its systemd service
# operates JOC Cockpit for HTTPS port 4446

Note:

  • For details about certificates and HTTPS connections see JS7 - JOC Cockpit HTTPS Connections.
  • The <data>/resources/joc/joc.properties and <data>/start.d/ssl.ini configuration files hold references to the JOC Cockpit's keystore and truststore to verify the connection from JOC Cockpit to the Controller using HTTPS mutual authentication.
  • Users have a choice how to provide the required configuration:
    • The JOC Cockpit Installation Script performs replacements of placeholders in the joc.properties and ssl.ini configuration files from option values, for details see chapter Replacements.
    • Users can manually adjust configuration items in the joc.properties file that they specify for the JOC Cockpit Installation Script., see JS7 - JOC Cockpit Configuration Items.

...