Versions Compared

Key

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

...

  • Initial Operation is performed after installation of the JS7 Agent, Controller and the JOC Cockpit.
  • Operation of a JOC Cockpit Cluster requires a commercial license, see JS7 - License for details.
  • Tasks include to apply the license key and licensed binary code.

...

Initial Operation requires that a JS7 Agent, Controller and the JOC Cockpit have been successfully installed and are up and running.

JOC Cockpit Cluster Checks

...

Any JOC Cockpit cluster members have to use the same security level Security Level (low, medium, high)., see JS7 - Security Architecture, section Secure Configuration.

The To apply changes to the security level JOC Cockpit has to be reinstalled to apply changes to the Security Level.

Check Database Connection

...

To apply changes, modify the Hibernate configuration file hibernate.cfg.xml configuration file:

  • Unix
    • Default Location: /var/sos-berlin.com/js7/joc/resources/joc
    • A different location for the configuration directory can be specified during installation.
  • Windows
    • Default Location:C:\ProgramData\sos-berlin.com\js7\controller\<controller-id>\config
      • where <controller-id> is the unique identifier for the Controller that is specified during installation.
    • A different location for the configuration directory can be specified during installation.
  • Hibernate configuration examples can be found in the JS7 - Database article.

Check Instance Settings

When installing JOC Cockpit then for each instance a A title and ordering can be specified for each instance when installing the JOC Cockpit, which will then be shown in the JS7 - Dashboard:

  • Use a different title for each JOC Cockpit instance to better distinguish instances in the dashboard JS7 - Dashboard view.
  • Use an ordering of your choice that determines the sequence by in which JOC Cockpit instances are displayed in the dashboardDashboard view.

Both settings are made in the joc.properties file, as shown in the following example:

Code Block
titleTitle and Ordering from joc.properties
collapsetrue
################################################################################
### If JOC Cockpit is used in a cluster then specify a title to identify which node
### is currently used. Further specify the ordering (Primary <= 0, Standby > 0) for
### display of JOC Cockpit instances with the Dashboard view.

title                        = PRIMARY JOC COCKPIT
ordering                     = 0

Find the The joc.properties file from can be found in the following location:

  • Unix
    • Default Location: /var/sos-berlin.com/js7/joc/resources/joc
    • A different location for the configuration directory can be specified during installation.
  • Windows
    • Default Location:C:\ProgramData\sos-berlin.com\js7\controller\<controller-id>\config\license
      • where <controller-id> is the unique identifier for the Controller that is specified during installation.
    • A different location for the configuration directory can be specified during installation.

...

Customers possessing a commercial license will receive a license key from SOS and can download the binary code that allows clustering of JS7 components, products - see the JS7 - Download article.

A short description for of the procedure required to add the license key is provided below - for a detailed description, see see the JS7 - How to apply a JS7 License Key article.

Handling for Installation on premises

The following chapters can be skipped if a license key and licensed binary code were have been added during installation of JOC Cockpit. The instructions provided here apply when a license key and licensed binary code are to be added or replaced for an existing installation without updating JOC Cockpit from the installer.

Adding a License Key

  • The license key can be added during installation of each of each JOC Cockpit instance.
  • The license key can be added later on by storing saving the license certificate file to in the following locationslocation:
    • Unix: JOC Cockpit Configuration Directory with license sub-folder
      • Default: Location /var/sos-berlin.com/js7/joc/resources/joc/license
      • A different location for the configuration directory can be specified during installation.
    • Windows: JOC Cockpit Configuration Directory with license sub-folder
      • Default Location:C:\ProgramData\sos-berlin.com\js7\joc\resources\joc\license
      • A different location for the configuration directory can be specified during installation.

...

  • Binary code for clustering is available from the js7-license.jar file that is offered from which is available from the JS7 - Downloadpage.
  • By downloading the binary code for clustering you users consent with the license terms for a commercial license of JS7.
  • The js7-license.jar file has to be stored to saved in the following locationslocation:
    • Unix: JOC Cockpit Installation Configuration Directory with lib/ext/joc sub-foldersfolder
      • Default Location/optvar/sos-berlin.com/js7/joc/jetty_base/lib/ext/joc
      • A different location for the installation configuration directory can be specified during installation.
    • Windows: JOC Cockpit Installation Configuration Directory with lib\ext\joc sub-foldersfolder
      • Default Location:C:\Program FilesProgramData\sos-berlin.com\js7\joc\jetty_base\lib\ext\joc
      • A different location for the installation configuration directory can be specified during installation.

Handling for

...

Container Installation

Basically the same locations for license key and licensed binary code apply as explained for Unix operating systems in previous chapterssections of this article.

Note , that the container's file system cannot be accessed before the container is running, which makes it impossible to add or replace licensed binary code before the JOC Cockpit has been started.

...

  • The license key can be added by saving the license certificate file in the following location:
    • /var/sos-berlin.com/js7/joc/jetty_base/resources/joc/license
    • The directory is typically mounted to a Docker config volume when running the container: for details see see the JS7 - JOC Cockpit Installation for Docker Containersarticle.

Adding Licensed Binary Code

  • Binary code for clustering is available from the js7-license.jar file, which is available from from the JS7 - Downloadpage.
  • By downloading the binary code for clustering you users consent with the license terms for a commercial license of JS7.
  • The js7-license.jar file has to be stored at saved in the following location:
    • /var/sos-berlin.com/js7/joc/jetty_base/resources/joc/lib
    • The directory /var/sos-berlin.com/js7/joc/jetty_base/resources/joc typically directory is typically mounted to a Docker config volume when running the container: for details see see the JS7 - JOC Cockpit Installation for Docker Containers article. The lib sub-directory should be created if it does not already exist before saving the js7-license.jar file.

On startup start-up the JOC Cockpit checks the above directory for existence of the js7-license.jar file. If the file is found then:

  • the file will be copied to ./jetty_base/lib/ext/joc 
  • any existing version of the file in this directory is will be overwritten.

Initial Operation

...

  • In your browser navigate to the JOC Cockpit URL and enter the User Account and Password. Typically the URL includes the hostname and port that JOC Cockpit has been installed forwith:

    • For example, http://myhost:4446. Check that the JOC Cockpit port can be accessed. Note that this might include adding firewall rules to allow access to this port from the computer that you are operating the browser on.

    • After initial installation of the JOC Cockpit the default User Account root and Password root will be available if no changes have been made to the shiro.ini configuration filedefault configuration. Accounts can later on be managed with JS7 - Identity Services.

  • Note that the root user is assigned the all role in the default configuration that includes all available permissions.
    See the JS7 - Authentication and Authorization - Configuration article  and JS7 - Authorization articles for information about the configuration of other user profiles and authentication methods.

  • Note that the JOC Cockpit web service might take a minute to start and to display the login window.

...

  • Command line operations include to start starting and stop stopping the JOC Cockpit service:
    • from the command line,
    • from a Unix systemd service file,
    • from a Windows Service.
  • For details see see the JS7 - JOC Cockpit - Command Line Operation  article.

Log files

  • JOC Cockpit makes use of a number of log files.
  • For log file locations, log rotation and log levels see see the JS7 - Logging article.

Further References