Page History
...
- Host
centostest-primary
andcentostest-secondary
each operate an Agent. - The Controller to which the Agents are registered is using the
testsuite
Controllercontroller
Controller ID. - Agents make use of HTTP connections.
Download example: standalone-agent-http-2022-12-04.descriptor.json
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "descriptor": { "descriptorId": "standalone-agent-http-2022-12-04", "title": "Install or update AgentsAgent Standalone instance using HTTP connections", "account": "sos", "scheduled": "2022-12-02T0602T05:19:12.000+0100:00", "created": "2022-11-30T2330T22:19:12.000+0100:00" }, "agents": [{ { "controllerRefs": [ "agent_001": { "targetcontrollerId": {"controller", "connectionmembers": {[ "host": "centostest-primary",{ "portagentId": 22"agent_001", }, "target": { "authentication": { "connection": { "method": "publickey", "userhost": "soscentostest-primary", "keyFile": "/home/sos/.ssh/sos_rsa" "port": 22 }, }, "packageLocation": "/tmp", "execPreauthentication": "StopService", { "execPost "method": "StartServicepublickey", "makeService "user": true"sos", }, "mediakeyFile": {"/home/sos/.ssh/sos_rsa" "release": "2.5.0", }, "tarballpackageLocation": "2.5.0/js7_agent_unix.2.5.0.tar.gz"/tmp", }, "execPre": "StopService", "installation": { "homeexecPost": "/opt/sos-berlin.com/js7/agent-primaryStartService", "data": "/var/sos-berlin.com/js7/agent-primary", "makeService": true "httpPort": "31445" }, } }, "media": { "agent_002": { "targetrelease": { "2.5.2", "connectiontarball": {"2.5.2/js7_agent_unix.2.5.2.tar.gz" "host": "centostest-secondary"}, "portinstallation": 22{ }, "authentication": { "home": "/opt/sos-berlin.com/js7/agent-primary", "methoddata": "publickey/var/sos-berlin.com/js7/agent-primary", "userhttpPort": "sos31445", "keyFilejavaHome": "/homeopt/sos/.ssh/sos_rsa"java/jdk8u202-b08", }, "javaOptions": "packageLocation": "/tmp","-Xmx125m -Djava.security.egd=file:///dev/urandom" "execPre": "StopService", } "execPost": "StartService"}, "makeService": true{ }, "mediaagentId": {"agent_002", "releasetarget": "2.5.0", { "tarballconnection": "2.5.0/js7_agent_unix.2.5.0.tar.gz"{ }, "installationhost": {"centostest-secondary", "home": "/opt/sos-berlin.com/js7/agent-secondary", "port": 22 "data": "/var/sos-berlin.com/js7/agent-secondary", }, "httpPort": "32445" "authentication": }{ } } ], "controllers "method": [], "publickey", "jocuser": [] } |
Agents using HTTPS Connections
The Deployment Descriptor specifies two Agents to be installed on two hosts:
- Host
centostest-primary
andcentostest-secondary
each operate an Agent. - The Controller to which the Agents are registered is using the
testsuite
Controller ID. - Agents use HTTPS connections and are equipped with certificates.
Download example: agent-https-2022-12-04.json
"sos",
"keyFile": "/home/sos/.ssh/sos_rsa"
},
"packageLocation": "/tmp",
"execPre": "StopService",
"execPost": "StartService",
"makeService": true
},
"media": {
"release": "2.5.2",
"tarball": "2.5.2/js7_agent_unix.2.5.2.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
The Deployment Descriptor specifies two Agents to be installed on two hosts:
- Host
centostest-primary
andcentostest-secondary
each operate an Agent. - The Controller to which the Agents are registered is using the
testsuite
Controller ID. - Agents use HTTPS connections and are equipped with certificates.
Download example: standalone-agent-https-2022-12-04.descriptor.json
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/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",
| ||||||
Code Block | ||||||
| ||||||
{ "descriptor": { "descriptorIdexecPre": "agent-https-2022-12-04StopService", "title": "Install or update Agents using HTTPS connections", "accountexecPost": "sosStartService", "scheduled": "2022-12-02T06:19:12+01:00", "createdmakeService": "2022-11-30T23:19:12+01:00"true }, "certificates": { "controller": { }, "primaryControllerCert": "controllers/instances/cluster.primary/config/private/centostest-primary.crt", "secondaryControllerCertmedia": "controllers/instances/cluster.secondary/config/private/centostest-secondary.crt"{ } }, "agents": [ {"release": "2.5.2", "agent_001": { "targettarball": {"2.5.2/js7_agent_unix.2.5.2.tar.gz" "connection": { }, "hostinstallation": "centostest-primary", { "port": 22 "home": "/opt/sos-berlin.com/js7/agent-primary", }, "authenticationdata": { "/var/sos-berlin.com/js7/agent-primary", "methodhttpPort": "publickeylocalhost:31445", "userhttpsPort": "sos "centostest-primary.sos:31443", "keyFilejavaHome": "/homeopt/sos/.ssh/sos_rsa"java/jdk8u202-b08", }, "javaOptions": "-Xmx125m -Djava.security.egd=file:///dev/urandom" "packageLocation": "/tmp", }, "execPre": "StopService", "execPostconfiguration": "StartService",{ "makeService "certificates": true{ }, "media": { "keyStore": "agents/instances/agent_001/config/private/https-keystore.p12", "release": "2.5.0", "tarballkeyStorePassword": "2.5.0/js7_agent_unix.2.5.0.tar.gz"jobscheduler", }, "installationkeyPassword": { "jobscheduler", "homekeyAlias": "/opt/sos-berlin.com/js7/agent-primary", centostest-primary", "datatrustStore": "agents/var/sos-berlin.com/js7/agent-primary", instances/agent_001/config/private/https-truststore.p12", "httpPorttrustStorePassword": "localhost:31443jobscheduler", }, "httpsPort": "centostest-primary:31443" }, "templates": [ "configuration": { "controller": { agents/templates/https/config" "controllerId": "cluster" ] }, "certificatesagentId": { "agent_002", "keyStore": "agents/instances/agent_001/config/private/https-keystore.p12", "target": { "keyStorePasswordconnection": "jobscheduler", { "keyPasswordhost": "jobschedulercentostest-secondary", "trustStoreport": "agents/instances/agent_001/config/private/https-truststore.p12",22 "trustStorePassword": "jobscheduler" }, }, "authentication": { "templates": [ "method": "agents/templates/https/config"publickey", ] "user": "sos", } } }, {"keyFile": "/home/sos/.ssh/sos_rsa" "agent_002": { }, "target": { "connectionpackageLocation": { "/tmp", "hostexecPre": "centostest-secondaryStopService", "portexecPost": 22"StartService", }, "makeService": true "authentication": { }, "method": "publickey", media": { "userrelease": "sos2.5.2", "keyFiletarball": "/home/sos/.ssh/sos_rsa2.5.2/js7_agent_unix.2.5.2.tar.gz" }, "packagelocation": "/tmp", }, "execPreinstallation": "StopService", { "execPosthome": "StartService/opt/sos-berlin.com/js7/agent-secondary", "makeServicedata": true"/var/sos-berlin.com/js7/agent-secondary", }, "mediahttpPort": { "localhost:32445", "releasehttpsPort": "2.5.0centostest-secondary.sos:32443", "tarballjavaHome": "2.5.0/js7_agent_unix.2.5.0.tar.gz"/opt/java/jdk8u202-b08", }, "installationjavaOptions": { "-Xmx125m -Djava.security.egd=file:///dev/urandom" "home": "/opt/sos-berlin.com/js7/agent-secondary" }, "dataconfiguration": "/var/sos-berlin.com/js7/agent-secondary", { "httpPortcertificates": "localhost:32443",{ "httpsPort": "centostest-secondary:32443" "keyStore": "agents/instances/agent_002/config/private/https-keystore.p12", }, "configuration": { "keyStorePassword": "jobscheduler", "controller": { "controllerIdkeyPassword": "clusterjobscheduler", }, "keyAlias": "centostest-secondary", "certificates": { "keyStoretrustStore": "agents/instances/agent_002/config/private/https-keystoretruststore.p12", "keyStorePasswordtrustStorePassword": "jobscheduler", "keyPassword": "jobscheduler", }, "trustStore": "agents/instances/agent_002/config/private/https-truststore.p12", "templates": [ "trustStorePassword": "jobscheduler" "agents/templates/https/config" }, "templates": [] "agents/templates/https/config"} ]} }] } }] ]}, "controllersversion": [], "joc": []1.5.3" } |
Resources
...
Overview
Content Tools