Versions Compared

Key

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

...

Code Block
titleExample for Deployment Descriptor
linenumberstrue
collapsetrue
{
  "descriptor": {
    "descriptorId": "standalone-joc-http-2022-12-04",
    "title": "Install or update JOC Cockpit Standalone instance using HTTP connections",
    "account": "sosap",
    "scheduled": "2022-12-02T05:19:12.000+00:00",
    "created": "2022-11-30T22:19:12.000+00:00"
  },
  "joc": [
    {
      "members": {
        "clusterId": "standalonejoc",
        "instances": [
          {
            "instanceId": 1,
            "target": {
              "packageLocation": "/tmp",
              "execPre": "StopService",
              "execPost": "StartService",
              "makeService": true,
              "connection": {
                "host": "centostest-primary",
                "port": 22
              },
              "authentication": {
                "method": "publickey",
                "user": "sos",
                "keyFile": "/home/sos/.ssh/sos_rsa"
              }
            },
            "media": {
              "release": "2.5.23",
              "tarball": "2.5.23/js7_joc_linux.2.5.23.tar.gz"
            },
            "installation": {
              "setupDir": "/opttmp/sos-berlin.com/js7/joc-standalone.setup",
              "isUser": true,
              "isPreserveEnv": true,
              "home": "/opt/sos-berlin.com/js7/joc-standalone",
              "data": "/var/sos-berlin.com/js7/joc-standalone",
              "httpPort": "11446",
              "dbmsConfig": "joc/templates/dbms/h2/response/hibernate.cfg.xml",
              "dbmsDriver": "joc/templates/dbms/h2/response/h2-1.4.200.jar",
              "javaHome": "/opt/java/jdk-11.0.2+9",
              "javaOptions": "-Xmx256m -Djava.security.egd=file:///dev/urandom"
            },
            "configuration": {
              "templates": [
                "joc/templates/http/resources"
              ]
            }
          }
        ]
      }
    }
  ]
} 

Standalone JOC Cockpit using HTTPS Connections

...

Code Block
titleExample for Deployment Descriptor
linenumberstrue
collapsetrue
{
  "descriptor": {
    "descriptorId": "standalone-joc-https-2022-12-04",
    "title": "Install or update JOC Cockpit Standalone instance using HTTPS connections",
    "account": "sosap",
    "scheduled": "2022-12-02T05:19:12.000+00:00",
    "created": "2022-11-30T22:19:12.000+00:00"
  },
  "joc": [
    {
      "members": {
        "clusterId": "standalonejoc",
        "instances": [
          {
            "instanceId": 1,
            "target": {
              "connection": {
                "host": "centostest-primary",
                "port": 22
              },
              "authentication": {
                "method": "publickey",
                "user": "sos",
                "keyFile": "/home/sos/.ssh/sos_rsa"
              },
              "packageLocation": "/tmp",
              "execPre": "StopService",
              "execPost": "StartService",
              "makeService": true
            },
            "media": {
              "release": "2.5.23",
              "tarball": "2.5.23/js7_joc_linux.2.5.23.tar.gz"
            },
            "installation": {
              "setupDir": "/opttmp/sos-berlin.com/js7/joc-standalone.setup",
              "isUser": true,
              "isPreserveEnv": true,
              "home": "/opt/sos-berlin.com/js7/joc-standalone",
              "data": "/var/sos-berlin.com/js7/joc-standalone",
              "httpPort": "localhost:11446",
              "httpsPort": "centostest-primary.sos:11443",
              "dbmsConfig": "joc/templates/dbms/h2/response/hibernate.cfg.xml",
              "dbmsDriver": "joc/templates/dbms/h2/response/h2-1.4.200.jar",
              "javaHome": "/opt/java/jdk-11.0.2+9",
              "javaOptions": "-Xmx256m -Djava.security.egd=file:///dev/urandom"
            },
            "configuration": {
              "certificates": {
                "cert": "joc/instances/clusterjoc.primarystandalone/resources/centostest-primary.crt",
                "keyStore": "joc/instances/clusterjoc.primarystandalone/resources/https-keystore.p12",
                "keyStorePassword": "jobscheduler",
                "keyPassword": "jobscheduler",
                "keyAlias": "centostest-primary",
                "trustStore": "joc/instances/clusterjoc.primarystandalone/resources/https-truststore.p12",
                "trustStorePassword": "jobscheduler"
              },
              "templates": [
                "joc/templates/https/resources"
              ],
              "startFiles": {
                "httpIni": "joc/templates/https/start.d/http.ini",
                "httpsIni": "joc/templates/https/start.d/https.ini",
                "sslIni": "joc/templates/https/start.d/ssl.ini"
              }
            }
          }
        ]
      }
    }
  ],
  "version": "1.5.3"
}

...