Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --release=2.5.2 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # installs JOC Cockpit for the current user account # requires that the user creates a hibernate.cfg.xml file for database access prior to installation # specifies the Java home location # downloads the JOC Cockpit release tarball from the SOS Web Site # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://repo1.maven.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.jar' \ -o /tmp/h2-1.4.200.jar ./js7_install_joc.sh \ --release=2.5.2 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-driver=/tmp/h2-1.4.200.jar \ --dbms-config=H2 \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # downloads the H2 embedded database from Maven Central using curl # downloads the JOC Cockpit release tarball from the SOS Web Site # specifies the built-in H2 configuration to be used and the location of the JDBC Driver .jar file # specifies the Java home location # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # downloads the release tarball from the SOS Web Site using curl # specifies the Java home location # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --release=2.5.2 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --user=sos2 \ --home-owner=sos1:sos1 \ --data-owner=sos2:sos2 \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --force-sudo \ --make-dirs # requires that the user creates a hibernate.cfg.xml file for database access prior to installation # specifies the Java home location # downloads the JOC Cockpit release tarball from the SOS Web Site # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # owns the home and data directories to separate user accounts and groups # specifies the 'sos2' run-time account with write access to the data directory # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --release=2.5.2 \ --home=/home/sos/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # users can use the same home and data directory to store configuration data and log data # installs JOC Cockpit for the current user account # requires that the user creates a hibernate.cfg.xml file for database access prior to installation # specifies the Java home location # downloads the JOC Cockpit release tarball from the SOS Web Site # creates the home directory if it does not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --release=2.5.2 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --license-key=/home/sos/joc-deployment/example.pem \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # installs JOC Cockpit for the current user account # requires that the user creates a hibernate.cfg.xml file for database access prior to installation # specifies the location of the JS7 license key # specifies the Java home location # downloads the JOC Cockpit release tarball from the SOS Web Site # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 curl 'https://download.sos-berlin.com/JobScheduler.2.5/js7-license.jar' \ -o /tmp/js7-license.jar ./js7_install_joc.sh \ --tarball=/tmp/js7_joc_linux.2.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --license-key=/home/sos/joc-deployment/example.pem \ --license-bin=/tmp/js7-license.jar \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # downloads the binary file for licensed code to enable cluster operations using curl # specifies the location of the JS7 license key and of the .jar file for licensed binary code # specifies the Java home location # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 curl 'https://download.sos-berlin.com/JobScheduler.2.5/js7-license.jar' \ -o /tmp/js7-license.jar ./js7_install_joc.sh \ --tarball=/tmp/js7_joc_linux.2.5.2.tar.gz \ --instance-id=1 \ --title="Secondary JOC Cockpit" \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --license-key=/home/sos/joc-deployment/example.pem \ --license-bin=/tmp/js7-license.jar \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # downloads the binary file for licensed code to enable cluster operations using curl # specifies the Instance ID that is a number between 0 and 99: # Instance IDs specify the ordering of JOC Cockpit icons in the Dashboard # the first JOC Cockpit started becomes the active node in a cluster independent from its Instance ID # specifies the title that acts as a caption for JOC Cockpit icons in the Dashbaord # specifies the location of the JS7 license key and of the .jar file for licensed binary code # specifies the Java home location # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.5.2.tar.gz \ --response-dir=/home/sos/joc-deployment/response \ --java-home="/opt/java/jdk-1117.0.2+9" \ --as-user \ --make-dirs # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # specifies a response directory that holds # the path to the home and data directories # the joc_install.xml file for installation options such as the HTTP Port # the hibernate.cfg.xml configuration file for database access # specifies the Java home location # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --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 and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # creates the JOC Cockpit's systemd service # stops and starts the JOC Cockpit's systemd service # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --exec-start="sudo systemctl start js7_joc" \ --exec-stop="sudo systemctl stop js7_joc" \ --as-user \ --make-dirs # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # stops and starts the JOC Cockpit by individual commands # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --restart \ --as-user \ --make-dirs # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # stops and starts JOC Cockpit by its instance start script <home>/jetty/bin/jetty.sh # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --java-options="-Xmx1g -Xms512m" \ --restart \ --as-user \ --make-dirs # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # creates the home and data directories if they do not exist # specifies Java options for JOC Cockpit # extracts the tarball and runs the JOC Cockpit installer # stops and starts JOC Cockpit by its instance start script <home>/jetty/bin/jetty.sh # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 retval=/tmp/js7_install_joc.$$.tmp ./js7_install_joc.sh \ --tarball=/tmp/js7_joc_linux.2.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --backup-dir=/tmp/backups \ --log-dir=/tmp/logs \ --return-values=$retval \ --as-user \ --restart \ --make-dirs log_file=$(cat $retval | grep "log_file" | cut -d'=' -f2) backup_file=$(cat $retval | grep "backup_file" | cut -d'=' -f2) # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # stops and starts JOC Cockpit by its instance start script <home>/jetty/bin/jetty.sh # operates JOC Cockpit for HTTP port 4446 # return values include the path to the log file and to the backup file |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 retval=/tmp/js7_install_joc.$$.tmp ./js7_install_joc.sh \ --tarball=/tmp/js7_joc_linux.2.5.2.tar.gz \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --backup-dir=/tmp/backups \ --log-dir=/tmp/logs \ --return-values=$retval \ --as-user \ --restart \ --show-logs \ --make-dirs || ( backup=$(cat $retval | grep "backup_file" | cut -d'=' -f2) \ && ( test -e "$backup" ) && \ ./js7_install_joc.sh \ --tarball=$backup \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --http-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.0.2+9" \ --log-dir=/tmp/logs \ --as-user \ --restart \ --show-logs ) log_file=$(cat $retval | grep "log_file" | cut -d'=' -f2) backup_file=$(cat $retval | grep "backup_file" | cut -d'=' -f2) # downloads the JOC Cockpit release tarball from the SOS Web Site using curl # creates the home and data directories if they do not exist # extracts the tarball and runs the JOC Cockpit installer # reverts the installation from the backup archive in case of failure # stops and starts JOC Cockpit by its instance start script <home>/jetty/bin/jetty.sh # operates JOC Cockpit for HTTP port 4446 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --https-port=4446 \ --dbms-config=/home/sos/joc-deployment/hibernate.cfg.xml \ --java-home="/opt/java/jdk-1117.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 and data directories if they do 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 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --https-port=4446 \ --java-home="/opt/java/jdk-1117.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 \ --no-install # performs no installation but certificate renewal only # addresses an existing JOC Cockpit instance operated for HTTPS port 4446 # deploys keystore and truststore files # stops and starts JOC Cockpit by its systemd service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --release=2.2.3 \ --patch=JS-1984 \ --patch-key=API-1 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --java-home="/opt/java/jdk-1117.0.2+9" \ --exec-start=StartService \ --exec-stop=StopService # downloads the patch tarball from the SOS Web Site # extracts the patch files to the JOC Cockpit's <data>/webapps/joc/WEB-INF/classes sub-directory # extracts patch classes to sub-directories # stops and starts the JOC Cockpit's systemd service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://download.sos-berlin.com/patches/2.2.3-patch/js7_joc.2.2.3-PATCH.API-1.JS-1984.tar.gz' \ -o /tmp/js7_joc.2.2.3-PATCH.API-1.JS-1984.tar.gz ./js7_install_joc.sh \ --tarball=/tmp/js7_joc.2.2.3-PATCH.API-1.JS-1984.tar.gz \ --patch=JS-1984 \ --patch-key=API-1 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --java-home="/opt/java/jdk-1117.0.2+9" \ --exec-start=StartService \ --exec-stop=StopService # downloads the patch tarball from the SOS Web Site using curl # extracts the patch files to the JOC Cockpit's <data>/webapps/joc/WEB-INF/classes sub-directory # extracts patch classes to sub-directories # stops and starts the JOC Cockpit's systemd service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://download.sos-berlin.com/patches/2.5.3-patch/js7_joc.2.5.3-PATCH.GUI-1.JOC-1550.tar.gz' \ -o /tmp/js7_joc.2.5.3-PATCH.GUI-1.JOC-1550.tar.gz ./js7_install_joc.sh \ --tarball=/tmp/js7_joc.2.5.3-PATCH.GUI-1.JOC-1550.tar.gz \ --patch=JS-1550 \ --patch-key=GUI-1 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --java-home="/opt/java/jdk-1117.0.2+9" \ --exec-start=StartService \ --exec-stop=StopService # downloads the patch tarball from the SOS Web Site using curl # extracts the patch files to the JOC Cockpit's <data>/webapps/joc sub-directory # extracts patch files to sub-directories # stops and starts the JOC Cockpit's systemd service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://download.sos-berlin.com/patches/2.2.3-patch/js7_joc.2.2.3-PATCH.API-1.JS-1984.jar' \ -o /tmp/js7_joc.2.2.3-PATCH.API-1.JS-1984.jar ./js7_install_joc.sh \ --patch-jar=/tmp/js7_joc.2.2.3-PATCH.API-1.JS-1984.jar \ --patch=JS-1984 \ --patch-key=API-1 \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --java-home="/opt/java/jdk-1117.0.2+9" \ --exec-start=StartService \ --exec-stop=StopService # downloads the patch .jar file from the SOS Web Site using curl # extracts the patch file to the JOC Cockpit's <data>/webapps/joc/WEB-INF/classes sub-directory # extracts patch classes to sub-directories # stops and starts the JOC Cockpit's systemd service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./js7_install_joc.sh \ --home=/opt/sos-berlin.com/js7/joc \ --data=/var/sos-berlin.com/js7/joc \ --java-home="/opt/java/jdk-1117.0.2+9" \ --exec-stop=StopService \ --uninstall # stops the JOC Cockpit's systemd service # removes the JOC Cockpit's systemd service # removes the home and data directories |
...
Overview
Content Tools