Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Controller.ps1 ` -HomeDir /home/sos/controller ` -ControllerId "controller" ` -HttpPort localhost:4444 ` -HttpsPort batch.example.com:4444 ` -PrivateConf /home/sos/controller-deployment/private.conf ` -JocPrimaryCert /home/sos/controller-deployment/centostest-primary.crt ` -JocSecondaryCert /home/sos/controller-deployment/centostest-secondary.crt ` -Keystore /home/sos/controller-deployment/https-keystore.p12 ` -KeystorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -Truststore /home/sos/controller-deployment/https-truststore.p12 ` -TruststorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -ExecStart StartService ` -ExecStop StopService -MakeService ` -NoInstall # performs no installation but certificate renewal only # specifies the Controller ID # specifies HTTP port 4444 on the localhost network interface and the same HTTPS port on the server network interface # specifies the paths to the Primary and Secondary JOC Cockpit's server certificates if a JOC Cockpit Cluster is used # for a Standalone JOC Cockpit the -JocSecondaryCert argument is omitted # deploys the Controller private configuration file which holds references to keystore and truststore # deploys keystore and truststore files in PKCS12 format # stops and starts the Controller's systemd service |
Start Controller Service
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Controller.ps1 ` -HomeDir /home/sos/controller ` -ControllerId "controller" ` -HttpPort 4444 ` -ExecStart StartService ` -ExecStop StopService ` -NoInstall # stops the Controller's systemd service if the Controller is running # starts the Controller's systemd service |
Stop Controller Service
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Controller.ps1 ` -HomeDir /home/sos/controller ` -ControllerId "controller" ` -HttpPort 4444 ` -ExecStop StopService ` -NoInstall # stops the Controller's systemd service if the Controller is running |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Controller.ps1 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\controller" ` -Data "C:\ProgramData\sos-berlin.com\js7\controller" ` -ControllerId "controller" ` -HttpPort localhost:4444 ` -HttpsPort batch.example.com:4444 ` -PrivateConf "C:\js7\controller-deployment\private.conf" ` -JocPrimaryCert "C:\js7\controller-deployment\wintest-primary.crt" ` -JocSecondaryCert "C:\js7\controller-deployment\wintest-secondary.crt" ` -Keystore "C:\js7\controller-deployment\https-keystore.pfx" ` -KeystorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -Truststore "C:\js7\controller-deployment\https-truststore.pfx" ` -TruststorePassword ('jobscheduler' | ConvertTo-SecureString -AsPlainText -Force) ` -ExecStart StartService ` -ExecStop StopService ` -NoInstall # performs no installation but certificate renewal only # specifies the Controller ID # specifies HTTP port 4444 on the localhost network interface and the same HTTPS port on the server network interface # specifies the paths to the Primary and Secondary JOC Cockpit's server certificates if a JOC Cockpit Cluster is used # for a Standalone JOC Cockpit the -JocSecondaryCert argument is omitted # deploys the Controller private configuration file which holds references to keystore and truststore # deploys keystore and truststore files in PKCS12 format # stops and starts the Controller's Windows service |
Start Controller Service
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Controller.ps1 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\controller" ` -ControllerId "controller" ` -HttpPort 4444 ` -ExecStart StartService ` -ExecStop StopService ` -NoInstall # stops the Controller's Windows service if the Controller is running # starts the Controller's Windows service |
Stop Controller Service
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Controller.ps1 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\controller" ` -ControllerId "controller" ` -HttpPort 4444 ` -ExecStop StopService ` -NoInstall # stops the Controller's Windows service if the Controller is running |
...
Overview
Content Tools