Page History
...
In the JS7 - Deployment process a Deployment Descriptor specifies
- which JS7 components products of JOC Cockpit, Controller instances and Agents should be installed,
- where to install each JS7 componentproduct,
- which installation options to use, for example the installation directory,
- which configuration options to use, for example port usage.
...
The JS7 - Deployment Packaging makes use of the Deployment Descriptor to install and to package JS7 componentsproducts.
Deployment Descriptor
Deployment Descriptors are specified from .json files.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "descriptor": { "descriptorId": "standalone-agent-http-2022-12-04", "title": "Install or update Agent Standalone instance using HTTP connections", "account": "sos", "scheduled": "2022-12-02T05:19:12.000+00:00", "created": "2022-11-30T22:19:12.000+00:00" }, "agents": { "controllerRefs": [ { "controllerId": "controller", "members": [ { "agentId": "agent_001", "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_agent_unix.2.5.23.tar.gz" }, "installation": { "home": "/opt/sos-berlin.com/js7/agent-primary", "data": "/var/sos-berlin.com/js7/agent-primary", "httpPort": "31445", "javaHome": "/opt/java/jdk8u202-b08", "javaOptions": "-Xmx125m -Djava.security.egd=file:///dev/urandom" } }, { "agentId": "agent_002", "target": { "connection": { "host": "centostest-secondary", "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_agent_unix.2.5.23.tar.gz" }, "installation": { "home": "/opt/sos-berlin.com/js7/agent-secondary", "data": "/var/sos-berlin.com/js7/agent-secondary", "httpPort": "32445", "javaHome": "/opt/java/jdk8u202-b08", "javaOptions": "-Xmx125m -Djava.security.egd=file:///dev/urandom" } } ] } ] }, "version": "1.5.3" } |
Agents using HTTPS Connections
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "descriptor": { "descriptorId": "standalone-agent-https-2022-12-04", "title": "Install or update Agent Standalone instance using HTTPS connections", "account": "sos", "scheduled": "2022-12-02T05:19:12.000+00:00", "created": "2022-11-30T22:19:12.000+00:00" }, "certificates": { "controller": { "primaryControllerCert": "controllers/instances/controller.standalone/config/private/centostest-primary.crt" } }, "agents": { "controllerRefs": [ { "controllerId": "controller", "members": [ { "agentId": "agent_001", "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_agent_unix.2.5.23.tar.gz" }, "installation": { "home": "/opt/sos-berlin.com/js7/agent-primary", "data": "/var/sos-berlin.com/js7/agent-primary", "httpPort": "localhost:31445", "httpsPort": "centostest-primary.sos:31443", "javaHome": "/opt/java/jdk8u202-b08", "javaOptions": "-Xmx125m -Djava.security.egd=file:///dev/urandom" }, "configuration": { "certificates": { "keyStore": "agents/instances/agent_001/config/private/https-keystore.p12", "keyStorePassword": "jobscheduler", "keyPassword": "jobscheduler", "keyAlias": "centostest-primary", "trustStore": "agents/instances/agent_001/config/private/https-truststore.p12", "trustStorePassword": "jobscheduler" }, "templates": [ "agents/templates/https/config" ] } }, { "agentId": "agent_002", "target": { "connection": { "host": "centostest-secondary", "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_agent_unix.2.5.23.tar.gz" }, "installation": { "home": "/opt/sos-berlin.com/js7/agent-secondary", "data": "/var/sos-berlin.com/js7/agent-secondary", "httpPort": "localhost:32445", "httpsPort": "centostest-secondary.sos:32443", "javaHome": "/opt/java/jdk8u202-b08", "javaOptions": "-Xmx125m -Djava.security.egd=file:///dev/urandom" }, "configuration": { "certificates": { "keyStore": "agents/instances/agent_002/config/private/https-keystore.p12", "keyStorePassword": "jobscheduler", "keyPassword": "jobscheduler", "keyAlias": "centostest-secondary", "trustStore": "agents/instances/agent_002/config/private/https-truststore.p12", "trustStorePassword": "jobscheduler" }, "templates": [ "agents/templates/https/config" ] } } ] } ] }, "version": "1.5.3" } |
Resources
...
Overview
Content Tools