Versions Compared

Key

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

...

  • status
    • Returns status information about JOC Cockpit, Controller instances and database indicated by a textual status and severity, for details see JS7 - Dashboard:

      JOC Cockpit StatusPropertyValue
      JOC Cockpit Cluster Statuscurrenttrue|false



      Controller StatusTextSeverity
      Controller Cluster Statuscoupled0

      unknown3
      Controller Cluster Node Statusactive0

      inactive1

      unknown3
       Controller Component Statusoperational0

      limited1

      inoperable2

      unknown3
      Controller Connection Statusestablished0

      unstable1

      unreachable2

      unknown3



      Database StatusTextSeverity
      Database Component Statusoperational0

      unknown3
      Database Connection Statusestablished0

      unstable1

      unreachable2

      unknown3



  • check-license
    • Terminates an order which optionally includes to forcibly terminate running jobs using the --force switch.
    • Checks which JS7 - License is available with JOC Cockpit and if it is valid for a predetermined period.
      • The Open Source License is valid for any period of time and will not expire.
      • The Commercial License can be perpetual or can be valid for a limited subscription period.
    • The --validity-days option specifies the number of days before expiration of the Commercial License. Default: 60 days.
    • Exit codes of the license check include: 
      • Exit code 0 signals a valid license for the period specified.
      • Exit code 2 signals an expired license or an inapplicable license check if the Open Source License is used.
      • Exit
      When used for license checks the script terminates with exit code 0 to signal a valid license that will not expire before a number of days. Exit code 2 signals an expired license, exit
      • code 3 signals a valid license that is about to expire within
      a
      • the number of days specified.
  • encrypt
    • Allows to encrypt a value using the --in option. If used to encrypt a file then --infile and --outfile options must be specified.
    • The --cert option specifies the path to a file holding the Certificate used for encryption.
    • Encryption is performed by Java libraries that are looked up in the ./lib sub-directory of the  JS7 Unix Shell CLI. For details see JS7 - Encryption and Decryption.
  • decrypt
    • Allows to decrypt a value using the --in option. If used to decrypt a file then --infile and --outfile options must be specified.
    • The --key option specifies the path to the Private Key used for decryption. If the Private Key is protected by a password, then the --key-password option or switch must be specified.
    • Decryption is performed by Java libraries that are looked up in the ./lib sub-directory of the JS7 Unix Shell CLI.

...