Versions Compared

Key

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

...

Install-JS7Joc.ps1 [[-HomeDir] <String>] [[-Data] <String>] [[-ClusterId] <String>] [[-InstanceId] <Int32>] [[-Release] <String>] [[-Tarball] <String>] [[-Patch] <String>] [[-User] <String>] [[-SetupDir] <String>] [[-ResponseDir] <String>] [[-LicenseKey] <String>] [[-LicenseBin] <String>] [[-BackupDir] <String>] [[-LogDir] <String>] [[-ExecStart] <String>] [[-ExecStop] <String>] [[-ReturnValues] <String>] [[-DeployDir] <String[]>] [[-Ini] <String[]>] [[-Properties] <String>] [[-Title] <String>] [[-SecurityLevel] <String>] [[-DBMSConfig] <String[]>] [[-DBMSDriver] <String[]>] [[-DBMSInit] <String[]>] [[-HttpPort] <String>] [[-HttpsPort] <String>] [[-Keystore] <String>] [[-KeystorePassword] <SecureString>] [[-KeyAlias] <String>] [[-Truststore] <String>] [[-TruststorePassword] <SecureString>] [[-JavaHome] <String>] [[-JavaOptions] <String>] [[-ServiceDir] <String>] [[-ServiceFile] <String>] [[-ServiceName] <String>] [[-ServiceNameSuffix] <String>] [[-ServiceCredentials] <PSCredential>] [[-ServiceStartMode] <String>] [[-ServiceDisplayName] <String>] [-AsUser] [-PreserveEnv] [-NoInstall] [-NoJetty] [-Uninstall] [-ShowLogs] [-MakeDirs] [-MakeService] [-Restart] [-Kill] [-WhatIf] [-Confirm] [<CommonParameters>]

...

-Patch <String>
A patch is identified by an issue key and a specific release in the SOS Change Management System, for example .

For example the -Patch JS-1984 .
Patches are downloaded -Release 2.2.3 parameters will download an (empty) sample patch from the SOS web site if the -Tarball parameter is not used.
Patches are added to the JOC Cockpit's <home>/lib/patches directory. Note that the patches sub-directory will be emptied when updating a Controller installation later on.
If a backup directory is specified then an JOC Cockpit's existing installation directory will be added to the backup file in this directory
for the respective operating system that the the cmdlet is operated for:

* For Unix the download file is https://download.sos-berlin.com/JobScheduler.2.2/js7_joc_linux.2.2.3.JS-1984.tar.gz
* For windows the downloaded file is https://download.sos-berlin.com/JobScheduler.2.2/js7_joc_windows.2.2.3.JS-1984.zip

Patches can be individually downloaded and can be made available from the -Tarball parameter.

For example the -Patch JS-1984 -Tarball /tmp/js7_joc_windows.2.2.3.JS-1984.zip parameters will apply the patch from the downloaded file.

Patches are applied to the JOC Cockpit's <data>/webapps/joc/WEB-INF/classes directory.
Note that patches will be removed when updating the JOC Cockpit installation.

To apply patches JOC Cockpit has to be restarted. The -Restart or -ExecStart, -ExecStop parameters can be used for automated restart.

Required?false
Position?7
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

Required?false
Position?40
Default valueAutomatic
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

ServiceDisplayName

-ServiceDisplayName <String>
For Windows environments allows to specify the display name of the JOC Cockpit's Windows Service.

Required?false
Position?41
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Uninstall <SwitchParameter>
Uninstalls JOC Cockpit including the steps to stop and remove a running JOC Cockpit service and to remove the <home> and <data> directories.

...