Versions Compared

Key

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

...

  • Host centostest-primary operates the JOC Cockpit instance.
  • JOC Cockpit makes use of HTTP connections.

Download example: standalone-joc-http-20221204-2022-12-04.descriptor.json


Code Block
titleExample for Deployment Descriptor
linenumberstrue
collapsetrue
{
    "descriptor": {
        "descriptorId": "standalone-joc-http-2022-12-2022120404",
        "title": "Install or update Standalone JOC Cockpit Standalone instance using HTTP connections",
        "account": "sossosap",
        "scheduled": "2022-12-02T0602T05:19:12.000+0100:00",
        "created": "2022-11-30T2330T22:19:12.000+0100:00"
  },
  },"joc": [
    {
      "agentsmembers": [],
{
        "controllersclusterId": []"standalone",
        "jocinstances": [
          {
            "clusterinstanceId": {1,
                "primarytarget": {
              "packageLocation": "/tmp",
       "target       "execPre": {
"StopService",
              "execPost": "StartService",
              "connectionmakeService": {true,
              "connection": {
                "host": "centostest-primary",
                "port": 22
             "port": 22 },
              "authentication": {
         },
       "method": "publickey",
                "authenticationuser": {"sos",
                "keyFile": "/home/sos/.ssh/sos_rsa"
            "method": "publickey",  }
              },
              "usermedia": "sos",
              {
              "keyFilerelease": "/home/sos/.ssh/sos_rsa"2.5.2",
                "tarball": "2.5.2/js7_joc_linux.2.5.2.tar.gz"
            },
            "installation": {
              "packageLocationsetupDir": "/tmpopt/sos-berlin.com/js7/joc-standalone.setup",
              "isUser": true,
              "execPreisPreserveEnv": "StopService"true,
              "home": "/opt/sos-berlin.com/js7/joc-standalone",
              "execPostdata": "StartService/var/sos-berlin.com/js7/joc-standalone",
                        "makeService": true
                    },
"httpPort": "11446",
              "dbmsConfig": "joc/templates/dbms/h2/response/hibernate.cfg.xml",
              "mediadbmsDriver": {
          "joc/templates/dbms/h2/response/h2-1.4.200.jar",
              "releasejavaHome": "2.5.0/opt/java/jdk-11.0.2+9",
              "javaOptions":          "tarball": "2.5.0/js7_joc_linux.2.5.0.tar.gz"-Xmx256m -Djava.security.egd=file:///dev/urandom"
            },
        },
    "configuration": {
               "installationtemplates": {
      [
                  "setupDir": "/opt/sos-berlin.com/js7/joc-primary.setup",
"joc/templates/http/resources"
              ]
           "home": "/opt/sos-berlin.com/js7/joc-primary", }
          }
        ]
      "data": "/var/sos-berlin.com/js7/joc-primary",
                        "httpPort": "11446",
                        "isUser": true,
                        "isPreserveEnv": true,
                        "javaOptions": "-Xmx512m -Djava.security.egd=file:///dev/urandom"
                    },
                    "configuration": {
                        "responseDir": "joc/templates/dbms/h2/response",
                        "templates": [
                            "joc/templates/http/resources"
                        ]
                    }
                }
            }
        }
    ]
}

Standalone JOC Cockpit using HTTPS Connections

The Deployment Descriptor specifies a Standalone JOC Cockpit instance:

  • Host centostest-primary operates the JOC Cockpit instance.
  • JOC Cockpit makes use of HTTPS connections.

Download example: joc-https-20221204.json

}
    }
  ]
}

Standalone JOC Cockpit using HTTPS Connections

The Deployment Descriptor specifies a Standalone JOC Cockpit instance:

  • Host centostest-primary operates the JOC Cockpit instance.
  • JOC Cockpit makes use of HTTPS connections.

Download example: standalone-joc-https-2022-12-04.descriptor.json


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": {
Code Block
titleExample for Deployment Descriptor
linenumberstrue
collapsetrue
{
    "descriptor": {
        "descriptorId": "joc-https-20221204",
        "title": "Install or update Standalone JOC Cockpit using HTTPS connections",
        "account": "sos",
        "scheduled": "2022-12-02T06:19:12+01:00",
        "created": "2022-11-30T23:19:12+01:00"
    },
    "agents": [],
    "controllers": [],
    "joc": [
        {
            "joc_001": {
                "primary": {
                    "target": {
                        "connection": {
                   "clusterId": "standalone",
        "hostinstances": "centostest-primary",[
            {
                "portinstanceId": 221,
                "target": {
        },
        "connection": {
                "authenticationhost": {"centostest-primary",
                "port": 22
             "method": "publickey" },
              "authentication": {
                "usermethod": "sospublickey",
                  "user": "sos",
                 "keyFile": "/home/sos/.ssh/sos_rsa"
                        },
                        "packageLocation": "/tmp",
                        "execPre": "StopService",
                        "execPost": "StartService",
          ,
              "makeService": true
                      },
                    "media": {
                        "release": "2.5.02",
                        "tarball": "2.5.02/js7_joc_linux.2.5.02.tar.gz"
        "
            },
                    "installation": {
                        "setupDir": "/opt/sos-berlin.com/js7/joc-primarystandalone.setup",
              "isUser": true,
              "isPreserveEnv": true,
              "home": "/opt/sos-berlin.com/js7/joc-primarystandalone",
                        "data": "/var/sos-berlin.com/js7/joc-primary",
                        "httpsPort": "11443",
          standalone",
              "isUserhttpPort": true"localhost:11446",
                   "httpsPort": "centostest-primary.sos:11443",
     "isPreserveEnv": true,
          "dbmsConfig": "joc/templates/dbms/h2/response/hibernate.cfg.xml",
              "javaOptionsdbmsDriver": "-Xmx512m -Djava.security.egd=file:///dev/urandom"joc/templates/dbms/h2/response/h2-1.4.200.jar",
                    },
     "javaHome": "/opt/java/jdk-11.0.2+9",
               "configurationjavaOptions": {"-Xmx256m -Djava.security.egd=file:///dev/urandom"
            },
            "responseDirconfiguration": "joc/templates/dbms/h2/response",
           {
              "certificates": {
                "cert": "joc/instances/cluster.primary/resources/centostest-primary.crt",
                "keyStore": "joc/instances/standalonecluster.primary/resources/https-keystore.p12",
                            "keyStorePassword": "jobscheduler",
                            "keyPassword": "jobscheduler",
                "keyAlias": "centostest-primary",
                "trustStore": "joc/instances/standalonecluster.primary/resources/https-truststore.p12",
                "trustStorePassword": "jobscheduler"
              },
              "trustStorePasswordtemplates": "jobscheduler"
   [
                "joc/templates/https/resources"
     },
          ],
              "templatesstartFiles": [{
                "httpIni": "joc/templates/https/start.d/http.ini",
                "httpsIni": "joc/templates/https/resources"start.d/https.ini",
                "sslIni": "joc/templates/https/start.d/ssl.ini"
       ]
       }
             }
          }
      }
  ]
      }
    }
        }],
    ]"version": "1.5.3"
}

Resources

...