Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_unix.2.5.2.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.5.2.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.5.2.tar.gz ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # creates the home directory if it does not exist # extracts the tarball to the Agent's home directory # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_unix.2.5.2.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.5.2.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.5.2.tar.gz ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -ExecStart StartService ` -ExecStop StopService ` -MakeService ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # creates the Agent's systemd service # stops and starts the Agent's systemd service # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_unix.2.5.2.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.5.2.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.5.2.tar.gz ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -ExecStart "/home/sos/agent/bin/agent_4445.sh start" ` -ExecStop "/home/sos/agent/bin/agent_4445.sh stop" ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # stops and starts the Agent by individual commands # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_unix.2.5.2.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.5.2.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.5.2.tar.gz ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -Restart ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # creates the Agent's systemd service # stops and starts the Agent from its instance start script <home>/bin/agent_4445.sh # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_unix.2.5.2.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.5.2.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.5.2.tar.gz ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -JavaHome /opt/java/jdk-11.0.2+9 ` -JavaOptions "-Xmx512m -Xms256m" ` -Restart ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # specifies the Java version and Java options to be used # stops and starts the Agent from its instance start script <home>/bin/agent_4445.sh # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_unix.2.5.2.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.5.2.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.5.2.tar.gz ` -HomeDir /home/sos/agent ` -ControllerId controller ` -HttpPort localhost:4445 ` -HttpsPort batch.example.com:4445 ` -PrivateConf /home/sos/agent-deployment/private.conf ` -ControllerPrimaryCert /home/sos/agent-deployment/centostest-primary.crt ` -ControllerSecondaryCert /home/sos/agent-deployment/centostest-secondary.crt ` -Keystore /home/sos/agent-deployment/https-keystore.p12 ` -KeystorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -Truststore /home/sos/agent-deployment/https-truststore.p12 ` -TruststorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -ExecStart StartService ` -ExecStop StopService ` -MakeService ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # specifies the Controller ID of the Controller to which the Agent is dedicated # specifies HTTP port 4445 on the localhost network interface and the same HTTPS port on the server network interface # specifies the paths to the Primary and Secondary Controller's server certificates if a Controller Cluster is used # for a Standalone Controller the -ControllerSecondaryCert argument is omitted # deploys the Agent private configuration file which holds references to keystore and truststore # deploys keystore and truststore files # stops and starts the Agent's systemd service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball C:\tmp\js7_agent_windows.2.5.2.zip ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # creates the home directory if it does not exist # extracts the tarball to the Agent's home directory # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball C:\tmp\tmp\js7_agent_windows.2.5.2.tar.gz ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -ExecStart StartService ` -ExecStop StopService ` -MakeService ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # creates the Agent's Windows service # stops and starts the Agent's Windows service # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball C:\tmp\tmp\js7_agent_windows.2.5.2.tar.gz ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -ServiceCredentials ( New-Object -typename System.Management.Automation.PSCredential ` -ArgumentList '.\sos', ( 'secret' | ConvertTo-SecureString -AsPlainText -Force) ) ` -MakeService ` -ExecStart StartService ` -ExecStop StopService ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # creates the Agent's Windows service that is running in the local account '.\sos' using the password 'secret' # credentials can be specified in a number of ways # stops and starts the Agent's Windows service # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball C:\tmp\tmp\js7_agent_windows.2.5.2.tar.gz ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -Restart ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # stops and starts the Agent from its instance start script <home>\bin\agent_4445.cmd # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball C:\tmp\js7_agent_windows.2.5.2.zip ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -HttpPort 4445 ` -JavaHome "C:\Program Files\Java\jdk-11.0.2+9" ` -JavaOptions "-Xmx512m -Xms256m" ` -Restart ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # specifies the Java version and Java options to be used # stops and starts the Agent from its instance start script <home>\bin\agent_4445.cmd # operates the Agent for HTTP port 4445 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.5/js7_agent_windows.2.5.2.zip' ` -Outfile C:\tmp\js7_agent_windows.2.5.2.zip ./Install-JS7Agent.ps1 ` -Tarball "C:\tmp\js7_agent_windows.2.5.2.zip" ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -Data "C:\ProgramData\sos-berlin.com\js7\agent_4445" ` -ControllerId controller ` -HttpPort localhost:4445 ` -HttpsPort batch.example.com:4445 ` -PrivateConf "C:\js7\agent-deployment\private.conf" ` -ControllerPrimaryCert "C:\js7\agent-deployment\wintest-primary.crt" ` -ControllerSecondaryCert "C:\js7\agent-deployment\wintest-secondary.crt" ` -Keystore "C:\js7\agent-deployment\https-keystore.pfx" ` -KeystorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -Truststore "C:\js7\agent-deployment\https-truststore.pfx" ` -TruststorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -ExecStart StartService ` -ExecStop StopService ` -MakeService ` -MakeDirs # downloads the release tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the Agent's home directory # specifies the Controller ID of the Controller to which the Agent is dedicated # specifies HTTP port 4445 on the localhost network interface and the same HTTPS port on the server network interface # specifies the paths to the Primary and Secondary Controller's server certificates if a Controller Cluster is used # for a Standalone Controller the -ControllerSecondaryCert argument is omitted # deploys the Agent private configuration file which holds references to keystore and truststore # deploys keystore and truststore files in PKCS12 format # stops and starts the Agent's Windows service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.2/js7_agent_unix.2.2.3.JS-1984.tar.gz' ` -Outfile /tmp/js7_agent_unix.2.2.3.JS-1984.tar.gz ./Install-JS7Agent.ps1 ` -Tarball /tmp/js7_agent_unix.2.2.3.JS-1984.tar.gz ` -Patch JS-1984 ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -ExecStart StartService ` -ExecStop StopService # downloads the patch tarball from the SOS Web Site using Invoke-WebRequest # extracts the patch tarball to the Agent's home directory # stores the patch files to the Agent's <home>/lib/patches sub-directory # stops and starts the Agent's systemd Service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.2/patch-20220331-JS-1984-2.2.3.jar' ` -Outfile /tmp/patch-20220331-JS-1984-2.2.3.jar ./Install-JS7Agent.ps1 ` -Jar /tmp/patch-20220331-JS-1984-2.2.3.jar ` -Patch JS-1984 ` -HomeDir /home/sos/agent ` -HttpPort 4445 ` -ExecStart StartService ` -ExecStop StopService # downloads the patch .jar file from the SOS Web Site using Invoke-WebRequest # stores the patch .jar file to the Agent's <home>/lib/patches sub-directory # stops and starts the Agent's systemd Service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.2/js7_agent_windows.2.2.3.JS-1984.zip' ` -Outfile C:\tmp\js7_agent_windows.2.2.3.JS-1984.zip ./Install-JS7Agent.ps1 ` -Tarball "C:\tmp\js7_agent_windows.2.2.3.JS-1984.zip" ` -Patch JS-1984 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -HttpPort 4445 ` -ExecStart StartService ` -ExecStop StopService # downloads the patch tarball from the SOS Web Site using Invoke-WebRequest # extracts the patch tarball to the Agent's home directory # stores patch files to the Agent's <home>\lib\patches sub-directory # stops and starts the Agent's Windows service |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest ` -Uri 'https://download.sos-berlin.com/JobScheduler.2.2/patch-20220331-JS-1984-2.2.3.jar' ` -Outfile C:\tmp\patch-20220331-JS-1984-2.2.3.jar ./Install-JS7Agent.ps1 ` -Jar "C:\tmp\patch-20220331-JS-1984-2.2.3.jar" ` -Patch JS-1984 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\agent" ` -HttpPort 4445 ` -ExecStart StartService ` -ExecStop StopService # downloads the patch .jar file from the SOS Web Site using Invoke-WebRequest # stores the patch .jar file to the Agent's <home>\lib\patches sub-directory # stops and starts the Agent's Windows service |
...
Overview
Content Tools